Validates the name of a service instance.
Try it now
RAM authorization
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| computenest:ValidateServiceInstanceName | get | *All Resource * |
None | None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| ServiceId | string | Yes | The service ID. | service-12xxxxxx |
| ServiceVersion | string | No | The service version. | 1 |
| ServiceInstanceName | string | Yes | The name of the service instance. | testName |
| IsTrial | boolean | No | Specifies whether the service instance is a trial instance. | false |
| TemplateName | string | No | The name of the template. Specify this parameter if the service supports multiple templates. | Template 1 |
| ClientToken | string | No | A client token to ensure the idempotence of the request. Generate a unique token for each request. ClientToken supports only ASCII characters and cannot exceed 64 characters in length. | 123e4567-e89b-12d3-a456-426655440000 |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | |||
| RequestId | string | The request ID. | 4DB0F536-B3BE-4F0D-BD29-E83FB56D**** |
Examples
Success response
JSON format
{
"RequestId": "4DB0F536-B3BE-4F0D-BD29-E83FB56D****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.