postProvisioningDatastoreWithHttpInfo method

Future<Response> postProvisioningDatastoreWithHttpInfo(
  1. ProvisionRequest provisionRequest
)

Launches your org's OWN Hanzo Datastore instance and answers with its datastore:// connection string.

Launches your org's OWN Hanzo Datastore instance and answers with its datastore:// connection string. The instance is yours alone — a deployment in your own tenant namespace, so its admin credential is naturally scoped to you and no other tenant shares the process. Off-cluster this fails closed with 503 rather than handing back a shared one.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> postProvisioningDatastoreWithHttpInfo(ProvisionRequest provisionRequest,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/provisioning/datastore';

  // ignore: prefer_final_locals
  Object? postBody = provisionRequest;

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

  const contentTypes = <String>['application/json'];


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