Documentation ¶
Index ¶
- type AssociateKeypairRequest
- type AssociateKeypairRequestBody
- type AssociateKeypairResponse
- type Auth
- type AuthType
- type AuthTypeEnum
- type CreateKeypairAction
- type CreateKeypairActionScope
- type CreateKeypairActionScopeEnum
- type CreateKeypairActionType
- type CreateKeypairActionTypeEnum
- type CreateKeypairRequest
- type CreateKeypairRequestBody
- type CreateKeypairResp
- type CreateKeypairRespType
- type CreateKeypairRespTypeEnum
- type CreateKeypairResponse
- type DeleteAllFailedTaskRequest
- type DeleteAllFailedTaskResponse
- type DeleteFailedTaskRequest
- type DeleteFailedTaskResponse
- type DeleteKeypairRequest
- type DeleteKeypairResponse
- type DisassociateEcsServerInfo
- type DisassociateKeypairRequest
- type DisassociateKeypairRequestBody
- type DisassociateKeypairResponse
- type EcsServerInfo
- type Encryption
- type EncryptionType
- type EncryptionTypeEnum
- type FailedTasks
- type FailedTasksOperateType
- type FailedTasksOperateTypeEnum
- type KeyProtection
- type Keypair
- type KeypairDetail
- type KeypairDetailScope
- type KeypairDetailScopeEnum
- type KeypairDetailType
- type KeypairDetailTypeEnum
- type KeypairScope
- type KeypairScopeEnum
- type KeypairType
- type KeypairTypeEnum
- type Keypairs
- type ListFailedTaskRequest
- type ListFailedTaskResponse
- type ListKeypairDetailRequest
- type ListKeypairDetailResponse
- type ListKeypairTaskRequest
- type ListKeypairTaskResponse
- type ListKeypairTaskResponseTaskStatus
- type ListKeypairTaskResponseTaskStatusEnum
- type ListKeypairsRequest
- type ListKeypairsResponse
- type ListRunningTaskRequest
- type ListRunningTaskResponse
- type RunningTasks
- type RunningTasksOperateType
- type RunningTasksOperateTypeEnum
- type UpdateKeypairDescriptionReq
- type UpdateKeypairDescriptionRequest
- type UpdateKeypairDescriptionRequestBody
- type UpdateKeypairDescriptionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociateKeypairRequest ¶
type AssociateKeypairRequest struct {
Body *AssociateKeypairRequestBody `json:"body,omitempty"`
}
Request Object
func (AssociateKeypairRequest) String ¶
func (o AssociateKeypairRequest) String() string
type AssociateKeypairRequestBody ¶
type AssociateKeypairRequestBody struct { KeypairName string `json:"keypair_name"` Server *EcsServerInfo `json:"server"` }
绑定密钥对描述消息体
func (AssociateKeypairRequestBody) String ¶
func (o AssociateKeypairRequestBody) String() string
type AssociateKeypairResponse ¶
type AssociateKeypairResponse struct { TaskId *string `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateKeypairResponse) String ¶
func (o AssociateKeypairResponse) String() string
type AuthType ¶
type AuthType struct {
// contains filtered or unexported fields
}
func (AuthType) MarshalJSON ¶
func (*AuthType) UnmarshalJSON ¶
type AuthTypeEnum ¶
func GetAuthTypeEnum ¶
func GetAuthTypeEnum() AuthTypeEnum
type CreateKeypairAction ¶
type CreateKeypairAction struct { Name string `json:"name"` Type *CreateKeypairActionType `json:"type,omitempty"` PublicKey *string `json:"public_key,omitempty"` Scope *CreateKeypairActionScope `json:"scope,omitempty"` UserId *string `json:"user_id,omitempty"` KeyProtection *KeyProtection `json:"key_protection,omitempty"` }
创建密钥对请求体请求参数
func (CreateKeypairAction) String ¶
func (o CreateKeypairAction) String() string
type CreateKeypairActionScope ¶
type CreateKeypairActionScope struct {
// contains filtered or unexported fields
}
func (CreateKeypairActionScope) MarshalJSON ¶
func (c CreateKeypairActionScope) MarshalJSON() ([]byte, error)
func (*CreateKeypairActionScope) UnmarshalJSON ¶
func (c *CreateKeypairActionScope) UnmarshalJSON(b []byte) error
type CreateKeypairActionScopeEnum ¶
type CreateKeypairActionScopeEnum struct { DOMAIN CreateKeypairActionScope USER CreateKeypairActionScope }
func GetCreateKeypairActionScopeEnum ¶
func GetCreateKeypairActionScopeEnum() CreateKeypairActionScopeEnum
type CreateKeypairActionType ¶
type CreateKeypairActionType struct {
// contains filtered or unexported fields
}
func (CreateKeypairActionType) MarshalJSON ¶
func (c CreateKeypairActionType) MarshalJSON() ([]byte, error)
func (*CreateKeypairActionType) UnmarshalJSON ¶
func (c *CreateKeypairActionType) UnmarshalJSON(b []byte) error
type CreateKeypairActionTypeEnum ¶
type CreateKeypairActionTypeEnum struct { SSH CreateKeypairActionType X509 CreateKeypairActionType }
func GetCreateKeypairActionTypeEnum ¶
func GetCreateKeypairActionTypeEnum() CreateKeypairActionTypeEnum
type CreateKeypairRequest ¶
type CreateKeypairRequest struct {
Body *CreateKeypairRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateKeypairRequest) String ¶
func (o CreateKeypairRequest) String() string
type CreateKeypairRequestBody ¶
type CreateKeypairRequestBody struct {
Keypair *CreateKeypairAction `json:"keypair"`
}
创建密钥对请求体
func (CreateKeypairRequestBody) String ¶
func (o CreateKeypairRequestBody) String() string
type CreateKeypairResp ¶
type CreateKeypairResp struct { Name *string `json:"name,omitempty"` Type *CreateKeypairRespType `json:"type,omitempty"` PublicKey *string `json:"public_key,omitempty"` PrivateKey *string `json:"private_key,omitempty"` Fingerprint *string `json:"fingerprint,omitempty"` UserId *string `json:"user_id,omitempty"` }
SSH密钥对信息详情
func (CreateKeypairResp) String ¶
func (o CreateKeypairResp) String() string
type CreateKeypairRespType ¶
type CreateKeypairRespType struct {
// contains filtered or unexported fields
}
func (CreateKeypairRespType) MarshalJSON ¶
func (c CreateKeypairRespType) MarshalJSON() ([]byte, error)
func (*CreateKeypairRespType) UnmarshalJSON ¶
func (c *CreateKeypairRespType) UnmarshalJSON(b []byte) error
type CreateKeypairRespTypeEnum ¶
type CreateKeypairRespTypeEnum struct { SSH CreateKeypairRespType X509 CreateKeypairRespType }
func GetCreateKeypairRespTypeEnum ¶
func GetCreateKeypairRespTypeEnum() CreateKeypairRespTypeEnum
type CreateKeypairResponse ¶
type CreateKeypairResponse struct { Keypair *CreateKeypairResp `json:"keypair,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateKeypairResponse) String ¶
func (o CreateKeypairResponse) String() string
type DeleteAllFailedTaskRequest ¶
type DeleteAllFailedTaskRequest struct { }
Request Object
func (DeleteAllFailedTaskRequest) String ¶
func (o DeleteAllFailedTaskRequest) String() string
type DeleteAllFailedTaskResponse ¶
type DeleteAllFailedTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteAllFailedTaskResponse) String ¶
func (o DeleteAllFailedTaskResponse) String() string
type DeleteFailedTaskRequest ¶
type DeleteFailedTaskRequest struct {
TaskId string `json:"task_id"`
}
Request Object
func (DeleteFailedTaskRequest) String ¶
func (o DeleteFailedTaskRequest) String() string
type DeleteFailedTaskResponse ¶
type DeleteFailedTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteFailedTaskResponse) String ¶
func (o DeleteFailedTaskResponse) String() string
type DeleteKeypairRequest ¶
type DeleteKeypairRequest struct {
KeypairName string `json:"keypair_name"`
}
Request Object
func (DeleteKeypairRequest) String ¶
func (o DeleteKeypairRequest) String() string
type DeleteKeypairResponse ¶
type DeleteKeypairResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteKeypairResponse) String ¶
func (o DeleteKeypairResponse) String() string
type DisassociateEcsServerInfo ¶
需要绑定密钥对的虚拟机信息。
func (DisassociateEcsServerInfo) String ¶
func (o DisassociateEcsServerInfo) String() string
type DisassociateKeypairRequest ¶
type DisassociateKeypairRequest struct {
Body *DisassociateKeypairRequestBody `json:"body,omitempty"`
}
Request Object
func (DisassociateKeypairRequest) String ¶
func (o DisassociateKeypairRequest) String() string
type DisassociateKeypairRequestBody ¶
type DisassociateKeypairRequestBody struct {
Server *DisassociateEcsServerInfo `json:"server"`
}
解绑密钥对描述消息体
func (DisassociateKeypairRequestBody) String ¶
func (o DisassociateKeypairRequestBody) String() string
type DisassociateKeypairResponse ¶
type DisassociateKeypairResponse struct { TaskId *string `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DisassociateKeypairResponse) String ¶
func (o DisassociateKeypairResponse) String() string
type EcsServerInfo ¶
type EcsServerInfo struct { Id string `json:"id"` Auth *Auth `json:"auth,omitempty"` DisablePassword *bool `json:"disable_password,omitempty"` }
需要绑定密钥对的虚拟机信息。
func (EcsServerInfo) String ¶
func (o EcsServerInfo) String() string
type Encryption ¶
type Encryption struct { Type *EncryptionType `json:"type,omitempty"` KmsKeyName *string `json:"kms_key_name,omitempty"` }
对私钥进行加密存储的方式。
func (Encryption) String ¶
func (o Encryption) String() string
type EncryptionType ¶
type EncryptionType struct {
// contains filtered or unexported fields
}
func (EncryptionType) MarshalJSON ¶
func (c EncryptionType) MarshalJSON() ([]byte, error)
func (*EncryptionType) UnmarshalJSON ¶
func (c *EncryptionType) UnmarshalJSON(b []byte) error
type EncryptionTypeEnum ¶
type EncryptionTypeEnum struct { DEFAULT EncryptionType KMS EncryptionType }
func GetEncryptionTypeEnum ¶
func GetEncryptionTypeEnum() EncryptionTypeEnum
type FailedTasks ¶
type FailedTasks struct { TaskId *string `json:"task_id,omitempty"` OperateType *FailedTasksOperateType `json:"operate_type,omitempty"` TaskTime *int64 `json:"task_time,omitempty"` TaskErrorCode *string `json:"task_error_code,omitempty"` TaskErrorMsg *string `json:"task_error_msg,omitempty"` ServerName *string `json:"server_name,omitempty"` ServerId *string `json:"server_id,omitempty"` KeypairName *string `json:"keypair_name,omitempty"` }
失败的任务详细信息。
func (FailedTasks) String ¶
func (o FailedTasks) String() string
type FailedTasksOperateType ¶
type FailedTasksOperateType struct {
// contains filtered or unexported fields
}
func (FailedTasksOperateType) MarshalJSON ¶
func (c FailedTasksOperateType) MarshalJSON() ([]byte, error)
func (*FailedTasksOperateType) UnmarshalJSON ¶
func (c *FailedTasksOperateType) UnmarshalJSON(b []byte) error
type FailedTasksOperateTypeEnum ¶
type FailedTasksOperateTypeEnum struct { FAILED_RESET FailedTasksOperateType FAILED_REPLACE FailedTasksOperateType FAILED_UNBIND FailedTasksOperateType }
func GetFailedTasksOperateTypeEnum ¶
func GetFailedTasksOperateTypeEnum() FailedTasksOperateTypeEnum
type KeyProtection ¶
type KeyProtection struct { PrivateKey *string `json:"private_key,omitempty"` Encryption *Encryption `json:"encryption,omitempty"` }
SSH密钥对私钥托管与保护。
func (KeyProtection) String ¶
func (o KeyProtection) String() string
type Keypair ¶
type Keypair struct { Name *string `json:"name,omitempty"` Type *KeypairType `json:"type,omitempty"` Scope *KeypairScope `json:"scope,omitempty"` PublicKey *string `json:"public_key,omitempty"` Fingerprint *string `json:"fingerprint,omitempty"` IsKeyProtection *bool `json:"is_key_protection,omitempty"` FrozenState *string `json:"frozen_state,omitempty"` }
密钥对信息
type KeypairDetail ¶
type KeypairDetail struct { Name *string `json:"name,omitempty"` Id *int64 `json:"id,omitempty"` Type *KeypairDetailType `json:"type,omitempty"` Scope *KeypairDetailScope `json:"scope,omitempty"` PublicKey *string `json:"public_key,omitempty"` Fingerprint *string `json:"fingerprint,omitempty"` IsKeyProtection *bool `json:"is_key_protection,omitempty"` Deleted *bool `json:"deleted,omitempty"` Description *string `json:"description,omitempty"` UserId *string `json:"user_id,omitempty"` CreateTime *int64 `json:"create_time,omitempty"` DeleteTime *int64 `json:"delete_time,omitempty"` UpdateTime *int64 `json:"update_time,omitempty"` FrozenState *int32 `json:"frozen_state,omitempty"` }
密钥对详细信息
func (KeypairDetail) String ¶
func (o KeypairDetail) String() string
type KeypairDetailScope ¶
type KeypairDetailScope struct {
// contains filtered or unexported fields
}
func (KeypairDetailScope) MarshalJSON ¶
func (c KeypairDetailScope) MarshalJSON() ([]byte, error)
func (*KeypairDetailScope) UnmarshalJSON ¶
func (c *KeypairDetailScope) UnmarshalJSON(b []byte) error
type KeypairDetailScopeEnum ¶
type KeypairDetailScopeEnum struct { DOMAIN KeypairDetailScope USER KeypairDetailScope }
func GetKeypairDetailScopeEnum ¶
func GetKeypairDetailScopeEnum() KeypairDetailScopeEnum
type KeypairDetailType ¶
type KeypairDetailType struct {
// contains filtered or unexported fields
}
func (KeypairDetailType) MarshalJSON ¶
func (c KeypairDetailType) MarshalJSON() ([]byte, error)
func (*KeypairDetailType) UnmarshalJSON ¶
func (c *KeypairDetailType) UnmarshalJSON(b []byte) error
type KeypairDetailTypeEnum ¶
type KeypairDetailTypeEnum struct { SSH KeypairDetailType X509 KeypairDetailType }
func GetKeypairDetailTypeEnum ¶
func GetKeypairDetailTypeEnum() KeypairDetailTypeEnum
type KeypairScope ¶
type KeypairScope struct {
// contains filtered or unexported fields
}
func (KeypairScope) MarshalJSON ¶
func (c KeypairScope) MarshalJSON() ([]byte, error)
func (*KeypairScope) UnmarshalJSON ¶
func (c *KeypairScope) UnmarshalJSON(b []byte) error
type KeypairScopeEnum ¶
type KeypairScopeEnum struct { DOMAIN KeypairScope USER KeypairScope }
func GetKeypairScopeEnum ¶
func GetKeypairScopeEnum() KeypairScopeEnum
type KeypairType ¶
type KeypairType struct {
// contains filtered or unexported fields
}
func (KeypairType) MarshalJSON ¶
func (c KeypairType) MarshalJSON() ([]byte, error)
func (*KeypairType) UnmarshalJSON ¶
func (c *KeypairType) UnmarshalJSON(b []byte) error
type KeypairTypeEnum ¶
type KeypairTypeEnum struct { SSH KeypairType X509 KeypairType }
func GetKeypairTypeEnum ¶
func GetKeypairTypeEnum() KeypairTypeEnum
type ListFailedTaskRequest ¶
type ListFailedTaskRequest struct { }
Request Object
func (ListFailedTaskRequest) String ¶
func (o ListFailedTaskRequest) String() string
type ListFailedTaskResponse ¶
type ListFailedTaskResponse struct { Total *int32 `json:"total,omitempty"` Tasks *[]FailedTasks `json:"tasks,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFailedTaskResponse) String ¶
func (o ListFailedTaskResponse) String() string
type ListKeypairDetailRequest ¶
type ListKeypairDetailRequest struct {
KeypairName string `json:"keypair_name"`
}
Request Object
func (ListKeypairDetailRequest) String ¶
func (o ListKeypairDetailRequest) String() string
type ListKeypairDetailResponse ¶
type ListKeypairDetailResponse struct { Keypair *KeypairDetail `json:"keypair,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListKeypairDetailResponse) String ¶
func (o ListKeypairDetailResponse) String() string
type ListKeypairTaskRequest ¶
type ListKeypairTaskRequest struct {
TaskId string `json:"task_id"`
}
Request Object
func (ListKeypairTaskRequest) String ¶
func (o ListKeypairTaskRequest) String() string
type ListKeypairTaskResponse ¶
type ListKeypairTaskResponse struct { ServerId *string `json:"server_id,omitempty"` TaskId *string `json:"task_id,omitempty"` TaskStatus *ListKeypairTaskResponseTaskStatus `json:"task_status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListKeypairTaskResponse) String ¶
func (o ListKeypairTaskResponse) String() string
type ListKeypairTaskResponseTaskStatus ¶
type ListKeypairTaskResponseTaskStatus struct {
// contains filtered or unexported fields
}
func (ListKeypairTaskResponseTaskStatus) MarshalJSON ¶
func (c ListKeypairTaskResponseTaskStatus) MarshalJSON() ([]byte, error)
func (*ListKeypairTaskResponseTaskStatus) UnmarshalJSON ¶
func (c *ListKeypairTaskResponseTaskStatus) UnmarshalJSON(b []byte) error
type ListKeypairTaskResponseTaskStatusEnum ¶
type ListKeypairTaskResponseTaskStatusEnum struct { READY_RESET ListKeypairTaskResponseTaskStatus RUNNING_RESET ListKeypairTaskResponseTaskStatus FAILED_RESET ListKeypairTaskResponseTaskStatus SUCCESS_RESET ListKeypairTaskResponseTaskStatus READY_REPLACE ListKeypairTaskResponseTaskStatus RUNNING_REPLACE ListKeypairTaskResponseTaskStatus READY_UNBIND ListKeypairTaskResponseTaskStatus RUNNING_UNBIND ListKeypairTaskResponseTaskStatus FAILED_UNBIND ListKeypairTaskResponseTaskStatus SUCCESS_UNBIND ListKeypairTaskResponseTaskStatus }
func GetListKeypairTaskResponseTaskStatusEnum ¶
func GetListKeypairTaskResponseTaskStatusEnum() ListKeypairTaskResponseTaskStatusEnum
type ListKeypairsRequest ¶
type ListKeypairsRequest struct { }
Request Object
func (ListKeypairsRequest) String ¶
func (o ListKeypairsRequest) String() string
type ListKeypairsResponse ¶
type ListKeypairsResponse struct { Keypairs *[]Keypairs `json:"keypairs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListKeypairsResponse) String ¶
func (o ListKeypairsResponse) String() string
type ListRunningTaskRequest ¶
type ListRunningTaskRequest struct { }
Request Object
func (ListRunningTaskRequest) String ¶
func (o ListRunningTaskRequest) String() string
type ListRunningTaskResponse ¶
type ListRunningTaskResponse struct { Total *int32 `json:"total,omitempty"` Tasks *[]RunningTasks `json:"tasks,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRunningTaskResponse) String ¶
func (o ListRunningTaskResponse) String() string
type RunningTasks ¶
type RunningTasks struct { TaskId *string `json:"task_id,omitempty"` OperateType *RunningTasksOperateType `json:"operate_type,omitempty"` TaskTime *int64 `json:"task_time,omitempty"` ServerName *string `json:"server_name,omitempty"` ServerId *string `json:"server_id,omitempty"` KeypairName *string `json:"keypair_name,omitempty"` }
正在处理的任务详细信息。
func (RunningTasks) String ¶
func (o RunningTasks) String() string
type RunningTasksOperateType ¶
type RunningTasksOperateType struct {
// contains filtered or unexported fields
}
func (RunningTasksOperateType) MarshalJSON ¶
func (c RunningTasksOperateType) MarshalJSON() ([]byte, error)
func (*RunningTasksOperateType) UnmarshalJSON ¶
func (c *RunningTasksOperateType) UnmarshalJSON(b []byte) error
type RunningTasksOperateTypeEnum ¶
type RunningTasksOperateTypeEnum struct { FAILED_RESET RunningTasksOperateType FAILED_REPLACE RunningTasksOperateType FAILED_UNBIND RunningTasksOperateType }
func GetRunningTasksOperateTypeEnum ¶
func GetRunningTasksOperateTypeEnum() RunningTasksOperateTypeEnum
type UpdateKeypairDescriptionReq ¶
type UpdateKeypairDescriptionReq struct {
Description string `json:"description"`
}
更新SSH密钥对描述消息体
func (UpdateKeypairDescriptionReq) String ¶
func (o UpdateKeypairDescriptionReq) String() string
type UpdateKeypairDescriptionRequest ¶
type UpdateKeypairDescriptionRequest struct { KeypairName string `json:"keypair_name"` Body *UpdateKeypairDescriptionRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateKeypairDescriptionRequest) String ¶
func (o UpdateKeypairDescriptionRequest) String() string
type UpdateKeypairDescriptionRequestBody ¶
type UpdateKeypairDescriptionRequestBody struct {
Keypair *UpdateKeypairDescriptionReq `json:"keypair"`
}
更新SSH密钥对描述
func (UpdateKeypairDescriptionRequestBody) String ¶
func (o UpdateKeypairDescriptionRequestBody) String() string
type UpdateKeypairDescriptionResponse ¶
type UpdateKeypairDescriptionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateKeypairDescriptionResponse) String ¶
func (o UpdateKeypairDescriptionResponse) String() string
Source Files ¶
- model_associate_keypair_request.go
- model_associate_keypair_request_body.go
- model_associate_keypair_response.go
- model_auth.go
- model_create_keypair_action.go
- model_create_keypair_request.go
- model_create_keypair_request_body.go
- model_create_keypair_resp.go
- model_create_keypair_response.go
- model_delete_all_failed_task_request.go
- model_delete_all_failed_task_response.go
- model_delete_failed_task_request.go
- model_delete_failed_task_response.go
- model_delete_keypair_request.go
- model_delete_keypair_response.go
- model_disassociate_ecs_server_info.go
- model_disassociate_keypair_request.go
- model_disassociate_keypair_request_body.go
- model_disassociate_keypair_response.go
- model_ecs_server_info.go
- model_encryption.go
- model_failed_tasks.go
- model_key_protection.go
- model_keypair.go
- model_keypair_detail.go
- model_keypairs.go
- model_list_failed_task_request.go
- model_list_failed_task_response.go
- model_list_keypair_detail_request.go
- model_list_keypair_detail_response.go
- model_list_keypair_task_request.go
- model_list_keypair_task_response.go
- model_list_keypairs_request.go
- model_list_keypairs_response.go
- model_list_running_task_request.go
- model_list_running_task_response.go
- model_running_tasks.go
- model_update_keypair_description_req.go
- model_update_keypair_description_request.go
- model_update_keypair_description_request_body.go
- model_update_keypair_description_response.go
Click to show internal directories.
Click to hide internal directories.