The API reference documentation for endpoints related to service provision management.
Service provision management (v1beta1)
https://global.api.greenlake.hpe.com/
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/service-catalog/public/openapi/service-provision-nbapi-v1beta1/service_provision_v1beta1_nbapi/
Request
Retrieve a list of service provisions by applying filters. A service offer provides a distinct set of functionalities that can be independently identified and assigned access. Service offers are typically associated with roles and permissions, commerce, metering, quote-to-cash, and trial evaluations. A service provision occurs when a service offer is provisioned (added) to a workspace.
Pagination: This endpoint supports cursor-based pagination using the next query parameter. Provide the cursor in the next query parameter to retrieve the next page.
Specify the number of results to be returned.
Limit the entities operated on by this endpoint by returning only the subset of entities that match the filter. The filter grammar is a subset of OData 4.0.
Supported Fields: id, ServiceOfferId, workspaceId, serviceManagerProvisionId, serviceManagerId, serviceManagerInstanceId, status, organizationId, slug.
Supported operand: eq
Supported operations: and
Return the service provision with a given ID.
Return service provisions for a given workspace ID.
Return service provisions for a given Application Customer ID.
Return service provisions for a given service offer ID and region.
Return service provision for a given application ID and application instance ID.
Return service provisions with a given status.
Return service provisions with a given organization ID.
Return service provisions with a given slug.
If true, returns the complete entry including sensitive fields.
https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/service-catalog/public/openapi/service-provision-nbapi-v1beta1/service_provision_v1beta1_nbapi/service-catalog/v1beta1/service-provisions
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions \
-H 'Authorization: YOUR_API_KEY_HERE'Successful Response
The unique service provision identifier.
The URI of the resource.
The unique identifier of a service offer.
The workspace ID.
The URI of the resource.
The workspace name.
The organization ID. Each HPE GreenLake Organization operates as a distinct tenant with its own identity directory and unique organization ID.
The number of times the operation has been retried.
The type of the resource.
Date and time at which the service offer was created.
Date and time at which the service offer was updated.
The unique identifier of a service manager instance. This is the application instance ID of an application related to a service offer.
The reason the service provision creation failed.
Cursor for the next page of resources.
{ "items": [ { … } ], "next": "64136af7-cd64-4b4e-88a8-150ab51a920d", "count": 1, "total": 10 }
Request
The initial step to provision a service offer in a region. A service offer provides a distinct set of functionalities that can be independently identified and assigned access. Service offers are typically associated with roles and permissions, commerce, metering, quote-to-cash, and trial evaluations.
You need to supply the following in the request body.
serviceOfferId-From Service offer management use theGet service offersendpoint to find service offer IDs.region-From Service offer management use theGet service offer regionsendpoint to find region codes.
The unique identifier for the service offer.
https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/service-catalog/public/openapi/service-provision-nbapi-v1beta1/service_provision_v1beta1_nbapi/service-catalog/v1beta1/service-provisions
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"serviceOfferId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"region": "us-west"
}'201 ServiceProvision Created Response
The unique service provision identifier.
The URI of the resource.
The unique identifier of a service offer.
The workspace ID.
The URI of the resource.
The organization ID. Each HPE GreenLake Organization operates as a distinct tenant with its own identity directory and unique organization ID.
The type of the resource.
Date and time at which the service offer was created.
Date and time at which the service offer was updated.
The unique identifier of a service manager instance. This is the application instance ID of an application related to a service offer.
The reason the service provision creation failed.
{ "id": "2fa85f64-5717-4562-b3fc-2c963f66afa9", "resourceUri": "/service-catalog/{version}/service-provisions/2fa85f64-5717-4562-b3fc-2c963f66afa9", "serviceOffer": { "id": "4ab85f64-5717-4562-b3fc-2c963f66afa6", "name": "Aruba Central", "resourceUri": "/service-catalog/v1alpha1/service-offers/4ab85f64-5717-4562-b3fc-2c963f66afa6" }, "region": "us-west", "serviceManager": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "resourceUri": "/service-catalog/v1beta1/service-managers/3fa85f64-5717-4562-b3fc-2c963f66afa6" }, "serviceManagerProvision": { "id": "2fb85f64-5717-4562-b3fc-2c963f66afa2", "resourceUri": "/service-catalog/v1beta1/service-manager-provisions/2fb85f64-5717-4562-b3fc-2c963f66afa2", "accountType": "BASIC_ORGANIZATION", "operationalMode": "DEFAULT", "provisionStatus": "PROVISION_INITIATED", "mspConversionStatus": "MSP_CONVERSION_INITIATED", "reason": "Failed to configure IDP." }, "workspace": { "id": "4ab85f64-5717-4562-b3fc-2c963f66afa6", "resourceUri": "/workspaces/v1/workspaces/{workspaceId}", "name": "Hewlett Packard Enterprise", "organizationId": "5ab85f64-6717-5562-c3fc-3c963f66afa6", "workspaceTransferStatus": "TRANSFER_INITIATED", "mspId": "3ca24f18-5013-4562-b3fc-2d992f22ade2" }, "serviceManagerInstanceId": "2fc85f64-5717-4562-b3fc-2c963f66afa3", "provisionStatus": "PROVISION_INITIATED", "reason": "Failed to configure IDP.", "retryCount": 0, "createdBy": "user@company.com", "createdAt": "2021-04-23T10:20:30.400+02:30", "updatedAt": "2021-04-29T10:20:30.400+02:30", "generation": 1, "type": "/service-catalog/service-provision" }
https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions/{id}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/service-catalog/public/openapi/service-provision-nbapi-v1beta1/service_provision_v1beta1_nbapi/service-catalog/v1beta1/service-provisions/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'Successful Response
The unique service provision identifier.
The URI of the resource.
The unique identifier of a service offer.
The workspace ID.
The URI of the resource.
The organization ID. Each HPE GreenLake Organization operates as a distinct tenant with its own identity directory and unique organization ID.
The type of the resource.
Date and time at which the service offer was created.
Date and time at which the service offer was updated.
The unique identifier of a service manager instance. This is the application instance ID of an application related to a service offer.
The reason the service provision creation failed.
{ "id": "2fa85f64-5717-4562-b3fc-2c963f66afa9", "resourceUri": "/service-catalog/{version}/service-provisions/2fa85f64-5717-4562-b3fc-2c963f66afa9", "serviceOffer": { "id": "4ab85f64-5717-4562-b3fc-2c963f66afa6", "name": "Aruba Central", "resourceUri": "/service-catalog/v1alpha1/service-offers/4ab85f64-5717-4562-b3fc-2c963f66afa6" }, "region": "us-west", "serviceManager": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "resourceUri": "/service-catalog/v1beta1/service-managers/3fa85f64-5717-4562-b3fc-2c963f66afa6" }, "serviceManagerProvision": { "id": "2fb85f64-5717-4562-b3fc-2c963f66afa2", "resourceUri": "/service-catalog/v1beta1/service-manager-provisions/2fb85f64-5717-4562-b3fc-2c963f66afa2", "accountType": "BASIC_ORGANIZATION", "operationalMode": "DEFAULT", "provisionStatus": "PROVISION_INITIATED", "mspConversionStatus": "MSP_CONVERSION_INITIATED", "reason": "Failed to configure IDP." }, "workspace": { "id": "4ab85f64-5717-4562-b3fc-2c963f66afa6", "resourceUri": "/workspaces/v1/workspaces/{workspaceId}", "name": "Hewlett Packard Enterprise", "organizationId": "5ab85f64-6717-5562-c3fc-3c963f66afa6", "workspaceTransferStatus": "TRANSFER_INITIATED", "mspId": "3ca24f18-5013-4562-b3fc-2d992f22ade2" }, "serviceManagerInstanceId": "2fc85f64-5717-4562-b3fc-2c963f66afa3", "provisionStatus": "PROVISION_INITIATED", "reason": "Failed to configure IDP.", "retryCount": 0, "createdBy": "user@company.com", "createdAt": "2021-04-23T10:20:30.400+02:30", "updatedAt": "2021-04-29T10:20:30.400+02:30", "generation": 1, "type": "/service-catalog/service-provision" }
https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions/{id}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/service-catalog/public/openapi/service-provision-nbapi-v1beta1/service_provision_v1beta1_nbapi/service-catalog/v1beta1/service-provisions/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
'https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'If-Match: 1'https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions/{id}/retry
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/service-catalog/public/openapi/service-provision-nbapi-v1beta1/service_provision_v1beta1_nbapi/service-catalog/v1beta1/service-provisions/{id}/retry
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
'https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions/{id}/retry' \
-H 'Authorization: YOUR_API_KEY_HERE'201 ServiceProvision Created Response
The unique service provision identifier.
The URI of the resource.
The unique identifier of a service offer.
The workspace ID.
The URI of the resource.
The organization ID. Each HPE GreenLake Organization operates as a distinct tenant with its own identity directory and unique organization ID.
The type of the resource.
Date and time at which the service offer was created.
Date and time at which the service offer was updated.
The unique identifier of a service manager instance. This is the application instance ID of an application related to a service offer.
The reason the service provision creation failed.
{ "id": "2fa85f64-5717-4562-b3fc-2c963f66afa9", "resourceUri": "/service-catalog/{version}/service-provisions/2fa85f64-5717-4562-b3fc-2c963f66afa9", "serviceOffer": { "id": "4ab85f64-5717-4562-b3fc-2c963f66afa6", "name": "Aruba Central", "resourceUri": "/service-catalog/v1alpha1/service-offers/4ab85f64-5717-4562-b3fc-2c963f66afa6" }, "region": "us-west", "serviceManager": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "resourceUri": "/service-catalog/v1beta1/service-managers/3fa85f64-5717-4562-b3fc-2c963f66afa6" }, "serviceManagerProvision": { "id": "2fb85f64-5717-4562-b3fc-2c963f66afa2", "resourceUri": "/service-catalog/v1beta1/service-manager-provisions/2fb85f64-5717-4562-b3fc-2c963f66afa2", "accountType": "BASIC_ORGANIZATION", "operationalMode": "DEFAULT", "provisionStatus": "PROVISION_INITIATED", "mspConversionStatus": "MSP_CONVERSION_INITIATED", "reason": "Failed to configure IDP." }, "workspace": { "id": "4ab85f64-5717-4562-b3fc-2c963f66afa6", "resourceUri": "/workspaces/v1/workspaces/{workspaceId}", "name": "Hewlett Packard Enterprise", "organizationId": "5ab85f64-6717-5562-c3fc-3c963f66afa6", "workspaceTransferStatus": "TRANSFER_INITIATED", "mspId": "3ca24f18-5013-4562-b3fc-2d992f22ade2" }, "serviceManagerInstanceId": "2fc85f64-5717-4562-b3fc-2c963f66afa3", "provisionStatus": "PROVISION_INITIATED", "reason": "Failed to configure IDP.", "retryCount": 0, "createdBy": "user@company.com", "createdAt": "2021-04-23T10:20:30.400+02:30", "updatedAt": "2021-04-29T10:20:30.400+02:30", "generation": 1, "type": "/service-catalog/service-provision" }
https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions/{id}/retry-unprovision
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/service-catalog/public/openapi/service-provision-nbapi-v1beta1/service_provision_v1beta1_nbapi/service-catalog/v1beta1/service-provisions/{id}/retry-unprovision
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
'https://global.api.greenlake.hpe.com/service-catalog/v1beta1/service-provisions/{id}/retry-unprovision' \
-H 'Authorization: YOUR_API_KEY_HERE'201 ServiceProvision Created Response
The unique service provision identifier.
The URI of the resource.
The unique identifier of a service offer.
The workspace ID.
The URI of the resource.
The organization ID. Each HPE GreenLake Organization operates as a distinct tenant with its own identity directory and unique organization ID.
The type of the resource.
Date and time at which the service offer was created.
Date and time at which the service offer was updated.
The unique identifier of a service manager instance. This is the application instance ID of an application related to a service offer.
The reason the service provision creation failed.
{ "id": "2fa85f64-5717-4562-b3fc-2c963f66afa9", "resourceUri": "/service-catalog/{version}/service-provisions/2fa85f64-5717-4562-b3fc-2c963f66afa9", "serviceOffer": { "id": "4ab85f64-5717-4562-b3fc-2c963f66afa6", "name": "Aruba Central", "resourceUri": "/service-catalog/v1alpha1/service-offers/4ab85f64-5717-4562-b3fc-2c963f66afa6" }, "region": "us-west", "serviceManager": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "resourceUri": "/service-catalog/v1beta1/service-managers/3fa85f64-5717-4562-b3fc-2c963f66afa6" }, "serviceManagerProvision": { "id": "2fb85f64-5717-4562-b3fc-2c963f66afa2", "resourceUri": "/service-catalog/v1beta1/service-manager-provisions/2fb85f64-5717-4562-b3fc-2c963f66afa2", "accountType": "BASIC_ORGANIZATION", "operationalMode": "DEFAULT", "provisionStatus": "PROVISION_INITIATED", "mspConversionStatus": "MSP_CONVERSION_INITIATED", "reason": "Failed to configure IDP." }, "workspace": { "id": "4ab85f64-5717-4562-b3fc-2c963f66afa6", "resourceUri": "/workspaces/v1/workspaces/{workspaceId}", "name": "Hewlett Packard Enterprise", "organizationId": "5ab85f64-6717-5562-c3fc-3c963f66afa6", "workspaceTransferStatus": "TRANSFER_INITIATED", "mspId": "3ca24f18-5013-4562-b3fc-2d992f22ade2" }, "serviceManagerInstanceId": "2fc85f64-5717-4562-b3fc-2c963f66afa3", "provisionStatus": "PROVISION_INITIATED", "reason": "Failed to configure IDP.", "retryCount": 0, "createdBy": "user@company.com", "createdAt": "2021-04-23T10:20:30.400+02:30", "updatedAt": "2021-04-29T10:20:30.400+02:30", "generation": 1, "type": "/service-catalog/service-provision" }