本文在介紹如何收回一台或多台 ECS 實例的實例 RAM 角色的基礎上,重點探討了其具體步驟,本文內容很緊湊,希望大家耐心學習。
DetachInstanceRamRole
請求參數
傳回參數
#資料類型DetachInstanceRamRoleResult
https://ecs.aliyuncs.com/?Action=DetachInstanceRamRole &RegionId=cn-hangzhou &RamRoleName=RamRoleTest &InstanceIds=["i-instance1"] &<公共请求参数>
<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>
{ "RequestId": "E6352369-5C2B-41CD-AB50-471550C8F674", "DetachInstanceRamRoleResults": { "DetachInstanceRamRoleResult": [ { "Message": "success", "InstanceId": "i-instance1", "Code": "200" } ] }, "TotalCount": 1, "FailCount": 0, "RamRoleName": "RamRoleTest" }
以上是如何收回一台或多台 ECS 實例的實例 RAM 角色的詳細內容。更多資訊請關注PHP中文網其他相關文章!