参数名称 | 类型 | 必填 | 描述 |
---|
Action | String | 是 | 公共参数,本接口取值:SetDefaultPolicyVersion。 |
Version | String | 是 | 公共参数,本接口取值:2015-11-01。 |
PolicyKrn | String | 是 | 待设定默认策略版本的策略标识 |
VersionId | String | 是 | 待设定为默认版本的策略版本Id |
参数名称 | 类型 | 描述 |
---|
result | Boolean | 示例值:true |
RequestId | String | 示例值:98987d2b-09f9-4568-bcd1-bdf326dee0ac |
JSON格式
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码
错误码 | 错误信息 | Http状态码 | 描述 |
---|
InvalidParameterValue | An value must be supplied for the input parameter %s. | 400 | 输入参数%s的值不能为空,具体参数名在%s说明 |
InvalidParameterValue | An invalid or out-of-range value was supplied for the input parameter %s. | 400 | 输入参数 %s的值无效、不合法或者超出范围,具体参数名在%s说明 |
PolicyNoSuchEntity | The request was rejected because it referenced ‘Policy’ that does not exist. | 404 | 请求被拒绝,因其引用的“策略”不存在 |
PolicyVersionNoSuchEntity | The request was rejected because it referenced ‘PolicyVersion’ that does not exist. | 404 | 请求被拒绝,因其引用的“策略版本”不存在 |
纯净模式