Documentation ¶
Index ¶
- type AddMemberRequest
- type AddMemberResponse
- type AddMembersReq
- type AddVaultResourceRequest
- type AddVaultResourceResponse
- type AssociateVaultPolicyRequest
- type AssociateVaultPolicyResponse
- type BackupDetail
- type BackupDetailImageType
- type BackupDetailImageTypeEnum
- type BackupDetailResourceType
- type BackupDetailResourceTypeEnum
- type BackupDetailStatus
- type BackupDetailStatusEnum
- type BackupExtendInfo
- type BackupExtendInfoSupportedRestoreMode
- type BackupExtendInfoSupportedRestoreModeEnum
- type BackupReplicateReq
- type BackupReplicateReqBody
- type BackupReplicateRespBody
- type BackupResp
- type BackupRespImageType
- type BackupRespImageTypeEnum
- type BackupRespResourceType
- type BackupRespResourceTypeEnum
- type BackupRespStatus
- type BackupRespStatusEnum
- type BackupRestore
- type BackupRestoreReq
- type BackupRestoreServerMapping
- type BackupSync
- type BackupSyncReq
- type BackupSyncRespBody
- type BatchCreateAndDeleteVaultTagsRequest
- type BatchCreateAndDeleteVaultTagsResponse
- type BillbingCreateExtraInfo
- type Billing
- type BillingChargingMode
- type BillingChargingModeEnum
- type BillingCloudType
- type BillingCloudTypeEnum
- type BillingConsistentLevel
- type BillingConsistentLevelEnum
- type BillingCreate
- type BillingCreateChargingMode
- type BillingCreateChargingModeEnum
- type BillingCreateCloudType
- type BillingCreateCloudTypeEnum
- type BillingCreateConsistentLevel
- type BillingCreateConsistentLevelEnum
- type BillingCreateObjectType
- type BillingCreateObjectTypeEnum
- type BillingCreatePeriodType
- type BillingCreatePeriodTypeEnum
- type BillingCreateProtectType
- type BillingCreateProtectTypeEnum
- type BillingObjectType
- type BillingObjectTypeEnum
- type BillingProtectType
- type BillingProtectTypeEnum
- type BillingSpecCode
- type BillingSpecCodeEnum
- type BillingStatus
- type BillingStatusEnum
- type BillingUpdate
- type BillingUpdateConsistentLevel
- type BillingUpdateConsistentLevelEnum
- type BulkCreateAndDeleteVaultTagsReq
- type BulkCreateAndDeleteVaultTagsReqAction
- type BulkCreateAndDeleteVaultTagsReqActionEnum
- type CheckpointCreate
- type CheckpointCreateSkippedResource
- type CheckpointCreateStatus
- type CheckpointCreateStatusEnum
- type CheckpointExtraInfoResp
- type CheckpointParam
- type CheckpointPlanCreate
- type CheckpointReplicateParam
- type CheckpointReplicateReq
- type CheckpointReplicateRespBody
- type CheckpointReplicateRespbackups
- type CheckpointResourceResp
- type CheckpointResourceRespProtectStatus
- type CheckpointResourceRespProtectStatusEnum
- type CopyBackupRequest
- type CopyBackupResponse
- type CopyCheckpointRequest
- type CopyCheckpointResponse
- type CreateCheckpointRequest
- type CreateCheckpointResponse
- type CreatePolicyRequest
- type CreatePolicyResponse
- type CreateVaultRequest
- type CreateVaultResponse
- type CreateVaultTagsRequest
- type CreateVaultTagsResponse
- type DeleteBackupRequest
- type DeleteBackupResponse
- type DeleteMemberRequest
- type DeleteMemberResponse
- type DeletePolicyRequest
- type DeletePolicyResponse
- type DeleteVaultRequest
- type DeleteVaultResponse
- type DeleteVaultTagRequest
- type DeleteVaultTagResponse
- type DisassociateVaultPolicyRequest
- type DisassociateVaultPolicyResponse
- type ImageData
- type ImportBackupRequest
- type ImportBackupResponse
- type ListBackupsRequest
- type ListBackupsRequestImageType
- type ListBackupsRequestImageTypeEnum
- type ListBackupsRequestMemberStatus
- type ListBackupsRequestMemberStatusEnum
- type ListBackupsRequestOwnType
- type ListBackupsRequestOwnTypeEnum
- type ListBackupsRequestResourceType
- type ListBackupsRequestResourceTypeEnum
- type ListBackupsRequestStatus
- type ListBackupsRequestStatusEnum
- type ListBackupsResponse
- type ListOpLogsRequest
- type ListOpLogsRequestOperationType
- type ListOpLogsRequestOperationTypeEnum
- type ListOpLogsRequestStatus
- type ListOpLogsRequestStatusEnum
- type ListOpLogsResponse
- type ListPoliciesRequest
- type ListPoliciesRequestOperationType
- type ListPoliciesRequestOperationTypeEnum
- type ListPoliciesResponse
- type ListProtectableRequest
- type ListProtectableRequestProtectableType
- type ListProtectableRequestProtectableTypeEnum
- type ListProtectableResponse
- type ListVaultRequest
- type ListVaultRequestCloudType
- type ListVaultRequestCloudTypeEnum
- type ListVaultRequestProtectType
- type ListVaultRequestProtectTypeEnum
- type ListVaultResponse
- type Match
- type Member
- type MemberStatus
- type MemberStatusEnum
- type MigrateVaultResourceRequest
- type MigrateVaultResourceResponse
- type OpErrorInfo
- type OpExtendInfoBckup
- type OpExtendInfoBckupAppConsistencyStatus
- type OpExtendInfoBckupAppConsistencyStatusEnum
- type OpExtendInfoBckupIncremental
- type OpExtendInfoBckupIncrementalEnum
- type OpExtendInfoCommon
- type OpExtendInfoDelete
- type OpExtendInfoRemoveResources
- type OpExtendInfoReplication
- type OpExtendInfoRestore
- type OpExtendInfoSync
- type OpExtendInfoVaultDelete
- type OpExtraInfo
- type OperationLog
- type OperationLogOperationType
- type OperationLogOperationTypeEnum
- type OperationLogStatus
- type OperationLogStatusEnum
- type Policy
- type PolicyAssociateVault
- type PolicyCreate
- type PolicyCreateOperationType
- type PolicyCreateOperationTypeEnum
- type PolicyCreateReq
- type PolicyOperationType
- type PolicyOperationTypeEnum
- type PolicyTriggerPropertiesReq
- type PolicyTriggerPropertiesResp
- type PolicyTriggerReq
- type PolicyTriggerResp
- type PolicyTriggerRespType
- type PolicyTriggerRespTypeEnum
- type PolicyUpdate
- type PolicyUpdateReq
- type PolicyoOdCreate
- type ProtectableReplicationCapabilitiesRespRegion
- type ProtectableResult
- type ProtectablesResp
- type ProtectablesRespStatus
- type ProtectablesRespStatusEnum
- type RemoveVaultResourceRequest
- type RemoveVaultResourceResponse
- type ReplicationRecordGet
- type ReplicationRecordGetStatus
- type ReplicationRecordGetStatusEnum
- type Resource
- type ResourceCreate
- type ResourceExtraInfo
- type ResourceExtraInfoIncludeVolumes
- type ResourceResp
- type ResourceRespProtectStatus
- type ResourceRespProtectStatusEnum
- type RestoreBackupRequest
- type RestoreBackupResponse
- type ShowBackupRequest
- type ShowBackupResponse
- type ShowCheckpointRequest
- type ShowCheckpointResponse
- type ShowMemberDetailRequest
- type ShowMemberDetailResponse
- type ShowMembersDetailRequest
- type ShowMembersDetailResponse
- type ShowOpLogRequest
- type ShowOpLogResponse
- type ShowPolicyRequest
- type ShowPolicyResponse
- type ShowProtectableRequest
- type ShowProtectableRequestProtectableType
- type ShowProtectableRequestProtectableTypeEnum
- type ShowProtectableResponse
- type ShowReplicationCapabilitiesRequest
- type ShowReplicationCapabilitiesResponse
- type ShowVaultProjectTagRequest
- type ShowVaultProjectTagResponse
- type ShowVaultRequest
- type ShowVaultResourceInstancesRequest
- type ShowVaultResourceInstancesResponse
- type ShowVaultResponse
- type ShowVaultTagRequest
- type ShowVaultTagResponse
- type SysTag
- type SysTags
- type Tag
- type TagResource
- type TagsReq
- type TagsResp
- type UpdateMember
- type UpdateMemberStatus
- type UpdateMemberStatusEnum
- type UpdateMemberStatusRequest
- type UpdateMemberStatusResponse
- type UpdatePolicyRequest
- type UpdatePolicyResponse
- type UpdateVaultRequest
- type UpdateVaultResponse
- type Vault
- type VaultAddResourceReq
- type VaultAssociate
- type VaultBackup
- type VaultBackupReq
- type VaultBindRules
- type VaultCreate
- type VaultCreateReq
- type VaultDissociate
- type VaultGet
- type VaultMigrateResourceReq
- type VaultPolicyResp
- type VaultRemoveResourceReq
- type VaultResourceInstancesReq
- type VaultResourceInstancesReqCloudType
- type VaultResourceInstancesReqCloudTypeEnum
- type VaultResourceInstancesReqObjectType
- type VaultResourceInstancesReqObjectTypeEnum
- type VaultTagsCreateReq
- type VaultUpdate
- type VaultUpdateReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddMemberRequest ¶
type AddMemberRequest struct { BackupId string `json:"backup_id"` Body *AddMembersReq `json:"body,omitempty"` }
Request Object
func (AddMemberRequest) String ¶
func (o AddMemberRequest) String() string
type AddMemberResponse ¶
type AddMemberResponse struct { Members *[]Member `json:"members,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddMemberResponse) String ¶
func (o AddMemberResponse) String() string
type AddMembersReq ¶
type AddMembersReq struct {
Members []string `json:"members"`
}
备份共享目标用户的项目id。
func (AddMembersReq) String ¶
func (o AddMembersReq) String() string
type AddVaultResourceRequest ¶
type AddVaultResourceRequest struct { VaultId string `json:"vault_id"` Body *VaultAddResourceReq `json:"body,omitempty"` }
Request Object
func (AddVaultResourceRequest) String ¶
func (o AddVaultResourceRequest) String() string
type AddVaultResourceResponse ¶
type AddVaultResourceResponse struct { AddResourceIds *[]string `json:"add_resource_ids,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddVaultResourceResponse) String ¶
func (o AddVaultResourceResponse) String() string
type AssociateVaultPolicyRequest ¶
type AssociateVaultPolicyRequest struct { VaultId string `json:"vault_id"` Body *VaultAssociate `json:"body,omitempty"` }
Request Object
func (AssociateVaultPolicyRequest) String ¶
func (o AssociateVaultPolicyRequest) String() string
type AssociateVaultPolicyResponse ¶
type AssociateVaultPolicyResponse struct { AssociatePolicy *VaultPolicyResp `json:"associate_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateVaultPolicyResponse) String ¶
func (o AssociateVaultPolicyResponse) String() string
type BackupDetail ¶
type BackupDetail struct { CheckpointId string `json:"checkpoint_id"` ProviderId string `json:"provider_id"` CreatedAt *sdktime.SdkTime `json:"created_at"` Description string `json:"description"` ExpiredAt *sdktime.SdkTime `json:"expired_at"` ExtendInfo *BackupExtendInfo `json:"extend_info"` Id string `json:"id"` ImageType BackupDetailImageType `json:"image_type"` Name string `json:"name"` ParentId string `json:"parent_id"` ProjectId string `json:"project_id"` ProtectedAt string `json:"protected_at"` ResourceAz string `json:"resource_az"` ResourceId string `json:"resource_id"` ResourceName string `json:"resource_name"` ResourceSize int32 `json:"resource_size"` ResourceType BackupDetailResourceType `json:"resource_type"` Status BackupDetailStatus `json:"status"` UpdatedAt *sdktime.SdkTime `json:"updated_at"` VaultId string `json:"vault_id"` ReplicationRecords []ReplicationRecordGet `json:"replication_records"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Children []BackupResp `json:"children"` }
func (BackupDetail) String ¶
func (o BackupDetail) String() string
type BackupDetailImageType ¶
type BackupDetailImageType struct {
// contains filtered or unexported fields
}
func (BackupDetailImageType) MarshalJSON ¶
func (c BackupDetailImageType) MarshalJSON() ([]byte, error)
func (*BackupDetailImageType) UnmarshalJSON ¶
func (c *BackupDetailImageType) UnmarshalJSON(b []byte) error
type BackupDetailImageTypeEnum ¶
type BackupDetailImageTypeEnum struct { BACKUP BackupDetailImageType REPLICATION BackupDetailImageType }
func GetBackupDetailImageTypeEnum ¶
func GetBackupDetailImageTypeEnum() BackupDetailImageTypeEnum
type BackupDetailResourceType ¶
type BackupDetailResourceType struct {
// contains filtered or unexported fields
}
func (BackupDetailResourceType) MarshalJSON ¶
func (c BackupDetailResourceType) MarshalJSON() ([]byte, error)
func (*BackupDetailResourceType) UnmarshalJSON ¶
func (c *BackupDetailResourceType) UnmarshalJSON(b []byte) error
type BackupDetailResourceTypeEnum ¶
type BackupDetailResourceTypeEnum struct { OSNOVASERVER BackupDetailResourceType OSCINDERVOLUME BackupDetailResourceType }
func GetBackupDetailResourceTypeEnum ¶
func GetBackupDetailResourceTypeEnum() BackupDetailResourceTypeEnum
type BackupDetailStatus ¶
type BackupDetailStatus struct {
// contains filtered or unexported fields
}
func (BackupDetailStatus) MarshalJSON ¶
func (c BackupDetailStatus) MarshalJSON() ([]byte, error)
func (*BackupDetailStatus) UnmarshalJSON ¶
func (c *BackupDetailStatus) UnmarshalJSON(b []byte) error
type BackupDetailStatusEnum ¶
type BackupDetailStatusEnum struct { AVAILABLE BackupDetailStatus PROTECTING BackupDetailStatus DELETING BackupDetailStatus RESTORING BackupDetailStatus ERROR BackupDetailStatus WAITING_PROTECT BackupDetailStatus WAITING_DELETE BackupDetailStatus WAITING_RESTORE BackupDetailStatus }
func GetBackupDetailStatusEnum ¶
func GetBackupDetailStatusEnum() BackupDetailStatusEnum
type BackupExtendInfo ¶
type BackupExtendInfo struct { AutoTrigger *bool `json:"auto_trigger,omitempty"` Bootable *bool `json:"bootable,omitempty"` Incremental *bool `json:"incremental,omitempty"` SnapshotId *string `json:"snapshot_id,omitempty"` SupportLld *bool `json:"support_lld,omitempty"` SupportedRestoreMode *BackupExtendInfoSupportedRestoreMode `json:"supported_restore_mode,omitempty"` OsImagesData *[]ImageData `json:"os_images_data,omitempty"` ContainSystemDisk *bool `json:"contain_system_disk,omitempty"` Encrypted *bool `json:"encrypted,omitempty"` SystemDisk *bool `json:"system_disk,omitempty"` }
func (BackupExtendInfo) String ¶
func (o BackupExtendInfo) String() string
type BackupExtendInfoSupportedRestoreMode ¶
type BackupExtendInfoSupportedRestoreMode struct {
// contains filtered or unexported fields
}
func (BackupExtendInfoSupportedRestoreMode) MarshalJSON ¶
func (c BackupExtendInfoSupportedRestoreMode) MarshalJSON() ([]byte, error)
func (*BackupExtendInfoSupportedRestoreMode) UnmarshalJSON ¶
func (c *BackupExtendInfoSupportedRestoreMode) UnmarshalJSON(b []byte) error
type BackupExtendInfoSupportedRestoreModeEnum ¶
type BackupExtendInfoSupportedRestoreModeEnum struct { NA BackupExtendInfoSupportedRestoreMode BACKUP BackupExtendInfoSupportedRestoreMode SNAPSHOT BackupExtendInfoSupportedRestoreMode }
func GetBackupExtendInfoSupportedRestoreModeEnum ¶
func GetBackupExtendInfoSupportedRestoreModeEnum() BackupExtendInfoSupportedRestoreModeEnum
type BackupReplicateReq ¶
type BackupReplicateReq struct {
Replicate *BackupReplicateReqBody `json:"replicate"`
}
func (BackupReplicateReq) String ¶
func (o BackupReplicateReq) String() string
type BackupReplicateReqBody ¶
type BackupReplicateReqBody struct { Description *string `json:"description,omitempty"` DestinationProjectId string `json:"destination_project_id"` DestinationRegion string `json:"destination_region"` DestinationVaultId string `json:"destination_vault_id"` EnableAcceleration *bool `json:"enable_acceleration,omitempty"` Name *string `json:"name,omitempty"` }
func (BackupReplicateReqBody) String ¶
func (o BackupReplicateReqBody) String() string
type BackupReplicateRespBody ¶
type BackupReplicateRespBody struct { BackupId *string `json:"backup_id,omitempty"` DestinationProjectId *string `json:"destination_project_id,omitempty"` DestinationRegion *string `json:"destination_region,omitempty"` DestinationVaultId *string `json:"destination_vault_id,omitempty"` ProjectId *string `json:"project_id,omitempty"` ProviderId *string `json:"provider_id,omitempty"` ReplicationRecordId *string `json:"replication_record_id,omitempty"` SourceRegion *string `json:"source_region,omitempty"` }
func (BackupReplicateRespBody) String ¶
func (o BackupReplicateRespBody) String() string
type BackupResp ¶
type BackupResp struct { CheckpointId string `json:"checkpoint_id"` ProviderId string `json:"provider_id"` CreatedAt *sdktime.SdkTime `json:"created_at"` Description string `json:"description"` ExpiredAt *sdktime.SdkTime `json:"expired_at"` ExtendInfo *BackupExtendInfo `json:"extend_info"` Id string `json:"id"` ImageType BackupRespImageType `json:"image_type"` Name string `json:"name"` ParentId string `json:"parent_id"` ProjectId string `json:"project_id"` ProtectedAt string `json:"protected_at"` ResourceAz string `json:"resource_az"` ResourceId string `json:"resource_id"` ResourceName string `json:"resource_name"` ResourceSize int32 `json:"resource_size"` ResourceType BackupRespResourceType `json:"resource_type"` Status BackupRespStatus `json:"status"` UpdatedAt *sdktime.SdkTime `json:"updated_at"` VaultId string `json:"vault_id"` ReplicationRecords []ReplicationRecordGet `json:"replication_records"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
func (BackupResp) String ¶
func (o BackupResp) String() string
type BackupRespImageType ¶
type BackupRespImageType struct {
// contains filtered or unexported fields
}
func (BackupRespImageType) MarshalJSON ¶
func (c BackupRespImageType) MarshalJSON() ([]byte, error)
func (*BackupRespImageType) UnmarshalJSON ¶
func (c *BackupRespImageType) UnmarshalJSON(b []byte) error
type BackupRespImageTypeEnum ¶
type BackupRespImageTypeEnum struct { BACKUP BackupRespImageType REPLICATION BackupRespImageType }
func GetBackupRespImageTypeEnum ¶
func GetBackupRespImageTypeEnum() BackupRespImageTypeEnum
type BackupRespResourceType ¶
type BackupRespResourceType struct {
// contains filtered or unexported fields
}
func (BackupRespResourceType) MarshalJSON ¶
func (c BackupRespResourceType) MarshalJSON() ([]byte, error)
func (*BackupRespResourceType) UnmarshalJSON ¶
func (c *BackupRespResourceType) UnmarshalJSON(b []byte) error
type BackupRespResourceTypeEnum ¶
type BackupRespResourceTypeEnum struct { OSNOVASERVER BackupRespResourceType OSCINDERVOLUME BackupRespResourceType }
func GetBackupRespResourceTypeEnum ¶
func GetBackupRespResourceTypeEnum() BackupRespResourceTypeEnum
type BackupRespStatus ¶
type BackupRespStatus struct {
// contains filtered or unexported fields
}
func (BackupRespStatus) MarshalJSON ¶
func (c BackupRespStatus) MarshalJSON() ([]byte, error)
func (*BackupRespStatus) UnmarshalJSON ¶
func (c *BackupRespStatus) UnmarshalJSON(b []byte) error
type BackupRespStatusEnum ¶
type BackupRespStatusEnum struct { AVAILABLE BackupRespStatus PROTECTING BackupRespStatus DELETING BackupRespStatus RESTORING BackupRespStatus ERROR BackupRespStatus WAITING_PROTECT BackupRespStatus WAITING_DELETE BackupRespStatus WAITING_RESTORE BackupRespStatus }
func GetBackupRespStatusEnum ¶
func GetBackupRespStatusEnum() BackupRespStatusEnum
type BackupRestore ¶
type BackupRestore struct { Mappings *[]BackupRestoreServerMapping `json:"mappings,omitempty"` PowerOn *bool `json:"power_on,omitempty"` ServerId *string `json:"server_id,omitempty"` VolumeId *string `json:"volume_id,omitempty"` ResourceId *string `json:"resource_id,omitempty"` }
func (BackupRestore) String ¶
func (o BackupRestore) String() string
type BackupRestoreReq ¶
type BackupRestoreReq struct {
Restore *BackupRestore `json:"restore"`
}
恢复请求body
func (BackupRestoreReq) String ¶
func (o BackupRestoreReq) String() string
type BackupRestoreServerMapping ¶
type BackupRestoreServerMapping struct { BackupId string `json:"backup_id"` VolumeId string `json:"volume_id"` }
func (BackupRestoreServerMapping) String ¶
func (o BackupRestoreServerMapping) String() string
type BackupSync ¶
type BackupSync struct { BackupId string `json:"backup_id"` BackupName string `json:"backup_name"` BucketName string `json:"bucket_name"` ImagePath string `json:"image_path"` ResourceId string `json:"resource_id"` ResourceName string `json:"resource_name"` ResourceType string `json:"resource_type"` CreatedAt int32 `json:"created_at"` }
func (BackupSync) String ¶
func (o BackupSync) String() string
type BackupSyncReq ¶
type BackupSyncReq struct {
Sync []BackupSync `json:"sync"`
}
func (BackupSyncReq) String ¶
func (o BackupSyncReq) String() string
type BackupSyncRespBody ¶
type BackupSyncRespBody struct { BackupId string `json:"backup_id"` OperationLogId string `json:"operation_log_id"` }
func (BackupSyncRespBody) String ¶
func (o BackupSyncRespBody) String() string
type BatchCreateAndDeleteVaultTagsRequest ¶
type BatchCreateAndDeleteVaultTagsRequest struct { VaultId string `json:"vault_id"` Body *BulkCreateAndDeleteVaultTagsReq `json:"body,omitempty"` }
Request Object
func (BatchCreateAndDeleteVaultTagsRequest) String ¶
func (o BatchCreateAndDeleteVaultTagsRequest) String() string
type BatchCreateAndDeleteVaultTagsResponse ¶
type BatchCreateAndDeleteVaultTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchCreateAndDeleteVaultTagsResponse) String ¶
func (o BatchCreateAndDeleteVaultTagsResponse) String() string
type BillbingCreateExtraInfo ¶
type BillbingCreateExtraInfo struct { CombinedOrderId *string `json:"combined_order_id,omitempty"` CombinedOrderEcsNum *int32 `json:"combined_order_ecs_num,omitempty"` }
func (BillbingCreateExtraInfo) String ¶
func (o BillbingCreateExtraInfo) String() string
type Billing ¶
type Billing struct { Allocated int32 `json:"allocated"` ChargingMode BillingChargingMode `json:"charging_mode"` CloudType *BillingCloudType `json:"cloud_type,omitempty"` ConsistentLevel BillingConsistentLevel `json:"consistent_level"` ObjectType *BillingObjectType `json:"object_type,omitempty"` OrderId *string `json:"order_id,omitempty"` ProductId *string `json:"product_id,omitempty"` ProtectType BillingProtectType `json:"protect_type"` Size int32 `json:"size"` SpecCode BillingSpecCode `json:"spec_code"` Status BillingStatus `json:"status"` StorageUnit *string `json:"storage_unit,omitempty"` Used int32 `json:"used"` FrozenScene *string `json:"frozen_scene,omitempty"` }
type BillingChargingMode ¶
type BillingChargingMode struct {
// contains filtered or unexported fields
}
func (BillingChargingMode) MarshalJSON ¶
func (c BillingChargingMode) MarshalJSON() ([]byte, error)
func (*BillingChargingMode) UnmarshalJSON ¶
func (c *BillingChargingMode) UnmarshalJSON(b []byte) error
type BillingChargingModeEnum ¶
type BillingChargingModeEnum struct { PRE_PAID BillingChargingMode POST_PAID BillingChargingMode }
func GetBillingChargingModeEnum ¶
func GetBillingChargingModeEnum() BillingChargingModeEnum
type BillingCloudType ¶
type BillingCloudType struct {
// contains filtered or unexported fields
}
func (BillingCloudType) MarshalJSON ¶
func (c BillingCloudType) MarshalJSON() ([]byte, error)
func (*BillingCloudType) UnmarshalJSON ¶
func (c *BillingCloudType) UnmarshalJSON(b []byte) error
type BillingCloudTypeEnum ¶
type BillingCloudTypeEnum struct { PUBLIC BillingCloudType HYBRID BillingCloudType }
func GetBillingCloudTypeEnum ¶
func GetBillingCloudTypeEnum() BillingCloudTypeEnum
type BillingConsistentLevel ¶
type BillingConsistentLevel struct {
// contains filtered or unexported fields
}
func (BillingConsistentLevel) MarshalJSON ¶
func (c BillingConsistentLevel) MarshalJSON() ([]byte, error)
func (*BillingConsistentLevel) UnmarshalJSON ¶
func (c *BillingConsistentLevel) UnmarshalJSON(b []byte) error
type BillingConsistentLevelEnum ¶
type BillingConsistentLevelEnum struct { APP_CONSISTENT BillingConsistentLevel CRASH_CONSISTENT BillingConsistentLevel }
func GetBillingConsistentLevelEnum ¶
func GetBillingConsistentLevelEnum() BillingConsistentLevelEnum
type BillingCreate ¶
type BillingCreate struct { CloudType *BillingCreateCloudType `json:"cloud_type,omitempty"` ConsistentLevel BillingCreateConsistentLevel `json:"consistent_level"` ObjectType BillingCreateObjectType `json:"object_type"` ProtectType BillingCreateProtectType `json:"protect_type"` Size int32 `json:"size"` ChargingMode *BillingCreateChargingMode `json:"charging_mode,omitempty"` PeriodType *BillingCreatePeriodType `json:"period_type,omitempty"` PeriodNum *int32 `json:"period_num,omitempty"` IsAutoRenew *bool `json:"is_auto_renew,omitempty"` IsAutoPay *bool `json:"is_auto_pay,omitempty"` ConsoleUrl *string `json:"console_url,omitempty"` ExtraInfo *BillbingCreateExtraInfo `json:"extra_info,omitempty"` }
创建参数
func (BillingCreate) String ¶
func (o BillingCreate) String() string
type BillingCreateChargingMode ¶
type BillingCreateChargingMode struct {
// contains filtered or unexported fields
}
func (BillingCreateChargingMode) MarshalJSON ¶
func (c BillingCreateChargingMode) MarshalJSON() ([]byte, error)
func (*BillingCreateChargingMode) UnmarshalJSON ¶
func (c *BillingCreateChargingMode) UnmarshalJSON(b []byte) error
type BillingCreateChargingModeEnum ¶
type BillingCreateChargingModeEnum struct { POST_PAID BillingCreateChargingMode PRE_PAID BillingCreateChargingMode }
func GetBillingCreateChargingModeEnum ¶
func GetBillingCreateChargingModeEnum() BillingCreateChargingModeEnum
type BillingCreateCloudType ¶
type BillingCreateCloudType struct {
// contains filtered or unexported fields
}
func (BillingCreateCloudType) MarshalJSON ¶
func (c BillingCreateCloudType) MarshalJSON() ([]byte, error)
func (*BillingCreateCloudType) UnmarshalJSON ¶
func (c *BillingCreateCloudType) UnmarshalJSON(b []byte) error
type BillingCreateCloudTypeEnum ¶
type BillingCreateCloudTypeEnum struct { PUBLIC BillingCreateCloudType HYBRID BillingCreateCloudType }
func GetBillingCreateCloudTypeEnum ¶
func GetBillingCreateCloudTypeEnum() BillingCreateCloudTypeEnum
type BillingCreateConsistentLevel ¶
type BillingCreateConsistentLevel struct {
// contains filtered or unexported fields
}
func (BillingCreateConsistentLevel) MarshalJSON ¶
func (c BillingCreateConsistentLevel) MarshalJSON() ([]byte, error)
func (*BillingCreateConsistentLevel) UnmarshalJSON ¶
func (c *BillingCreateConsistentLevel) UnmarshalJSON(b []byte) error
type BillingCreateConsistentLevelEnum ¶
type BillingCreateConsistentLevelEnum struct { APP_CONSISTENT BillingCreateConsistentLevel CRASH_CONSISTENT BillingCreateConsistentLevel }
func GetBillingCreateConsistentLevelEnum ¶
func GetBillingCreateConsistentLevelEnum() BillingCreateConsistentLevelEnum
type BillingCreateObjectType ¶
type BillingCreateObjectType struct {
// contains filtered or unexported fields
}
func (BillingCreateObjectType) MarshalJSON ¶
func (c BillingCreateObjectType) MarshalJSON() ([]byte, error)
func (*BillingCreateObjectType) UnmarshalJSON ¶
func (c *BillingCreateObjectType) UnmarshalJSON(b []byte) error
type BillingCreateObjectTypeEnum ¶
type BillingCreateObjectTypeEnum struct { SERVER BillingCreateObjectType DISK BillingCreateObjectType TURBO BillingCreateObjectType }
func GetBillingCreateObjectTypeEnum ¶
func GetBillingCreateObjectTypeEnum() BillingCreateObjectTypeEnum
type BillingCreatePeriodType ¶
type BillingCreatePeriodType struct {
// contains filtered or unexported fields
}
func (BillingCreatePeriodType) MarshalJSON ¶
func (c BillingCreatePeriodType) MarshalJSON() ([]byte, error)
func (*BillingCreatePeriodType) UnmarshalJSON ¶
func (c *BillingCreatePeriodType) UnmarshalJSON(b []byte) error
type BillingCreatePeriodTypeEnum ¶
type BillingCreatePeriodTypeEnum struct { YEAR BillingCreatePeriodType MONTH BillingCreatePeriodType }
func GetBillingCreatePeriodTypeEnum ¶
func GetBillingCreatePeriodTypeEnum() BillingCreatePeriodTypeEnum
type BillingCreateProtectType ¶
type BillingCreateProtectType struct {
// contains filtered or unexported fields
}
func (BillingCreateProtectType) MarshalJSON ¶
func (c BillingCreateProtectType) MarshalJSON() ([]byte, error)
func (*BillingCreateProtectType) UnmarshalJSON ¶
func (c *BillingCreateProtectType) UnmarshalJSON(b []byte) error
type BillingCreateProtectTypeEnum ¶
type BillingCreateProtectTypeEnum struct { BACKUP BillingCreateProtectType REPLICATION BillingCreateProtectType }
func GetBillingCreateProtectTypeEnum ¶
func GetBillingCreateProtectTypeEnum() BillingCreateProtectTypeEnum
type BillingObjectType ¶
type BillingObjectType struct {
// contains filtered or unexported fields
}
func (BillingObjectType) MarshalJSON ¶
func (c BillingObjectType) MarshalJSON() ([]byte, error)
func (*BillingObjectType) UnmarshalJSON ¶
func (c *BillingObjectType) UnmarshalJSON(b []byte) error
type BillingObjectTypeEnum ¶
type BillingObjectTypeEnum struct { SERVER BillingObjectType DISK BillingObjectType }
func GetBillingObjectTypeEnum ¶
func GetBillingObjectTypeEnum() BillingObjectTypeEnum
type BillingProtectType ¶
type BillingProtectType struct {
// contains filtered or unexported fields
}
func (BillingProtectType) MarshalJSON ¶
func (c BillingProtectType) MarshalJSON() ([]byte, error)
func (*BillingProtectType) UnmarshalJSON ¶
func (c *BillingProtectType) UnmarshalJSON(b []byte) error
type BillingProtectTypeEnum ¶
type BillingProtectTypeEnum struct { BACKUP BillingProtectType REPLICATION BillingProtectType HYBRID BillingProtectType }
func GetBillingProtectTypeEnum ¶
func GetBillingProtectTypeEnum() BillingProtectTypeEnum
type BillingSpecCode ¶
type BillingSpecCode struct {
// contains filtered or unexported fields
}
func (BillingSpecCode) MarshalJSON ¶
func (c BillingSpecCode) MarshalJSON() ([]byte, error)
func (*BillingSpecCode) UnmarshalJSON ¶
func (c *BillingSpecCode) UnmarshalJSON(b []byte) error
type BillingSpecCodeEnum ¶
type BillingSpecCodeEnum struct { VAULT_BACKUP_SERVER_NORMAL BillingSpecCode VAULT_BACKUP_VOLUME_NORMAL BillingSpecCode }
func GetBillingSpecCodeEnum ¶
func GetBillingSpecCodeEnum() BillingSpecCodeEnum
type BillingStatus ¶
type BillingStatus struct {
// contains filtered or unexported fields
}
func (BillingStatus) MarshalJSON ¶
func (c BillingStatus) MarshalJSON() ([]byte, error)
func (*BillingStatus) UnmarshalJSON ¶
func (c *BillingStatus) UnmarshalJSON(b []byte) error
type BillingStatusEnum ¶
type BillingStatusEnum struct { AVAILABLE BillingStatus LOCK BillingStatus FROZEN BillingStatus DELETING BillingStatus ERROR BillingStatus }
func GetBillingStatusEnum ¶
func GetBillingStatusEnum() BillingStatusEnum
type BillingUpdate ¶
type BillingUpdate struct { ConsistentLevel *BillingUpdateConsistentLevel `json:"consistent_level,omitempty"` Size *int32 `json:"size,omitempty"` }
func (BillingUpdate) String ¶
func (o BillingUpdate) String() string
type BillingUpdateConsistentLevel ¶
type BillingUpdateConsistentLevel struct {
// contains filtered or unexported fields
}
func (BillingUpdateConsistentLevel) MarshalJSON ¶
func (c BillingUpdateConsistentLevel) MarshalJSON() ([]byte, error)
func (*BillingUpdateConsistentLevel) UnmarshalJSON ¶
func (c *BillingUpdateConsistentLevel) UnmarshalJSON(b []byte) error
type BillingUpdateConsistentLevelEnum ¶
type BillingUpdateConsistentLevelEnum struct { APP_CONSISTENT BillingUpdateConsistentLevel CRASH_CONSISTENT BillingUpdateConsistentLevel }
func GetBillingUpdateConsistentLevelEnum ¶
func GetBillingUpdateConsistentLevelEnum() BillingUpdateConsistentLevelEnum
type BulkCreateAndDeleteVaultTagsReq ¶
type BulkCreateAndDeleteVaultTagsReq struct { Tags *[]Tag `json:"tags,omitempty"` SysTags *[]SysTag `json:"sys_tags,omitempty"` Action BulkCreateAndDeleteVaultTagsReqAction `json:"action"` }
func (BulkCreateAndDeleteVaultTagsReq) String ¶
func (o BulkCreateAndDeleteVaultTagsReq) String() string
type BulkCreateAndDeleteVaultTagsReqAction ¶
type BulkCreateAndDeleteVaultTagsReqAction struct {
// contains filtered or unexported fields
}
func (BulkCreateAndDeleteVaultTagsReqAction) MarshalJSON ¶
func (c BulkCreateAndDeleteVaultTagsReqAction) MarshalJSON() ([]byte, error)
func (*BulkCreateAndDeleteVaultTagsReqAction) UnmarshalJSON ¶
func (c *BulkCreateAndDeleteVaultTagsReqAction) UnmarshalJSON(b []byte) error
type BulkCreateAndDeleteVaultTagsReqActionEnum ¶
type BulkCreateAndDeleteVaultTagsReqActionEnum struct { CREATE BulkCreateAndDeleteVaultTagsReqAction DELETE BulkCreateAndDeleteVaultTagsReqAction }
func GetBulkCreateAndDeleteVaultTagsReqActionEnum ¶
func GetBulkCreateAndDeleteVaultTagsReqActionEnum() BulkCreateAndDeleteVaultTagsReqActionEnum
type CheckpointCreate ¶
type CheckpointCreate struct { CreatedAt string `json:"created_at"` Id string `json:"id"` ProjectId string `json:"project_id"` Status CheckpointCreateStatus `json:"status"` Vault *CheckpointPlanCreate `json:"vault,omitempty"` ExtraInfo *CheckpointExtraInfoResp `json:"extra_info,omitempty"` }
func (CheckpointCreate) String ¶
func (o CheckpointCreate) String() string
type CheckpointCreateSkippedResource ¶
type CheckpointCreateSkippedResource struct { Id *string `json:"id,omitempty"` Type *string `json:"type,omitempty"` Name *string `json:"name,omitempty"` Code *string `json:"code,omitempty"` Reason *string `json:"reason,omitempty"` }
备份时跳过的资源
func (CheckpointCreateSkippedResource) String ¶
func (o CheckpointCreateSkippedResource) String() string
type CheckpointCreateStatus ¶
type CheckpointCreateStatus struct {
// contains filtered or unexported fields
}
func (CheckpointCreateStatus) MarshalJSON ¶
func (c CheckpointCreateStatus) MarshalJSON() ([]byte, error)
func (*CheckpointCreateStatus) UnmarshalJSON ¶
func (c *CheckpointCreateStatus) UnmarshalJSON(b []byte) error
type CheckpointCreateStatusEnum ¶
type CheckpointCreateStatusEnum struct { AVAILABLE CheckpointCreateStatus DELETING CheckpointCreateStatus CREATING CheckpointCreateStatus RESTORING CheckpointCreateStatus ERROR CheckpointCreateStatus }
func GetCheckpointCreateStatusEnum ¶
func GetCheckpointCreateStatusEnum() CheckpointCreateStatusEnum
type CheckpointExtraInfoResp ¶
type CheckpointExtraInfoResp struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` RetentionDuration *int32 `json:"retention_duration,omitempty"` }
func (CheckpointExtraInfoResp) String ¶
func (o CheckpointExtraInfoResp) String() string
type CheckpointParam ¶
type CheckpointParam struct { AutoTrigger *bool `json:"auto_trigger,omitempty"` Description *string `json:"description,omitempty"` Incremental *bool `json:"incremental,omitempty"` Name *string `json:"name,omitempty"` Resources *[]string `json:"resources,omitempty"` ResourceDetails *[]Resource `json:"resource_details,omitempty"` }
func (CheckpointParam) String ¶
func (o CheckpointParam) String() string
type CheckpointPlanCreate ¶
type CheckpointPlanCreate struct { Id string `json:"id"` Name string `json:"name"` Resources *[]CheckpointResourceResp `json:"resources,omitempty"` SkippedResources *[]CheckpointCreateSkippedResource `json:"skipped_resources,omitempty"` }
func (CheckpointPlanCreate) String ¶
func (o CheckpointPlanCreate) String() string
type CheckpointReplicateParam ¶
type CheckpointReplicateParam struct { AutoTrigger *bool `json:"auto_trigger,omitempty"` DestinationProjectId string `json:"destination_project_id"` DestinationRegion string `json:"destination_region"` DestinationVaultId string `json:"destination_vault_id"` EnableAcceleration *bool `json:"enable_acceleration,omitempty"` VaultId string `json:"vault_id"` }
func (CheckpointReplicateParam) String ¶
func (o CheckpointReplicateParam) String() string
type CheckpointReplicateReq ¶
type CheckpointReplicateReq struct {
Replicate *CheckpointReplicateParam `json:"replicate"`
}
执行复制请求体
func (CheckpointReplicateReq) String ¶
func (o CheckpointReplicateReq) String() string
type CheckpointReplicateRespBody ¶
type CheckpointReplicateRespBody struct { Backups []CheckpointReplicateRespbackups `json:"backups"` DestinationProjectId string `json:"destination_project_id"` DestinationRegion string `json:"destination_region"` DestinationVaultId string `json:"destination_vault_id"` ProjectId string `json:"project_id"` ProviderId string `json:"provider_id"` SourceRegion string `json:"source_region"` VaultId string `json:"vault_id"` }
func (CheckpointReplicateRespBody) String ¶
func (o CheckpointReplicateRespBody) String() string
type CheckpointReplicateRespbackups ¶
type CheckpointReplicateRespbackups struct { BackupId string `json:"backup_id"` ReplicationRecordId string `json:"replication_record_id"` }
func (CheckpointReplicateRespbackups) String ¶
func (o CheckpointReplicateRespbackups) String() string
type CheckpointResourceResp ¶
type CheckpointResourceResp struct { ExtraInfo *string `json:"extra_info,omitempty"` Id string `json:"id"` Name string `json:"name"` ProtectStatus *CheckpointResourceRespProtectStatus `json:"protect_status,omitempty"` ResourceSize *string `json:"resource_size,omitempty"` Type string `json:"type"` BackupSize *string `json:"backup_size,omitempty"` BackupCount *string `json:"backup_count,omitempty"` }
func (CheckpointResourceResp) String ¶
func (o CheckpointResourceResp) String() string
type CheckpointResourceRespProtectStatus ¶
type CheckpointResourceRespProtectStatus struct {
// contains filtered or unexported fields
}
func (CheckpointResourceRespProtectStatus) MarshalJSON ¶
func (c CheckpointResourceRespProtectStatus) MarshalJSON() ([]byte, error)
func (*CheckpointResourceRespProtectStatus) UnmarshalJSON ¶
func (c *CheckpointResourceRespProtectStatus) UnmarshalJSON(b []byte) error
type CheckpointResourceRespProtectStatusEnum ¶
type CheckpointResourceRespProtectStatusEnum struct { AVAILABLE CheckpointResourceRespProtectStatus ERROR CheckpointResourceRespProtectStatus PROTECTING CheckpointResourceRespProtectStatus RESTORING CheckpointResourceRespProtectStatus REMOVING CheckpointResourceRespProtectStatus }
func GetCheckpointResourceRespProtectStatusEnum ¶
func GetCheckpointResourceRespProtectStatusEnum() CheckpointResourceRespProtectStatusEnum
type CopyBackupRequest ¶
type CopyBackupRequest struct { BackupId string `json:"backup_id"` Body *BackupReplicateReq `json:"body,omitempty"` }
Request Object
func (CopyBackupRequest) String ¶
func (o CopyBackupRequest) String() string
type CopyBackupResponse ¶
type CopyBackupResponse struct { Replication *BackupReplicateRespBody `json:"replication,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CopyBackupResponse) String ¶
func (o CopyBackupResponse) String() string
type CopyCheckpointRequest ¶
type CopyCheckpointRequest struct {
Body *CheckpointReplicateReq `json:"body,omitempty"`
}
Request Object
func (CopyCheckpointRequest) String ¶
func (o CopyCheckpointRequest) String() string
type CopyCheckpointResponse ¶
type CopyCheckpointResponse struct { Replication *CheckpointReplicateRespBody `json:"replication,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CopyCheckpointResponse) String ¶
func (o CopyCheckpointResponse) String() string
type CreateCheckpointRequest ¶
type CreateCheckpointRequest struct {
Body *VaultBackupReq `json:"body,omitempty"`
}
Request Object
func (CreateCheckpointRequest) String ¶
func (o CreateCheckpointRequest) String() string
type CreateCheckpointResponse ¶
type CreateCheckpointResponse struct { Checkpoint *CheckpointCreate `json:"checkpoint,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateCheckpointResponse) String ¶
func (o CreateCheckpointResponse) String() string
type CreatePolicyRequest ¶
type CreatePolicyRequest struct {
Body *PolicyCreateReq `json:"body,omitempty"`
}
Request Object
func (CreatePolicyRequest) String ¶
func (o CreatePolicyRequest) String() string
type CreatePolicyResponse ¶
type CreatePolicyResponse struct { Policy *Policy `json:"policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePolicyResponse) String ¶
func (o CreatePolicyResponse) String() string
type CreateVaultRequest ¶
type CreateVaultRequest struct {
Body *VaultCreateReq `json:"body,omitempty"`
}
Request Object
func (CreateVaultRequest) String ¶
func (o CreateVaultRequest) String() string
type CreateVaultResponse ¶
type CreateVaultResponse struct { Vault *Vault `json:"vault,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateVaultResponse) String ¶
func (o CreateVaultResponse) String() string
type CreateVaultTagsRequest ¶
type CreateVaultTagsRequest struct { VaultId string `json:"vault_id"` Body *VaultTagsCreateReq `json:"body,omitempty"` }
Request Object
func (CreateVaultTagsRequest) String ¶
func (o CreateVaultTagsRequest) String() string
type CreateVaultTagsResponse ¶
type CreateVaultTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateVaultTagsResponse) String ¶
func (o CreateVaultTagsResponse) String() string
type DeleteBackupRequest ¶
type DeleteBackupRequest struct {
BackupId string `json:"backup_id"`
}
Request Object
func (DeleteBackupRequest) String ¶
func (o DeleteBackupRequest) String() string
type DeleteBackupResponse ¶
type DeleteBackupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteBackupResponse) String ¶
func (o DeleteBackupResponse) String() string
type DeleteMemberRequest ¶
type DeleteMemberRequest struct { BackupId string `json:"backup_id"` MemberId string `json:"member_id"` }
Request Object
func (DeleteMemberRequest) String ¶
func (o DeleteMemberRequest) String() string
type DeleteMemberResponse ¶
type DeleteMemberResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteMemberResponse) String ¶
func (o DeleteMemberResponse) String() string
type DeletePolicyRequest ¶
type DeletePolicyRequest struct {
PolicyId string `json:"policy_id"`
}
Request Object
func (DeletePolicyRequest) String ¶
func (o DeletePolicyRequest) String() string
type DeletePolicyResponse ¶
type DeletePolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeletePolicyResponse) String ¶
func (o DeletePolicyResponse) String() string
type DeleteVaultRequest ¶
type DeleteVaultRequest struct {
VaultId string `json:"vault_id"`
}
Request Object
func (DeleteVaultRequest) String ¶
func (o DeleteVaultRequest) String() string
type DeleteVaultResponse ¶
type DeleteVaultResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteVaultResponse) String ¶
func (o DeleteVaultResponse) String() string
type DeleteVaultTagRequest ¶
Request Object
func (DeleteVaultTagRequest) String ¶
func (o DeleteVaultTagRequest) String() string
type DeleteVaultTagResponse ¶
type DeleteVaultTagResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteVaultTagResponse) String ¶
func (o DeleteVaultTagResponse) String() string
type DisassociateVaultPolicyRequest ¶
type DisassociateVaultPolicyRequest struct { VaultId string `json:"vault_id"` Body *VaultDissociate `json:"body,omitempty"` }
Request Object
func (DisassociateVaultPolicyRequest) String ¶
func (o DisassociateVaultPolicyRequest) String() string
type DisassociateVaultPolicyResponse ¶
type DisassociateVaultPolicyResponse struct { DissociatePolicy *VaultPolicyResp `json:"dissociate_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DisassociateVaultPolicyResponse) String ¶
func (o DisassociateVaultPolicyResponse) String() string
type ImportBackupRequest ¶
type ImportBackupRequest struct {
Body *BackupSyncReq `json:"body,omitempty"`
}
Request Object
func (ImportBackupRequest) String ¶
func (o ImportBackupRequest) String() string
type ImportBackupResponse ¶
type ImportBackupResponse struct { Sync *[]BackupSyncRespBody `json:"sync,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ImportBackupResponse) String ¶
func (o ImportBackupResponse) String() string
type ListBackupsRequest ¶
type ListBackupsRequest struct { CheckpointId *string `json:"checkpoint_id,omitempty"` Dec *bool `json:"dec,omitempty"` EndTime *string `json:"end_time,omitempty"` ImageType *ListBackupsRequestImageType `json:"image_type,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Name *string `json:"name,omitempty"` Offset *int32 `json:"offset,omitempty"` ResourceAz *string `json:"resource_az,omitempty"` ResourceId *string `json:"resource_id,omitempty"` ResourceName *string `json:"resource_name,omitempty"` ResourceType *ListBackupsRequestResourceType `json:"resource_type,omitempty"` Sort *string `json:"sort,omitempty"` StartTime *string `json:"start_time,omitempty"` Status *ListBackupsRequestStatus `json:"status,omitempty"` VaultId *string `json:"vault_id,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` OwnType *ListBackupsRequestOwnType `json:"own_type,omitempty"` MemberStatus *ListBackupsRequestMemberStatus `json:"member_status,omitempty"` ParentId *string `json:"parent_id,omitempty"` UsedPercent *string `json:"used_percent,omitempty"` }
Request Object
func (ListBackupsRequest) String ¶
func (o ListBackupsRequest) String() string
type ListBackupsRequestImageType ¶
type ListBackupsRequestImageType struct {
// contains filtered or unexported fields
}
func (ListBackupsRequestImageType) MarshalJSON ¶
func (c ListBackupsRequestImageType) MarshalJSON() ([]byte, error)
func (*ListBackupsRequestImageType) UnmarshalJSON ¶
func (c *ListBackupsRequestImageType) UnmarshalJSON(b []byte) error
type ListBackupsRequestImageTypeEnum ¶
type ListBackupsRequestImageTypeEnum struct { BACKUP ListBackupsRequestImageType REPLICATION ListBackupsRequestImageType }
func GetListBackupsRequestImageTypeEnum ¶
func GetListBackupsRequestImageTypeEnum() ListBackupsRequestImageTypeEnum
type ListBackupsRequestMemberStatus ¶
type ListBackupsRequestMemberStatus struct {
// contains filtered or unexported fields
}
func (ListBackupsRequestMemberStatus) MarshalJSON ¶
func (c ListBackupsRequestMemberStatus) MarshalJSON() ([]byte, error)
func (*ListBackupsRequestMemberStatus) UnmarshalJSON ¶
func (c *ListBackupsRequestMemberStatus) UnmarshalJSON(b []byte) error
type ListBackupsRequestMemberStatusEnum ¶
type ListBackupsRequestMemberStatusEnum struct { PENDING ListBackupsRequestMemberStatus ACCEPT ListBackupsRequestMemberStatus REJECT ListBackupsRequestMemberStatus }
func GetListBackupsRequestMemberStatusEnum ¶
func GetListBackupsRequestMemberStatusEnum() ListBackupsRequestMemberStatusEnum
type ListBackupsRequestOwnType ¶
type ListBackupsRequestOwnType struct {
// contains filtered or unexported fields
}
func (ListBackupsRequestOwnType) MarshalJSON ¶
func (c ListBackupsRequestOwnType) MarshalJSON() ([]byte, error)
func (*ListBackupsRequestOwnType) UnmarshalJSON ¶
func (c *ListBackupsRequestOwnType) UnmarshalJSON(b []byte) error
type ListBackupsRequestOwnTypeEnum ¶
type ListBackupsRequestOwnTypeEnum struct { ALL_GRANTED ListBackupsRequestOwnType PRIVATE ListBackupsRequestOwnType SHARED ListBackupsRequestOwnType }
func GetListBackupsRequestOwnTypeEnum ¶
func GetListBackupsRequestOwnTypeEnum() ListBackupsRequestOwnTypeEnum
type ListBackupsRequestResourceType ¶
type ListBackupsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListBackupsRequestResourceType) MarshalJSON ¶
func (c ListBackupsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListBackupsRequestResourceType) UnmarshalJSON ¶
func (c *ListBackupsRequestResourceType) UnmarshalJSON(b []byte) error
type ListBackupsRequestResourceTypeEnum ¶
type ListBackupsRequestResourceTypeEnum struct { OSCINDERVOLUME ListBackupsRequestResourceType OSNOVASERVER ListBackupsRequestResourceType }
func GetListBackupsRequestResourceTypeEnum ¶
func GetListBackupsRequestResourceTypeEnum() ListBackupsRequestResourceTypeEnum
type ListBackupsRequestStatus ¶
type ListBackupsRequestStatus struct {
// contains filtered or unexported fields
}
func (ListBackupsRequestStatus) MarshalJSON ¶
func (c ListBackupsRequestStatus) MarshalJSON() ([]byte, error)
func (*ListBackupsRequestStatus) UnmarshalJSON ¶
func (c *ListBackupsRequestStatus) UnmarshalJSON(b []byte) error
type ListBackupsRequestStatusEnum ¶
type ListBackupsRequestStatusEnum struct { AVAILABLE ListBackupsRequestStatus PROTECTING ListBackupsRequestStatus DELETING ListBackupsRequestStatus RESTORING ListBackupsRequestStatus ERROR ListBackupsRequestStatus WAITING_PROTECT ListBackupsRequestStatus WAITING_DELETE ListBackupsRequestStatus WAITING_RESTORE ListBackupsRequestStatus }
func GetListBackupsRequestStatusEnum ¶
func GetListBackupsRequestStatusEnum() ListBackupsRequestStatusEnum
type ListBackupsResponse ¶
type ListBackupsResponse struct { Backups *[]BackupResp `json:"backups,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBackupsResponse) String ¶
func (o ListBackupsResponse) String() string
type ListOpLogsRequest ¶
type ListOpLogsRequest struct { EndTime *string `json:"end_time,omitempty"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` OperationType *ListOpLogsRequestOperationType `json:"operation_type,omitempty"` ProviderId *string `json:"provider_id,omitempty"` ResourceId *string `json:"resource_id,omitempty"` ResourceName *string `json:"resource_name,omitempty"` StartTime *string `json:"start_time,omitempty"` Status *ListOpLogsRequestStatus `json:"status,omitempty"` VaultId *string `json:"vault_id,omitempty"` VaultName *string `json:"vault_name,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ListOpLogsRequest) String ¶
func (o ListOpLogsRequest) String() string
type ListOpLogsRequestOperationType ¶
type ListOpLogsRequestOperationType struct {
// contains filtered or unexported fields
}
func (ListOpLogsRequestOperationType) MarshalJSON ¶
func (c ListOpLogsRequestOperationType) MarshalJSON() ([]byte, error)
func (*ListOpLogsRequestOperationType) UnmarshalJSON ¶
func (c *ListOpLogsRequestOperationType) UnmarshalJSON(b []byte) error
type ListOpLogsRequestOperationTypeEnum ¶
type ListOpLogsRequestOperationTypeEnum struct { BACKUP ListOpLogsRequestOperationType COPY ListOpLogsRequestOperationType REPLICATION ListOpLogsRequestOperationType DELETE ListOpLogsRequestOperationType RESTORE ListOpLogsRequestOperationType VAULT_DELETE ListOpLogsRequestOperationType REMOVE_RESOURCE ListOpLogsRequestOperationType SYNC ListOpLogsRequestOperationType }
func GetListOpLogsRequestOperationTypeEnum ¶
func GetListOpLogsRequestOperationTypeEnum() ListOpLogsRequestOperationTypeEnum
type ListOpLogsRequestStatus ¶
type ListOpLogsRequestStatus struct {
// contains filtered or unexported fields
}
func (ListOpLogsRequestStatus) MarshalJSON ¶
func (c ListOpLogsRequestStatus) MarshalJSON() ([]byte, error)
func (*ListOpLogsRequestStatus) UnmarshalJSON ¶
func (c *ListOpLogsRequestStatus) UnmarshalJSON(b []byte) error
type ListOpLogsRequestStatusEnum ¶
type ListOpLogsRequestStatusEnum struct { SUCCESS ListOpLogsRequestStatus SKIPPED ListOpLogsRequestStatus FAILED ListOpLogsRequestStatus RUNNING ListOpLogsRequestStatus TIMEOUT ListOpLogsRequestStatus WAITING ListOpLogsRequestStatus }
func GetListOpLogsRequestStatusEnum ¶
func GetListOpLogsRequestStatusEnum() ListOpLogsRequestStatusEnum
type ListOpLogsResponse ¶
type ListOpLogsResponse struct { OperationLogs *[]OperationLog `json:"operation_logs,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListOpLogsResponse) String ¶
func (o ListOpLogsResponse) String() string
type ListPoliciesRequest ¶
type ListPoliciesRequest struct { OperationType *ListPoliciesRequestOperationType `json:"operation_type,omitempty"` VaultId *string `json:"vault_id,omitempty"` }
Request Object
func (ListPoliciesRequest) String ¶
func (o ListPoliciesRequest) String() string
type ListPoliciesRequestOperationType ¶
type ListPoliciesRequestOperationType struct {
// contains filtered or unexported fields
}
func (ListPoliciesRequestOperationType) MarshalJSON ¶
func (c ListPoliciesRequestOperationType) MarshalJSON() ([]byte, error)
func (*ListPoliciesRequestOperationType) UnmarshalJSON ¶
func (c *ListPoliciesRequestOperationType) UnmarshalJSON(b []byte) error
type ListPoliciesRequestOperationTypeEnum ¶
type ListPoliciesRequestOperationTypeEnum struct { BACKUP ListPoliciesRequestOperationType REPLICATION ListPoliciesRequestOperationType }
func GetListPoliciesRequestOperationTypeEnum ¶
func GetListPoliciesRequestOperationTypeEnum() ListPoliciesRequestOperationTypeEnum
type ListPoliciesResponse ¶
type ListPoliciesResponse struct { Policies *[]Policy `json:"policies,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPoliciesResponse) String ¶
func (o ListPoliciesResponse) String() string
type ListProtectableRequest ¶
type ListProtectableRequest struct { Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Name *string `json:"name,omitempty"` Offset *int32 `json:"offset,omitempty"` ProtectableType ListProtectableRequestProtectableType `json:"protectable_type"` Status *string `json:"status,omitempty"` Id *string `json:"id,omitempty"` ServerId *string `json:"server_id,omitempty"` }
Request Object
func (ListProtectableRequest) String ¶
func (o ListProtectableRequest) String() string
type ListProtectableRequestProtectableType ¶
type ListProtectableRequestProtectableType struct {
// contains filtered or unexported fields
}
func (ListProtectableRequestProtectableType) MarshalJSON ¶
func (c ListProtectableRequestProtectableType) MarshalJSON() ([]byte, error)
func (*ListProtectableRequestProtectableType) UnmarshalJSON ¶
func (c *ListProtectableRequestProtectableType) UnmarshalJSON(b []byte) error
type ListProtectableRequestProtectableTypeEnum ¶
type ListProtectableRequestProtectableTypeEnum struct { SERVER ListProtectableRequestProtectableType DISK ListProtectableRequestProtectableType }
func GetListProtectableRequestProtectableTypeEnum ¶
func GetListProtectableRequestProtectableTypeEnum() ListProtectableRequestProtectableTypeEnum
type ListProtectableResponse ¶
type ListProtectableResponse struct { Instances *[]ProtectablesResp `json:"instances,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProtectableResponse) String ¶
func (o ListProtectableResponse) String() string
type ListVaultRequest ¶
type ListVaultRequest struct { Limit *int32 `json:"limit,omitempty"` Name *string `json:"name,omitempty"` Offset *int32 `json:"offset,omitempty"` CloudType *ListVaultRequestCloudType `json:"cloud_type,omitempty"` ProtectType *ListVaultRequestProtectType `json:"protect_type,omitempty"` ObjectType *string `json:"object_type,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Id *string `json:"id,omitempty"` PolicyId *string `json:"policy_id,omitempty"` Status *string `json:"status,omitempty"` ResourceIds *string `json:"resource_ids,omitempty"` }
Request Object
func (ListVaultRequest) String ¶
func (o ListVaultRequest) String() string
type ListVaultRequestCloudType ¶
type ListVaultRequestCloudType struct {
// contains filtered or unexported fields
}
func (ListVaultRequestCloudType) MarshalJSON ¶
func (c ListVaultRequestCloudType) MarshalJSON() ([]byte, error)
func (*ListVaultRequestCloudType) UnmarshalJSON ¶
func (c *ListVaultRequestCloudType) UnmarshalJSON(b []byte) error
type ListVaultRequestCloudTypeEnum ¶
type ListVaultRequestCloudTypeEnum struct { PUBLIC ListVaultRequestCloudType HYBRID ListVaultRequestCloudType }
func GetListVaultRequestCloudTypeEnum ¶
func GetListVaultRequestCloudTypeEnum() ListVaultRequestCloudTypeEnum
type ListVaultRequestProtectType ¶
type ListVaultRequestProtectType struct {
// contains filtered or unexported fields
}
func (ListVaultRequestProtectType) MarshalJSON ¶
func (c ListVaultRequestProtectType) MarshalJSON() ([]byte, error)
func (*ListVaultRequestProtectType) UnmarshalJSON ¶
func (c *ListVaultRequestProtectType) UnmarshalJSON(b []byte) error
type ListVaultRequestProtectTypeEnum ¶
type ListVaultRequestProtectTypeEnum struct { BACKUP ListVaultRequestProtectType REPLICATION ListVaultRequestProtectType }
func GetListVaultRequestProtectTypeEnum ¶
func GetListVaultRequestProtectTypeEnum() ListVaultRequestProtectTypeEnum
type ListVaultResponse ¶
type ListVaultResponse struct { Vaults *[]Vault `json:"vaults,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListVaultResponse) String ¶
func (o ListVaultResponse) String() string
type Member ¶
type Member struct { Status MemberStatus `json:"status"` CreatedAt *string `json:"created_at,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` BackupId *string `json:"backup_id,omitempty"` ImageId *string `json:"image_id,omitempty"` DestProjectId *string `json:"dest_project_id,omitempty"` VaultId *string `json:"vault_id,omitempty"` Id *string `json:"id,omitempty"` }
type MemberStatus ¶
type MemberStatus struct {
// contains filtered or unexported fields
}
func (MemberStatus) MarshalJSON ¶
func (c MemberStatus) MarshalJSON() ([]byte, error)
func (*MemberStatus) UnmarshalJSON ¶
func (c *MemberStatus) UnmarshalJSON(b []byte) error
type MemberStatusEnum ¶
type MemberStatusEnum struct { PENDING MemberStatus ACCEPTED MemberStatus REJECTED MemberStatus }
func GetMemberStatusEnum ¶
func GetMemberStatusEnum() MemberStatusEnum
type MigrateVaultResourceRequest ¶
type MigrateVaultResourceRequest struct { VaultId string `json:"vault_id"` Body *VaultMigrateResourceReq `json:"body,omitempty"` }
Request Object
func (MigrateVaultResourceRequest) String ¶
func (o MigrateVaultResourceRequest) String() string
type MigrateVaultResourceResponse ¶
type MigrateVaultResourceResponse struct { MigratedResources *[]string `json:"migrated_resources,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (MigrateVaultResourceResponse) String ¶
func (o MigrateVaultResourceResponse) String() string
type OpErrorInfo ¶
type OpErrorInfo struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
func (OpErrorInfo) String ¶
func (o OpErrorInfo) String() string
type OpExtendInfoBckup ¶
type OpExtendInfoBckup struct { AppConsistencyErrorCode *string `json:"app_consistency_error_code,omitempty"` AppConsistencyErrorMessage *string `json:"app_consistency_error_message,omitempty"` AppConsistencyStatus *OpExtendInfoBckupAppConsistencyStatus `json:"app_consistency_status,omitempty"` BackupId string `json:"backup_id"` BackupName *string `json:"backup_name,omitempty"` Incremental *OpExtendInfoBckupIncremental `json:"incremental,omitempty"` }
func (OpExtendInfoBckup) String ¶
func (o OpExtendInfoBckup) String() string
type OpExtendInfoBckupAppConsistencyStatus ¶
type OpExtendInfoBckupAppConsistencyStatus struct {
// contains filtered or unexported fields
}
func (OpExtendInfoBckupAppConsistencyStatus) MarshalJSON ¶
func (c OpExtendInfoBckupAppConsistencyStatus) MarshalJSON() ([]byte, error)
func (*OpExtendInfoBckupAppConsistencyStatus) UnmarshalJSON ¶
func (c *OpExtendInfoBckupAppConsistencyStatus) UnmarshalJSON(b []byte) error
type OpExtendInfoBckupAppConsistencyStatusEnum ¶
type OpExtendInfoBckupAppConsistencyStatusEnum struct { E_0 OpExtendInfoBckupAppConsistencyStatus E_1 OpExtendInfoBckupAppConsistencyStatus }
func GetOpExtendInfoBckupAppConsistencyStatusEnum ¶
func GetOpExtendInfoBckupAppConsistencyStatusEnum() OpExtendInfoBckupAppConsistencyStatusEnum
type OpExtendInfoBckupIncremental ¶
type OpExtendInfoBckupIncremental struct {
// contains filtered or unexported fields
}
func (OpExtendInfoBckupIncremental) MarshalJSON ¶
func (c OpExtendInfoBckupIncremental) MarshalJSON() ([]byte, error)
func (*OpExtendInfoBckupIncremental) UnmarshalJSON ¶
func (c *OpExtendInfoBckupIncremental) UnmarshalJSON(b []byte) error
type OpExtendInfoBckupIncrementalEnum ¶
type OpExtendInfoBckupIncrementalEnum struct { TRUE OpExtendInfoBckupIncremental FALSE OpExtendInfoBckupIncremental }
func GetOpExtendInfoBckupIncrementalEnum ¶
func GetOpExtendInfoBckupIncrementalEnum() OpExtendInfoBckupIncrementalEnum
type OpExtendInfoCommon ¶
type OpExtendInfoCommon struct { Progress int32 `json:"progress"` RequestId string `json:"request_id"` TaskId *string `json:"task_id,omitempty"` }
func (OpExtendInfoCommon) String ¶
func (o OpExtendInfoCommon) String() string
type OpExtendInfoDelete ¶
type OpExtendInfoDelete struct { BackupId string `json:"backup_id"` BackupName string `json:"backup_name"` }
func (OpExtendInfoDelete) String ¶
func (o OpExtendInfoDelete) String() string
type OpExtendInfoRemoveResources ¶
type OpExtendInfoRemoveResources struct { FailCount *int32 `json:"fail_count,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` Resources *[]Resource `json:"resources,omitempty"` }
func (OpExtendInfoRemoveResources) String ¶
func (o OpExtendInfoRemoveResources) String() string
type OpExtendInfoReplication ¶
type OpExtendInfoReplication struct { DestinationBackupId *string `json:"destination_backup_id,omitempty"` DestinationCheckpointId *string `json:"destination_checkpoint_id,omitempty"` DestinationProjectId string `json:"destination_project_id"` DestinationRegion string `json:"destination_region"` SourceBackupId string `json:"source_backup_id"` SourceCheckpointId *string `json:"source_checkpoint_id,omitempty"` SourceProjectId string `json:"source_project_id"` SourceRegion string `json:"source_region"` SourceBackupName *string `json:"source_backup_name,omitempty"` DestinationBackupName *string `json:"destination_backup_name,omitempty"` }
func (OpExtendInfoReplication) String ¶
func (o OpExtendInfoReplication) String() string
type OpExtendInfoRestore ¶
type OpExtendInfoRestore struct { BackupId *string `json:"backup_id,omitempty"` BackupName *string `json:"backup_name,omitempty"` TargetResourceId *string `json:"target_resource_id,omitempty"` TargetResourceName *string `json:"target_resource_name,omitempty"` }
func (OpExtendInfoRestore) String ¶
func (o OpExtendInfoRestore) String() string
type OpExtendInfoSync ¶
type OpExtendInfoSync struct { SyncBackupNum *int32 `json:"sync_backup_num,omitempty"` DeleteBackupNum *int32 `json:"delete_backup_num,omitempty"` ErrSyncBackupNum *int32 `json:"err_sync_backup_num,omitempty"` }
func (OpExtendInfoSync) String ¶
func (o OpExtendInfoSync) String() string
type OpExtendInfoVaultDelete ¶
type OpExtendInfoVaultDelete struct { FailCount *int32 `json:"fail_count,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` }
func (OpExtendInfoVaultDelete) String ¶
func (o OpExtendInfoVaultDelete) String() string
type OpExtraInfo ¶
type OpExtraInfo struct { Backup *OpExtendInfoBckup `json:"backup,omitempty"` Common *OpExtendInfoCommon `json:"common"` Delete *OpExtendInfoDelete `json:"delete,omitempty"` Sync *OpExtendInfoSync `json:"sync,omitempty"` RemoveResources *OpExtendInfoRemoveResources `json:"remove_resources,omitempty"` Replication *OpExtendInfoReplication `json:"replication,omitempty"` Resource *Resource `json:"resource"` Restore *OpExtendInfoRestore `json:"restore,omitempty"` VaultDelete *OpExtendInfoVaultDelete `json:"vault_delete,omitempty"` }
func (OpExtraInfo) String ¶
func (o OpExtraInfo) String() string
type OperationLog ¶
type OperationLog struct { CheckpointId *string `json:"checkpoint_id,omitempty"` CreatedAt string `json:"created_at"` EndedAt *string `json:"ended_at,omitempty"` ErrorInfo *OpErrorInfo `json:"error_info"` ExtraInfo *OpExtraInfo `json:"extra_info,omitempty"` Id string `json:"id"` OperationType *OperationLogOperationType `json:"operation_type,omitempty"` PolicyId *string `json:"policy_id,omitempty"` ProjectId string `json:"project_id"` ProviderId *string `json:"provider_id,omitempty"` StartedAt string `json:"started_at"` Status OperationLogStatus `json:"status"` UpdatedAt string `json:"updated_at"` VaultId *string `json:"vault_id,omitempty"` VaultName *string `json:"vault_name,omitempty"` }
func (OperationLog) String ¶
func (o OperationLog) String() string
type OperationLogOperationType ¶
type OperationLogOperationType struct {
// contains filtered or unexported fields
}
func (OperationLogOperationType) MarshalJSON ¶
func (c OperationLogOperationType) MarshalJSON() ([]byte, error)
func (*OperationLogOperationType) UnmarshalJSON ¶
func (c *OperationLogOperationType) UnmarshalJSON(b []byte) error
type OperationLogOperationTypeEnum ¶
type OperationLogOperationTypeEnum struct { BACKUP OperationLogOperationType COPY OperationLogOperationType REPLICATION OperationLogOperationType RESTORE OperationLogOperationType DELETE OperationLogOperationType SYNC OperationLogOperationType VAULT_DELETE OperationLogOperationType REMOVE_RESOURCE OperationLogOperationType }
func GetOperationLogOperationTypeEnum ¶
func GetOperationLogOperationTypeEnum() OperationLogOperationTypeEnum
type OperationLogStatus ¶
type OperationLogStatus struct {
// contains filtered or unexported fields
}
func (OperationLogStatus) MarshalJSON ¶
func (c OperationLogStatus) MarshalJSON() ([]byte, error)
func (*OperationLogStatus) UnmarshalJSON ¶
func (c *OperationLogStatus) UnmarshalJSON(b []byte) error
type OperationLogStatusEnum ¶
type OperationLogStatusEnum struct { SUCCESS OperationLogStatus SKIPPED OperationLogStatus FAILED OperationLogStatus RUNNING OperationLogStatus TIMEOUT OperationLogStatus WAITING OperationLogStatus }
func GetOperationLogStatusEnum ¶
func GetOperationLogStatusEnum() OperationLogStatusEnum
type Policy ¶
type Policy struct { Enabled bool `json:"enabled"` Id string `json:"id"` Name string `json:"name"` OperationDefinition *PolicyoOdCreate `json:"operation_definition"` OperationType PolicyOperationType `json:"operation_type"` Trigger *PolicyTriggerResp `json:"trigger"` AssociatedVaults *[]PolicyAssociateVault `json:"associated_vaults,omitempty"` }
type PolicyAssociateVault ¶
type PolicyAssociateVault struct { DestinationVaultId *string `json:"destination_vault_id,omitempty"` VaultId string `json:"vault_id"` }
func (PolicyAssociateVault) String ¶
func (o PolicyAssociateVault) String() string
type PolicyCreate ¶
type PolicyCreate struct { Enabled *bool `json:"enabled,omitempty"` Name string `json:"name"` OperationDefinition *PolicyoOdCreate `json:"operation_definition"` OperationType PolicyCreateOperationType `json:"operation_type"` Trigger *PolicyTriggerReq `json:"trigger"` }
func (PolicyCreate) String ¶
func (o PolicyCreate) String() string
type PolicyCreateOperationType ¶
type PolicyCreateOperationType struct {
// contains filtered or unexported fields
}
func (PolicyCreateOperationType) MarshalJSON ¶
func (c PolicyCreateOperationType) MarshalJSON() ([]byte, error)
func (*PolicyCreateOperationType) UnmarshalJSON ¶
func (c *PolicyCreateOperationType) UnmarshalJSON(b []byte) error
type PolicyCreateOperationTypeEnum ¶
type PolicyCreateOperationTypeEnum struct { BACKUP PolicyCreateOperationType REPLICATION PolicyCreateOperationType }
func GetPolicyCreateOperationTypeEnum ¶
func GetPolicyCreateOperationTypeEnum() PolicyCreateOperationTypeEnum
type PolicyCreateReq ¶
type PolicyCreateReq struct {
Policy *PolicyCreate `json:"policy"`
}
func (PolicyCreateReq) String ¶
func (o PolicyCreateReq) String() string
type PolicyOperationType ¶
type PolicyOperationType struct {
// contains filtered or unexported fields
}
func (PolicyOperationType) MarshalJSON ¶
func (c PolicyOperationType) MarshalJSON() ([]byte, error)
func (*PolicyOperationType) UnmarshalJSON ¶
func (c *PolicyOperationType) UnmarshalJSON(b []byte) error
type PolicyOperationTypeEnum ¶
type PolicyOperationTypeEnum struct { BACKUP PolicyOperationType REPLICATION PolicyOperationType }
func GetPolicyOperationTypeEnum ¶
func GetPolicyOperationTypeEnum() PolicyOperationTypeEnum
type PolicyTriggerPropertiesReq ¶
type PolicyTriggerPropertiesReq struct {
Pattern []string `json:"pattern"`
}
func (PolicyTriggerPropertiesReq) String ¶
func (o PolicyTriggerPropertiesReq) String() string
type PolicyTriggerPropertiesResp ¶
type PolicyTriggerPropertiesResp struct { Pattern []string `json:"pattern"` StartTime *string `json:"start_time,omitempty"` }
func (PolicyTriggerPropertiesResp) String ¶
func (o PolicyTriggerPropertiesResp) String() string
type PolicyTriggerReq ¶
type PolicyTriggerReq struct {
Properties *PolicyTriggerPropertiesReq `json:"properties"`
}
func (PolicyTriggerReq) String ¶
func (o PolicyTriggerReq) String() string
type PolicyTriggerResp ¶
type PolicyTriggerResp struct { Id string `json:"id"` Name *string `json:"name,omitempty"` Properties *PolicyTriggerPropertiesResp `json:"properties"` Type *PolicyTriggerRespType `json:"type,omitempty"` }
func (PolicyTriggerResp) String ¶
func (o PolicyTriggerResp) String() string
type PolicyTriggerRespType ¶
type PolicyTriggerRespType struct {
// contains filtered or unexported fields
}
func (PolicyTriggerRespType) MarshalJSON ¶
func (c PolicyTriggerRespType) MarshalJSON() ([]byte, error)
func (*PolicyTriggerRespType) UnmarshalJSON ¶
func (c *PolicyTriggerRespType) UnmarshalJSON(b []byte) error
type PolicyTriggerRespTypeEnum ¶
type PolicyTriggerRespTypeEnum struct {
TIME PolicyTriggerRespType
}
func GetPolicyTriggerRespTypeEnum ¶
func GetPolicyTriggerRespTypeEnum() PolicyTriggerRespTypeEnum
type PolicyUpdate ¶
type PolicyUpdate struct { Enabled *bool `json:"enabled,omitempty"` Name *string `json:"name,omitempty"` OperationDefinition *PolicyoOdCreate `json:"operation_definition,omitempty"` Trigger *PolicyTriggerReq `json:"trigger,omitempty"` }
func (PolicyUpdate) String ¶
func (o PolicyUpdate) String() string
type PolicyUpdateReq ¶
type PolicyUpdateReq struct {
Policy *PolicyUpdate `json:"policy"`
}
策略修改body
func (PolicyUpdateReq) String ¶
func (o PolicyUpdateReq) String() string
type PolicyoOdCreate ¶
type PolicyoOdCreate struct { DayBackups *int32 `json:"day_backups,omitempty"` DestinationProjectId *string `json:"destination_project_id,omitempty"` DestinationRegion *string `json:"destination_region,omitempty"` EnableAcceleration *bool `json:"enable_acceleration,omitempty"` MaxBackups *int32 `json:"max_backups,omitempty"` MonthBackups *int32 `json:"month_backups,omitempty"` RetentionDurationDays *int32 `json:"retention_duration_days,omitempty"` Timezone *string `json:"timezone,omitempty"` WeekBackups *int32 `json:"week_backups,omitempty"` YearBackups *int32 `json:"year_backups,omitempty"` }
func (PolicyoOdCreate) String ¶
func (o PolicyoOdCreate) String() string
type ProtectableReplicationCapabilitiesRespRegion ¶
type ProtectableReplicationCapabilitiesRespRegion struct { Name string `json:"name"` ReplicationDestinations []string `json:"replication_destinations"` }
func (ProtectableReplicationCapabilitiesRespRegion) String ¶
func (o ProtectableReplicationCapabilitiesRespRegion) String() string
type ProtectableResult ¶
type ProtectableResult struct { Code *string `json:"code,omitempty"` Reason *string `json:"reason,omitempty"` Result string `json:"result"` Vault *VaultGet `json:"vault,omitempty"` }
func (ProtectableResult) String ¶
func (o ProtectableResult) String() string
type ProtectablesResp ¶
type ProtectablesResp struct { Children []interface{} `json:"children"` Detail *interface{} `json:"detail,omitempty"` Id string `json:"id"` Name string `json:"name"` Protectable *ProtectableResult `json:"protectable"` Size *string `json:"size,omitempty"` Status *ProtectablesRespStatus `json:"status,omitempty"` Type string `json:"type"` }
func (ProtectablesResp) String ¶
func (o ProtectablesResp) String() string
type ProtectablesRespStatus ¶
type ProtectablesRespStatus struct {
// contains filtered or unexported fields
}
func (ProtectablesRespStatus) MarshalJSON ¶
func (c ProtectablesRespStatus) MarshalJSON() ([]byte, error)
func (*ProtectablesRespStatus) UnmarshalJSON ¶
func (c *ProtectablesRespStatus) UnmarshalJSON(b []byte) error
type ProtectablesRespStatusEnum ¶
type ProtectablesRespStatusEnum struct { ACTIVE ProtectablesRespStatus DELETED ProtectablesRespStatus ERROR ProtectablesRespStatus }
func GetProtectablesRespStatusEnum ¶
func GetProtectablesRespStatusEnum() ProtectablesRespStatusEnum
type RemoveVaultResourceRequest ¶
type RemoveVaultResourceRequest struct { VaultId string `json:"vault_id"` Body *VaultRemoveResourceReq `json:"body,omitempty"` }
Request Object
func (RemoveVaultResourceRequest) String ¶
func (o RemoveVaultResourceRequest) String() string
type RemoveVaultResourceResponse ¶
type RemoveVaultResourceResponse struct { RemoveResourceIds *[]string `json:"remove_resource_ids,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RemoveVaultResourceResponse) String ¶
func (o RemoveVaultResourceResponse) String() string
type ReplicationRecordGet ¶
type ReplicationRecordGet struct { CreatedAt *string `json:"created_at,omitempty"` DestinationBackupId *string `json:"destination_backup_id,omitempty"` DestinationCheckpointId *string `json:"destination_checkpoint_id,omitempty"` DestinationProjectId *string `json:"destination_project_id,omitempty"` DestinationRegion *string `json:"destination_region,omitempty"` DestinationVaultId *string `json:"destination_vault_id,omitempty"` ExtraInfo *string `json:"extra_info,omitempty"` Id string `json:"id"` SourceBackupId *string `json:"source_backup_id,omitempty"` SourceCheckpointId *string `json:"source_checkpoint_id,omitempty"` SourceProjectId *string `json:"source_project_id,omitempty"` SourceRegion *string `json:"source_region,omitempty"` Status *ReplicationRecordGetStatus `json:"status,omitempty"` VaultId *string `json:"vault_id,omitempty"` }
func (ReplicationRecordGet) String ¶
func (o ReplicationRecordGet) String() string
type ReplicationRecordGetStatus ¶
type ReplicationRecordGetStatus struct {
// contains filtered or unexported fields
}
func (ReplicationRecordGetStatus) MarshalJSON ¶
func (c ReplicationRecordGetStatus) MarshalJSON() ([]byte, error)
func (*ReplicationRecordGetStatus) UnmarshalJSON ¶
func (c *ReplicationRecordGetStatus) UnmarshalJSON(b []byte) error
type ReplicationRecordGetStatusEnum ¶
type ReplicationRecordGetStatusEnum struct { REPLICATING ReplicationRecordGetStatus SUCCESS ReplicationRecordGetStatus FAIL ReplicationRecordGetStatus SKIP ReplicationRecordGetStatus WAITING_REPLICATE ReplicationRecordGetStatus }
func GetReplicationRecordGetStatusEnum ¶
func GetReplicationRecordGetStatusEnum() ReplicationRecordGetStatusEnum
type Resource ¶
type Resource struct { ExtraInfo *ResourceExtraInfo `json:"extra_info,omitempty"` Id string `json:"id"` Name *string `json:"name,omitempty"` Type string `json:"type"` }
type ResourceCreate ¶
type ResourceCreate struct { ExtraInfo *ResourceExtraInfo `json:"extra_info,omitempty"` Id string `json:"id"` Type string `json:"type"` Name *string `json:"name,omitempty"` }
func (ResourceCreate) String ¶
func (o ResourceCreate) String() string
type ResourceExtraInfo ¶
type ResourceExtraInfo struct { ExcludeVolumes *[]string `json:"exclude_volumes,omitempty"` IncludeVolumes *[]ResourceExtraInfoIncludeVolumes `json:"include_volumes,omitempty"` }
func (ResourceExtraInfo) String ¶
func (o ResourceExtraInfo) String() string
type ResourceExtraInfoIncludeVolumes ¶
type ResourceExtraInfoIncludeVolumes struct { Id string `json:"id"` OsVersion *string `json:"os_version,omitempty"` }
func (ResourceExtraInfoIncludeVolumes) String ¶
func (o ResourceExtraInfoIncludeVolumes) String() string
type ResourceResp ¶
type ResourceResp struct { ExtraInfo *ResourceExtraInfo `json:"extra_info,omitempty"` Id string `json:"id"` Name string `json:"name"` ProtectStatus *ResourceRespProtectStatus `json:"protect_status,omitempty"` Size *int32 `json:"size,omitempty"` Type string `json:"type"` BackupSize *int32 `json:"backup_size,omitempty"` BackupCount *int32 `json:"backup_count,omitempty"` }
func (ResourceResp) String ¶
func (o ResourceResp) String() string
type ResourceRespProtectStatus ¶
type ResourceRespProtectStatus struct {
// contains filtered or unexported fields
}
func (ResourceRespProtectStatus) MarshalJSON ¶
func (c ResourceRespProtectStatus) MarshalJSON() ([]byte, error)
func (*ResourceRespProtectStatus) UnmarshalJSON ¶
func (c *ResourceRespProtectStatus) UnmarshalJSON(b []byte) error
type ResourceRespProtectStatusEnum ¶
type ResourceRespProtectStatusEnum struct { AVAILABLE ResourceRespProtectStatus ERROR ResourceRespProtectStatus PROTECTING ResourceRespProtectStatus RESTORING ResourceRespProtectStatus REMOVING ResourceRespProtectStatus }
func GetResourceRespProtectStatusEnum ¶
func GetResourceRespProtectStatusEnum() ResourceRespProtectStatusEnum
type RestoreBackupRequest ¶
type RestoreBackupRequest struct { BackupId string `json:"backup_id"` Body *BackupRestoreReq `json:"body,omitempty"` }
Request Object
func (RestoreBackupRequest) String ¶
func (o RestoreBackupRequest) String() string
type RestoreBackupResponse ¶
type RestoreBackupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RestoreBackupResponse) String ¶
func (o RestoreBackupResponse) String() string
type ShowBackupRequest ¶
type ShowBackupRequest struct {
BackupId string `json:"backup_id"`
}
Request Object
func (ShowBackupRequest) String ¶
func (o ShowBackupRequest) String() string
type ShowBackupResponse ¶
type ShowBackupResponse struct { Backup *BackupDetail `json:"backup,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBackupResponse) String ¶
func (o ShowBackupResponse) String() string
type ShowCheckpointRequest ¶
type ShowCheckpointRequest struct {
CheckpointId string `json:"checkpoint_id"`
}
Request Object
func (ShowCheckpointRequest) String ¶
func (o ShowCheckpointRequest) String() string
type ShowCheckpointResponse ¶
type ShowCheckpointResponse struct { Checkpoint *CheckpointCreate `json:"checkpoint,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCheckpointResponse) String ¶
func (o ShowCheckpointResponse) String() string
type ShowMemberDetailRequest ¶
type ShowMemberDetailRequest struct { BackupId string `json:"backup_id"` MemberId string `json:"member_id"` }
Request Object
func (ShowMemberDetailRequest) String ¶
func (o ShowMemberDetailRequest) String() string
type ShowMemberDetailResponse ¶
type ShowMemberDetailResponse struct { Member *Member `json:"member,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMemberDetailResponse) String ¶
func (o ShowMemberDetailResponse) String() string
type ShowMembersDetailRequest ¶
type ShowMembersDetailRequest struct { BackupId string `json:"backup_id"` DestProjectId *string `json:"dest_project_id,omitempty"` ImageId *string `json:"image_id,omitempty"` Status *string `json:"status,omitempty"` VaultId *string `json:"vault_id,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Offset *int32 `json:"offset,omitempty"` Sort *string `json:"sort,omitempty"` }
Request Object
func (ShowMembersDetailRequest) String ¶
func (o ShowMembersDetailRequest) String() string
type ShowMembersDetailResponse ¶
type ShowMembersDetailResponse struct { Members *[]Member `json:"members,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMembersDetailResponse) String ¶
func (o ShowMembersDetailResponse) String() string
type ShowOpLogRequest ¶
type ShowOpLogRequest struct {
OperationLogId string `json:"operation_log_id"`
}
Request Object
func (ShowOpLogRequest) String ¶
func (o ShowOpLogRequest) String() string
type ShowOpLogResponse ¶
type ShowOpLogResponse struct { OperationLog *OperationLog `json:"operation_log,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowOpLogResponse) String ¶
func (o ShowOpLogResponse) String() string
type ShowPolicyRequest ¶
type ShowPolicyRequest struct {
PolicyId string `json:"policy_id"`
}
Request Object
func (ShowPolicyRequest) String ¶
func (o ShowPolicyRequest) String() string
type ShowPolicyResponse ¶
type ShowPolicyResponse struct { Policy *Policy `json:"policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPolicyResponse) String ¶
func (o ShowPolicyResponse) String() string
type ShowProtectableRequest ¶
type ShowProtectableRequest struct { InstanceId string `json:"instance_id"` ProtectableType ShowProtectableRequestProtectableType `json:"protectable_type"` }
Request Object
func (ShowProtectableRequest) String ¶
func (o ShowProtectableRequest) String() string
type ShowProtectableRequestProtectableType ¶
type ShowProtectableRequestProtectableType struct {
// contains filtered or unexported fields
}
func (ShowProtectableRequestProtectableType) MarshalJSON ¶
func (c ShowProtectableRequestProtectableType) MarshalJSON() ([]byte, error)
func (*ShowProtectableRequestProtectableType) UnmarshalJSON ¶
func (c *ShowProtectableRequestProtectableType) UnmarshalJSON(b []byte) error
type ShowProtectableRequestProtectableTypeEnum ¶
type ShowProtectableRequestProtectableTypeEnum struct { SERVER ShowProtectableRequestProtectableType DISK ShowProtectableRequestProtectableType }
func GetShowProtectableRequestProtectableTypeEnum ¶
func GetShowProtectableRequestProtectableTypeEnum() ShowProtectableRequestProtectableTypeEnum
type ShowProtectableResponse ¶
type ShowProtectableResponse struct { Instance *ProtectablesResp `json:"instance,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProtectableResponse) String ¶
func (o ShowProtectableResponse) String() string
type ShowReplicationCapabilitiesRequest ¶
type ShowReplicationCapabilitiesRequest struct { }
Request Object
func (ShowReplicationCapabilitiesRequest) String ¶
func (o ShowReplicationCapabilitiesRequest) String() string
type ShowReplicationCapabilitiesResponse ¶
type ShowReplicationCapabilitiesResponse struct { Regions *[]ProtectableReplicationCapabilitiesRespRegion `json:"regions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowReplicationCapabilitiesResponse) String ¶
func (o ShowReplicationCapabilitiesResponse) String() string
type ShowVaultProjectTagRequest ¶
type ShowVaultProjectTagRequest struct { }
Request Object
func (ShowVaultProjectTagRequest) String ¶
func (o ShowVaultProjectTagRequest) String() string
type ShowVaultProjectTagResponse ¶
type ShowVaultProjectTagResponse struct { Tags *[]TagsResp `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowVaultProjectTagResponse) String ¶
func (o ShowVaultProjectTagResponse) String() string
type ShowVaultRequest ¶
type ShowVaultRequest struct {
VaultId string `json:"vault_id"`
}
Request Object
func (ShowVaultRequest) String ¶
func (o ShowVaultRequest) String() string
type ShowVaultResourceInstancesRequest ¶
type ShowVaultResourceInstancesRequest struct {
Body *VaultResourceInstancesReq `json:"body,omitempty"`
}
Request Object
func (ShowVaultResourceInstancesRequest) String ¶
func (o ShowVaultResourceInstancesRequest) String() string
type ShowVaultResourceInstancesResponse ¶
type ShowVaultResourceInstancesResponse struct { Resources *[]TagResource `json:"resources,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowVaultResourceInstancesResponse) String ¶
func (o ShowVaultResourceInstancesResponse) String() string
type ShowVaultResponse ¶
type ShowVaultResponse struct { Vault *Vault `json:"vault,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowVaultResponse) String ¶
func (o ShowVaultResponse) String() string
type ShowVaultTagRequest ¶
type ShowVaultTagRequest struct {
VaultId string `json:"vault_id"`
}
Request Object
func (ShowVaultTagRequest) String ¶
func (o ShowVaultTagRequest) String() string
type ShowVaultTagResponse ¶
type ShowVaultTagResponse struct { Tags *[]Tag `json:"tags,omitempty"` SysTags *[]SysTag `json:"sys_tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowVaultTagResponse) String ¶
func (o ShowVaultTagResponse) String() string
type TagResource ¶
type TagResource struct { ResourceId string `json:"resource_id"` ResourceDetail []Vault `json:"resource_detail"` Tags []Tag `json:"tags"` ResourceName string `json:"resource_name"` SysTags []SysTag `json:"sys_tags"` }
func (TagResource) String ¶
func (o TagResource) String() string
type TagsResp ¶
type UpdateMember ¶
type UpdateMember struct { Status UpdateMemberStatus `json:"status"` VaultId *string `json:"vault_id,omitempty"` }
备份共享更新信息
func (UpdateMember) String ¶
func (o UpdateMember) String() string
type UpdateMemberStatus ¶
type UpdateMemberStatus struct {
// contains filtered or unexported fields
}
func (UpdateMemberStatus) MarshalJSON ¶
func (c UpdateMemberStatus) MarshalJSON() ([]byte, error)
func (*UpdateMemberStatus) UnmarshalJSON ¶
func (c *UpdateMemberStatus) UnmarshalJSON(b []byte) error
type UpdateMemberStatusEnum ¶
type UpdateMemberStatusEnum struct { ACCEPTED UpdateMemberStatus PENDING UpdateMemberStatus REJECTED UpdateMemberStatus }
func GetUpdateMemberStatusEnum ¶
func GetUpdateMemberStatusEnum() UpdateMemberStatusEnum
type UpdateMemberStatusRequest ¶
type UpdateMemberStatusRequest struct { MemberId string `json:"member_id"` BackupId string `json:"backup_id"` Body *UpdateMember `json:"body,omitempty"` }
Request Object
func (UpdateMemberStatusRequest) String ¶
func (o UpdateMemberStatusRequest) String() string
type UpdateMemberStatusResponse ¶
type UpdateMemberStatusResponse struct { Member *Member `json:"member,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateMemberStatusResponse) String ¶
func (o UpdateMemberStatusResponse) String() string
type UpdatePolicyRequest ¶
type UpdatePolicyRequest struct { PolicyId string `json:"policy_id"` Body *PolicyUpdateReq `json:"body,omitempty"` }
Request Object
func (UpdatePolicyRequest) String ¶
func (o UpdatePolicyRequest) String() string
type UpdatePolicyResponse ¶
type UpdatePolicyResponse struct { Policy *Policy `json:"policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdatePolicyResponse) String ¶
func (o UpdatePolicyResponse) String() string
type UpdateVaultRequest ¶
type UpdateVaultRequest struct { VaultId string `json:"vault_id"` Body *VaultUpdateReq `json:"body,omitempty"` }
Request Object
func (UpdateVaultRequest) String ¶
func (o UpdateVaultRequest) String() string
type UpdateVaultResponse ¶
type UpdateVaultResponse struct { Vault *Vault `json:"vault,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateVaultResponse) String ¶
func (o UpdateVaultResponse) String() string
type Vault ¶
type Vault struct { Billing *Billing `json:"billing"` Description *string `json:"description,omitempty"` Id string `json:"id"` Name string `json:"name"` ProjectId string `json:"project_id"` ProviderId string `json:"provider_id"` Resources []ResourceResp `json:"resources"` Tags *[]Tag `json:"tags,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` AutoBind *bool `json:"auto_bind,omitempty"` BindRules *VaultBindRules `json:"bind_rules,omitempty"` AutoExpand *bool `json:"auto_expand,omitempty"` SmnNotify *bool `json:"smn_notify,omitempty"` Threshold *int32 `json:"threshold,omitempty"` UserId *string `json:"user_id,omitempty"` CreatedAt *string `json:"created_at,omitempty"` }
type VaultAddResourceReq ¶
type VaultAddResourceReq struct {
Resources []ResourceCreate `json:"resources"`
}
func (VaultAddResourceReq) String ¶
func (o VaultAddResourceReq) String() string
type VaultAssociate ¶
type VaultAssociate struct { DestinationVaultId *string `json:"destination_vault_id,omitempty"` PolicyId *string `json:"policy_id,omitempty"` AddPolicyIds *[]string `json:"add_policy_ids,omitempty"` }
func (VaultAssociate) String ¶
func (o VaultAssociate) String() string
type VaultBackup ¶
type VaultBackup struct { Parameters *CheckpointParam `json:"parameters,omitempty"` VaultId string `json:"vault_id"` }
func (VaultBackup) String ¶
func (o VaultBackup) String() string
type VaultBackupReq ¶
type VaultBackupReq struct {
Checkpoint *VaultBackup `json:"checkpoint"`
}
func (VaultBackupReq) String ¶
func (o VaultBackupReq) String() string
type VaultBindRules ¶
type VaultBindRules struct {
Tags *[]Tag `json:"tags,omitempty"`
}
func (VaultBindRules) String ¶
func (o VaultBindRules) String() string
type VaultCreate ¶
type VaultCreate struct { BackupPolicyId *string `json:"backup_policy_id,omitempty"` Billing *BillingCreate `json:"billing"` Description *string `json:"description,omitempty"` Name string `json:"name"` Resources []ResourceCreate `json:"resources"` Tags *[]Tag `json:"tags,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` AutoBind *bool `json:"auto_bind,omitempty"` BindRules *VaultBindRules `json:"bind_rules,omitempty"` AutoExpand *bool `json:"auto_expand,omitempty"` }
func (VaultCreate) String ¶
func (o VaultCreate) String() string
type VaultCreateReq ¶
type VaultCreateReq struct {
Vault *VaultCreate `json:"vault"`
}
func (VaultCreateReq) String ¶
func (o VaultCreateReq) String() string
type VaultDissociate ¶
type VaultDissociate struct {
PolicyId string `json:"policy_id"`
}
func (VaultDissociate) String ¶
func (o VaultDissociate) String() string
type VaultGet ¶
type VaultGet struct { Billing *Billing `json:"billing"` Description *string `json:"description,omitempty"` Id string `json:"id"` Name string `json:"name"` ProjectId string `json:"project_id"` ProviderId string `json:"provider_id"` Resources []CheckpointResourceResp `json:"resources"` Tags *[]TagsResp `json:"tags,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` AutoBind *bool `json:"auto_bind,omitempty"` BindRules *VaultBindRules `json:"bind_rules,omitempty"` AutoExpand *bool `json:"auto_expand,omitempty"` SmnNotify *bool `json:"smn_notify,omitempty"` Threshold *int32 `json:"threshold,omitempty"` UserId *string `json:"user_id,omitempty"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` Version *string `json:"version,omitempty"` }
type VaultMigrateResourceReq ¶
type VaultMigrateResourceReq struct { DestinationVaultId string `json:"destination_vault_id"` ResourceIds []string `json:"resource_ids"` }
func (VaultMigrateResourceReq) String ¶
func (o VaultMigrateResourceReq) String() string
type VaultPolicyResp ¶
type VaultPolicyResp struct { DestinationVaultId *string `json:"destination_vault_id,omitempty"` PolicyId string `json:"policy_id"` VaultId string `json:"vault_id"` }
绑定策略返回体
func (VaultPolicyResp) String ¶
func (o VaultPolicyResp) String() string
type VaultRemoveResourceReq ¶
type VaultRemoveResourceReq struct {
ResourceIds []string `json:"resource_ids"`
}
func (VaultRemoveResourceReq) String ¶
func (o VaultRemoveResourceReq) String() string
type VaultResourceInstancesReq ¶
type VaultResourceInstancesReq struct { WithoutAnyTag *bool `json:"without_any_tag,omitempty"` Tags *[]TagsReq `json:"tags,omitempty"` TagsAny *[]TagsReq `json:"tags_any,omitempty"` NotTags *[]TagsReq `json:"not_tags,omitempty"` NotTagsAny *[]TagsReq `json:"not_tags_any,omitempty"` SysTags *[]SysTags `json:"sys_tags,omitempty"` Limit *string `json:"limit,omitempty"` Offset *string `json:"offset,omitempty"` Action string `json:"action"` Matches *[]Match `json:"matches,omitempty"` CloudType *VaultResourceInstancesReqCloudType `json:"cloud_type,omitempty"` ObjectType *VaultResourceInstancesReqObjectType `json:"object_type,omitempty"` }
func (VaultResourceInstancesReq) String ¶
func (o VaultResourceInstancesReq) String() string
type VaultResourceInstancesReqCloudType ¶
type VaultResourceInstancesReqCloudType struct {
// contains filtered or unexported fields
}
func (VaultResourceInstancesReqCloudType) MarshalJSON ¶
func (c VaultResourceInstancesReqCloudType) MarshalJSON() ([]byte, error)
func (*VaultResourceInstancesReqCloudType) UnmarshalJSON ¶
func (c *VaultResourceInstancesReqCloudType) UnmarshalJSON(b []byte) error
type VaultResourceInstancesReqCloudTypeEnum ¶
type VaultResourceInstancesReqCloudTypeEnum struct { PUBLIC VaultResourceInstancesReqCloudType HYBRID VaultResourceInstancesReqCloudType }
func GetVaultResourceInstancesReqCloudTypeEnum ¶
func GetVaultResourceInstancesReqCloudTypeEnum() VaultResourceInstancesReqCloudTypeEnum
type VaultResourceInstancesReqObjectType ¶
type VaultResourceInstancesReqObjectType struct {
// contains filtered or unexported fields
}
func (VaultResourceInstancesReqObjectType) MarshalJSON ¶
func (c VaultResourceInstancesReqObjectType) MarshalJSON() ([]byte, error)
func (*VaultResourceInstancesReqObjectType) UnmarshalJSON ¶
func (c *VaultResourceInstancesReqObjectType) UnmarshalJSON(b []byte) error
type VaultResourceInstancesReqObjectTypeEnum ¶
type VaultResourceInstancesReqObjectTypeEnum struct { SERVER VaultResourceInstancesReqObjectType DISK VaultResourceInstancesReqObjectType }
func GetVaultResourceInstancesReqObjectTypeEnum ¶
func GetVaultResourceInstancesReqObjectTypeEnum() VaultResourceInstancesReqObjectTypeEnum
type VaultTagsCreateReq ¶
type VaultTagsCreateReq struct {
Tag *Tag `json:"tag,omitempty"`
}
func (VaultTagsCreateReq) String ¶
func (o VaultTagsCreateReq) String() string
type VaultUpdate ¶
type VaultUpdate struct { Billing *BillingUpdate `json:"billing,omitempty"` Name *string `json:"name,omitempty"` AutoBind *bool `json:"auto_bind,omitempty"` BindRules *VaultBindRules `json:"bind_rules,omitempty"` AutoExpand *bool `json:"auto_expand,omitempty"` SmnNotify *bool `json:"smn_notify,omitempty"` Threshold *int32 `json:"threshold,omitempty"` }
func (VaultUpdate) String ¶
func (o VaultUpdate) String() string
type VaultUpdateReq ¶
type VaultUpdateReq struct {
Vault *VaultUpdate `json:"vault"`
}
存储库修改参数体
func (VaultUpdateReq) String ¶
func (o VaultUpdateReq) String() string
Source Files ¶
- model_add_member_request.go
- model_add_member_response.go
- model_add_members_req.go
- model_add_vault_resource_request.go
- model_add_vault_resource_response.go
- model_associate_vault_policy_request.go
- model_associate_vault_policy_response.go
- model_backup_detail.go
- model_backup_extend_info.go
- model_backup_replicate_req.go
- model_backup_replicate_req_body.go
- model_backup_replicate_resp_body.go
- model_backup_resp.go
- model_backup_restore.go
- model_backup_restore_req.go
- model_backup_restore_server_mapping.go
- model_backup_sync.go
- model_backup_sync_req.go
- model_backup_sync_resp_body.go
- model_batch_create_and_delete_vault_tags_request.go
- model_batch_create_and_delete_vault_tags_response.go
- model_billbing_create_extra_info.go
- model_billing.go
- model_billing_create.go
- model_billing_update.go
- model_bulk_create_and_delete_vault_tags_req.go
- model_checkpoint_create.go
- model_checkpoint_create_skipped_resource.go
- model_checkpoint_extra_info_resp.go
- model_checkpoint_param.go
- model_checkpoint_plan_create.go
- model_checkpoint_replicate_param.go
- model_checkpoint_replicate_req.go
- model_checkpoint_replicate_resp_body.go
- model_checkpoint_replicate_respbackups.go
- model_checkpoint_resource_resp.go
- model_copy_backup_request.go
- model_copy_backup_response.go
- model_copy_checkpoint_request.go
- model_copy_checkpoint_response.go
- model_create_checkpoint_request.go
- model_create_checkpoint_response.go
- model_create_policy_request.go
- model_create_policy_response.go
- model_create_vault_request.go
- model_create_vault_response.go
- model_create_vault_tags_request.go
- model_create_vault_tags_response.go
- model_delete_backup_request.go
- model_delete_backup_response.go
- model_delete_member_request.go
- model_delete_member_response.go
- model_delete_policy_request.go
- model_delete_policy_response.go
- model_delete_vault_request.go
- model_delete_vault_response.go
- model_delete_vault_tag_request.go
- model_delete_vault_tag_response.go
- model_disassociate_vault_policy_request.go
- model_disassociate_vault_policy_response.go
- model_image_data.go
- model_import_backup_request.go
- model_import_backup_response.go
- model_list_backups_request.go
- model_list_backups_response.go
- model_list_op_logs_request.go
- model_list_op_logs_response.go
- model_list_policies_request.go
- model_list_policies_response.go
- model_list_protectable_request.go
- model_list_protectable_response.go
- model_list_vault_request.go
- model_list_vault_response.go
- model_match.go
- model_member.go
- model_migrate_vault_resource_request.go
- model_migrate_vault_resource_response.go
- model_op_error_info.go
- model_op_extend_info_bckup.go
- model_op_extend_info_common.go
- model_op_extend_info_delete.go
- model_op_extend_info_remove_resources.go
- model_op_extend_info_replication.go
- model_op_extend_info_restore.go
- model_op_extend_info_sync.go
- model_op_extend_info_vault_delete.go
- model_op_extra_info.go
- model_operation_log.go
- model_policy.go
- model_policy_associate_vault.go
- model_policy_create.go
- model_policy_create_req.go
- model_policy_trigger_properties_req.go
- model_policy_trigger_properties_resp.go
- model_policy_trigger_req.go
- model_policy_trigger_resp.go
- model_policy_update.go
- model_policy_update_req.go
- model_policyo_od_create.go
- model_protectable_replication_capabilities_resp_region.go
- model_protectable_result.go
- model_protectables_resp.go
- model_remove_vault_resource_request.go
- model_remove_vault_resource_response.go
- model_replication_record_get.go
- model_resource.go
- model_resource_create.go
- model_resource_extra_info.go
- model_resource_extra_info_include_volumes.go
- model_resource_resp.go
- model_restore_backup_request.go
- model_restore_backup_response.go
- model_show_backup_request.go
- model_show_backup_response.go
- model_show_checkpoint_request.go
- model_show_checkpoint_response.go
- model_show_member_detail_request.go
- model_show_member_detail_response.go
- model_show_members_detail_request.go
- model_show_members_detail_response.go
- model_show_op_log_request.go
- model_show_op_log_response.go
- model_show_policy_request.go
- model_show_policy_response.go
- model_show_protectable_request.go
- model_show_protectable_response.go
- model_show_replication_capabilities_request.go
- model_show_replication_capabilities_response.go
- model_show_vault_project_tag_request.go
- model_show_vault_project_tag_response.go
- model_show_vault_request.go
- model_show_vault_resource_instances_request.go
- model_show_vault_resource_instances_response.go
- model_show_vault_response.go
- model_show_vault_tag_request.go
- model_show_vault_tag_response.go
- model_sys_tag.go
- model_sys_tags.go
- model_tag.go
- model_tag_resource.go
- model_tags_req.go
- model_tags_resp.go
- model_update_member.go
- model_update_member_status_request.go
- model_update_member_status_response.go
- model_update_policy_request.go
- model_update_policy_response.go
- model_update_vault_request.go
- model_update_vault_response.go
- model_vault.go
- model_vault_add_resource_req.go
- model_vault_associate.go
- model_vault_backup.go
- model_vault_backup_req.go
- model_vault_bind_rules.go
- model_vault_create.go
- model_vault_create_req.go
- model_vault_dissociate.go
- model_vault_get.go
- model_vault_migrate_resource_req.go
- model_vault_policy_resp.go
- model_vault_remove_resource_req.go
- model_vault_resource_instances_req.go
- model_vault_tags_create_req.go
- model_vault_update.go
- model_vault_update_req.go