getProvisioningDatastoreByNameWithHttpInfo method

Future<Response> getProvisioningDatastoreByNameWithHttpInfo(
  1. String name
)

Returns one Hanzo Datastore warehouse's metadata.

Returns one Hanzo Datastore warehouse's metadata. It carries the warehouse's status, its instance address and the admin user the instance booted with — never the password. A still-booting instance reads "provisioning", reconciled from the operator's live view rather than the row.

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> getProvisioningDatastoreByNameWithHttpInfo(String name,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/provisioning/datastore/{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,
  );
}