检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
String 授权类型。 有效值:“user”,“domain”。 operations Array of strings 授权允许的操作列表。 有效的值:“create-datakey”,“create-datakey-without-plaintext”,“encrypt-datakey
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
String 授权类型。 有效值:“user”,“domain”。 operations Array of strings 授权允许的操作列表。 有效的值:“create-datakey”,“create-datakey-without-plaintext”,“encrypt-datakey
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
参数类型 描述 keys Array of strings key_id列表。 key_details Array of KeyDetails objects 密钥详情列表。详情参见KeyDetails next_marker String 获取下一页所需要传递的“marker”值。当
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
raise Exception(error_message) error_message = 'function:%s , reason: %s' % ( caller_function_name, resp.text) raise Exc
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
String 标签值。 状态码: 400 表11 响应Body参数 参数 参数类型 描述 error ErrorDetail object 错误信息返回体。 表12 ErrorDetail 参数 参数类型 描述 error_code String 错误请求返回的错误码 error_msg String
resource_detail KeyDetails object 密钥详情。 resource_name String 资源名称,默认为空字符串。 tags Array of TagItem objects 标签列表,没有标签,数组默认为空。 表8 KeyDetails 参数 参数类型
DELETE /v3/{project_id}/keypairs/{keypair_name}/private-key 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。 keypair_name 是 String 密钥对名称。 请求参数
Array of FailedTasks objects 失败的任务列表 表5 FailedTasks 参数 参数类型 描述 task_id String 虚拟机ID operate_type String 任务的操作类型。 FAILED_RESET 重置 FAILED_REPLACE