Checks whether the name of a virtual cluster (VC) is valid.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ValidateVirtualClusterName |
The operation that you want to perform. Set the value to ValidateVirtualClusterName. |
VcName | String | No | abc123 |
The name of the VC. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Data | Struct |
The data returned. |
|
Legal | String | true |
Indicates whether the name of the VC is valid. Valid values:
|
Message | String | null |
The error message returned. |
RequestId | String | C039FD4D-2F3C-4556-AF09-864D3A6485B2 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ValidateVirtualClusterName
&<Common request parameters>
Sample success responses
XML
format
<RequestId>C039FD4D-2F3C-4556-AF09-864D3A6485B2</RequestId>
<Data>
<Message>null</Message>
<Legal>true</Legal>
</Data>
JSON
format
{"RequestId":"C039FD4D-2F3C-4556-AF09-864D3A6485B2","Data":{"Message":"null","Legal":"true"}}
Error codes
HTTP status code | Error codes | Error message | Description |
---|---|---|---|
404 | EmptyResult | The result is empty. | The error message returned because the result is empty. |
For a list of error codes, visit the API Error Center.