Introduction
The IBM Power Virtual Server DR Automation service allows you to easily configure and automate disaster recovery (DR) solutions for your IBM Power Virtual Server environments. It simplifies and automates DR operations for virtual servers running AIX, IBM i, or Linux (RHEL and SLES) workloads, ensuring high availability and business continuity in the event of an outage.
With this service, you can orchestrate the end-to-end DR process, including provisioning, replication, failover, and failback, without complex manual configurations.
To learn about using Power Virtual Server DR Automation, see:
SDKs
SDKs for Java, Node, Python, and Go are available for this API. The client libraries that are provided by the SDKs implement best practices for using the API and reduce the amount of code that you need to write. The tab for each language includes code examples that demonstrate how to use the client libraries.
To learn about using Power Virtual Server DR Automation, see:
This documentation describes the Go SDK version
0.74.1. This SDK uses Semantic Versioning, and as such, there may
be backward-incompatible changes for any new 0.y.z version. For information about the latest Go
SDK, see Releases. For instructions and
examples on using IBM Cloud services in an IBM Cloud SDK client library, see Using the
SDK.
This documentation describes the Java SDK version
0.27.0. This SDK uses Semantic Versioning, and as such, there may
be backward-incompatible changes for any new 0.y.z version. For information about the latest Java
SDK, see Releases. For instructions and
examples on using IBM Cloud services in an IBM Cloud SDK client library, see Using the
SDK.
This documentation describes the Node SDK version
0.28.0. This SDK uses Semantic Versioning, and as such, there may
be backward-incompatible changes for any new 0.y.z version. For information about the latest Node
SDK, see Releases. For instructions and
examples on using IBM Cloud services in an IBM Cloud SDK client library, see Using the
SDK.
This documentation describes the Python SDK
version 0.31.0. This SDK uses Semantic Versioning, and as such,
there may be backward-incompatible changes for any new 0.y.z version. For information about the
latest Python SDK, see Releases. For
instructions and examples on using IBM Cloud services in an IBM Cloud SDK client library, see Using
the SDK.
The code examples on this tab use the client library that is provided for Go.
Installation:
go get github.com/IBM/dra-go-sdk@v1.0.0
For more information, view the project on GitHub: https://github.com/IBM/dra-go-sdk/. See also Using the SDK.
The code examples on this tab use the client library that is provided for Java.
Maven example:
<dependency>
<groupId>com.ibm.cloud</groupId>
<artifactId>dr-automation-service</artifactId>
<version>1.0.0</version>
</dependency>
Gradle example:
compile 'com.ibm.cloud:dr-automation-service:1.0.0'
For more information, view the project on GitHub: https://github.com/IBM/dra-java-sdk/. See also Using the SDK.
The code examples on this tab use the client library that is provided for Node.
Installation:
npm install ibm-dr-automation-service
For more information, view the project on GitHub: https://github.com/IBM/dra-node-sdk/. See also Using the SDK.
The code examples on this tab use the client library that is provided for Python.
Installation:
pip install --upgrade "dra_python_sdk"
For more information, view the project on GitHub: https://github.com/IBM/dra-python-sdk/. See also the Python client library for IBM Cloud VPC Services https://pypi.org/project/ibm-dra-python-sdk/ and Using the SDK.
Endpoint URLs
The Power Virtual Server DR Automation service uses a global endpoint over the public network and seven regional endpoints over the private network.
Automatically generated regional API endpoints (service URL) will default to IBM Cloud Regions, which may cause your request to fail. You should always use the Power Virtual Server DR Automation–specified regions in the service URL.
The following table shows the IBM Cloud® regions and their corresponding Power Virtual Server DR Automation regions where the APIs are available:
| Country | Power Virtual Server DR Automation region | Location | Public end-point (service URL) |
|---|---|---|---|
| Australia | Sydney | syd04 syd05 |
https://power-dra.cloud.ibm.com |
| Brazil | Sao Paulo | sao01 sao04 |
https://power-dra.cloud.ibm.com |
| Canada | Montreal | mon01 | https://power-dra.cloud.ibm.com |
| Toronto | tor01 | https://power-dra.cloud.ibm.com | |
| Germany | Frankfurt | eu-de-1 eu-de-2 |
https://power-dra.cloud.ibm.com |
| UK/Great Britain | London | lon04 lon06 |
https://power-dra.cloud.ibm.com |
| India | Chennai | che01 | https://power-dra.cloud.ibm.com |
| Japan | Tokyo | tok04 | https://power-dra.cloud.ibm.com |
| Osaka | osa21 | https://power-dra.cloud.ibm.com | |
| Spain | Madrid | mad02 mad04 |
https://power-dra.cloud.ibm.com |
| United States | Washington DC | us-east wdc06 wdc07 |
https://power-dra.cloud.ibm.com |
| Dallas | dal10 dal12 us-south |
https://power-dra.cloud.ibm.com |
Curl service URL intro
To call the API through Public end point, you can choose single service URL which is available https://power-dra.cloud.ibm.com and add a method path to form the complete request URL. For example, , to list all the supported disaster recovery locations, make a GET request to https://power-dra.cloud.ibm.com/v1/dr_locations/{instance_id}.
To call the API through Private end point, select the service URL that corresponds to the region of your choice and add a method path to form the complete request URL. For example, to list all the supported disaster recovery locations, make a GET request to https://dra-codeengine-app-us-south-prod-test.1q861580g9o7.private.us-south.codeengine.appdomain.cloud/v1/dr_locations/{instance_id}.
Example request to call the Power Virtual Server DR Automation global service URL:
curl -H "Authorization: Bearer {token}" -X GET "https://power-dra.cloud.ibm.com/v1/dr_locations/{instance_id}"
Replace {token}, {http_method}, and {path} in this example with the values for your particular request.
Authentication
The Power Virtual Server DR Automation API uses Identity and Access Management (IAM) to authenticate requests. To call each API method, you must be assigned a role that includes the required IAM actions. Each method has an Authorization section that lists the required actions and, if applicable, the conditions under which each action is required. Check your access on the IBM Cloud console by navigating to Users > User > Access.
For more information about IAM actions and how they map to roles, see Assigning access to account management services and Managing IAM access for Power Virtual Server DR Automation.
Learn about obtaining an IAM token for an authenticated user or service ID in the IAM Identity Services API. If you first create an API key, you can use it to generate an IAM token.
To use the API, add a valid IAM token to the HTTP Authorization request header. For example, -H 'Authorization: Bearer {token}'.
For specific APIs you must need to include your IBM Cloud IAM access token and the Power Virtual Server DR Automation instance ID, also known as your Cloud Resource Name (CRN), in each request. The first part of your CRN contains your Tenant ID and the second part contains your Cloud Instance ID.
The following example shows a typical CRN:
crn:v1:staging:public:power-dr-automation:us-east:a/abcdefghijklmnopqrstuvwxyzabcdef:121d5ee5-b87d-4a0e-86b8-aaff422135478::
Tenant ID {tenant_id} = abcdefghijklmnopqrstuvwxyzabcdef
Cloud Instance ID {cloud_instance_id} = 121d5ee5-b87d-4a0e-86b8-aaff422135478
You can retrieve an access token by first creating an API key, and then exchanging your API key for a IBM Cloud IAM token. For more information, see Retrieving an access token programmatically and Retrieving your instance ID.
To retrieve your access token:
curl -X POST "https://iam.cloud.ibm.com/identity/token" --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' --data-urlencode 'grant_type=urn:ibm:params:oauth:grant-type:apikey' --data-urlencode 'apikey={api_key}'
To use the API, replace {token} with the token obtained in the previous section from IAM, replace {http_method} with an HTTP method such as POST, and replace {url} with a request URL such as https://us-south.iaas.cloud.ibm.com/v1/workspaces/{workspace_id}:
curl -H "Authorization: Bearer {token}" -X {http_method} "{url}"
-H "CRN"
Auditing
Monitor API activity within your account by using the IBM Cloud Activity Tracker service. Each time you make an API call, one or more events are generated that you can track and audit from within Activity Tracker. Specific auditing event types are listed for each individual method. For more information about Power Virtual Server DR Automation activity tracking, see Activity Tracker events.
Error handling
This API uses standard HTTP response codes to indicate whether a method completed successfully. A 200 response indicates success. A 400 type response indicates a failure, and a 500 type response indicates an internal system error.
| HTTP Error Code | Description | Recovery |
|---|---|---|
400 |
Bad Request | The input parameters in the request body are either incomplete, malformed, or too large. Be sure to include all required parameters in your request. |
401 |
Unauthorized | You are not authorized to make this request. Log in to IBM Cloud and try submitting the request again. If this error persists, contact the account owner to check your permissions. |
403 |
Forbidden | The supplied authentication is not authorized to perform the requested operation. Either you do not have valid access through IAM access policies or your request is denied. If this error persists, contact the account owner to check your permissions. |
404 |
Not Found | The requested resource could not be found but may be available in the future. |
405 |
Method Not Allowed | The requested resource does not support the request method. |
406 |
Not Acceptable | The resource the client requested is not available in a format allowed by the Accept header supplied by the client. |
408 |
Request Timeout | The connection to the server timed out. Wait a few minutes, and try submitting the request again. |
409 |
Conflict | The request cannot be completed because of a conflict between the request and the current state of the resource. |
412 |
Precondition Failed | The client specified one or more preconditions in its headers, and the server cannot meet those preconditions. |
426 |
Upgrade Required | The server refuses to perform the request using the current protocol but might perform the request after the client upgrades to a different protocol. |
500 |
Internal Server Error | The request cannot be processed because the client encountered an unexpected condition on the server. Wait a few minutes and try submitting the request again. If this error persists, contact IBM Support. |
501 |
Not Implemented | The server either does not recognize the request method, or it lacks the ability to fulfill the request. |
502 |
Bad Gateway | The server was acting as a gateway or proxy and received an invalid response from the upstream server. |
503 |
Service Unavailable | The server cannot process the request. Generally, this condition is temporary, such as when a server is overloaded or down for scheduled maintenance. This condition could also be due to an unplanned outage of a service that is needed to process the request. Wait a few minutes and try submitting the request again. If this error persists, contact IBM Support. |
504 |
Gateway Timeout | The server was acting as a gateway or proxy and did not receive a timely response from the upstream server. |
505 |
HTTP Version Not Supported | The server does not support the HTTP protocol version that is used in the request. |
Methods
Updates the API key for the specified service instance
Updating the current API key details for the specified service instance.
Updating the current API key details for the specified service instance.
Updating the current API key details for the specified service instance.
Updating the current API key details for the specified service instance.
Updating the current API key details for the specified service instance.
PUT /drautomation/v1/apikey/{instance_id}(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) UpdateApikey(updateApikeyOptions *UpdateApikeyOptions) (result *ValidationKeyResponse, response *core.DetailedResponse, err error)
(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) UpdateApikeyWithContext(ctx context.Context, updateApikeyOptions *UpdateApikeyOptions) (result *ValidationKeyResponse, response *core.DetailedResponse, err error)
ServiceCall<ValidationKeyResponse> updateApikey(UpdateApikeyOptions updateApikeyOptions)updateApikey(params)
update_apikey(
self,
instance_id: str,
api_key: str,
*,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponseRequest
Instantiate the UpdateApikeyOptions struct and set the fields to provide parameter values for the UpdateApikey method.
Use the UpdateApikeyOptions.Builder to create a UpdateApikeyOptions object that contains the parameter values for the updateApikey method.
Custom Headers
The language requested for the return document
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z\-_,;=.*]+$
Path Parameters
instance id of instance to provision
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[a-zA-Z0-9\-_:/.]+$Example:
123456d3-1122-3344-b67d-4389b44b7bf9
parameters for the validate key
The new API key value that will replace the existing one.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
adfadfdsafsdfdsf
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdateApikey options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The new API key value that will replace the existing one.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:adfadfdsafsdfdsf
The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
The updateApikey options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The new API key value that will replace the existing one.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:adfadfdsafsdfdsf
The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The new API key value that will replace the existing one.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The new API key value that will replace the existing one.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
curl -X PUT https://power-dra.cloud.ibm.com/drautomation/v1/apikey/123456d3-1122-3344-b67d-4389b44b7bf9 -H "Authorization: Bearer ${iam_token}" -H "Accept: application/json" -H "Content-Type: application/json" -d '{"api_key":"abcdef-ExAmPlE-ApI-K3Y-1234567890abcdef"}'
updateApikeyOptions := drAutomationServiceService.NewUpdateApikeyOptions( "123456d3-1122-3344-b67d-4389b44b7bf9", "adfadfdsafsdfdsf", ) validationKeyResponse, response, err := drAutomationServiceService.UpdateApikey(updateApikeyOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(validationKeyResponse, "", " ") fmt.Println(string(b))
UpdateApikeyOptions updateApikeyOptions = new UpdateApikeyOptions.Builder() .instanceId("123456d3-1122-3344-b67d-4389b44b7bf9") .apiKey("adfadfdsafsdfdsf") .build(); Response<ValidationKeyResponse> response = drAutomationServiceService.updateApikey(updateApikeyOptions).execute(); ValidationKeyResponse validationKeyResponse = response.getResult(); System.out.println(validationKeyResponse);
const params = { instanceId: '123456d3-1122-3344-b67d-4389b44b7bf9', apiKey: 'adfadfdsafsdfdsf', }; let res; try { res = await drAutomationServiceService.updateApikey(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
response = dr_automation_service_service.update_apikey( instance_id='123456d3-1122-3344-b67d-4389b44b7bf9', api_key='adfadfdsafsdfdsf', ) validation_key_response = response.get_result() print(json.dumps(validation_key_response, indent=2))
Response
Response object for API key validation, including ID, status, and description.
Validation result message
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
^[\x20-\x7E]*$Example:
Key is valid.Unique identifier of the API key.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^crn:v1:[a-zA-Z0-9\-_]+:public:power-dr-automation:[a-zA-Z0-9\-_]+:[a-zA-Z0-9\-_\/]+:[a-zA-Z0-9\-_]+::$Example:
crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::Status of the API key
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
Active
Response object for API key validation, including ID, status, and description.
Validation result message.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Key is valid.
Unique identifier of the API key.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::Status of the API key.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Active
Response object for API key validation, including ID, status, and description.
Validation result message.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Key is valid.
Unique identifier of the API key.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::Status of the API key.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Active
Response object for API key validation, including ID, status, and description.
Validation result message.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Key is valid.
Unique identifier of the API key.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::Status of the API key.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Active
Response object for API key validation, including ID, status, and description.
Validation result message.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Key is valid.
Unique identifier of the API key.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::Status of the API key.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Active
Status Code
OK
Bad Request
Unauthorized
Forbidden
Not Found
Gone
Internal Server Error
{ "description": "Key is valid.", "status": "Active" }{ "description": "Key is valid.", "status": "Active" }
Get GRS location pairs based on managed vms
Retrieves the (GRS) location pairs associated with the specified service instance based on managed VMs.
Retrieves the (GRS) location pairs associated with the specified service instance based on managed VMs.
Retrieves the (GRS) location pairs associated with the specified service instance based on managed VMs.
Retrieves the (GRS) location pairs associated with the specified service instance based on managed VMs.
Retrieves the (GRS) location pairs associated with the specified service instance based on managed VMs.
GET /drautomation/v1/dr_grs_location_pairs/{instance_id}(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetDrGrsLocationPair(getDrGrsLocationPairOptions *GetDrGrsLocationPairOptions) (result *GetGRSLocationPairResponse, response *core.DetailedResponse, err error)
(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetDrGrsLocationPairWithContext(ctx context.Context, getDrGrsLocationPairOptions *GetDrGrsLocationPairOptions) (result *GetGRSLocationPairResponse, response *core.DetailedResponse, err error)
ServiceCall<GetGRSLocationPairResponse> getDrGrsLocationPair(GetDrGrsLocationPairOptions getDrGrsLocationPairOptions)getDrGrsLocationPair(params)
get_dr_grs_location_pair(
self,
instance_id: str,
*,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponseRequest
Instantiate the GetDrGrsLocationPairOptions struct and set the fields to provide parameter values for the GetDrGrsLocationPair method.
Use the GetDrGrsLocationPairOptions.Builder to create a GetDrGrsLocationPairOptions object that contains the parameter values for the getDrGrsLocationPair method.
Custom Headers
The language requested for the return document
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z\-_,;=.*]+$
Path Parameters
instance id of instance to provision
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[a-zA-Z0-9\-_:/.]+$Example:
123456d3-1122-3344-b67d-4389b44b7bf9
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetDrGrsLocationPair options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
The getDrGrsLocationPair options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
curl -X GET https://power-dra.cloud.ibm.com/drautomation/v1/dr_grs_location_pairs/123456d3-1122-3344-b67d-4389b44b7bf9 -H "Authorization: Bearer ${iam_token}" -H "Accept: application/json"
getDrGrsLocationPairOptions := drAutomationServiceService.NewGetDrGrsLocationPairOptions( "123456d3-1122-3344-b67d-4389b44b7bf9", ) getGrsLocationPairResponse, response, err := drAutomationServiceService.GetDrGrsLocationPair(getDrGrsLocationPairOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(getGrsLocationPairResponse, "", " ") fmt.Println(string(b))
GetDrGrsLocationPairOptions getDrGrsLocationPairOptions = new GetDrGrsLocationPairOptions.Builder() .instanceId("123456d3-1122-3344-b67d-4389b44b7bf9") .build(); Response<GetGRSLocationPairResponse> response = drAutomationServiceService.getDrGrsLocationPair(getDrGrsLocationPairOptions).execute(); GetGRSLocationPairResponse getGrsLocationPairResponse = response.getResult(); System.out.println(getGrsLocationPairResponse);
const params = { instanceId: '123456d3-1122-3344-b67d-4389b44b7bf9', }; let res; try { res = await drAutomationServiceService.getDrGrsLocationPair(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
response = dr_automation_service_service.get_dr_grs_location_pair( instance_id='123456d3-1122-3344-b67d-4389b44b7bf9', ) get_grs_location_pair_response = response.get_result() print(json.dumps(get_grs_location_pair_response, indent=2))
Response
Response body containing GRS location pairs
A map of GRS location pairs where each key is a primary location and the value is its paired location
- location_pairs
A location code used for geographically redundant storage
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Response body containing GRS location pairs.
{
"location_pairs": {
"dal10": "lon06",
"eu-de": "us-south",
"us-south": "eu-de"
}
}A map of GRS location pairs where each key is a primary location and the value is its paired location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Response body containing GRS location pairs.
{
"location_pairs": {
"dal10": "lon06",
"eu-de": "us-south",
"us-south": "eu-de"
}
}A map of GRS location pairs where each key is a primary location and the value is its paired location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Response body containing GRS location pairs.
{
"location_pairs": {
"dal10": "lon06",
"eu-de": "us-south",
"us-south": "eu-de"
}
}A map of GRS location pairs where each key is a primary location and the value is its paired location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Response body containing GRS location pairs.
{
"location_pairs": {
"dal10": "lon06",
"eu-de": "us-south",
"us-south": "eu-de"
}
}A map of GRS location pairs where each key is a primary location and the value is its paired location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Status Code
Successfully fetched GRS location pairs
Bad Request (Instance ID not found)
Forbidden
Not Found
Conflict
Internal Server Error
{ "location_pairs": { "dal10": "lon06", "eu-de": "us-south", "us-south": "eu-de" } }{ "location_pairs": { "dal10": "lon06", "eu-de": "us-south", "us-south": "eu-de" } }
Get Disaster recovery locations
Retrieves the list of disaster recovery (DR) locations available for the specified service instance.
Retrieves the list of disaster recovery (DR) locations available for the specified service instance.
Retrieves the list of disaster recovery (DR) locations available for the specified service instance.
Retrieves the list of disaster recovery (DR) locations available for the specified service instance.
Retrieves the list of disaster recovery (DR) locations available for the specified service instance.
GET /drautomation/v1/dr_locations/{instance_id}(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetDrLocations(getDrLocationsOptions *GetDrLocationsOptions) (result *GetDrLocationsResponse, response *core.DetailedResponse, err error)
(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetDrLocationsWithContext(ctx context.Context, getDrLocationsOptions *GetDrLocationsOptions) (result *GetDrLocationsResponse, response *core.DetailedResponse, err error)
ServiceCall<GetDrLocationsResponse> getDrLocations(GetDrLocationsOptions getDrLocationsOptions)getDrLocations(params)
get_dr_locations(
self,
instance_id: str,
*,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponseRequest
Instantiate the GetDrLocationsOptions struct and set the fields to provide parameter values for the GetDrLocations method.
Use the GetDrLocationsOptions.Builder to create a GetDrLocationsOptions object that contains the parameter values for the getDrLocations method.
Custom Headers
The language requested for the return document
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z\-_,;=.*]+$
Path Parameters
instance id of instance to provision
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[a-zA-Z0-9\-_:/.]+$Example:
123456d3-1122-3344-b67d-4389b44b7bf9
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetDrLocations options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
The getDrLocations options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
curl -X GET https://power-dra.cloud.ibm.com/drautomation/v1/dr_locations/123456d3-1122-3344-b67d-4389b44b7bf9 -H "Authorization: Bearer ${iam_token}" -H "Accept: application/json"
getDrLocationsOptions := drAutomationServiceService.NewGetDrLocationsOptions( "123456d3-1122-3344-b67d-4389b44b7bf9", ) getDrLocationsResponse, response, err := drAutomationServiceService.GetDrLocations(getDrLocationsOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(getDrLocationsResponse, "", " ") fmt.Println(string(b))
GetDrLocationsOptions getDrLocationsOptions = new GetDrLocationsOptions.Builder() .instanceId("123456d3-1122-3344-b67d-4389b44b7bf9") .build(); Response<GetDrLocationsResponse> response = drAutomationServiceService.getDrLocations(getDrLocationsOptions).execute(); GetDrLocationsResponse getDrLocationsResponse = response.getResult(); System.out.println(getDrLocationsResponse);
const params = { instanceId: '123456d3-1122-3344-b67d-4389b44b7bf9', }; let res; try { res = await drAutomationServiceService.getDrLocations(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
response = dr_automation_service_service.get_dr_locations( instance_id='123456d3-1122-3344-b67d-4389b44b7bf9', ) get_dr_locations_response = response.get_result() print(json.dumps(get_dr_locations_response, indent=2))
Response
Response object containing a list of disaster recovery locations.
List of disaster recovery locations available for the service.
Possible values: 0 ≤ number of items ≤ 100
Response object containing a list of disaster recovery locations.
List of disaster recovery locations available for the service.
Possible values: 0 ≤ number of items ≤ 100
- DrLocations
Unique identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:loc123
The name of the Power virtual server DR location .
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:US-East-1
Response object containing a list of disaster recovery locations.
List of disaster recovery locations available for the service.
Possible values: 0 ≤ number of items ≤ 100
- drLocations
Unique identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:loc123
The name of the Power virtual server DR location .
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:US-East-1
Response object containing a list of disaster recovery locations.
List of disaster recovery locations available for the service.
Possible values: 0 ≤ number of items ≤ 100
- dr_locations
Unique identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:loc123
The name of the Power virtual server DR location .
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:US-East-1
Response object containing a list of disaster recovery locations.
List of disaster recovery locations available for the service.
Possible values: 0 ≤ number of items ≤ 100
- dr_locations
Unique identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:loc123
The name of the Power virtual server DR location .
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:US-East-1
Status Code
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
{ "dr_locations": [ { "id": "loc-001", "name": "us-south" }, { "id": "loc-002", "name": "eu-de" } ] }{ "dr_locations": [ { "id": "loc-001", "name": "us-south" }, { "id": "loc-002", "name": "eu-de" } ] }
Get managed vms for the instance
Retrieves the list of disaster recovery (DR) managed virtual machines for the specified service instance.
Retrieves the list of disaster recovery (DR) managed virtual machines for the specified service instance.
Retrieves the list of disaster recovery (DR) managed virtual machines for the specified service instance.
Retrieves the list of disaster recovery (DR) managed virtual machines for the specified service instance.
Retrieves the list of disaster recovery (DR) managed virtual machines for the specified service instance.
GET /drautomation/v1/dr_managed_vms/{instance_id}(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetDrManagedVm(getDrManagedVmOptions *GetDrManagedVmOptions) (result *ManagedVmMapResponse, response *core.DetailedResponse, err error)
(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetDrManagedVmWithContext(ctx context.Context, getDrManagedVmOptions *GetDrManagedVmOptions) (result *ManagedVmMapResponse, response *core.DetailedResponse, err error)
ServiceCall<ManagedVmMapResponse> getDrManagedVm(GetDrManagedVmOptions getDrManagedVmOptions)getDrManagedVm(params)
get_dr_managed_vm(
self,
instance_id: str,
*,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponseRequest
Instantiate the GetDrManagedVmOptions struct and set the fields to provide parameter values for the GetDrManagedVm method.
Use the GetDrManagedVmOptions.Builder to create a GetDrManagedVmOptions object that contains the parameter values for the getDrManagedVm method.
Custom Headers
The language requested for the return document
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z\-_,;=.*]+$
Path Parameters
instance id of instance to provision
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[a-zA-Z0-9\-_:/.]+$Example:
123456d3-1122-3344-b67d-4389b44b7bf9
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetDrManagedVm options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
The getDrManagedVm options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
curl -X GET https://power-dra.cloud.ibm.com/drautomation/v1/dr_managed_vms/123456d3-1122-3344-b67d-4389b44b7bf9 -H "Authorization: Bearer ${iam_token}" -H "Accept: application/json"
getDrManagedVMOptions := drAutomationServiceService.NewGetDrManagedVMOptions( "123456d3-1122-3344-b67d-4389b44b7bf9", ) managedVMMapResponse, response, err := drAutomationServiceService.GetDrManagedVM(getDrManagedVMOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(managedVMMapResponse, "", " ") fmt.Println(string(b))
GetDrManagedVmOptions getDrManagedVmOptions = new GetDrManagedVmOptions.Builder() .instanceId("123456d3-1122-3344-b67d-4389b44b7bf9") .build(); Response<ManagedVmMapResponse> response = drAutomationServiceService.getDrManagedVm(getDrManagedVmOptions).execute(); ManagedVmMapResponse managedVmMapResponse = response.getResult(); System.out.println(managedVmMapResponse);
const params = { instanceId: '123456d3-1122-3344-b67d-4389b44b7bf9', }; let res; try { res = await drAutomationServiceService.getDrManagedVm(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
response = dr_automation_service_service.get_dr_managed_vm( instance_id='123456d3-1122-3344-b67d-4389b44b7bf9', ) managed_vm_map_response = response.get_result() print(json.dumps(managed_vm_map_response, indent=2))
Response
Map of VM IDs to managed VM details.
A map where the key is the VM ID and the value is the corresponding ManagedVmDetails object.
- managed_vm_list
The detailed information of a disaster recovery enabled virtual machines for the service.
Map of VM IDs to managed VM details.
{
"managed_vm_list": {
"3f2e1a09-1234-4d56-7890-abcd1234ef56": {
"core": "0.50",
"dr_average_time": "10",
"dr_region": "nyc02",
"memory": "4",
"region": "nyc01",
"vm_name": "example_vm",
"workgroup_name": "Example_Workgroup",
"workspace_name": "Example_Workspace"
},
"9b8a7c65-4321-0fed-cba9-87654321abcd": {
"core": "1.00",
"dr_average_time": "5",
"dr_region": "sfo04",
"memory": "8",
"region": "sfo03",
"vm_name": "another_vm",
"workgroup_name": "Another_Workgroup",
"workspace_name": "Another_Workspace"
}
}
}A map where the key is the VM ID and the value is the corresponding ManagedVmDetails object.
- ManagedVmList
The Number of cores assigned to the managed vitual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+(\\.\\d+)?$/Examples:0.50The DR operation average time(in minutes) for the managed virtual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+$/Examples:10The name of the region where the virtual machine is recovered.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:nyc02
The amount of memory (in GB) assigned to the managed virtual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+(\\.\\d+)?$/Examples:4The source region where the managed virtual machine is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon04
The name of the managed virtual machine.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:example_vm
The name of the workgroup where the managed virtual machine is added for disaster recovery.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Workgroup1
The Name of the power virtual server workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Workspace_dallas01
Map of VM IDs to managed VM details.
{
"managed_vm_list": {
"3f2e1a09-1234-4d56-7890-abcd1234ef56": {
"core": "0.50",
"dr_average_time": "10",
"dr_region": "nyc02",
"memory": "4",
"region": "nyc01",
"vm_name": "example_vm",
"workgroup_name": "Example_Workgroup",
"workspace_name": "Example_Workspace"
},
"9b8a7c65-4321-0fed-cba9-87654321abcd": {
"core": "1.00",
"dr_average_time": "5",
"dr_region": "sfo04",
"memory": "8",
"region": "sfo03",
"vm_name": "another_vm",
"workgroup_name": "Another_Workgroup",
"workspace_name": "Another_Workspace"
}
}
}A map where the key is the VM ID and the value is the corresponding ManagedVmDetails object.
- managedVmList
The Number of cores assigned to the managed vitual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+(\\.\\d+)?$/Examples:0.50The DR operation average time(in minutes) for the managed virtual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+$/Examples:10The name of the region where the virtual machine is recovered.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:nyc02
The amount of memory (in GB) assigned to the managed virtual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+(\\.\\d+)?$/Examples:4The source region where the managed virtual machine is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon04
The name of the managed virtual machine.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:example_vm
The name of the workgroup where the managed virtual machine is added for disaster recovery.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Workgroup1
The Name of the power virtual server workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Workspace_dallas01
Map of VM IDs to managed VM details.
{
"managed_vm_list": {
"3f2e1a09-1234-4d56-7890-abcd1234ef56": {
"core": "0.50",
"dr_average_time": "10",
"dr_region": "nyc02",
"memory": "4",
"region": "nyc01",
"vm_name": "example_vm",
"workgroup_name": "Example_Workgroup",
"workspace_name": "Example_Workspace"
},
"9b8a7c65-4321-0fed-cba9-87654321abcd": {
"core": "1.00",
"dr_average_time": "5",
"dr_region": "sfo04",
"memory": "8",
"region": "sfo03",
"vm_name": "another_vm",
"workgroup_name": "Another_Workgroup",
"workspace_name": "Another_Workspace"
}
}
}A map where the key is the VM ID and the value is the corresponding ManagedVmDetails object.
- managed_vm_list
The Number of cores assigned to the managed vitual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+(\\.\\d+)?$/Examples:0.50The DR operation average time(in minutes) for the managed virtual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+$/Examples:10The name of the region where the virtual machine is recovered.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:nyc02
The amount of memory (in GB) assigned to the managed virtual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+(\\.\\d+)?$/Examples:4The source region where the managed virtual machine is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon04
The name of the managed virtual machine.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:example_vm
The name of the workgroup where the managed virtual machine is added for disaster recovery.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Workgroup1
The Name of the power virtual server workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Workspace_dallas01
Map of VM IDs to managed VM details.
{
"managed_vm_list": {
"3f2e1a09-1234-4d56-7890-abcd1234ef56": {
"core": "0.50",
"dr_average_time": "10",
"dr_region": "nyc02",
"memory": "4",
"region": "nyc01",
"vm_name": "example_vm",
"workgroup_name": "Example_Workgroup",
"workspace_name": "Example_Workspace"
},
"9b8a7c65-4321-0fed-cba9-87654321abcd": {
"core": "1.00",
"dr_average_time": "5",
"dr_region": "sfo04",
"memory": "8",
"region": "sfo03",
"vm_name": "another_vm",
"workgroup_name": "Another_Workgroup",
"workspace_name": "Another_Workspace"
}
}
}A map where the key is the VM ID and the value is the corresponding ManagedVmDetails object.
- managed_vm_list
The Number of cores assigned to the managed vitual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+(\\.\\d+)?$/Examples:0.50The DR operation average time(in minutes) for the managed virtual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+$/Examples:10The name of the region where the virtual machine is recovered.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:nyc02
The amount of memory (in GB) assigned to the managed virtual machine.
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
/^\\d+(\\.\\d+)?$/Examples:4The source region where the managed virtual machine is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon04
The name of the managed virtual machine.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:example_vm
The name of the workgroup where the managed virtual machine is added for disaster recovery.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Workgroup1
The Name of the power virtual server workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Workspace_dallas01
Status Code
Successfully fetched managed VMs
Bad Request (Instance ID not found)
Unauthorized
Forbidden
Not Found
Conflict
Internal Server Error
{ "managed_vm_list": { "3f2e1a09-1234-4d56-7890-abcd1234ef56": { "core": "0.50", "dr_average_time": "10", "dr_region": "nyc02", "memory": "4", "region": "nyc01", "vm_name": "example_vm", "workgroup_name": "Example_Workgroup", "workspace_name": "Example_Workspace" }, "9b8a7c65-4321-0fed-cba9-87654321abcd": { "core": "1.00", "dr_average_time": "5", "dr_region": "sfo04", "memory": "8", "region": "sfo03", "vm_name": "another_vm", "workgroup_name": "Another_Workgroup", "workspace_name": "Another_Workspace" } } }{ "managed_vm_list": { "3f2e1a09-1234-4d56-7890-abcd1234ef56": { "core": "0.50", "dr_average_time": "10", "dr_region": "nyc02", "memory": "4", "region": "nyc01", "vm_name": "example_vm", "workgroup_name": "Example_Workgroup", "workspace_name": "Example_Workspace" }, "9b8a7c65-4321-0fed-cba9-87654321abcd": { "core": "1.00", "dr_average_time": "5", "dr_region": "sfo04", "memory": "8", "region": "sfo03", "vm_name": "another_vm", "workgroup_name": "Another_Workgroup", "workspace_name": "Another_Workspace" } } }
Disaster recovery deployment details
Retrieves the disaster recovery (DR) summary details for the specified service instance, including key configuration, status information and managed vm details.
Retrieves the disaster recovery (DR) summary details for the specified service instance, including key configuration, status information and managed vm details.
Retrieves the disaster recovery (DR) summary details for the specified service instance, including key configuration, status information and managed vm details.
Retrieves the disaster recovery (DR) summary details for the specified service instance, including key configuration, status information and managed vm details.
Retrieves the disaster recovery (DR) summary details for the specified service instance, including key configuration, status information and managed vm details.
GET /drautomation/v1/dr_summary/{instance_id}(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetDrSummary(getDrSummaryOptions *GetDrSummaryOptions) (result *DrAutomationGetSummaryResponse, response *core.DetailedResponse, err error)
(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetDrSummaryWithContext(ctx context.Context, getDrSummaryOptions *GetDrSummaryOptions) (result *DrAutomationGetSummaryResponse, response *core.DetailedResponse, err error)
ServiceCall<DrAutomationGetSummaryResponse> getDrSummary(GetDrSummaryOptions getDrSummaryOptions)getDrSummary(params)
get_dr_summary(
self,
instance_id: str,
*,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponseRequest
Instantiate the GetDrSummaryOptions struct and set the fields to provide parameter values for the GetDrSummary method.
Use the GetDrSummaryOptions.Builder to create a GetDrSummaryOptions object that contains the parameter values for the getDrSummary method.
Custom Headers
The language requested for the return document
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z\-_,;=.*]+$
Path Parameters
instance id of instance to provision
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[a-zA-Z0-9\-_:/.]+$Example:
123456d3-1122-3344-b67d-4389b44b7bf9
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetDrSummary options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
The getDrSummary options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
curl -X GET https://power-dra.cloud.ibm.com/drautomation/v1/dr_summary/123456d3-1122-3344-b67d-4389b44b7bf9 -H "Authorization: Bearer ${iam_token}" -H "Accept: application/json"
getDrSummaryOptions := drAutomationServiceService.NewGetDrSummaryOptions( "123456d3-1122-3344-b67d-4389b44b7bf9", ) drAutomationGetSummaryResponse, response, err := drAutomationServiceService.GetDrSummary(getDrSummaryOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(drAutomationGetSummaryResponse, "", " ") fmt.Println(string(b))
GetDrSummaryOptions getDrSummaryOptions = new GetDrSummaryOptions.Builder() .instanceId("123456d3-1122-3344-b67d-4389b44b7bf9") .build(); Response<DrAutomationGetSummaryResponse> response = drAutomationServiceService.getDrSummary(getDrSummaryOptions).execute(); DrAutomationGetSummaryResponse drAutomationGetSummaryResponse = response.getResult(); System.out.println(drAutomationGetSummaryResponse);
const params = { instanceId: '123456d3-1122-3344-b67d-4389b44b7bf9', }; let res; try { res = await drAutomationServiceService.getDrSummary(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
response = dr_automation_service_service.get_dr_summary( instance_id='123456d3-1122-3344-b67d-4389b44b7bf9', ) dr_automation_get_summary_response = response.get_result() print(json.dumps(dr_automation_get_summary_response, indent=2))
Response
Response object containing all DR automation summary information
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- managed_vm_list
Contains details about the orchestrator configuration
Contains details about the DR automation service
Response object containing all DR automation summary information.
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Contains details about the orchestrator configuration.
- OrchestratorDetails
The deployment time of primary orchestrator VM.
Examples:2025-10-16T09:28:13.696ZThe deployment time of StandBy orchestrator VM.
Examples:2025-10-16T09:28:13.696ZLatest Orchestrator Time in COS.
Examples:2025-10-16T09:28:13.696ZThe unique identifier of location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/indicates if Multi Factor Authentication is enabled or not.
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/The external connectivity status of the orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of standby node addition.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The message regarding orchestrator cluster status.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The configuration status of the orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The leader node of the orchestrator group.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The type of orchestrator Location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the primary orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The IP address of the proxy.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-_:]+$/The name of the schematic workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+$/The status of the schematic workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/SSH key name used for the orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the standby orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the standby orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the transit gateway.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the VPC.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Contains details about the DR automation service.
- ServiceDetails
The deployment crn.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/The name of the deployment.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Service description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/The flag indicating whether orchestartor HA is enabled.
The plan name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_ ]+$/The service Orchestator primary IP address.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/The Primary Orchestrator Dashboard URL.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/The disaster recovery location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Resource group name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The standby orchestrator current status details.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/The service Orchestator standby IP address.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/The Standby Orchestrator Dashboard URL.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/The standby orchestrator current status.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Status of the service.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Response object containing all DR automation summary information.
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Contains details about the orchestrator configuration.
- orchestratorDetails
The deployment time of primary orchestrator VM.
Examples:2025-10-16T09:28:13.696ZThe deployment time of StandBy orchestrator VM.
Examples:2025-10-16T09:28:13.696ZLatest Orchestrator Time in COS.
Examples:2025-10-16T09:28:13.696ZThe unique identifier of location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/indicates if Multi Factor Authentication is enabled or not.
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/The external connectivity status of the orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of standby node addition.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The message regarding orchestrator cluster status.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The configuration status of the orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The leader node of the orchestrator group.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The type of orchestrator Location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the primary orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The IP address of the proxy.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-_:]+$/The name of the schematic workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+$/The status of the schematic workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/SSH key name used for the orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the standby orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the standby orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the transit gateway.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the VPC.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Contains details about the DR automation service.
- serviceDetails
The deployment crn.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/The name of the deployment.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Service description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/The flag indicating whether orchestartor HA is enabled.
The plan name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_ ]+$/The service Orchestator primary IP address.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/The Primary Orchestrator Dashboard URL.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/The disaster recovery location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Resource group name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The standby orchestrator current status details.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/The service Orchestator standby IP address.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/The Standby Orchestrator Dashboard URL.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/The standby orchestrator current status.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Status of the service.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Response object containing all DR automation summary information.
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Contains details about the orchestrator configuration.
- orchestrator_details
The deployment time of primary orchestrator VM.
Examples:2025-10-16T09:28:13.696ZThe deployment time of StandBy orchestrator VM.
Examples:2025-10-16T09:28:13.696ZLatest Orchestrator Time in COS.
Examples:2025-10-16T09:28:13.696ZThe unique identifier of location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/indicates if Multi Factor Authentication is enabled or not.
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/The external connectivity status of the orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of standby node addition.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The message regarding orchestrator cluster status.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The configuration status of the orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The leader node of the orchestrator group.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The type of orchestrator Location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the primary orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The IP address of the proxy.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-_:]+$/The name of the schematic workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+$/The status of the schematic workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/SSH key name used for the orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the standby orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the standby orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the transit gateway.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the VPC.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Contains details about the DR automation service.
- service_details
The deployment crn.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/The name of the deployment.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Service description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/The flag indicating whether orchestartor HA is enabled.
The plan name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_ ]+$/The service Orchestator primary IP address.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/The Primary Orchestrator Dashboard URL.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/The disaster recovery location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Resource group name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The standby orchestrator current status details.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/The service Orchestator standby IP address.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/The Standby Orchestrator Dashboard URL.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/The standby orchestrator current status.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Status of the service.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Response object containing all DR automation summary information.
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Contains details about the orchestrator configuration.
- orchestrator_details
The deployment time of primary orchestrator VM.
Examples:2025-10-16T09:28:13.696ZThe deployment time of StandBy orchestrator VM.
Examples:2025-10-16T09:28:13.696ZLatest Orchestrator Time in COS.
Examples:2025-10-16T09:28:13.696ZThe unique identifier of location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/indicates if Multi Factor Authentication is enabled or not.
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/The external connectivity status of the orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of standby node addition.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The message regarding orchestrator cluster status.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The configuration status of the orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The leader node of the orchestrator group.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The type of orchestrator Location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the primary orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The IP address of the proxy.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-_:]+$/The name of the schematic workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+$/The status of the schematic workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/SSH key name used for the orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the standby orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the standby orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the transit gateway.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The name of the VPC.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Contains details about the DR automation service.
- service_details
The deployment crn.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/The name of the deployment.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Service description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/The flag indicating whether orchestartor HA is enabled.
The plan name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_ ]+$/The service Orchestator primary IP address.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/The Primary Orchestrator Dashboard URL.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/The disaster recovery location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Resource group name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The standby orchestrator current status details.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/The service Orchestator standby IP address.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/The Standby Orchestrator Dashboard URL.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/The standby orchestrator current status.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Status of the service.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Status Code
OK
Bad Request
Unauthorized Entity
Forbidden
Not Found
Conflict
Internal Server Error
{ "managed_vm_list": [ { "id": "vm-01-1234-5678-90ab", "name": "test-aix-vm1" }, { "id": "vm-02-2234-5678-90cd", "name": "test-aix-vm2" } ], "orchestrator_details": { "location_id": "dal10", "mfa_enabled": "false", "orch_ext_connectivity_status": "Connected", "orch_standby_node_addition_status": "Success", "orchestrator_cluster_message": "Cluster operational", "orchestrator_config_status": "Configured", "orchestrator_group_leader": "primary0906", "orchestrator_location_type": "off-premises", "orchestrator_name": "primary0906", "orchestrator_status": "Active", "orchestrator_workspace_name": "vpcdr6-abc-power-workspace", "proxy_ip": "10.0.0.5", "schematic_workspace_name": "us-south.workspace.projects-service.3ae96a02", "schematic_workspace_status": "Available", "ssh_key_name": "mani_key", "standby_orchestrator_name": "standby0906", "standby_orchestrator_status": "Active", "standby_orchestrator_workspace_name": "Test_workspace_frankfurt", "transit_gateway_name": "dra-tg-01", "vpc_name": "vpc-primary-us-south" }, "service_details": { "crn": "crn:v1:staging:public:power-dr-automation:global:a/b68c234e719144b18598ae4a7b80c44c:03e32707-1234-zzsd-kkjh-4d790e863d5a09061::", "deployment_name": "defect_testing6abc0906", "description": "5/5: Primary orchestrator primary0906 is successfully deployed in 3m17s", "orchestrator_ha": true, "primary_ip_address": "10.51.0.123", "primary_orchestrator_dashboard_url": "", "recovery_location": "eu-de", "resource_group": "default-rg", "standby_description": "4/4: Standby orchestrator standby0906 is successfully deployed in 5m37s", "standby_ip_address": "10.0.9.123", "standby_orchestrator_dashboard_url": "", "standby_status": "Active", "status": "Active" } }{ "managed_vm_list": [ { "id": "vm-01-1234-5678-90ab", "name": "test-aix-vm1" }, { "id": "vm-02-2234-5678-90cd", "name": "test-aix-vm2" } ], "orchestrator_details": { "location_id": "dal10", "mfa_enabled": "false", "orch_ext_connectivity_status": "Connected", "orch_standby_node_addition_status": "Success", "orchestrator_cluster_message": "Cluster operational", "orchestrator_config_status": "Configured", "orchestrator_group_leader": "primary0906", "orchestrator_location_type": "off-premises", "orchestrator_name": "primary0906", "orchestrator_status": "Active", "orchestrator_workspace_name": "vpcdr6-abc-power-workspace", "proxy_ip": "10.0.0.5", "schematic_workspace_name": "us-south.workspace.projects-service.3ae96a02", "schematic_workspace_status": "Available", "ssh_key_name": "mani_key", "standby_orchestrator_name": "standby0906", "standby_orchestrator_status": "Active", "standby_orchestrator_workspace_name": "Test_workspace_frankfurt", "transit_gateway_name": "dra-tg-01", "vpc_name": "vpc-primary-us-south" }, "service_details": { "crn": "crn:v1:staging:public:power-dr-automation:global:a/b68c234e719144b18598ae4a7b80c44c:03e32707-1234-zzsd-kkjh-4d790e863d5a09061::", "deployment_name": "defect_testing6abc0906", "description": "5/5: Primary orchestrator primary0906 is successfully deployed in 3m17s", "orchestrator_ha": true, "primary_ip_address": "10.51.0.123", "primary_orchestrator_dashboard_url": "", "recovery_location": "eu-de", "resource_group": "default-rg", "standby_description": "4/4: Standby orchestrator standby0906 is successfully deployed in 5m37s", "standby_ip_address": "10.0.9.123", "standby_orchestrator_dashboard_url": "", "standby_status": "Active", "status": "Active" } }
View details of Last operation performed on the instance
Retrieves the status of the last operation performed on the specified service instance, such as provisioning, updating, or deprovisioning.
Retrieves the status of the last operation performed on the specified service instance, such as provisioning, updating, or deprovisioning.
Retrieves the status of the last operation performed on the specified service instance, such as provisioning, updating, or deprovisioning.
Retrieves the status of the last operation performed on the specified service instance, such as provisioning, updating, or deprovisioning.
Retrieves the status of the last operation performed on the specified service instance, such as provisioning, updating, or deprovisioning.
GET /drautomation/v1/last_operation/{instance_id}(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetLastOperation(getLastOperationOptions *GetLastOperationOptions) (result *ServiceInstanceStatus, response *core.DetailedResponse, err error)
(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetLastOperationWithContext(ctx context.Context, getLastOperationOptions *GetLastOperationOptions) (result *ServiceInstanceStatus, response *core.DetailedResponse, err error)
ServiceCall<ServiceInstanceStatus> getLastOperation(GetLastOperationOptions getLastOperationOptions)getLastOperation(params)
get_last_operation(
self,
instance_id: str,
*,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponseRequest
Instantiate the GetLastOperationOptions struct and set the fields to provide parameter values for the GetLastOperation method.
Use the GetLastOperationOptions.Builder to create a GetLastOperationOptions object that contains the parameter values for the getLastOperation method.
Custom Headers
The language requested for the return document
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z\-_,;=.*]+$
Path Parameters
instance id of instance to provision
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[a-zA-Z0-9\-_:/.]+$Example:
123456d3-1122-3344-b67d-4389b44b7bf9
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetLastOperation options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
The getLastOperation options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
curl -X GET https://power-dra.cloud.ibm.com/drautomation/v1/last_operation/123456d3-1122-3344-b67d-4389b44b7bf9 -H "Authorization: Bearer ${iam_token}" -H "Accept: application/json"
getLastOperationOptions := drAutomationServiceService.NewGetLastOperationOptions( "123456d3-1122-3344-b67d-4389b44b7bf9", ) serviceInstanceStatus, response, err := drAutomationServiceService.GetLastOperation(getLastOperationOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(serviceInstanceStatus, "", " ") fmt.Println(string(b))
GetLastOperationOptions getLastOperationOptions = new GetLastOperationOptions.Builder() .instanceId("123456d3-1122-3344-b67d-4389b44b7bf9") .build(); Response<ServiceInstanceStatus> response = drAutomationServiceService.getLastOperation(getLastOperationOptions).execute(); ServiceInstanceStatus serviceInstanceStatus = response.getResult(); System.out.println(serviceInstanceStatus);
const params = { instanceId: '123456d3-1122-3344-b67d-4389b44b7bf9', }; let res; try { res = await drAutomationServiceService.getLastOperation(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
response = dr_automation_service_service.get_last_operation( instance_id='123456d3-1122-3344-b67d-4389b44b7bf9', ) service_instance_status = response.get_result() print(json.dumps(service_instance_status, indent=2))
Response
Represents the current status and details of a service instance including orchestrator state, networking, and recovery information.
The service instance crn
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^crn:v1:[a-zA-Z0-9\-_]+:public:power-dr-automation:[a-zA-Z0-9\-_]+:[a-zA-Z0-9\-_\/]+:[a-zA-Z0-9\-_]+::$Example:
crn:v1:staging:public:power-dr-automation:global:a/2c5d7270091f495795350e9adfa8399c:86e0c9a9-80f4-4fcf-88a0-07643de01bb8::The name of the service instance deployment.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
dr-deployment-instance-1The deployment time of primary orchestrator VM.
Possible values: 1 ≤ length ≤ 64
Example:
2025-10-16T09:28:13.696ZThe deployment time of StandBy orchestrator VM.
Possible values: 1 ≤ length ≤ 64
Example:
2025-10-16T09:28:13.696ZIndicated whether multi factor authentication is ennabled or not.
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
^(true|false)$Example:
trueThe status of standby node in the Orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
CompletedThe current status of the primary orchestrator VM.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
^[\x20-\x7E]*$Example:
Cluster healthyThe configuration status of the orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
ConfiguredIndicates whether high availability (HA) is enabled for the orchestrator.
Example:
trueThe name of the DR Automation plan
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_ ]+$Example:
DR Automation Private PlanIndicates the progress details of primary orchestrator creation.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^[\x20-\x7E]*$Example:
2/5: Creating primary orchestrator VM.The IP address of the primary orchestrator VM.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9.\-:]+$Example:
192.168.1.10The configuration status of the orchestrator cluster.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
orchestrator-VM-creation-in-progressThe disaster recovery location associated with the instance.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
us-eastThe resource group to which the service instance belongs.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
DefaultIndicates the progress details of primary orchestrator creation.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^[\x20-\x7E]*$Example:
1/4: Service instance is downloading orchestrator image for standby VM creation.The IP address of the standby orchestrator VM.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9.\-:]+$Example:
192.168.1.11The current state of the standby orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
downloading-orchestrator-imageThe current state of the primary orchestrator
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
RunningStatus of standby node addition to the orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
Connected
Represents the current status and details of a service instance including orchestrator state, networking, and recovery information.
The service instance crn.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/2c5d7270091f495795350e9adfa8399c:86e0c9a9-80f4-4fcf-88a0-07643de01bb8::The name of the service instance deployment.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-deployment-instance-1The deployment time of primary orchestrator VM.
Examples:2025-10-16T09:28:13.696ZThe deployment time of StandBy orchestrator VM.
Examples:2025-10-16T09:28:13.696ZIndicated whether multi factor authentication is ennabled or not.
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/Examples:trueStatus of standby node addition to the orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Connected
The status of standby node in the Orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Completed
The current status of the primary orchestrator VM.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Cluster healthy
The configuration status of the orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Configured
Indicates whether high availability (HA) is enabled for the orchestrator.
Examples:trueThe name of the DR Automation plan.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_ ]+$/Examples:DR Automation Private Plan
Indicates the progress details of primary orchestrator creation.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:2/5: Creating primary orchestrator VM.The IP address of the primary orchestrator VM.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/Examples:192.168.1.10The configuration status of the orchestrator cluster.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:orchestrator-VM-creation-in-progress
The disaster recovery location associated with the instance.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:us-east
The resource group to which the service instance belongs.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Default
Indicates the progress details of primary orchestrator creation.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:1/4: Service instance is downloading orchestrator image for standby VM creation.The IP address of the standby orchestrator VM.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/Examples:192.168.1.11The current state of the standby orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:downloading-orchestrator-image
The current state of the primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Running
Represents the current status and details of a service instance including orchestrator state, networking, and recovery information.
The service instance crn.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/2c5d7270091f495795350e9adfa8399c:86e0c9a9-80f4-4fcf-88a0-07643de01bb8::The name of the service instance deployment.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-deployment-instance-1The deployment time of primary orchestrator VM.
Examples:2025-10-16T09:28:13.696ZThe deployment time of StandBy orchestrator VM.
Examples:2025-10-16T09:28:13.696ZIndicated whether multi factor authentication is ennabled or not.
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/Examples:trueStatus of standby node addition to the orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Connected
The status of standby node in the Orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Completed
The current status of the primary orchestrator VM.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Cluster healthy
The configuration status of the orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Configured
Indicates whether high availability (HA) is enabled for the orchestrator.
Examples:trueThe name of the DR Automation plan.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_ ]+$/Examples:DR Automation Private Plan
Indicates the progress details of primary orchestrator creation.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:2/5: Creating primary orchestrator VM.The IP address of the primary orchestrator VM.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/Examples:192.168.1.10The configuration status of the orchestrator cluster.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:orchestrator-VM-creation-in-progress
The disaster recovery location associated with the instance.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:us-east
The resource group to which the service instance belongs.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Default
Indicates the progress details of primary orchestrator creation.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:1/4: Service instance is downloading orchestrator image for standby VM creation.The IP address of the standby orchestrator VM.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/Examples:192.168.1.11The current state of the standby orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:downloading-orchestrator-image
The current state of the primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Running
Represents the current status and details of a service instance including orchestrator state, networking, and recovery information.
The service instance crn.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/2c5d7270091f495795350e9adfa8399c:86e0c9a9-80f4-4fcf-88a0-07643de01bb8::The name of the service instance deployment.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-deployment-instance-1The deployment time of primary orchestrator VM.
Examples:2025-10-16T09:28:13.696ZThe deployment time of StandBy orchestrator VM.
Examples:2025-10-16T09:28:13.696ZIndicated whether multi factor authentication is ennabled or not.
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/Examples:trueStatus of standby node addition to the orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Connected
The status of standby node in the Orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Completed
The current status of the primary orchestrator VM.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Cluster healthy
The configuration status of the orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Configured
Indicates whether high availability (HA) is enabled for the orchestrator.
Examples:trueThe name of the DR Automation plan.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_ ]+$/Examples:DR Automation Private Plan
Indicates the progress details of primary orchestrator creation.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:2/5: Creating primary orchestrator VM.The IP address of the primary orchestrator VM.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/Examples:192.168.1.10The configuration status of the orchestrator cluster.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:orchestrator-VM-creation-in-progress
The disaster recovery location associated with the instance.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:us-east
The resource group to which the service instance belongs.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Default
Indicates the progress details of primary orchestrator creation.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:1/4: Service instance is downloading orchestrator image for standby VM creation.The IP address of the standby orchestrator VM.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/Examples:192.168.1.11The current state of the standby orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:downloading-orchestrator-image
The current state of the primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Running
Represents the current status and details of a service instance including orchestrator state, networking, and recovery information.
The service instance crn.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/2c5d7270091f495795350e9adfa8399c:86e0c9a9-80f4-4fcf-88a0-07643de01bb8::The name of the service instance deployment.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-deployment-instance-1The deployment time of primary orchestrator VM.
Examples:2025-10-16T09:28:13.696ZThe deployment time of StandBy orchestrator VM.
Examples:2025-10-16T09:28:13.696ZIndicated whether multi factor authentication is ennabled or not.
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/Examples:trueStatus of standby node addition to the orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Connected
The status of standby node in the Orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Completed
The current status of the primary orchestrator VM.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Cluster healthy
The configuration status of the orchestrator cluster.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Configured
Indicates whether high availability (HA) is enabled for the orchestrator.
Examples:trueThe name of the DR Automation plan.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_ ]+$/Examples:DR Automation Private Plan
Indicates the progress details of primary orchestrator creation.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:2/5: Creating primary orchestrator VM.The IP address of the primary orchestrator VM.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/Examples:192.168.1.10The configuration status of the orchestrator cluster.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:orchestrator-VM-creation-in-progress
The disaster recovery location associated with the instance.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:us-east
The resource group to which the service instance belongs.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Default
Indicates the progress details of primary orchestrator creation.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:1/4: Service instance is downloading orchestrator image for standby VM creation.The IP address of the standby orchestrator VM.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-:]+$/Examples:192.168.1.11The current state of the standby orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:downloading-orchestrator-image
The current state of the primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Running
Status Code
OK
Bad Request
Unauthorized
Forbidden
Not Found
Gone
Internal Server error
{ "crn": "crn:v1:staging:public:power-dr-automation:global:a/2c5d7270091f495795350e9adfa8399c:86e0c9a9-80f4-4fcf-88a0-07643de01bb8::", "deployment_name": "dr-deployment-instance-1", "last_updated_orchestrator_deployment_time": "2025-10-30T11:25:00.000Z", "last_updated_standby_orchestrator_deployment_time": "2025-10-30T11:40:00.000Z", "mfa_enabled": "false", "orch_ext_connectivity_status": "Connected", "orch_standby_node_addtion_status": "Completed", "orchestrator_cluster_message": "Cluster healthy", "orchestrator_config_status": "Configured", "orchestrator_ha": true, "plan_name": "standard", "primary_description": "2/5: Creating primary orchestrator VM.", "primary_ip_address": "192.168.1.10", "primary_orchestrator_status": "orchestrator-VM-creation-in-progress", "recovery_location": "us-east", "resource_group": "Default", "standby_description": "1/4: Service instance is downloading orchestrator image for standby VM creation.", "standby_ip_address": "192.168.1.11", "standby_status": "downloading-orchestrator-image", "status": "Running" }{ "crn": "crn:v1:staging:public:power-dr-automation:global:a/2c5d7270091f495795350e9adfa8399c:86e0c9a9-80f4-4fcf-88a0-07643de01bb8::", "deployment_name": "dr-deployment-instance-1", "last_updated_orchestrator_deployment_time": "2025-10-30T11:25:00.000Z", "last_updated_standby_orchestrator_deployment_time": "2025-10-30T11:40:00.000Z", "mfa_enabled": "false", "orch_ext_connectivity_status": "Connected", "orch_standby_node_addtion_status": "Completed", "orchestrator_cluster_message": "Cluster healthy", "orchestrator_config_status": "Configured", "orchestrator_ha": true, "plan_name": "standard", "primary_description": "2/5: Creating primary orchestrator VM.", "primary_ip_address": "192.168.1.10", "primary_orchestrator_status": "orchestrator-VM-creation-in-progress", "recovery_location": "us-east", "resource_group": "Default", "standby_description": "1/4: Service instance is downloading orchestrator image for standby VM creation.", "standby_ip_address": "192.168.1.11", "standby_status": "downloading-orchestrator-image", "status": "Running" }
Get MachineTypes based on selected workspaces
Retrieves the list of supported machine types for the given workspace. This endpoint is used to identify machine types available for disaster recovery automation.
Retrieves the list of supported machine types for the given workspace. This endpoint is used to identify machine types available for disaster recovery automation.
Retrieves the list of supported machine types for the given workspace. This endpoint is used to identify machine types available for disaster recovery automation.
Retrieves the list of supported machine types for the given workspace. This endpoint is used to identify machine types available for disaster recovery automation.
Retrieves the list of supported machine types for the given workspace. This endpoint is used to identify machine types available for disaster recovery automation.
GET /drautomation/v1/machinetypes/{instance_id}(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetMachineType(getMachineTypeOptions *GetMachineTypeOptions) (result *MachineTypesByWorkspace, response *core.DetailedResponse, err error)
(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetMachineTypeWithContext(ctx context.Context, getMachineTypeOptions *GetMachineTypeOptions) (result *MachineTypesByWorkspace, response *core.DetailedResponse, err error)
ServiceCall<MachineTypesByWorkspace> getMachineType(GetMachineTypeOptions getMachineTypeOptions)getMachineType(params)
get_machine_type(
self,
instance_id: str,
primary_workspace_name: str,
*,
accept_language: Optional[str] = None,
standby_workspace_name: Optional[str] = None,
**kwargs,
) -> DetailedResponseRequest
Instantiate the GetMachineTypeOptions struct and set the fields to provide parameter values for the GetMachineType method.
Use the GetMachineTypeOptions.Builder to create a GetMachineTypeOptions object that contains the parameter values for the getMachineType method.
Custom Headers
The language requested for the return document
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z\-_,;=.*]+$
Path Parameters
instance id of instance to provision
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[a-zA-Z0-9\-_:/.]+$Example:
123456d3-1122-3344-b67d-4389b44b7bf9
Query Parameters
The primary Power virtual server workspace name
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
Test-workspace-wdc06The standby Power virtual server workspace name
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
Test-workspace-wdc07
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetMachineType options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The primary Power virtual server workspace name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Test-workspace-wdc06
The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/The standby Power virtual server workspace name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Test-workspace-wdc07
The getMachineType options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The primary Power virtual server workspace name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Test-workspace-wdc06
The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/The standby Power virtual server workspace name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Test-workspace-wdc07
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The primary Power virtual server workspace name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/The standby Power virtual server workspace name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The primary Power virtual server workspace name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/The standby Power virtual server workspace name.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:
curl -X GET https://power-dra.cloud.ibm.com/drautomation/v1/machinetypes/123456d3-1122-3344-b67d-4389b44b7bf9?primary_workspace_name=Test-workspace-wdc06&standby_workspace_name=Test-workspace-wdc07 -H "Authorization: Bearer ${iam_token}" -H "Accept: application/json"
getMachineTypeOptions := drAutomationServiceService.NewGetMachineTypeOptions( "123456d3-1122-3344-b67d-4389b44b7bf9", "Test-workspace-wdc06", ) getMachineTypeOptions.SetStandbyWorkspaceName("Test-workspace-wdc07") machineTypesByWorkspace, response, err := drAutomationServiceService.GetMachineType(getMachineTypeOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(machineTypesByWorkspace, "", " ") fmt.Println(string(b))
GetMachineTypeOptions getMachineTypeOptions = new GetMachineTypeOptions.Builder() .instanceId("123456d3-1122-3344-b67d-4389b44b7bf9") .primaryWorkspaceName("Test-workspace-wdc06") .standbyWorkspaceName("Test-workspace-wdc07") .build(); Response<MachineTypesByWorkspace> response = drAutomationServiceService.getMachineType(getMachineTypeOptions).execute(); MachineTypesByWorkspace machineTypesByWorkspace = response.getResult(); System.out.println(machineTypesByWorkspace);
const params = { instanceId: '123456d3-1122-3344-b67d-4389b44b7bf9', primaryWorkspaceName: 'Test-workspace-wdc06', standbyWorkspaceName: 'Test-workspace-wdc07', }; let res; try { res = await drAutomationServiceService.getMachineType(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
response = dr_automation_service_service.get_machine_type( instance_id='123456d3-1122-3344-b67d-4389b44b7bf9', primary_workspace_name='Test-workspace-wdc06', standby_workspace_name='Test-workspace-wdc07', ) machine_types_by_workspace = response.get_result() print(json.dumps(machine_types_by_workspace, indent=2))
Response
The Response body containing machine types supported by power virtual server workspace
The Map of workspace IDs to lists of machine types
- workspaces
The list of machine types supported by workspace
Possible values: 0 ≤ number of items ≤ 100, 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$
The Response body containing machine types supported by power virtual server workspace.
{
"workspaces": {
"test-workspace-WDC": [
"e980",
"s922"
]
}
}The Map of workspace IDs to lists of machine types.
Possible values: 0 ≤ number of items ≤ 100
The Response body containing machine types supported by power virtual server workspace.
{
"workspaces": {
"test-workspace-WDC": [
"e980",
"s922"
]
}
}The Map of workspace IDs to lists of machine types.
Possible values: 0 ≤ number of items ≤ 100
The Response body containing machine types supported by power virtual server workspace.
{
"workspaces": {
"test-workspace-WDC": [
"e980",
"s922"
]
}
}The Map of workspace IDs to lists of machine types.
Possible values: 0 ≤ number of items ≤ 100
The Response body containing machine types supported by power virtual server workspace.
{
"workspaces": {
"test-workspace-WDC": [
"e980",
"s922"
]
}
}The Map of workspace IDs to lists of machine types.
Possible values: 0 ≤ number of items ≤ 100
Status Code
Successfully fetched machine types
Bad Request (Instance ID not found)
Unauthorized
Forbidden
Not Found
Conflict
Internal Server error
{ "workspaces": { "test-workspace-WDC": [ "e980", "s922" ] } }{ "workspaces": { "test-workspace-WDC": [ "e980", "s922" ] } }
List of primary and standby powervs workspaces
Retrieves the power virtual server workspaces for primary and standby orchestrator based on location id.
Retrieves the power virtual server workspaces for primary and standby orchestrator based on location id.
Retrieves the power virtual server workspaces for primary and standby orchestrator based on location id.
Retrieves the power virtual server workspaces for primary and standby orchestrator based on location id.
Retrieves the power virtual server workspaces for primary and standby orchestrator based on location id.
GET /drautomation/v1/powervs_workspaces/{instance_id}(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetPowervsWorkspaces(getPowervsWorkspacesOptions *GetPowervsWorkspacesOptions) (result *DrData, response *core.DetailedResponse, err error)
(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetPowervsWorkspacesWithContext(ctx context.Context, getPowervsWorkspacesOptions *GetPowervsWorkspacesOptions) (result *DrData, response *core.DetailedResponse, err error)
ServiceCall<DrData> getPowervsWorkspaces(GetPowervsWorkspacesOptions getPowervsWorkspacesOptions)getPowervsWorkspaces(params)
get_powervs_workspaces(
self,
instance_id: str,
location_id: str,
**kwargs,
) -> DetailedResponseRequest
Instantiate the GetPowervsWorkspacesOptions struct and set the fields to provide parameter values for the GetPowervsWorkspaces method.
Use the GetPowervsWorkspacesOptions.Builder to create a GetPowervsWorkspacesOptions object that contains the parameter values for the getPowervsWorkspaces method.
Path Parameters
instance id of instance to provision
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[a-zA-Z0-9\-_:/.]+$Example:
123456d3-1122-3344-b67d-4389b44b7bf9
Query Parameters
Location ID value
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetPowervsWorkspaces options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9Location ID value.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
The getPowervsWorkspaces options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9Location ID value.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:Location ID value.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:Location ID value.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
curl -X GET https://power-dra.cloud.ibm.com/drautomation/v1/powervs_workspaces/123456d3-1122-3344-b67d-4389b44b7bf9?location_id=dal10 -H "Authorization: Bearer ${iam_token}" -H "Accept: application/json"
getPowervsWorkspacesOptions := drAutomationServiceService.NewGetPowervsWorkspacesOptions( "123456d3-1122-3344-b67d-4389b44b7bf9", "testString", ) drData, response, err := drAutomationServiceService.GetPowervsWorkspaces(getPowervsWorkspacesOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(drData, "", " ") fmt.Println(string(b))
GetPowervsWorkspacesOptions getPowervsWorkspacesOptions = new GetPowervsWorkspacesOptions.Builder() .instanceId("123456d3-1122-3344-b67d-4389b44b7bf9") .locationId("testString") .build(); Response<DrData> response = drAutomationServiceService.getPowervsWorkspaces(getPowervsWorkspacesOptions).execute(); DrData drData = response.getResult(); System.out.println(drData);
const params = { instanceId: '123456d3-1122-3344-b67d-4389b44b7bf9', locationId: 'testString', }; let res; try { res = await drAutomationServiceService.getPowervsWorkspaces(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
response = dr_automation_service_service.get_powervs_workspaces( instance_id='123456d3-1122-3344-b67d-4389b44b7bf9', location_id='testString', ) dr_data = response.get_result() print(json.dumps(dr_data, indent=2))
Response
The list of primary and standby disaster recovery Power virtual server workspaces.
The list of standby disaster recovery workspaces.
Possible values: 0 ≤ number of items ≤ 100
The list of primary disaster recovery workspaces.
Possible values: 0 ≤ number of items ≤ 100
Description of Standby Workspace
Description of Workspace.
The list of primary and standby disaster recovery Power virtual server workspaces.
Description of Standby Workspace.
The list of standby disaster recovery workspaces.
Possible values: 0 ≤ number of items ≤ 100
- DrStandbyWorkspaces
The detailed information of the standby DR workspace.
- Details
Cloud Resource Name (CRN) of the DR workspace.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-iaas:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:bluemix:public:power-iaas:lon06:a/094f4214c75941f991da601b001df1fe:b6297e60-d0fe-4e24-8b15-276cf0645737::
The unique identifier of the standby workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The location information of the standby workspace.
- Location
The region identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon06
The type of location (e.g., data-center, cloud-region).
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:data-center
The URL endpoint to access the DR location.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://lon.power-iaas.cloud.ibm.com
The name of the standby workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the standby workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Description of Workspace.
The list of primary disaster recovery workspaces.
Possible values: 0 ≤ number of items ≤ 100
- DrWorkspaces
Indicates if this is the default DR workspace.
Examples:trueThe detailed information about the DR workspace.
- Details
Cloud Resource Name (CRN) of the DR workspace.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-iaas:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:bluemix:public:power-iaas:lon06:a/094f4214c75941f991da601b001df1fe:b6297e60-d0fe-4e24-8b15-276cf0645737::
The unique identifier of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The location information of the DR workspace.
- Location
The region identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon06
The type of location (e.g., data-center, cloud-region).
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:data-center
The URL endpoint to access the DR location.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://lon.power-iaas.cloud.ibm.com
The name of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:active
The list of primary and standby disaster recovery Power virtual server workspaces.
Description of Standby Workspace.
The list of standby disaster recovery workspaces.
Possible values: 0 ≤ number of items ≤ 100
- drStandbyWorkspaces
The detailed information of the standby DR workspace.
- details
Cloud Resource Name (CRN) of the DR workspace.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-iaas:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:bluemix:public:power-iaas:lon06:a/094f4214c75941f991da601b001df1fe:b6297e60-d0fe-4e24-8b15-276cf0645737::
The unique identifier of the standby workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The location information of the standby workspace.
- location
The region identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon06
The type of location (e.g., data-center, cloud-region).
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:data-center
The URL endpoint to access the DR location.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://lon.power-iaas.cloud.ibm.com
The name of the standby workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the standby workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Description of Workspace.
The list of primary disaster recovery workspaces.
Possible values: 0 ≤ number of items ≤ 100
- drWorkspaces
Indicates if this is the default DR workspace.
Examples:trueThe detailed information about the DR workspace.
- details
Cloud Resource Name (CRN) of the DR workspace.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-iaas:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:bluemix:public:power-iaas:lon06:a/094f4214c75941f991da601b001df1fe:b6297e60-d0fe-4e24-8b15-276cf0645737::
The unique identifier of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The location information of the DR workspace.
- location
The region identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon06
The type of location (e.g., data-center, cloud-region).
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:data-center
The URL endpoint to access the DR location.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://lon.power-iaas.cloud.ibm.com
The name of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:active
The list of primary and standby disaster recovery Power virtual server workspaces.
Description of Standby Workspace.
The list of standby disaster recovery workspaces.
Possible values: 0 ≤ number of items ≤ 100
- dr_standby_workspaces
The detailed information of the standby DR workspace.
- details
Cloud Resource Name (CRN) of the DR workspace.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-iaas:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:bluemix:public:power-iaas:lon06:a/094f4214c75941f991da601b001df1fe:b6297e60-d0fe-4e24-8b15-276cf0645737::
The unique identifier of the standby workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The location information of the standby workspace.
- location
The region identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon06
The type of location (e.g., data-center, cloud-region).
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:data-center
The URL endpoint to access the DR location.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://lon.power-iaas.cloud.ibm.com
The name of the standby workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the standby workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Description of Workspace.
The list of primary disaster recovery workspaces.
Possible values: 0 ≤ number of items ≤ 100
- dr_workspaces
Indicates if this is the default DR workspace.
Examples:trueThe detailed information about the DR workspace.
- details
Cloud Resource Name (CRN) of the DR workspace.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-iaas:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:bluemix:public:power-iaas:lon06:a/094f4214c75941f991da601b001df1fe:b6297e60-d0fe-4e24-8b15-276cf0645737::
The unique identifier of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The location information of the DR workspace.
- location
The region identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon06
The type of location (e.g., data-center, cloud-region).
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:data-center
The URL endpoint to access the DR location.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://lon.power-iaas.cloud.ibm.com
The name of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:active
The list of primary and standby disaster recovery Power virtual server workspaces.
Description of Standby Workspace.
The list of standby disaster recovery workspaces.
Possible values: 0 ≤ number of items ≤ 100
- dr_standby_workspaces
The detailed information of the standby DR workspace.
- details
Cloud Resource Name (CRN) of the DR workspace.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-iaas:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:bluemix:public:power-iaas:lon06:a/094f4214c75941f991da601b001df1fe:b6297e60-d0fe-4e24-8b15-276cf0645737::
The unique identifier of the standby workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The location information of the standby workspace.
- location
The region identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon06
The type of location (e.g., data-center, cloud-region).
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:data-center
The URL endpoint to access the DR location.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://lon.power-iaas.cloud.ibm.com
The name of the standby workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the standby workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Description of Workspace.
The list of primary disaster recovery workspaces.
Possible values: 0 ≤ number of items ≤ 100
- dr_workspaces
Indicates if this is the default DR workspace.
Examples:trueThe detailed information about the DR workspace.
- details
Cloud Resource Name (CRN) of the DR workspace.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-iaas:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:bluemix:public:power-iaas:lon06:a/094f4214c75941f991da601b001df1fe:b6297e60-d0fe-4e24-8b15-276cf0645737::
The unique identifier of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The location information of the DR workspace.
- location
The region identifier of the DR location.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:lon06
The type of location (e.g., data-center, cloud-region).
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:data-center
The URL endpoint to access the DR location.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://lon.power-iaas.cloud.ibm.com
The name of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The status of the DR workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:active
Status Code
OK
Bad Request
Unauthorized
Unprocessable Entity
Not Found
Gone
Too Many Requests
Internal Server error
{ "dr_standby_workspaces": [ { "details": { "crn": "crn:v1:bluemix:public:power-iaas:us-south:abc123:8aac93a4-f0cf-4b19-8d6d-9ba10883985d::" }, "id": "8aac93a4-f0cf-4b19-8d6d-9ba10883985d", "location": { "region": "us-south", "type": "region", "url": "https://us-south.power-iaas.cloud.ibm.com" }, "name": "ws-dallas-standby", "status": "active" } ], "dr_workspaces": [ { "details": { "crn": "crn:v1:bluemix:public:power-iaas:us-south:abc123:9a9688a8-57e1-40b5-8c7d-f07e0a1cb305::" }, "id": "9a9688a8-57e1-40b5-8c7d-f07e0a1cb305", "location": { "region": "us-south", "type": "region", "url": "https://us-south.power-iaas.cloud.ibm.com" }, "name": "ws-dallas-primary", "status": "active" } ] }{ "dr_standby_workspaces": [ { "details": { "crn": "crn:v1:bluemix:public:power-iaas:us-south:abc123:8aac93a4-f0cf-4b19-8d6d-9ba10883985d::" }, "id": "8aac93a4-f0cf-4b19-8d6d-9ba10883985d", "location": { "region": "us-south", "type": "region", "url": "https://us-south.power-iaas.cloud.ibm.com" }, "name": "ws-dallas-standby", "status": "active" } ], "dr_workspaces": [ { "details": { "crn": "crn:v1:bluemix:public:power-iaas:us-south:abc123:9a9688a8-57e1-40b5-8c7d-f07e0a1cb305::" }, "id": "9a9688a8-57e1-40b5-8c7d-f07e0a1cb305", "location": { "region": "us-south", "type": "region", "url": "https://us-south.power-iaas.cloud.ibm.com" }, "name": "ws-dallas-primary", "status": "active" } ] }
Create DR Deployment
Creates DR Deployment by creating Orchestrator instance in the given PowerVS workspace and configuration. Orchestrator instance can be used to manage multiple virtual servers and ensure continuous availability. For more details, refer Deploying the Orchestrator - https://cloud.ibm.com/docs/dr-automation-powervs?topic=dr-automation-powervs-idep-the-orch
Creates DR Deployment by creating Orchestrator instance in the given PowerVS workspace and configuration. Orchestrator instance can be used to manage multiple virtual servers and ensure continuous availability. For more details, refer Deploying the Orchestrator - https://cloud.ibm.com/docs/dr-automation-powervs?topic=dr-automation-powervs-idep-the-orch.
Creates DR Deployment by creating Orchestrator instance in the given PowerVS workspace and configuration. Orchestrator instance can be used to manage multiple virtual servers and ensure continuous availability. For more details, refer Deploying the Orchestrator - https://cloud.ibm.com/docs/dr-automation-powervs?topic=dr-automation-powervs-idep-the-orch.
Creates DR Deployment by creating Orchestrator instance in the given PowerVS workspace and configuration. Orchestrator instance can be used to manage multiple virtual servers and ensure continuous availability. For more details, refer Deploying the Orchestrator - https://cloud.ibm.com/docs/dr-automation-powervs?topic=dr-automation-powervs-idep-the-orch.
Creates DR Deployment by creating Orchestrator instance in the given PowerVS workspace and configuration. Orchestrator instance can be used to manage multiple virtual servers and ensure continuous availability. For more details, refer Deploying the Orchestrator - https://cloud.ibm.com/docs/dr-automation-powervs?topic=dr-automation-powervs-idep-the-orch.
POST /drautomation/v1/manage_dr/{instance_id}(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) CreateManageDr(createManageDrOptions *CreateManageDrOptions) (result *ServiceInstanceManageDR, response *core.DetailedResponse, err error)
(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) CreateManageDrWithContext(ctx context.Context, createManageDrOptions *CreateManageDrOptions) (result *ServiceInstanceManageDR, response *core.DetailedResponse, err error)
ServiceCall<ServiceInstanceManageDR> createManageDr(CreateManageDrOptions createManageDrOptions)createManageDr(params)
create_manage_dr(
self,
instance_id: str,
*,
api_key: Optional[str] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
guid: Optional[str] = None,
location_id: Optional[str] = None,
machine_type: Optional[str] = None,
orchestrator_ha: Optional[bool] = None,
orchestrator_location_type: Optional[str] = None,
orchestrator_name: Optional[str] = None,
orchestrator_password: Optional[str] = None,
orchestrator_workspace_id: Optional[str] = None,
orchestrator_workspace_location: Optional[str] = None,
proxy_ip: Optional[str] = None,
region_id: Optional[str] = None,
resource_instance: Optional[str] = None,
secondary_workspace_id: Optional[str] = None,
secret: Optional[str] = None,
secret_group: Optional[str] = None,
ssh_key_name: Optional[str] = None,
standby_machine_type: Optional[str] = None,
standby_orchestrator_name: Optional[str] = None,
standby_orchestrator_workspace_id: Optional[str] = None,
standby_orchestrator_workspace_location: Optional[str] = None,
standby_tier: Optional[str] = None,
tenant_name: Optional[str] = None,
tier: Optional[str] = None,
stand_by_redeploy: Optional[str] = None,
accept_language: Optional[str] = None,
accepts_incomplete: Optional[bool] = None,
**kwargs,
) -> DetailedResponseRequest
Instantiate the CreateManageDrOptions struct and set the fields to provide parameter values for the CreateManageDr method.
Use the CreateManageDrOptions.Builder to create a CreateManageDrOptions object that contains the parameter values for the createManageDr method.
Custom Headers
The language requested for the return document
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z\-_,;=.*]+$
Path Parameters
instance id of instance to provision
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[a-zA-Z0-9\-_:/.]+$Example:
123456d3-1122-3344-b67d-4389b44b7bf9
Query Parameters
Flag to indicate if standby should be redeployed (must be "true" or "false")
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
^(true|false)$A value of true indicates that both the IBM Cloud platform and the requesting client support asynchronous deprovisioning.
Default:
true
parameters for the requested service instance manage-dr
{
"client_id": "abcd-97d2-1234-bf62-8eaecc67a1234",
"client_secret": "abcd1234xM1y123wK6qR9123456789bE2jG0pabcdefgh",
"dr_location_id": "dal10",
"dr_orchestrator_name": "drautomationprimary",
"dr_orchestrator_password": "Password1234567",
"dr_orchestrator_workspace_id": "75cbf05b-78f6-406e-afe7-a904f646d798",
"machine_type": "s922",
"orchestrator_ha": false,
"orchestrator_location_type": "off-premises",
"proxy_ip": "10.30.40.10:8888",
"ssh_key_name": "vijaykey",
"standby_machine_type": "s922",
"standby_orchestrator_name": "drautomationstandby",
"standby_orchestrator_workspace_id": "71027b79-0e31-44f6-a499-63eca1a66feb",
"tenant_name": "xxx.ibm.com",
"tier": "tier1"
}The api Key of the service instance for deploying the disaster recovery service
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
^[a-zA-Z0-9\-_]+$The Client Id created for MFA authentication API.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
abcd-97d2-1234-bf62-8eaecc67a1234The client secret created for MFA authentication API.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
abcd1234xM1y123wK6qR9123456789bE2jG0pabcdefghThe global unique identifier of the service instance.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
123e4567-e89b-12d3-a456-426614174000The location or data center identifier where the service instance is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
dal10The machine type used for deploying orchestrator
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
bx2-4x16Indicates whether the orchestrator High Availability (HA) is enabled for the service instance.
Example:
trueThe cloud location where your orchestator need to be created.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
off-premisesThe username used for the orchestrator
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
adminUserThe password that you can use to access your orchestrator.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
^[\x20-\x7E]*$The unique identifier orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
orch-workspace-01The location of the orchestrator workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
us-southProxy IP for the Communication between Orchestrator and Service broker
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9.\-_:]+$Example:
10.40.30.10:8888The power virtual server region where the service instance is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
us-southThe uniquie identifier of the associated IBM Cloud resource instance.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^crn:v1:[a-zA-Z0-9\-_]+:public:resource-controller:[a-zA-Z0-9\-_]+:[a-zA-Z0-9\-_\/]+:[a-zA-Z0-9\-_]+::$Example:
crn:v1:bluemix:public:resource-controller:us-south:a/123456fb04ceebfb4a9fd38c22334455:resource-instance::The unique identifier of the secondary workspace used for the disaster recovery.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
secondary-workspace789The secret name or identifier used for retrieving credentials from secrets manager.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$The secret group name in IBM Cloud Secrets Manager containing sensitive data for the service instance.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
default-secret-groupThe name of the SSH key used for deploying the orchestator
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
my-ssh-keyThe machine type used for deploying standby virtual machines.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
bx2-8x32The username for the standby orchestrator management interface.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
standbyAdminThe unique identifier of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
orch-standby-02The location of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
us-eastThe storage tier used for deploying standby orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
PremiumThe tenant name for MFA authentication API
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9.\-]+$Example:
xxx.ibm.comThe storage tier used for deploying primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
Standard
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateManageDr options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The api Key of the service instance for deploying the disaster recovery service.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Client Id created for MFA authentication API.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:abcd-97d2-1234-bf62-8eaecc67a1234The client secret created for MFA authentication API.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:abcd1234xM1y123wK6qR9123456789bE2jG0pabcdefgh
The global unique identifier of the service instance.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:123e4567-e89b-12d3-a456-426614174000The location or data center identifier where the service instance is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dal10
The machine type used for deploying orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:bx2-4x16Indicates whether the orchestrator High Availability (HA) is enabled for the service instance.
Examples:trueThe cloud location where your orchestator need to be created.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:off-premises
The username used for the orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:adminUser
The password that you can use to access your orchestrator.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/The unique identifier orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:orch-workspace-01The location of the orchestrator workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:us-south
Proxy IP for the Communication between Orchestrator and Service broker.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-_:]+$/Examples:10.40.30.10:8888The power virtual server region where the service instance is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:us-south
The uniquie identifier of the associated IBM Cloud resource instance.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:resource-controller:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:bluemix:public:resource-controller:us-south:a/123456fb04ceebfb4a9fd38c22334455:resource-instance::The unique identifier of the secondary workspace used for the disaster recovery.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:secondary-workspace789
The secret name or identifier used for retrieving credentials from secrets manager.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The secret group name in IBM Cloud Secrets Manager containing sensitive data for the service instance.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:default-secret-group
The name of the SSH key used for deploying the orchestator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:my-ssh-key
The machine type used for deploying standby virtual machines.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:bx2-8x32The username for the standby orchestrator management interface.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:standbyAdmin
The unique identifier of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:orch-standby-02The location of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:us-east
The storage tier used for deploying standby orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Premium
The tenant name for MFA authentication API.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-]+$/Examples:xxx.ibm.com
The storage tier used for deploying primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Standard
Flag to indicate if standby should be redeployed (must be "true" or "false").
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/A value of true indicates that both the IBM Cloud platform and the requesting client support asynchronous deprovisioning.
Default:
true
The createManageDr options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9The api Key of the service instance for deploying the disaster recovery service.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Client Id created for MFA authentication API.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:abcd-97d2-1234-bf62-8eaecc67a1234The client secret created for MFA authentication API.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:abcd1234xM1y123wK6qR9123456789bE2jG0pabcdefgh
The global unique identifier of the service instance.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:123e4567-e89b-12d3-a456-426614174000The location or data center identifier where the service instance is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dal10
The machine type used for deploying orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:bx2-4x16Indicates whether the orchestrator High Availability (HA) is enabled for the service instance.
Examples:trueThe cloud location where your orchestator need to be created.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:off-premises
The username used for the orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:adminUser
The password that you can use to access your orchestrator.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/The unique identifier orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:orch-workspace-01The location of the orchestrator workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:us-south
Proxy IP for the Communication between Orchestrator and Service broker.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-_:]+$/Examples:10.40.30.10:8888The power virtual server region where the service instance is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:us-south
The uniquie identifier of the associated IBM Cloud resource instance.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:resource-controller:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:bluemix:public:resource-controller:us-south:a/123456fb04ceebfb4a9fd38c22334455:resource-instance::The unique identifier of the secondary workspace used for the disaster recovery.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:secondary-workspace789
The secret name or identifier used for retrieving credentials from secrets manager.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The secret group name in IBM Cloud Secrets Manager containing sensitive data for the service instance.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:default-secret-group
The name of the SSH key used for deploying the orchestator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:my-ssh-key
The machine type used for deploying standby virtual machines.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:bx2-8x32The username for the standby orchestrator management interface.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:standbyAdmin
The unique identifier of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:orch-standby-02The location of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:us-east
The storage tier used for deploying standby orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Premium
The tenant name for MFA authentication API.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-]+$/Examples:xxx.ibm.com
The storage tier used for deploying primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Standard
Flag to indicate if standby should be redeployed (must be "true" or "false").
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/A value of true indicates that both the IBM Cloud platform and the requesting client support asynchronous deprovisioning.
Default:
true
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The api Key of the service instance for deploying the disaster recovery service.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Client Id created for MFA authentication API.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The client secret created for MFA authentication API.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The global unique identifier of the service instance.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The location or data center identifier where the service instance is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The machine type used for deploying orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Indicates whether the orchestrator High Availability (HA) is enabled for the service instance.
Examples:The cloud location where your orchestator need to be created.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The username used for the orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The password that you can use to access your orchestrator.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/The unique identifier orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The location of the orchestrator workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Proxy IP for the Communication between Orchestrator and Service broker.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-_:]+$/Examples:The power virtual server region where the service instance is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The uniquie identifier of the associated IBM Cloud resource instance.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:resource-controller:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:The unique identifier of the secondary workspace used for the disaster recovery.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The secret name or identifier used for retrieving credentials from secrets manager.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The secret group name in IBM Cloud Secrets Manager containing sensitive data for the service instance.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The name of the SSH key used for deploying the orchestator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The machine type used for deploying standby virtual machines.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The username for the standby orchestrator management interface.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The unique identifier of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The location of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The storage tier used for deploying standby orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The tenant name for MFA authentication API.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-]+$/Examples:The storage tier used for deploying primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Flag to indicate if standby should be redeployed (must be "true" or "false").
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/A value of true indicates that both the IBM Cloud platform and the requesting client support asynchronous deprovisioning.
Default:
true
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:The api Key of the service instance for deploying the disaster recovery service.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The Client Id created for MFA authentication API.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The client secret created for MFA authentication API.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The global unique identifier of the service instance.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The location or data center identifier where the service instance is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The machine type used for deploying orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Indicates whether the orchestrator High Availability (HA) is enabled for the service instance.
Examples:The cloud location where your orchestator need to be created.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The username used for the orchestrator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The password that you can use to access your orchestrator.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[\\x20-\\x7E]*$/The unique identifier orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The location of the orchestrator workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Proxy IP for the Communication between Orchestrator and Service broker.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-_:]+$/Examples:The power virtual server region where the service instance is deployed.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The uniquie identifier of the associated IBM Cloud resource instance.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:resource-controller:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:The unique identifier of the secondary workspace used for the disaster recovery.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The secret name or identifier used for retrieving credentials from secrets manager.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/The secret group name in IBM Cloud Secrets Manager containing sensitive data for the service instance.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The name of the SSH key used for deploying the orchestator.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The machine type used for deploying standby virtual machines.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The username for the standby orchestrator management interface.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The unique identifier of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The location of the standby orchestrator workspace.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The storage tier used for deploying standby orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The tenant name for MFA authentication API.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9.\\-]+$/Examples:The storage tier used for deploying primary orchestrator.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:Flag to indicate if standby should be redeployed (must be "true" or "false").
Possible values: 1 ≤ length ≤ 5, Value must match regular expression
/^(true|false)$/The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/A value of true indicates that both the IBM Cloud platform and the requesting client support asynchronous deprovisioning.
Default:
true
curl -X POST https://power-dra.cloud.ibm.com/drautomation/v1/manage_dr/123456d3-1122-3344-b67d-4389b44b7bf9 -H "Authorization: Bearer ${iam_token}" -H "Accept: application/json" -H "Content-Type: application/json" -d '{"client_id":"abcd-97d2-1234-bf62-8eaecc67a1234","client_secret":"abcd1234xM1y123wK6qR9123456789bE2jG0pabcdefgh","dr_location_id":"dal10","dr_orchestrator_name":"drautomationprimary","dr_orchestrator_password":"Password1234567","dr_orchestrator_workspace_id":"75cbf05b-78f6-406e-afe7-a904f646d798","machine_type":"s922","orchestrator_ha":false,"orchestrator_location_type":"off-premises","proxy_ip":"10.30.40.10:8888","ssh_key_name":"vijaykey","standby_machine_type":"s922","standby_orchestrator_name":"drautomationstandby","standby_orchestrator_workspace_id":"71027b79-0e31-44f6-a499-63eca1a66feb","tenant_name":"xxx.ibm.com","tier":"tier1"}'
createManageDrOptions := drAutomationServiceService.NewCreateManageDrOptions( "123456d3-1122-3344-b67d-4389b44b7bf9", ) createManageDrOptions.SetOrchestratorHa(true) createManageDrOptions.SetOrchestratorLocationType("off-premises") createManageDrOptions.SetLocationID("dal10") createManageDrOptions.SetOrchestratorWorkspaceID("75cbf05b-78f6-406e-afe7-a904f646d798") createManageDrOptions.SetOrchestratorName("drautomationprimarybyh1105") createManageDrOptions.SetOrchestratorPassword("EverytimeNewPassword@1") createManageDrOptions.SetMachineType("s922") createManageDrOptions.SetTier("tier1") createManageDrOptions.SetSSHKeyName("vijaykey") createManageDrOptions.SetAPIKey("key should pass") // Standby fields (only for HA) createManageDrOptions.SetStandbyOrchestratorName("drautomationstandbyh1105") createManageDrOptions.SetStandbyOrchestratorWorkspaceID("71027b79-0e31-44f6-a499-63eca1a66feb") createManageDrOptions.SetStandbyMachineType("s922") createManageDrOptions.SetStandbyTier("tier1") createManageDrOptions.SetStandByRedeploy("false") // mfa createManageDrOptions.SetClientID("123abcd-97d2-4b14-bf62-8eaecc67a122") createManageDrOptions.SetClientSecret("abcdefgT5rS8wK6qR9dD7vF1hU4sA3bE2jG0pL9oX7yC") createManageDrOptions.SetTenantName("xxx.ibm.com") serviceInstanceManageDr, response, err := drAutomationServiceService.CreateManageDr(createManageDrOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(serviceInstanceManageDr, "", " ") fmt.Println(string(b))
CreateManageDrOptions createManageDrOptions = new CreateManageDrOptions.Builder() .instanceId("crn:v1:staging:public:power-dr-automation:global:a/2b4ee2a3fe594a1c89f0e1a9f002a599:f36d1c39-f0af-425e-aee8-03ea9143013::") .standByRedeploy("false") .orchestratorHa(true) .orchestratorLocationType("off-premises") .locationId("dal10") .orchestratorWorkspaceId("75cbf05b-78f6-406e-afe7-a904f646d798") .orchestratorName("drautomationprimaryjavah1") .orchestratorPassword("EverytimeNewPassword@1") .machineType("s922") .tier("tier1") .sshKeyName("vijaykey") .apiKey("apikey should be passed") // Standby fields .standbyOrchestratorName("drautomationstandbyjavah1") .standbyOrchestratorWorkspaceId("71027b79-0e31-44f6-a499-63eca1a66feb") .standbyMachineType("s922") .standbyTier("tier1") // Mfa .clientId("123abcd-97d2-4b14-bf62-8eaecc67a122") .clientSecret("abcdefgT5rS8wK6qR9dD7vF1hU4sA3bE2jG0pL9oX7yC") .tenantName("xxx.ibm.com") .build(); Response<ServiceInstanceManageDR> response = drAutomationServiceService.createManageDr(createManageDrOptions).execute(); ServiceInstanceManageDR serviceInstanceManageDr = response.getResult(); System.out.println(serviceInstanceManageDr);
const params = { instanceId: '123456d3-1122-3344-b67d-4389b44b7bf9', }; let res; try { res = await drAutomationServiceService.createManageDr(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
response = dr_automation_service_service.create_manage_dr( instance_id='crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9pyha1::', stand_by_redeploy='false', orchestrator_ha=True, orchestrator_location_type='off-premises', location_id='dal10', orchestrator_workspace_id='75cbf05b-78f6-406e-afe7-a904f646d798', orchestrator_name='drautomationprimarybypyh1105', orchestrator_password='EverytimeNewPassword@1', machine_type='s922', tier='tier1', ssh_key_name='vijaykey', api_key='apikey should pass', # Standby fields (only for HA) standby_orchestrator_name='drautomationstandbypyh1105', standby_orchestrator_workspace_id='71027b79-0e31-44f6-a499-63eca1a66feb', standby_machine_type='s922', standby_tier='tier1', # MFA fields client_id='123abcd-97d2-4b14-bf62-8eaecc67a122', client_secret='abcdefgT5rS8wK6qR9dD7vF1hU4sA3bE2jG0pL9oX7yC', tenant_name='xxx.ibm.com' ) service_instance_manage_dr = response.get_result() print(json.dumps(service_instance_manage_dr, indent=2))
Response
Represents the response details for managing a DR service instance.
URL to the dashboard for managing the DR service instance in IBM Cloud.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^https?://[a-zA-Z0-9\-._~:/?#[\]@!$&'()*+,;=]+$Example:
https://power-dra.test.cloud.ibm.com/power-dra-ui?instance_id=crn:v1:bluemix:public:power-dr-automation:us-south:a/fe3c2ccd058e407c81e1dba2b5c0e0d6:e3d09875-bbf8-4d8a-b52c-abefb67a53c5::The CRN (Cloud Resource Name) of the DR service instance.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^crn:v1:[a-zA-Z0-9\-_]+:public:power-dr-automation:[a-zA-Z0-9\-_]+:[a-zA-Z0-9\-_\/]+:[a-zA-Z0-9\-_]+::$Example:
crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::
Represents the response details for managing a DR service instance.
URL to the dashboard for managing the DR service instance in IBM Cloud.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://power-dra.test.cloud.ibm.com/power-dra-ui?instance_id=crn:v1:bluemix:public:power-dr-automation:us-south:a/fe3c2ccd058e407c81e1dba2b5c0e0d6:e3d09875-bbf8-4d8a-b52c-abefb67a53c5::The CRN (Cloud Resource Name) of the DR service instance.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::
Represents the response details for managing a DR service instance.
URL to the dashboard for managing the DR service instance in IBM Cloud.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://power-dra.test.cloud.ibm.com/power-dra-ui?instance_id=crn:v1:bluemix:public:power-dr-automation:us-south:a/fe3c2ccd058e407c81e1dba2b5c0e0d6:e3d09875-bbf8-4d8a-b52c-abefb67a53c5::The CRN (Cloud Resource Name) of the DR service instance.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::
Represents the response details for managing a DR service instance.
URL to the dashboard for managing the DR service instance in IBM Cloud.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://power-dra.test.cloud.ibm.com/power-dra-ui?instance_id=crn:v1:bluemix:public:power-dr-automation:us-south:a/fe3c2ccd058e407c81e1dba2b5c0e0d6:e3d09875-bbf8-4d8a-b52c-abefb67a53c5::The CRN (Cloud Resource Name) of the DR service instance.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::
Represents the response details for managing a DR service instance.
URL to the dashboard for managing the DR service instance in IBM Cloud.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^https?:\/\/[a-zA-Z0-9\\-._~:\/?#[\\]@!$&'()*+,;=]+$/Examples:https://power-dra.test.cloud.ibm.com/power-dra-ui?instance_id=crn:v1:bluemix:public:power-dr-automation:us-south:a/fe3c2ccd058e407c81e1dba2b5c0e0d6:e3d09875-bbf8-4d8a-b52c-abefb67a53c5::The CRN (Cloud Resource Name) of the DR service instance.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^crn:v1:[a-zA-Z0-9\\-_]+:public:power-dr-automation:[a-zA-Z0-9\\-_]+:[a-zA-Z0-9\\-_\/]+:[a-zA-Z0-9\\-_]+::$/Examples:crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::
Status Code
OK
Accepted
Bad Request
Unauthorized
Unprocessable Entity
Not Found
Conflict
Internal Server error
{ "dashboard_url": "https://power-dra.test.cloud.ibm.com/power-dra-ui?instance_id=crn:v1:bluemix:public:power-dr-automation:us-south:a/fe3c2ccd058e407c81e1dba2b5c0e0d6:e3d09875-bbf8-4d8a-b52c-abefb67a53c5::", "id": "crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::" }{ "dashboard_url": "https://power-dra.test.cloud.ibm.com/power-dra-ui?instance_id=crn:v1:bluemix:public:power-dr-automation:us-south:a/fe3c2ccd058e407c81e1dba2b5c0e0d6:e3d09875-bbf8-4d8a-b52c-abefb67a53c5::", "id": "crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::" }{ "dashboard_url": "https://power-dra.test.cloud.ibm.com/power-dra-ui?instance_id=crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::", "operation": "provision" }{ "dashboard_url": "https://power-dra.test.cloud.ibm.com/power-dra-ui?instance_id=crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::", "operation": "provision" }
Get events from the cloud instance since a specific timestamp
Retrieves the list of events from the specified service instance ID.
Retrieves the list of events from the specified service instance ID.
Retrieves the list of events from the specified service instance ID.
Retrieves the list of events from the specified service instance ID.
Retrieves the list of events from the specified service instance ID.
GET /drautomation/v1/service_instances/{instance_id}/events(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) ListEvents(listEventsOptions *ListEventsOptions) (result *EventCollection, response *core.DetailedResponse, err error)
(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) ListEventsWithContext(ctx context.Context, listEventsOptions *ListEventsOptions) (result *EventCollection, response *core.DetailedResponse, err error)
ServiceCall<EventCollection> listEvents(ListEventsOptions listEventsOptions)listEvents(params)
list_events(
self,
instance_id: str,
*,
from_time: Optional[str] = None,
to_time: Optional[str] = None,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponseRequest
Instantiate the ListEventsOptions struct and set the fields to provide parameter values for the ListEvents method.
Use the ListEventsOptions.Builder to create a ListEventsOptions object that contains the parameter values for the listEvents method.
Custom Headers
The language requested for the return document
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z\-_,;=.*]+$
Path Parameters
instance id of instance to provision
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[a-zA-Z0-9\-_:/.]+$Example:
123456d3-1122-3344-b67d-4389b44b7bf9
Query Parameters
A from query time in either ISO 8601 or unix epoch format
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^(\d{10}|\d{13}|\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+\-]\d{2}:\d{2})?)$Example:
2025-06-19T00:00:00.000ZA to query time in either ISO 8601 or unix epoch format
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^(\d{10}|\d{13}|\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+\-]\d{2}:\d{2})?)$Example:
2025-06-19T23:59:59.000Z
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListEvents options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9A from query time in either ISO 8601 or unix epoch format.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^(\\d{10}|\\d{13}|\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+\\-]\\d{2}:\\d{2})?)$/Examples:2025-06-19T00:00:00ZA to query time in either ISO 8601 or unix epoch format.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^(\\d{10}|\\d{13}|\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+\\-]\\d{2}:\\d{2})?)$/Examples:2025-06-19T23:59:59ZThe language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
The listEvents options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9A from query time in either ISO 8601 or unix epoch format.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^(\\d{10}|\\d{13}|\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+\\-]\\d{2}:\\d{2})?)$/Examples:2025-06-19T00:00:00ZA to query time in either ISO 8601 or unix epoch format.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^(\\d{10}|\\d{13}|\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+\\-]\\d{2}:\\d{2})?)$/Examples:2025-06-19T23:59:59ZThe language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:A from query time in either ISO 8601 or unix epoch format.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^(\\d{10}|\\d{13}|\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+\\-]\\d{2}:\\d{2})?)$/Examples:A to query time in either ISO 8601 or unix epoch format.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^(\\d{10}|\\d{13}|\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+\\-]\\d{2}:\\d{2})?)$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:A from query time in either ISO 8601 or unix epoch format.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^(\\d{10}|\\d{13}|\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+\\-]\\d{2}:\\d{2})?)$/Examples:A to query time in either ISO 8601 or unix epoch format.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^(\\d{10}|\\d{13}|\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+\\-]\\d{2}:\\d{2})?)$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
curl -X GET https://power-dra.cloud.ibm.com/drautomation/v1/service_instances/123456d3-1122-3344-b67d-4389b44b7bf9/events?from_time=2025-06-19T00:00:00Z&to_time=2025-06-19T23:59:59Z -H "Authorization: Bearer ${iam_token}" -H "Accept: application/json"
listEventsOptions := drAutomationServiceService.NewListEventsOptions( "123456d3-1122-3344-b67d-4389b44b7bf9", ) listEventsOptions.SetTime("2025-06-19T23:59:59Z") listEventsOptions.SetFromTime("2025-06-19T00:00:00Z") listEventsOptions.SetToTime("2025-06-19T23:59:59Z") eventCollection, response, err := drAutomationServiceService.ListEvents(listEventsOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(eventCollection, "", " ") fmt.Println(string(b))
ListEventsOptions listEventsOptions = new ListEventsOptions.Builder() .instanceId("123456d3-1122-3344-b67d-4389b44b7bf9") .time("2025-06-19T23:59:59Z") .fromTime("2025-06-19T00:00:00Z") .toTime("2025-06-19T23:59:59Z") .build(); Response<EventCollection> response = drAutomationServiceService.listEvents(listEventsOptions).execute(); EventCollection eventCollection = response.getResult(); System.out.println(eventCollection);
const params = { instanceId: '123456d3-1122-3344-b67d-4389b44b7bf9', time: '2025-06-19T23:59:59Z', fromTime: '2025-06-19T00:00:00Z', toTime: '2025-06-19T23:59:59Z', }; let res; try { res = await drAutomationServiceService.listEvents(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
response = dr_automation_service_service.list_events( instance_id='123456d3-1122-3344-b67d-4389b44b7bf9', time='2025-06-19T23:59:59Z', from_time='2025-06-19T00:00:00Z', to_time='2025-06-19T23:59:59Z', ) event_collection = response.get_result() print(json.dumps(event_collection, indent=2))
Response
Container object holding a list of events.
Events
Possible values: 0 ≤ number of items ≤ 100
Container object holding a list of events.
Events.
Possible values: 0 ≤ number of items ≤ 100
- Events
Type of action for this event.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:create
Source of API when it being executed.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-automation-api
ID of the Activity.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:1cecfe43-43cd-4b1b-86be-30c2d3d2a25fLevel of the event (notice, info, warning, error).
Possible values: [
notice,info,warning,error]Examples:info
The (translated) message of the event.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Service Instance created successfully
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Type of resource for this event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:ProvisionID
Time of activity in ISO 8601 - RFC3339.
Examples:2025-06-23T07:12:49.840ZTime of activity in unix epoch.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^\\d+$/Examples:1750662769Information about a user associated with an event.
- User
Email of the User.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/Examples:abcuser@ibm.com
Name of the User.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:abcuser
ID of user who created/caused the event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:IBMid-695000abc7E
Container object holding a list of events.
Events.
Possible values: 0 ≤ number of items ≤ 100
- events
Type of action for this event.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:create
Source of API when it being executed.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-automation-api
ID of the Activity.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:1cecfe43-43cd-4b1b-86be-30c2d3d2a25fLevel of the event (notice, info, warning, error).
Possible values: [
notice,info,warning,error]Examples:info
The (translated) message of the event.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Service Instance created successfully
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Type of resource for this event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:ProvisionID
Time of activity in ISO 8601 - RFC3339.
Examples:2025-06-23T07:12:49.840ZTime of activity in unix epoch.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^\\d+$/Examples:1750662769Information about a user associated with an event.
- user
Email of the User.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/Examples:abcuser@ibm.com
Name of the User.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:abcuser
ID of user who created/caused the event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:IBMid-695000abc7E
Container object holding a list of events.
Events.
Possible values: 0 ≤ number of items ≤ 100
- events
Type of action for this event.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:create
Source of API when it being executed.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-automation-api
ID of the Activity.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:1cecfe43-43cd-4b1b-86be-30c2d3d2a25fLevel of the event (notice, info, warning, error).
Possible values: [
notice,info,warning,error]Examples:info
The (translated) message of the event.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Service Instance created successfully
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Type of resource for this event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:ProvisionID
Time of activity in ISO 8601 - RFC3339.
Examples:2025-06-23T07:12:49.840ZTime of activity in unix epoch.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^\\d+$/Examples:1750662769Information about a user associated with an event.
- user
Email of the User.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/Examples:abcuser@ibm.com
Name of the User.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:abcuser
ID of user who created/caused the event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:IBMid-695000abc7E
Container object holding a list of events.
Events.
Possible values: 0 ≤ number of items ≤ 100
- events
Type of action for this event.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:create
Source of API when it being executed.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-automation-api
ID of the Activity.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:1cecfe43-43cd-4b1b-86be-30c2d3d2a25fLevel of the event (notice, info, warning, error).
Possible values: [
notice,info,warning,error]Examples:info
The (translated) message of the event.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Service Instance created successfully
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Type of resource for this event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:ProvisionID
Time of activity in ISO 8601 - RFC3339.
Examples:2025-06-23T07:12:49.840ZTime of activity in unix epoch.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^\\d+$/Examples:1750662769Information about a user associated with an event.
- user
Email of the User.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/Examples:abcuser@ibm.com
Name of the User.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:abcuser
ID of user who created/caused the event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:IBMid-695000abc7E
Status Code
OK
Bad Request
Unauthorized
Unprocessable Entity
Not Found
Gone
Internal Server error
Timeout Error
{ "events": [ { "action": "create", "event_id": "1cecfe43-43cd-4b1b-86be-30c2d3d2a25f", "level": "info", "message": "Service Instance '7222c899-a31a-4a0c-be03-75920d23cd16' has been created successfully.", "messageData": { "InstanceID": { "id": "7222c899-a31a-4a0c-be03-75920d23cd16" } }, "metadata": {}, "resource": "ProvisionID", "time": "2025-06-23T07:12:49.840Z", "timestamp": "1750662769", "user": { "user_id": "admin" } }, { "action": "create", "event_id": "c49f0ced-2a78-48a6-929c-6b824555ddc6", "level": "info", "message": "Disaster recovery for Service Instance '7222c899-a31a-4a0c-be03-75920d23cd16' has been managed successfully.", "messageData": { "InstanceID": { "id": "7222c899-a31a-4a0c-be03-75920d23cd16" } }, "metadata": {}, "resource": "managedr", "time": "2025-06-23T07:14:53.871Z", "timestamp": "1750662893", "user": { "email": "abcuser@ibm.com", "user_id": "IBMid-695000ab7E" } } ] }{ "events": [ { "action": "create", "event_id": "1cecfe43-43cd-4b1b-86be-30c2d3d2a25f", "level": "info", "message": "Service Instance '7222c899-a31a-4a0c-be03-75920d23cd16' has been created successfully.", "messageData": { "InstanceID": { "id": "7222c899-a31a-4a0c-be03-75920d23cd16" } }, "metadata": {}, "resource": "ProvisionID", "time": "2025-06-23T07:12:49.840Z", "timestamp": "1750662769", "user": { "user_id": "admin" } }, { "action": "create", "event_id": "c49f0ced-2a78-48a6-929c-6b824555ddc6", "level": "info", "message": "Disaster recovery for Service Instance '7222c899-a31a-4a0c-be03-75920d23cd16' has been managed successfully.", "messageData": { "InstanceID": { "id": "7222c899-a31a-4a0c-be03-75920d23cd16" } }, "metadata": {}, "resource": "managedr", "time": "2025-06-23T07:14:53.871Z", "timestamp": "1750662893", "user": { "email": "abcuser@ibm.com", "user_id": "IBMid-695000ab7E" } } ] }
Get a single event
Retrieves the details of a specific event for the given service instance provision ID.
Retrieves the details of a specific event for the given service instance provision ID.
Retrieves the details of a specific event for the given service instance provision ID.
Retrieves the details of a specific event for the given service instance provision ID.
Retrieves the details of a specific event for the given service instance provision ID.
GET /drautomation/v1/service_instances/{instance_id}/events/{event_id}(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetEvent(getEventOptions *GetEventOptions) (result *Event, response *core.DetailedResponse, err error)
(powerCloudDrAutomationApi *PowerCloudDrAutomationApiV1) GetEventWithContext(ctx context.Context, getEventOptions *GetEventOptions) (result *Event, response *core.DetailedResponse, err error)
ServiceCall<Event> getEvent(GetEventOptions getEventOptions)getEvent(params)
get_event(
self,
instance_id: str,
event_id: str,
*,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponseRequest
Instantiate the GetEventOptions struct and set the fields to provide parameter values for the GetEvent method.
Use the GetEventOptions.Builder to create a GetEventOptions object that contains the parameter values for the getEvent method.
Custom Headers
The language requested for the return document
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^[a-zA-Z\-_,;=.*]+$
Path Parameters
instance id of instance to provision
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
^[a-zA-Z0-9\-_:/.]+$Example:
123456d3-1122-3344-b67d-4389b44b7bf9Event ID
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
00116b2a-9326-4024-839e-fb5364b76898
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetEvent options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9Event ID.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:00116b2a-9326-4024-839e-fb5364b76898The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
The getEvent options.
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:123456d3-1122-3344-b67d-4389b44b7bf9Event ID.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:00116b2a-9326-4024-839e-fb5364b76898The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:Event ID.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
parameters
instance id of instance to provision.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-_:\/.]+$/Examples:Event ID.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:The language requested for the return document.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z\\-_,;=.*]+$/
curl -X GET https://power-dra.cloud.ibm.com/drautomation/v1/service_instances/123456d3-1122-3344-b67d-4389b44b7bf9/events/1cecfe43-43cd-4b1b-86be-30c2d3d2a25f -H "Authorization: Bearer ${iam_token}" -H "Accept: application/json"
getEventOptions := drAutomationServiceService.NewGetEventOptions( "123456d3-1122-3344-b67d-4389b44b7bf9", "00116b2a-9326-4024-839e-fb5364b76898", ) event, response, err := drAutomationServiceService.GetEvent(getEventOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(event, "", " ") fmt.Println(string(b))
GetEventOptions getEventOptions = new GetEventOptions.Builder() .instanceId("123456d3-1122-3344-b67d-4389b44b7bf9") .eventId("00116b2a-9326-4024-839e-fb5364b76898") .build(); Response<Event> response = drAutomationServiceService.getEvent(getEventOptions).execute(); Event event = response.getResult(); System.out.println(event);
const params = { instanceId: '123456d3-1122-3344-b67d-4389b44b7bf9', eventId: '00116b2a-9326-4024-839e-fb5364b76898', }; let res; try { res = await drAutomationServiceService.getEvent(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
response = dr_automation_service_service.get_event( instance_id='123456d3-1122-3344-b67d-4389b44b7bf9', event_id='00116b2a-9326-4024-839e-fb5364b76898', ) event = response.get_result() print(json.dumps(event, indent=2))
Response
Represents an individual event in the system, including details about action, resource, user, and timestamps.
Type of action for this event
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
createID of the Activity
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
1cecfe43-43cd-4b1b-86be-30c2d3d2a25fLevel of the event (notice, info, warning, error)
Possible values: [
notice,info,warning,error]Example:
infoThe (translated) message of the event
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^[\x20-\x7E]*$Example:
Service Instance created successfullyType of resource for this event
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
ProvisionIDTime of activity in ISO 8601 - RFC3339
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+\-]\d{2}:\d{2})$Example:
2025-06-23T07:12:49.840ZTime of activity in unix epoch
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
^\d+$Example:
1750662769Source of API when it being executed
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
^[a-zA-Z0-9\-_]+$Example:
dr-automation-apiA flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- message_data
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- metadata
Information about a user associated with an event.
Represents an individual event in the system, including details about action, resource, user, and timestamps.
Type of action for this event.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:create
Source of API when it being executed.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-automation-api
ID of the Activity.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:1cecfe43-43cd-4b1b-86be-30c2d3d2a25fLevel of the event (notice, info, warning, error).
Possible values: [
notice,info,warning,error]Examples:info
The (translated) message of the event.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Service Instance created successfully
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Type of resource for this event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:ProvisionID
Time of activity in ISO 8601 - RFC3339.
Examples:2025-06-23T07:12:49.840ZTime of activity in unix epoch.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^\\d+$/Examples:1750662769Information about a user associated with an event.
- User
Email of the User.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/Examples:abcuser@ibm.com
Name of the User.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:abcuser
ID of user who created/caused the event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:IBMid-695000abc7E
Represents an individual event in the system, including details about action, resource, user, and timestamps.
Type of action for this event.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:create
Source of API when it being executed.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-automation-api
ID of the Activity.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:1cecfe43-43cd-4b1b-86be-30c2d3d2a25fLevel of the event (notice, info, warning, error).
Possible values: [
notice,info,warning,error]Examples:info
The (translated) message of the event.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Service Instance created successfully
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Type of resource for this event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:ProvisionID
Time of activity in ISO 8601 - RFC3339.
Examples:2025-06-23T07:12:49.840ZTime of activity in unix epoch.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^\\d+$/Examples:1750662769Information about a user associated with an event.
- user
Email of the User.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/Examples:abcuser@ibm.com
Name of the User.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:abcuser
ID of user who created/caused the event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:IBMid-695000abc7E
Represents an individual event in the system, including details about action, resource, user, and timestamps.
Type of action for this event.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:create
Source of API when it being executed.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-automation-api
ID of the Activity.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:1cecfe43-43cd-4b1b-86be-30c2d3d2a25fLevel of the event (notice, info, warning, error).
Possible values: [
notice,info,warning,error]Examples:info
The (translated) message of the event.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Service Instance created successfully
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Type of resource for this event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:ProvisionID
Time of activity in ISO 8601 - RFC3339.
Examples:2025-06-23T07:12:49.840ZTime of activity in unix epoch.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^\\d+$/Examples:1750662769Information about a user associated with an event.
- user
Email of the User.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/Examples:abcuser@ibm.com
Name of the User.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:abcuser
ID of user who created/caused the event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:IBMid-695000abc7E
Represents an individual event in the system, including details about action, resource, user, and timestamps.
Type of action for this event.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:create
Source of API when it being executed.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:dr-automation-api
ID of the Activity.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:1cecfe43-43cd-4b1b-86be-30c2d3d2a25fLevel of the event (notice, info, warning, error).
Possible values: [
notice,info,warning,error]Examples:info
The (translated) message of the event.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:Service Instance created successfully
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
Type of resource for this event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:ProvisionID
Time of activity in ISO 8601 - RFC3339.
Examples:2025-06-23T07:12:49.840ZTime of activity in unix epoch.
Possible values: 1 ≤ length ≤ 32, Value must match regular expression
/^\\d+$/Examples:1750662769Information about a user associated with an event.
- user
Email of the User.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/Examples:abcuser@ibm.com
Name of the User.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[\\x20-\\x7E]*$/Examples:abcuser
ID of user who created/caused the event.
Possible values: 1 ≤ length ≤ 64, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/Examples:IBMid-695000abc7E
Status Code
OK
Bad Request
Unauthorized
Unprocessable Entity
Not Found
Gone
Internal Server error
{ "action": "create", "api_source": "dr-automation-api", "event_id": "1cecfe43-43cd-4b1b-86be-30c2d3d2a25f", "level": "info", "message": "Service Instance created successfully", "message_data": { "InstanceID": { "id": "7222c899-a31a-4a0c-be03-75920d23cd16" }, "request_id": { "id": "req-12345" } }, "metadata": {}, "resource": "ProvisionID", "time": "2025-06-23T07:12:49.840Z", "timestamp": "1750662769", "user": { "user_email": "example.user@ibm.com", "user_id": "IBMid-123456" } }{ "action": "create", "api_source": "dr-automation-api", "event_id": "1cecfe43-43cd-4b1b-86be-30c2d3d2a25f", "level": "info", "message": "Service Instance created successfully", "message_data": { "InstanceID": { "id": "7222c899-a31a-4a0c-be03-75920d23cd16" }, "request_id": { "id": "req-12345" } }, "metadata": {}, "resource": "ProvisionID", "time": "2025-06-23T07:12:49.840Z", "timestamp": "1750662769", "user": { "user_email": "example.user@ibm.com", "user_id": "IBMid-123456" } }