postProvisioningSqlWithHttpInfo method

Future<Response> postProvisioningSqlWithHttpInfo(
  1. ProvisionRequest provisionRequest
)

CreateSQL launches your org's OWN PostgreSQL instance and answers with its postgres:// connection string.

CreateSQL launches your org's OWN PostgreSQL instance and answers with its postgres:// 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, where there is no orchestrator to launch one, this fails closed with 503 rather than handing back a shared one.

Note: This method returns the HTTP Response.

Parameters:

Implementation

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

  // 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,
  );
}