All Products
Search
Document Center

Resource Orchestration Service:SetResourceType

Last Updated:Apr 25, 2024

Modifies a resource type or a version of a resource type.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceTypestringYes

The resource type.

MODULE::MyOrganization::MyService::MyUsecase
VersionIdstringNo

The version ID. If you want to modify a version of the resource type, you must specify this parameter. If you do not specify this parameter, only the resource type is modified.

Note You can specify only one of the VersionId and DefaultVersionId parameters.
v1
DefaultVersionIdstringNo

The ID of the default version. You can use this parameter to specify the default version of the resource type.

Note You can specify only one of the VersionId and DefaultVersionId parameters.
v1
DescriptionstringNo

The description of the resource type or resource type version. The description can be up to 512 characters in length.

It is a demo.

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

B288A0BE-D927-4888-B0F7-B35EF84B6E6F

Examples

Sample success responses

JSONformat

{
  "RequestId": "B288A0BE-D927-4888-B0F7-B35EF84B6E6F"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history