Add ( new KeyValuePair < string , string > ( grant_type , client_credentials ) ) ; paraList . Add ( new KeyValuePair < string , string > ( client_id , clientId ) ) ; paraList .
Add ( new KeyValuePair < string , string > ( grant_type , client_credentials ) ) ; paraList . Add ( new KeyValuePair < string , string > ( client_id , clientId ) ) ; paraList .
Add ( new KeyValuePair < string , string > ( grant_type , client_credentials ) ) ; paraList . Add ( new KeyValuePair < string , string > ( client_id , clientId ) ) ; paraList .
Add ( new KeyValuePair < string , string > ( grant_type , client_credentials ) ) ; paraList . Add ( new KeyValuePair < string , string > ( client_id , clientId ) ) ; paraList .
返回参数 无 错误码 错误码 错误描述 HTTP状态码 中文解释 Keypair.KeypairNotExist Keypair not exist. 404 密钥对不存在 Keypair.DeleteKeypairInUse Keypair is in use. 403 已绑定的密钥对不能被删除 请求示例 DELETE /v2/keypair/k-h4NDJPhY HTTP/1.1 Host: bcc.bj.baidubce.com
Add ( new KeyValuePair < string , string > ( grant_type , client_credentials ) ) ; paraList . Add ( new KeyValuePair < string , string > ( client_id , clientId ) ) ; paraList .
请求结构 PUT /v{version}/keypair/{keypairId}?{action} HTTP/1.1 Host: bcc.bj.baidubce.com Authorization: authorization string { "instanceIds" : [instanceId] } 请求头域 除公共头域外,无其它特殊头域。
400) 证书有效时间不包含当前时间 PrivateKeyParameterInvalid (400) 私钥解析异常 CertificateParameterInvalid (400) 证书解析异常 CertChainParameterInvalid (400) 证书链解析异常 UnmatchedPairParameterInvalid (400) 公钥私钥不匹配 2.获取证书列表 请求参数:无
注: 1)用户所选虚机可能并未绑定任何密钥对,则此操作对该虚机无任何作用; 2)用户可能对所选虚机手动绑定了密钥对,则此操作对其手动绑定的密钥对不产生任何影响; 3)用户如若此前通过百度智能云控制台操作,为所选虚机绑定过密钥对,且该密钥对状态正常,则此操作将从该虚机中删除该密钥对 请求结构 PUT /v{version}/keypair/{keypairId}?
Add ( new KeyValuePair < string , string > ( grant_type , client_credentials ) ) ; paraList . Add ( new KeyValuePair < string , string > ( client_id , clientId ) ) ; paraList .