Home >Operation and Maintenance >Linux Operation and Maintenance >How to reclaim the instance RAM role of one or more ECS instances

How to reclaim the instance RAM role of one or more ECS instances

坏嘻嘻
坏嘻嘻Original
2018-09-19 16:50:491936browse

This article introduces how to reclaim the instance RAM role of one or more ECS instances, and focuses on the specific steps. The content of this article is very compact, and I hope you will study patiently.

DetachInstanceRamRole

Request Parameters

How to reclaim the instance RAM role of one or more ECS instances

##Return parameters

How to reclaim the instance RAM role of one or more ECS instances

# #Data typeDetachInstanceRamRoleResult

How to reclaim the instance RAM role of one or more ECS instances

#Example

Request example

https://ecs.aliyuncs.com/?Action=DetachInstanceRamRole
&RegionId=cn-hangzhou
&RamRoleName=RamRoleTest
&InstanceIds=["i-instance1"]
&<公共请求参数>
Return example

## XML format

<DetachInstanceRamRoleResponse>
    <RequestId>E6352369-5C2B-41CD-AB50-471550C8F674</RequestId>
    <DetachInstanceRamRoleResults>
        <DetachInstanceRamRoleResult>
             <InstanceId>i-instance1</InstanceId>
             <Code>200</Code>
             <Message>success</Message>
        </DetachInstanceRamRoleResult>
    </DetachInstanceRamRoleResults>
    <TotalCount>1</TotalCount>
    <FailCount>0</FailCount>
    <RamRoleName>RamRoleTest</RamRoleName>
</DetachInstanceRamRoleResponse>

JSON format

{
    "RequestId": "E6352369-5C2B-41CD-AB50-471550C8F674",
    "DetachInstanceRamRoleResults": {
        "DetachInstanceRamRoleResult": [
            {
                "Message": "success",
                "InstanceId": "i-instance1",
                "Code": "200"
            }
        ]
    },
    "TotalCount": 1,
    "FailCount": 0,
    "RamRoleName": "RamRoleTest"
}

Error code

The following is based on Interface-specific error code. For more error codes, please visit the API Error Center.

How to reclaim the instance RAM role of one or more ECS instances

The above is the detailed content of How to reclaim the instance RAM role of one or more ECS instances. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn