getProvisioningDocdbByNameWithHttpInfo method

Future<Response> getProvisioningDocdbByNameWithHttpInfo(
  1. String name
)

GetDocDB returns one Hanzo DocDB database's metadata.

GetDocDB returns one Hanzo DocDB database's metadata. It carries the database's status, its instance address and the SCRAM user the instance was set up with — never the password. A still-booting instance reads "provisioning", reconciled from the operator's live view.

Note: This method returns the HTTP Response.

Parameters:

  • String name (required): Name is the resource's org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.

Implementation

Future<Response> getProvisioningDocdbByNameWithHttpInfo(String name,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/provisioning/docdb/{name}'
    .replaceAll('{name}', name);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}