Documentation ¶
Index ¶
- type AllQuotas
- type AllResources
- type AllResourcesType
- type AllResourcesTypeEnum
- type AllowedAddressPair
- type AttachCallbackInstanceLifeCycleHookRequest
- type AttachCallbackInstanceLifeCycleHookResponse
- type BandwidthInfo
- type BandwidthInfoChargingMode
- type BandwidthInfoChargingModeEnum
- type BandwidthInfoShareType
- type BandwidthInfoShareTypeEnum
- type BandwidthResult
- type BandwidthResultChargingMode
- type BandwidthResultChargingModeEnum
- type BandwidthResultShareType
- type BandwidthResultShareTypeEnum
- type BatchAddInstancesOption
- type BatchAddInstancesOptionAction
- type BatchAddInstancesOptionActionEnum
- type BatchAddInstancesOptionInstanceAppend
- type BatchAddInstancesOptionInstanceAppendEnum
- type BatchAddInstancesOptionInstanceDelete
- type BatchAddInstancesOptionInstanceDeleteEnum
- type BatchAddScalingInstancesRequest
- type BatchAddScalingInstancesResponse
- type BatchDeleteScalingConfigOption
- type BatchDeleteScalingConfigsRequest
- type BatchDeleteScalingConfigsResponse
- type BatchDeleteScalingPoliciesOption
- type BatchDeleteScalingPoliciesOptionAction
- type BatchDeleteScalingPoliciesOptionActionEnum
- type BatchDeleteScalingPoliciesOptionForceDelete
- type BatchDeleteScalingPoliciesOptionForceDeleteEnum
- type BatchDeleteScalingPoliciesRequest
- type BatchDeleteScalingPoliciesResponse
- type BatchEnterStandbyInstancesOption
- type BatchEnterStandbyInstancesOptionAction
- type BatchEnterStandbyInstancesOptionActionEnum
- type BatchEnterStandbyInstancesOptionInstanceAppend
- type BatchEnterStandbyInstancesOptionInstanceAppendEnum
- type BatchEnterStandbyInstancesOptionInstanceDelete
- type BatchEnterStandbyInstancesOptionInstanceDeleteEnum
- type BatchExitStandByInstancesOption
- type BatchExitStandByInstancesOptionAction
- type BatchExitStandByInstancesOptionActionEnum
- type BatchExitStandByInstancesOptionInstanceAppend
- type BatchExitStandByInstancesOptionInstanceAppendEnum
- type BatchExitStandByInstancesOptionInstanceDelete
- type BatchExitStandByInstancesOptionInstanceDeleteEnum
- type BatchPauseScalingPoliciesOption
- type BatchPauseScalingPoliciesOptionAction
- type BatchPauseScalingPoliciesOptionActionEnum
- type BatchPauseScalingPoliciesOptionForceDelete
- type BatchPauseScalingPoliciesOptionForceDeleteEnum
- type BatchPauseScalingPoliciesRequest
- type BatchPauseScalingPoliciesResponse
- type BatchProtectInstancesOption
- type BatchProtectInstancesOptionAction
- type BatchProtectInstancesOptionActionEnum
- type BatchProtectInstancesOptionInstanceAppend
- type BatchProtectInstancesOptionInstanceAppendEnum
- type BatchProtectInstancesOptionInstanceDelete
- type BatchProtectInstancesOptionInstanceDeleteEnum
- type BatchProtectScalingInstancesRequest
- type BatchProtectScalingInstancesResponse
- type BatchRemoveInstancesOption
- type BatchRemoveInstancesOptionAction
- type BatchRemoveInstancesOptionActionEnum
- type BatchRemoveInstancesOptionInstanceAppend
- type BatchRemoveInstancesOptionInstanceAppendEnum
- type BatchRemoveInstancesOptionInstanceDelete
- type BatchRemoveInstancesOptionInstanceDeleteEnum
- type BatchRemoveScalingInstancesRequest
- type BatchRemoveScalingInstancesResponse
- type BatchResumeScalingPoliciesOption
- type BatchResumeScalingPoliciesOptionAction
- type BatchResumeScalingPoliciesOptionActionEnum
- type BatchResumeScalingPoliciesOptionForceDelete
- type BatchResumeScalingPoliciesOptionForceDeleteEnum
- type BatchResumeScalingPoliciesRequest
- type BatchResumeScalingPoliciesResponse
- type BatchSetScalingInstancesStandbyRequest
- type BatchSetScalingInstancesStandbyResponse
- type BatchUnprotectInstancesOption
- type BatchUnprotectInstancesOptionAction
- type BatchUnprotectInstancesOptionActionEnum
- type BatchUnprotectInstancesOptionInstanceAppend
- type BatchUnprotectInstancesOptionInstanceAppendEnum
- type BatchUnprotectInstancesOptionInstanceDelete
- type BatchUnprotectInstancesOptionInstanceDeleteEnum
- type BatchUnprotectScalingInstancesRequest
- type BatchUnprotectScalingInstancesResponse
- type BatchUnsetScalingInstancesStantbyRequest
- type BatchUnsetScalingInstancesStantbyResponse
- type CallbackLifeCycleHookOption
- type CallbackLifeCycleHookOptionLifecycleActionResult
- type CallbackLifeCycleHookOptionLifecycleActionResultEnum
- type CreateLifeCycleHookOption
- type CreateLifeCycleHookOptionDefaultResult
- type CreateLifeCycleHookOptionDefaultResultEnum
- type CreateLifeCycleHookOptionLifecycleHookType
- type CreateLifeCycleHookOptionLifecycleHookTypeEnum
- type CreateLifyCycleHookRequest
- type CreateLifyCycleHookResponse
- type CreateLifyCycleHookResponseDefaultResult
- type CreateLifyCycleHookResponseDefaultResultEnum
- type CreateLifyCycleHookResponseLifecycleHookType
- type CreateLifyCycleHookResponseLifecycleHookTypeEnum
- type CreateNotificationOption
- type CreateNotificationOptionTopicScene
- type CreateNotificationOptionTopicSceneEnum
- type CreateScalingConfigOption
- type CreateScalingConfigRequest
- type CreateScalingConfigResponse
- type CreateScalingGroupOption
- type CreateScalingGroupOptionHealthPeriodicAuditMethod
- type CreateScalingGroupOptionHealthPeriodicAuditMethodEnum
- type CreateScalingGroupOptionInstanceTerminatePolicy
- type CreateScalingGroupOptionInstanceTerminatePolicyEnum
- type CreateScalingGroupOptionMultiAzPriorityPolicy
- type CreateScalingGroupOptionMultiAzPriorityPolicyEnum
- type CreateScalingGroupRequest
- type CreateScalingGroupResponse
- type CreateScalingNotificationRequest
- type CreateScalingNotificationResponse
- type CreateScalingPolicyOption
- type CreateScalingPolicyOptionScalingPolicyType
- type CreateScalingPolicyOptionScalingPolicyTypeEnum
- type CreateScalingPolicyRequest
- type CreateScalingPolicyResponse
- type CreateScalingPolicyV2Option
- type CreateScalingPolicyV2OptionScalingPolicyType
- type CreateScalingPolicyV2OptionScalingPolicyTypeEnum
- type CreateScalingPolicyV2OptionScalingResourceType
- type CreateScalingPolicyV2OptionScalingResourceTypeEnum
- type CreateScalingTagInfoRequest
- type CreateScalingTagInfoRequestResourceType
- type CreateScalingTagInfoRequestResourceTypeEnum
- type CreateScalingTagInfoResponse
- type CreateScalingV2PolicyRequest
- type CreateScalingV2PolicyResponse
- type CreateTagsOption
- type CreateTagsOptionAction
- type CreateTagsOptionActionEnum
- type DeleteLifecycleHookRequest
- type DeleteLifecycleHookResponse
- type DeleteScalingConfigRequest
- type DeleteScalingConfigResponse
- type DeleteScalingGroupRequest
- type DeleteScalingGroupRequestForceDelete
- type DeleteScalingGroupRequestForceDeleteEnum
- type DeleteScalingGroupResponse
- type DeleteScalingInstanceRequest
- type DeleteScalingInstanceRequestInstanceDelete
- type DeleteScalingInstanceRequestInstanceDeleteEnum
- type DeleteScalingInstanceResponse
- type DeleteScalingNotificationRequest
- type DeleteScalingNotificationResponse
- type DeleteScalingPolicyRequest
- type DeleteScalingPolicyResponse
- type DeleteScalingTagInfoRequest
- type DeleteScalingTagInfoRequestResourceType
- type DeleteScalingTagInfoRequestResourceTypeEnum
- type DeleteScalingTagInfoResponse
- type DeleteTagsOption
- type DeleteTagsOptionAction
- type DeleteTagsOptionActionEnum
- type DiskInfo
- type DiskInfoDiskType
- type DiskInfoDiskTypeEnum
- type DiskInfoVolumeType
- type DiskInfoVolumeTypeEnum
- type DiskResult
- type DiskResultDiskType
- type DiskResultDiskTypeEnum
- type DiskResultVolumeType
- type DiskResultVolumeTypeEnum
- type EipInfo
- type EipInfoIpType
- type EipInfoIpTypeEnum
- type EipMetaData
- type EipResult
- type EipResultIpType
- type EipResultIpTypeEnum
- type ExecuteScalingPolicyOption
- type ExecuteScalingPolicyOptionAction
- type ExecuteScalingPolicyOptionActionEnum
- type ExecuteScalingPolicyRequest
- type ExecuteScalingPolicyResponse
- type InstanceConfig
- type InstanceConfigMarketType
- type InstanceConfigMarketTypeEnum
- type InstanceConfigMultiFlavorPriorityPolicy
- type InstanceConfigMultiFlavorPriorityPolicyEnum
- type InstanceConfigResult
- type InstanceConfigTenancy
- type InstanceConfigTenancyEnum
- type InstanceHangingInfos
- type InstanceHangingInfosLifecycleHookStatus
- type InstanceHangingInfosLifecycleHookStatusEnum
- type Ipv6Bandwidth
- type JobRecords
- type JobRecordsJobStatus
- type JobRecordsJobStatusEnum
- type JobRecordsRecordType
- type JobRecordsRecordTypeEnum
- type LbaasListener
- type LbaasListeners
- type LbaasListenersResult
- type LifecycleHookList
- type LifecycleHookListDefaultResult
- type LifecycleHookListDefaultResultEnum
- type LifecycleHookListLifecycleHookType
- type LifecycleHookListLifecycleHookTypeEnum
- type Links
- type ListAllScalingV2PoliciesRequest
- type ListAllScalingV2PoliciesRequestOrder
- type ListAllScalingV2PoliciesRequestOrderEnum
- type ListAllScalingV2PoliciesRequestScalingPolicyType
- type ListAllScalingV2PoliciesRequestScalingPolicyTypeEnum
- type ListAllScalingV2PoliciesRequestScalingResourceType
- type ListAllScalingV2PoliciesRequestScalingResourceTypeEnum
- type ListAllScalingV2PoliciesRequestSortBy
- type ListAllScalingV2PoliciesRequestSortByEnum
- type ListAllScalingV2PoliciesResponse
- type ListApiVersionsRequest
- type ListApiVersionsResponse
- type ListHookInstancesRequest
- type ListHookInstancesResponse
- type ListLifeCycleHooksRequest
- type ListLifeCycleHooksResponse
- type ListResourceInstancesRequest
- type ListResourceInstancesRequestResourceType
- type ListResourceInstancesRequestResourceTypeEnum
- type ListResourceInstancesResponse
- type ListScalingActivityLogsRequest
- type ListScalingActivityLogsResponse
- type ListScalingActivityV2LogsRequest
- type ListScalingActivityV2LogsRequestStatus
- type ListScalingActivityV2LogsRequestStatusEnum
- type ListScalingActivityV2LogsRequestType
- type ListScalingActivityV2LogsRequestTypeEnum
- type ListScalingActivityV2LogsResponse
- type ListScalingConfigsRequest
- type ListScalingConfigsResponse
- type ListScalingGroupsRequest
- type ListScalingGroupsRequestScalingGroupStatus
- type ListScalingGroupsRequestScalingGroupStatusEnum
- type ListScalingGroupsResponse
- type ListScalingInstancesRequest
- type ListScalingInstancesRequestHealthStatus
- type ListScalingInstancesRequestHealthStatusEnum
- type ListScalingInstancesRequestLifeCycleState
- type ListScalingInstancesRequestLifeCycleStateEnum
- type ListScalingInstancesRequestProtectFromScalingDown
- type ListScalingInstancesRequestProtectFromScalingDownEnum
- type ListScalingInstancesResponse
- type ListScalingNotificationsRequest
- type ListScalingNotificationsResponse
- type ListScalingPoliciesRequest
- type ListScalingPoliciesRequestScalingPolicyType
- type ListScalingPoliciesRequestScalingPolicyTypeEnum
- type ListScalingPoliciesResponse
- type ListScalingPolicyExecuteLogsRequest
- type ListScalingPolicyExecuteLogsRequestExecuteType
- type ListScalingPolicyExecuteLogsRequestExecuteTypeEnum
- type ListScalingPolicyExecuteLogsRequestScalingResourceType
- type ListScalingPolicyExecuteLogsRequestScalingResourceTypeEnum
- type ListScalingPolicyExecuteLogsResponse
- type ListScalingTagInfosByResourceIdRequest
- type ListScalingTagInfosByResourceIdRequestResourceType
- type ListScalingTagInfosByResourceIdRequestResourceTypeEnum
- type ListScalingTagInfosByResourceIdResponse
- type ListScalingTagInfosByTenantIdRequest
- type ListScalingTagInfosByTenantIdRequestResourceType
- type ListScalingTagInfosByTenantIdRequestResourceTypeEnum
- type ListScalingTagInfosByTenantIdResponse
- type ListScalingV2PoliciesRequest
- type ListScalingV2PoliciesResponse
- type Matches
- type MetaData
- type ModifyLb
- type Networks
- type NetworksResult
- type PauseScalingGroupOption
- type PauseScalingGroupOptionAction
- type PauseScalingGroupOptionActionEnum
- type PauseScalingGroupRequest
- type PauseScalingGroupResponse
- type PauseScalingPolicyOption
- type PauseScalingPolicyOptionAction
- type PauseScalingPolicyOptionActionEnum
- type PauseScalingPolicyRequest
- type PauseScalingPolicyResponse
- type PersonalityInfo
- type PersonalityResult
- type PolicyInstanceQuotas
- type PolicyInstanceResources
- type PublicIp
- type PublicipResult
- type QueryTagsOption
- type QueryTagsOptionAction
- type QueryTagsOptionActionEnum
- type ResourceTags
- type Resources
- type ResumeScalingGroupOption
- type ResumeScalingGroupOptionAction
- type ResumeScalingGroupOptionActionEnum
- type ResumeScalingGroupRequest
- type ResumeScalingGroupResponse
- type ResumeScalingPolicyOption
- type ResumeScalingPolicyOptionAction
- type ResumeScalingPolicyOptionActionEnum
- type ResumeScalingPolicyRequest
- type ResumeScalingPolicyResponse
- type ScalingActivityLogList
- type ScalingActivityLogListStatus
- type ScalingActivityLogListStatusEnum
- type ScalingActivityLogV2
- type ScalingActivityLogV2Status
- type ScalingActivityLogV2StatusEnum
- type ScalingAllPolicyDetail
- type ScalingAllPolicyDetailPolicyStatus
- type ScalingAllPolicyDetailPolicyStatusEnum
- type ScalingAllPolicyDetailScalingPolicyType
- type ScalingAllPolicyDetailScalingPolicyTypeEnum
- type ScalingAllPolicyDetailScalingResourceType
- type ScalingAllPolicyDetailScalingResourceTypeEnum
- type ScalingConfiguration
- type ScalingGroupInstance
- type ScalingGroupInstanceHealthStatus
- type ScalingGroupInstanceHealthStatusEnum
- type ScalingGroupInstanceLifeCycleState
- type ScalingGroupInstanceLifeCycleStateEnum
- type ScalingGroups
- type ScalingGroupsHealthPeriodicAuditMethod
- type ScalingGroupsHealthPeriodicAuditMethodEnum
- type ScalingGroupsInstanceTerminatePolicy
- type ScalingGroupsInstanceTerminatePolicyEnum
- type ScalingGroupsScalingGroupStatus
- type ScalingGroupsScalingGroupStatusEnum
- type ScalingInstance
- type ScalingPoliciesV2
- type ScalingPoliciesV2PolicyStatus
- type ScalingPoliciesV2PolicyStatusEnum
- type ScalingPoliciesV2ScalingPolicyType
- type ScalingPoliciesV2ScalingPolicyTypeEnum
- type ScalingPoliciesV2ScalingResourceType
- type ScalingPoliciesV2ScalingResourceTypeEnum
- type ScalingPolicyActionV1
- type ScalingPolicyActionV1Operation
- type ScalingPolicyActionV1OperationEnum
- type ScalingPolicyActionV2
- type ScalingPolicyActionV2Operation
- type ScalingPolicyActionV2OperationEnum
- type ScalingPolicyExecuteLogList
- type ScalingPolicyExecuteLogListExecuteType
- type ScalingPolicyExecuteLogListExecuteTypeEnum
- type ScalingPolicyExecuteLogListScalingResourceType
- type ScalingPolicyExecuteLogListScalingResourceTypeEnum
- type ScalingPolicyExecuteLogListStatus
- type ScalingPolicyExecuteLogListStatusEnum
- type ScalingPolicyExecuteLogListType
- type ScalingPolicyExecuteLogListTypeEnum
- type ScalingPolicyV2MetaData
- type ScalingV1PolicyDetail
- type ScalingV1PolicyDetailScalingPolicyType
- type ScalingV1PolicyDetailScalingPolicyTypeEnum
- type ScalingV2PolicyDetail
- type ScalingV2PolicyDetailPolicyStatus
- type ScalingV2PolicyDetailPolicyStatusEnum
- type ScalingV2PolicyDetailScalingPolicyType
- type ScalingV2PolicyDetailScalingPolicyTypeEnum
- type ScalingV2PolicyDetailScalingResourceType
- type ScalingV2PolicyDetailScalingResourceTypeEnum
- type ScheduledPolicy
- type ScheduledPolicyRecurrenceType
- type ScheduledPolicyRecurrenceTypeEnum
- type SecurityGroup
- type SecurityGroups
- type SecurityGroupsResult
- type ShowApiVersionRequest
- type ShowApiVersionRequestApiVersion
- type ShowApiVersionRequestApiVersionEnum
- type ShowApiVersionResponse
- type ShowLifeCycleHookRequest
- type ShowLifeCycleHookResponse
- type ShowLifeCycleHookResponseDefaultResult
- type ShowLifeCycleHookResponseDefaultResultEnum
- type ShowLifeCycleHookResponseLifecycleHookType
- type ShowLifeCycleHookResponseLifecycleHookTypeEnum
- type ShowPolicyAndInstanceQuotaRequest
- type ShowPolicyAndInstanceQuotaResponse
- type ShowResourceQuotaRequest
- type ShowResourceQuotaResponse
- type ShowScalingConfigRequest
- type ShowScalingConfigResponse
- type ShowScalingGroupRequest
- type ShowScalingGroupResponse
- type ShowScalingPolicyRequest
- type ShowScalingPolicyResponse
- type ShowScalingV2PolicyRequest
- type ShowScalingV2PolicyResponse
- type TagsMultiValue
- type TagsSingleValue
- type Topics
- type UpdateLifeCycleHookOption
- type UpdateLifeCycleHookOptionDefaultResult
- type UpdateLifeCycleHookOptionDefaultResultEnum
- type UpdateLifeCycleHookOptionLifecycleHookType
- type UpdateLifeCycleHookOptionLifecycleHookTypeEnum
- type UpdateLifeCycleHookRequest
- type UpdateLifeCycleHookResponse
- type UpdateLifeCycleHookResponseDefaultResult
- type UpdateLifeCycleHookResponseDefaultResultEnum
- type UpdateLifeCycleHookResponseLifecycleHookType
- type UpdateLifeCycleHookResponseLifecycleHookTypeEnum
- type UpdateScalingGroupOption
- type UpdateScalingGroupOptionHealthPeriodicAuditMethod
- type UpdateScalingGroupOptionHealthPeriodicAuditMethodEnum
- type UpdateScalingGroupOptionInstanceTerminatePolicy
- type UpdateScalingGroupOptionInstanceTerminatePolicyEnum
- type UpdateScalingGroupRequest
- type UpdateScalingGroupResponse
- type UpdateScalingPolicyOption
- type UpdateScalingPolicyOptionScalingPolicyType
- type UpdateScalingPolicyOptionScalingPolicyTypeEnum
- type UpdateScalingPolicyRequest
- type UpdateScalingPolicyResponse
- type UpdateScalingV2PolicyOption
- type UpdateScalingV2PolicyOptionScalingPolicyType
- type UpdateScalingV2PolicyOptionScalingPolicyTypeEnum
- type UpdateScalingV2PolicyOptionScalingResourceType
- type UpdateScalingV2PolicyOptionScalingResourceTypeEnum
- type UpdateScalingV2PolicyRequest
- type UpdateScalingV2PolicyResponse
- type VersionInfo
- type VersionInfoId
- type VersionInfoIdEnum
- type VersionInfoStatus
- type VersionInfoStatusEnum
- type VmMetaData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllQuotas ¶
type AllQuotas struct {
Resources *[]AllResources `json:"resources,omitempty"`
}
配额列表
type AllResources ¶
type AllResources struct { Type *AllResourcesType `json:"type,omitempty"` Used *int32 `json:"used,omitempty"` Quota *int32 `json:"quota,omitempty"` Max *int32 `json:"max,omitempty"` Min *int32 `json:"min,omitempty"` }
配额资源
func (AllResources) String ¶
func (o AllResources) String() string
type AllResourcesType ¶
type AllResourcesType struct {
// contains filtered or unexported fields
}
func (AllResourcesType) MarshalJSON ¶
func (c AllResourcesType) MarshalJSON() ([]byte, error)
func (*AllResourcesType) UnmarshalJSON ¶
func (c *AllResourcesType) UnmarshalJSON(b []byte) error
type AllResourcesTypeEnum ¶
type AllResourcesTypeEnum struct { SCALING_GROUP AllResourcesType SCALING_CONFIG AllResourcesType SCALING_POLICY AllResourcesType SCALING_INSTANCE AllResourcesType BANDWIDTH_SCALING_POLICY AllResourcesType }
func GetAllResourcesTypeEnum ¶
func GetAllResourcesTypeEnum() AllResourcesTypeEnum
type AllowedAddressPair ¶ added in v0.0.71
type AllowedAddressPair struct {
IpAddress *string `json:"ip_address,omitempty"`
}
是否开启源/目的检查开关。
func (AllowedAddressPair) String ¶ added in v0.0.71
func (o AllowedAddressPair) String() string
type AttachCallbackInstanceLifeCycleHookRequest ¶
type AttachCallbackInstanceLifeCycleHookRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *CallbackLifeCycleHookOption `json:"body,omitempty"` }
Request Object
func (AttachCallbackInstanceLifeCycleHookRequest) String ¶
func (o AttachCallbackInstanceLifeCycleHookRequest) String() string
type AttachCallbackInstanceLifeCycleHookResponse ¶
type AttachCallbackInstanceLifeCycleHookResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (AttachCallbackInstanceLifeCycleHookResponse) String ¶
func (o AttachCallbackInstanceLifeCycleHookResponse) String() string
type BandwidthInfo ¶
type BandwidthInfo struct { Size *int32 `json:"size,omitempty"` ChargingMode *BandwidthInfoChargingMode `json:"charging_mode,omitempty"` Id *string `json:"id,omitempty"` }
带宽信息
func (BandwidthInfo) String ¶
func (o BandwidthInfo) String() string
type BandwidthInfoChargingMode ¶
type BandwidthInfoChargingMode struct {
// contains filtered or unexported fields
}
func (BandwidthInfoChargingMode) MarshalJSON ¶
func (c BandwidthInfoChargingMode) MarshalJSON() ([]byte, error)
func (*BandwidthInfoChargingMode) UnmarshalJSON ¶
func (c *BandwidthInfoChargingMode) UnmarshalJSON(b []byte) error
type BandwidthInfoChargingModeEnum ¶
type BandwidthInfoChargingModeEnum struct { BANDWIDTH BandwidthInfoChargingMode TRAFFIC BandwidthInfoChargingMode }
func GetBandwidthInfoChargingModeEnum ¶
func GetBandwidthInfoChargingModeEnum() BandwidthInfoChargingModeEnum
type BandwidthInfoShareType ¶
type BandwidthInfoShareType struct {
// contains filtered or unexported fields
}
func (BandwidthInfoShareType) MarshalJSON ¶
func (c BandwidthInfoShareType) MarshalJSON() ([]byte, error)
func (*BandwidthInfoShareType) UnmarshalJSON ¶
func (c *BandwidthInfoShareType) UnmarshalJSON(b []byte) error
type BandwidthInfoShareTypeEnum ¶
type BandwidthInfoShareTypeEnum struct {}
func GetBandwidthInfoShareTypeEnum ¶
func GetBandwidthInfoShareTypeEnum() BandwidthInfoShareTypeEnum
type BandwidthResult ¶
type BandwidthResult struct { Size *int32 `json:"size,omitempty"` ChargingMode *BandwidthResultChargingMode `json:"charging_mode,omitempty"` Id *string `json:"id,omitempty"` }
带宽信息
func (BandwidthResult) String ¶
func (o BandwidthResult) String() string
type BandwidthResultChargingMode ¶
type BandwidthResultChargingMode struct {
// contains filtered or unexported fields
}
func (BandwidthResultChargingMode) MarshalJSON ¶
func (c BandwidthResultChargingMode) MarshalJSON() ([]byte, error)
func (*BandwidthResultChargingMode) UnmarshalJSON ¶
func (c *BandwidthResultChargingMode) UnmarshalJSON(b []byte) error
type BandwidthResultChargingModeEnum ¶
type BandwidthResultChargingModeEnum struct { BANDWIDTH BandwidthResultChargingMode TRAFFIC BandwidthResultChargingMode }
func GetBandwidthResultChargingModeEnum ¶
func GetBandwidthResultChargingModeEnum() BandwidthResultChargingModeEnum
type BandwidthResultShareType ¶
type BandwidthResultShareType struct {
// contains filtered or unexported fields
}
func (BandwidthResultShareType) MarshalJSON ¶
func (c BandwidthResultShareType) MarshalJSON() ([]byte, error)
func (*BandwidthResultShareType) UnmarshalJSON ¶
func (c *BandwidthResultShareType) UnmarshalJSON(b []byte) error
type BandwidthResultShareTypeEnum ¶
type BandwidthResultShareTypeEnum struct {}
func GetBandwidthResultShareTypeEnum ¶
func GetBandwidthResultShareTypeEnum() BandwidthResultShareTypeEnum
type BatchAddInstancesOption ¶
type BatchAddInstancesOption struct { InstancesId []string `json:"instances_id"` InstanceDelete *BatchAddInstancesOptionInstanceDelete `json:"instance_delete,omitempty"` Action BatchAddInstancesOptionAction `json:"action"` InstanceAppend *BatchAddInstancesOptionInstanceAppend `json:"instance_append,omitempty"` }
批量添加实例
func (BatchAddInstancesOption) String ¶
func (o BatchAddInstancesOption) String() string
type BatchAddInstancesOptionAction ¶
type BatchAddInstancesOptionAction struct {
// contains filtered or unexported fields
}
func (BatchAddInstancesOptionAction) MarshalJSON ¶
func (c BatchAddInstancesOptionAction) MarshalJSON() ([]byte, error)
func (*BatchAddInstancesOptionAction) UnmarshalJSON ¶
func (c *BatchAddInstancesOptionAction) UnmarshalJSON(b []byte) error
type BatchAddInstancesOptionActionEnum ¶
type BatchAddInstancesOptionActionEnum struct {
ADD BatchAddInstancesOptionAction
}
func GetBatchAddInstancesOptionActionEnum ¶
func GetBatchAddInstancesOptionActionEnum() BatchAddInstancesOptionActionEnum
type BatchAddInstancesOptionInstanceAppend ¶
type BatchAddInstancesOptionInstanceAppend struct {
// contains filtered or unexported fields
}
func (BatchAddInstancesOptionInstanceAppend) MarshalJSON ¶
func (c BatchAddInstancesOptionInstanceAppend) MarshalJSON() ([]byte, error)
func (*BatchAddInstancesOptionInstanceAppend) UnmarshalJSON ¶
func (c *BatchAddInstancesOptionInstanceAppend) UnmarshalJSON(b []byte) error
type BatchAddInstancesOptionInstanceAppendEnum ¶
type BatchAddInstancesOptionInstanceAppendEnum struct { NO BatchAddInstancesOptionInstanceAppend YES BatchAddInstancesOptionInstanceAppend }
func GetBatchAddInstancesOptionInstanceAppendEnum ¶
func GetBatchAddInstancesOptionInstanceAppendEnum() BatchAddInstancesOptionInstanceAppendEnum
type BatchAddInstancesOptionInstanceDelete ¶
type BatchAddInstancesOptionInstanceDelete struct {
// contains filtered or unexported fields
}
func (BatchAddInstancesOptionInstanceDelete) MarshalJSON ¶
func (c BatchAddInstancesOptionInstanceDelete) MarshalJSON() ([]byte, error)
func (*BatchAddInstancesOptionInstanceDelete) UnmarshalJSON ¶
func (c *BatchAddInstancesOptionInstanceDelete) UnmarshalJSON(b []byte) error
type BatchAddInstancesOptionInstanceDeleteEnum ¶
type BatchAddInstancesOptionInstanceDeleteEnum struct { YES BatchAddInstancesOptionInstanceDelete NO BatchAddInstancesOptionInstanceDelete }
func GetBatchAddInstancesOptionInstanceDeleteEnum ¶
func GetBatchAddInstancesOptionInstanceDeleteEnum() BatchAddInstancesOptionInstanceDeleteEnum
type BatchAddScalingInstancesRequest ¶
type BatchAddScalingInstancesRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *BatchAddInstancesOption `json:"body,omitempty"` }
Request Object
func (BatchAddScalingInstancesRequest) String ¶
func (o BatchAddScalingInstancesRequest) String() string
type BatchAddScalingInstancesResponse ¶
type BatchAddScalingInstancesResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchAddScalingInstancesResponse) String ¶
func (o BatchAddScalingInstancesResponse) String() string
type BatchDeleteScalingConfigOption ¶
type BatchDeleteScalingConfigOption struct {
ScalingConfigurationId []string `json:"scaling_configuration_id"`
}
批量删除伸缩配置请求
func (BatchDeleteScalingConfigOption) String ¶
func (o BatchDeleteScalingConfigOption) String() string
type BatchDeleteScalingConfigsRequest ¶
type BatchDeleteScalingConfigsRequest struct {
Body *BatchDeleteScalingConfigOption `json:"body,omitempty"`
}
Request Object
func (BatchDeleteScalingConfigsRequest) String ¶
func (o BatchDeleteScalingConfigsRequest) String() string
type BatchDeleteScalingConfigsResponse ¶
type BatchDeleteScalingConfigsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteScalingConfigsResponse) String ¶
func (o BatchDeleteScalingConfigsResponse) String() string
type BatchDeleteScalingPoliciesOption ¶
type BatchDeleteScalingPoliciesOption struct { ScalingPolicyId []string `json:"scaling_policy_id"` ForceDelete *BatchDeleteScalingPoliciesOptionForceDelete `json:"force_delete,omitempty"` Action BatchDeleteScalingPoliciesOptionAction `json:"action"` DeleteAlarm *string `json:"delete_alarm,omitempty"` }
批量操作弹性伸缩策略
func (BatchDeleteScalingPoliciesOption) String ¶
func (o BatchDeleteScalingPoliciesOption) String() string
type BatchDeleteScalingPoliciesOptionAction ¶
type BatchDeleteScalingPoliciesOptionAction struct {
// contains filtered or unexported fields
}
func (BatchDeleteScalingPoliciesOptionAction) MarshalJSON ¶
func (c BatchDeleteScalingPoliciesOptionAction) MarshalJSON() ([]byte, error)
func (*BatchDeleteScalingPoliciesOptionAction) UnmarshalJSON ¶
func (c *BatchDeleteScalingPoliciesOptionAction) UnmarshalJSON(b []byte) error
type BatchDeleteScalingPoliciesOptionActionEnum ¶
type BatchDeleteScalingPoliciesOptionActionEnum struct {
DELETE BatchDeleteScalingPoliciesOptionAction
}
func GetBatchDeleteScalingPoliciesOptionActionEnum ¶
func GetBatchDeleteScalingPoliciesOptionActionEnum() BatchDeleteScalingPoliciesOptionActionEnum
type BatchDeleteScalingPoliciesOptionForceDelete ¶
type BatchDeleteScalingPoliciesOptionForceDelete struct {
// contains filtered or unexported fields
}
func (BatchDeleteScalingPoliciesOptionForceDelete) MarshalJSON ¶
func (c BatchDeleteScalingPoliciesOptionForceDelete) MarshalJSON() ([]byte, error)
func (*BatchDeleteScalingPoliciesOptionForceDelete) UnmarshalJSON ¶
func (c *BatchDeleteScalingPoliciesOptionForceDelete) UnmarshalJSON(b []byte) error
type BatchDeleteScalingPoliciesOptionForceDeleteEnum ¶
type BatchDeleteScalingPoliciesOptionForceDeleteEnum struct { NO BatchDeleteScalingPoliciesOptionForceDelete YES BatchDeleteScalingPoliciesOptionForceDelete }
func GetBatchDeleteScalingPoliciesOptionForceDeleteEnum ¶
func GetBatchDeleteScalingPoliciesOptionForceDeleteEnum() BatchDeleteScalingPoliciesOptionForceDeleteEnum
type BatchDeleteScalingPoliciesRequest ¶
type BatchDeleteScalingPoliciesRequest struct {
Body *BatchDeleteScalingPoliciesOption `json:"body,omitempty"`
}
Request Object
func (BatchDeleteScalingPoliciesRequest) String ¶
func (o BatchDeleteScalingPoliciesRequest) String() string
type BatchDeleteScalingPoliciesResponse ¶
type BatchDeleteScalingPoliciesResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteScalingPoliciesResponse) String ¶
func (o BatchDeleteScalingPoliciesResponse) String() string
type BatchEnterStandbyInstancesOption ¶
type BatchEnterStandbyInstancesOption struct { InstancesId []string `json:"instances_id"` InstanceDelete *BatchEnterStandbyInstancesOptionInstanceDelete `json:"instance_delete,omitempty"` Action BatchEnterStandbyInstancesOptionAction `json:"action"` InstanceAppend *BatchEnterStandbyInstancesOptionInstanceAppend `json:"instance_append,omitempty"` }
批量将实例转入备用状态
func (BatchEnterStandbyInstancesOption) String ¶
func (o BatchEnterStandbyInstancesOption) String() string
type BatchEnterStandbyInstancesOptionAction ¶
type BatchEnterStandbyInstancesOptionAction struct {
// contains filtered or unexported fields
}
func (BatchEnterStandbyInstancesOptionAction) MarshalJSON ¶
func (c BatchEnterStandbyInstancesOptionAction) MarshalJSON() ([]byte, error)
func (*BatchEnterStandbyInstancesOptionAction) UnmarshalJSON ¶
func (c *BatchEnterStandbyInstancesOptionAction) UnmarshalJSON(b []byte) error
type BatchEnterStandbyInstancesOptionActionEnum ¶
type BatchEnterStandbyInstancesOptionActionEnum struct {
ENTER_STANDBY BatchEnterStandbyInstancesOptionAction
}
func GetBatchEnterStandbyInstancesOptionActionEnum ¶
func GetBatchEnterStandbyInstancesOptionActionEnum() BatchEnterStandbyInstancesOptionActionEnum
type BatchEnterStandbyInstancesOptionInstanceAppend ¶
type BatchEnterStandbyInstancesOptionInstanceAppend struct {
// contains filtered or unexported fields
}
func (BatchEnterStandbyInstancesOptionInstanceAppend) MarshalJSON ¶
func (c BatchEnterStandbyInstancesOptionInstanceAppend) MarshalJSON() ([]byte, error)
func (*BatchEnterStandbyInstancesOptionInstanceAppend) UnmarshalJSON ¶
func (c *BatchEnterStandbyInstancesOptionInstanceAppend) UnmarshalJSON(b []byte) error
type BatchEnterStandbyInstancesOptionInstanceAppendEnum ¶
type BatchEnterStandbyInstancesOptionInstanceAppendEnum struct { NO BatchEnterStandbyInstancesOptionInstanceAppend YES BatchEnterStandbyInstancesOptionInstanceAppend }
func GetBatchEnterStandbyInstancesOptionInstanceAppendEnum ¶
func GetBatchEnterStandbyInstancesOptionInstanceAppendEnum() BatchEnterStandbyInstancesOptionInstanceAppendEnum
type BatchEnterStandbyInstancesOptionInstanceDelete ¶
type BatchEnterStandbyInstancesOptionInstanceDelete struct {
// contains filtered or unexported fields
}
func (BatchEnterStandbyInstancesOptionInstanceDelete) MarshalJSON ¶
func (c BatchEnterStandbyInstancesOptionInstanceDelete) MarshalJSON() ([]byte, error)
func (*BatchEnterStandbyInstancesOptionInstanceDelete) UnmarshalJSON ¶
func (c *BatchEnterStandbyInstancesOptionInstanceDelete) UnmarshalJSON(b []byte) error
type BatchEnterStandbyInstancesOptionInstanceDeleteEnum ¶
type BatchEnterStandbyInstancesOptionInstanceDeleteEnum struct { YES BatchEnterStandbyInstancesOptionInstanceDelete NO BatchEnterStandbyInstancesOptionInstanceDelete }
func GetBatchEnterStandbyInstancesOptionInstanceDeleteEnum ¶
func GetBatchEnterStandbyInstancesOptionInstanceDeleteEnum() BatchEnterStandbyInstancesOptionInstanceDeleteEnum
type BatchExitStandByInstancesOption ¶
type BatchExitStandByInstancesOption struct { InstancesId []string `json:"instances_id"` InstanceDelete *BatchExitStandByInstancesOptionInstanceDelete `json:"instance_delete,omitempty"` Action BatchExitStandByInstancesOptionAction `json:"action"` InstanceAppend *BatchExitStandByInstancesOptionInstanceAppend `json:"instance_append,omitempty"` }
批量将实例移出备用状态
func (BatchExitStandByInstancesOption) String ¶
func (o BatchExitStandByInstancesOption) String() string
type BatchExitStandByInstancesOptionAction ¶
type BatchExitStandByInstancesOptionAction struct {
// contains filtered or unexported fields
}
func (BatchExitStandByInstancesOptionAction) MarshalJSON ¶
func (c BatchExitStandByInstancesOptionAction) MarshalJSON() ([]byte, error)
func (*BatchExitStandByInstancesOptionAction) UnmarshalJSON ¶
func (c *BatchExitStandByInstancesOptionAction) UnmarshalJSON(b []byte) error
type BatchExitStandByInstancesOptionActionEnum ¶
type BatchExitStandByInstancesOptionActionEnum struct {
EXIT_STANDBY BatchExitStandByInstancesOptionAction
}
func GetBatchExitStandByInstancesOptionActionEnum ¶
func GetBatchExitStandByInstancesOptionActionEnum() BatchExitStandByInstancesOptionActionEnum
type BatchExitStandByInstancesOptionInstanceAppend ¶
type BatchExitStandByInstancesOptionInstanceAppend struct {
// contains filtered or unexported fields
}
func (BatchExitStandByInstancesOptionInstanceAppend) MarshalJSON ¶
func (c BatchExitStandByInstancesOptionInstanceAppend) MarshalJSON() ([]byte, error)
func (*BatchExitStandByInstancesOptionInstanceAppend) UnmarshalJSON ¶
func (c *BatchExitStandByInstancesOptionInstanceAppend) UnmarshalJSON(b []byte) error
type BatchExitStandByInstancesOptionInstanceAppendEnum ¶
type BatchExitStandByInstancesOptionInstanceAppendEnum struct { NO BatchExitStandByInstancesOptionInstanceAppend YES BatchExitStandByInstancesOptionInstanceAppend }
func GetBatchExitStandByInstancesOptionInstanceAppendEnum ¶
func GetBatchExitStandByInstancesOptionInstanceAppendEnum() BatchExitStandByInstancesOptionInstanceAppendEnum
type BatchExitStandByInstancesOptionInstanceDelete ¶
type BatchExitStandByInstancesOptionInstanceDelete struct {
// contains filtered or unexported fields
}
func (BatchExitStandByInstancesOptionInstanceDelete) MarshalJSON ¶
func (c BatchExitStandByInstancesOptionInstanceDelete) MarshalJSON() ([]byte, error)
func (*BatchExitStandByInstancesOptionInstanceDelete) UnmarshalJSON ¶
func (c *BatchExitStandByInstancesOptionInstanceDelete) UnmarshalJSON(b []byte) error
type BatchExitStandByInstancesOptionInstanceDeleteEnum ¶
type BatchExitStandByInstancesOptionInstanceDeleteEnum struct { YES BatchExitStandByInstancesOptionInstanceDelete NO BatchExitStandByInstancesOptionInstanceDelete }
func GetBatchExitStandByInstancesOptionInstanceDeleteEnum ¶
func GetBatchExitStandByInstancesOptionInstanceDeleteEnum() BatchExitStandByInstancesOptionInstanceDeleteEnum
type BatchPauseScalingPoliciesOption ¶
type BatchPauseScalingPoliciesOption struct { ScalingPolicyId []string `json:"scaling_policy_id"` ForceDelete *BatchPauseScalingPoliciesOptionForceDelete `json:"force_delete,omitempty"` Action BatchPauseScalingPoliciesOptionAction `json:"action"` DeleteAlarm *string `json:"delete_alarm,omitempty"` }
批量操作弹性伸缩策略
func (BatchPauseScalingPoliciesOption) String ¶
func (o BatchPauseScalingPoliciesOption) String() string
type BatchPauseScalingPoliciesOptionAction ¶
type BatchPauseScalingPoliciesOptionAction struct {
// contains filtered or unexported fields
}
func (BatchPauseScalingPoliciesOptionAction) MarshalJSON ¶
func (c BatchPauseScalingPoliciesOptionAction) MarshalJSON() ([]byte, error)
func (*BatchPauseScalingPoliciesOptionAction) UnmarshalJSON ¶
func (c *BatchPauseScalingPoliciesOptionAction) UnmarshalJSON(b []byte) error
type BatchPauseScalingPoliciesOptionActionEnum ¶
type BatchPauseScalingPoliciesOptionActionEnum struct {
PAUSE BatchPauseScalingPoliciesOptionAction
}
func GetBatchPauseScalingPoliciesOptionActionEnum ¶
func GetBatchPauseScalingPoliciesOptionActionEnum() BatchPauseScalingPoliciesOptionActionEnum
type BatchPauseScalingPoliciesOptionForceDelete ¶
type BatchPauseScalingPoliciesOptionForceDelete struct {
// contains filtered or unexported fields
}
func (BatchPauseScalingPoliciesOptionForceDelete) MarshalJSON ¶
func (c BatchPauseScalingPoliciesOptionForceDelete) MarshalJSON() ([]byte, error)
func (*BatchPauseScalingPoliciesOptionForceDelete) UnmarshalJSON ¶
func (c *BatchPauseScalingPoliciesOptionForceDelete) UnmarshalJSON(b []byte) error
type BatchPauseScalingPoliciesOptionForceDeleteEnum ¶
type BatchPauseScalingPoliciesOptionForceDeleteEnum struct { NO BatchPauseScalingPoliciesOptionForceDelete YES BatchPauseScalingPoliciesOptionForceDelete }
func GetBatchPauseScalingPoliciesOptionForceDeleteEnum ¶
func GetBatchPauseScalingPoliciesOptionForceDeleteEnum() BatchPauseScalingPoliciesOptionForceDeleteEnum
type BatchPauseScalingPoliciesRequest ¶
type BatchPauseScalingPoliciesRequest struct {
Body *BatchPauseScalingPoliciesOption `json:"body,omitempty"`
}
Request Object
func (BatchPauseScalingPoliciesRequest) String ¶
func (o BatchPauseScalingPoliciesRequest) String() string
type BatchPauseScalingPoliciesResponse ¶
type BatchPauseScalingPoliciesResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchPauseScalingPoliciesResponse) String ¶
func (o BatchPauseScalingPoliciesResponse) String() string
type BatchProtectInstancesOption ¶
type BatchProtectInstancesOption struct { InstancesId []string `json:"instances_id"` InstanceDelete *BatchProtectInstancesOptionInstanceDelete `json:"instance_delete,omitempty"` Action BatchProtectInstancesOptionAction `json:"action"` InstanceAppend *BatchProtectInstancesOptionInstanceAppend `json:"instance_append,omitempty"` }
批量设置实例保护
func (BatchProtectInstancesOption) String ¶
func (o BatchProtectInstancesOption) String() string
type BatchProtectInstancesOptionAction ¶
type BatchProtectInstancesOptionAction struct {
// contains filtered or unexported fields
}
func (BatchProtectInstancesOptionAction) MarshalJSON ¶
func (c BatchProtectInstancesOptionAction) MarshalJSON() ([]byte, error)
func (*BatchProtectInstancesOptionAction) UnmarshalJSON ¶
func (c *BatchProtectInstancesOptionAction) UnmarshalJSON(b []byte) error
type BatchProtectInstancesOptionActionEnum ¶
type BatchProtectInstancesOptionActionEnum struct {
PROTECT BatchProtectInstancesOptionAction
}
func GetBatchProtectInstancesOptionActionEnum ¶
func GetBatchProtectInstancesOptionActionEnum() BatchProtectInstancesOptionActionEnum
type BatchProtectInstancesOptionInstanceAppend ¶
type BatchProtectInstancesOptionInstanceAppend struct {
// contains filtered or unexported fields
}
func (BatchProtectInstancesOptionInstanceAppend) MarshalJSON ¶
func (c BatchProtectInstancesOptionInstanceAppend) MarshalJSON() ([]byte, error)
func (*BatchProtectInstancesOptionInstanceAppend) UnmarshalJSON ¶
func (c *BatchProtectInstancesOptionInstanceAppend) UnmarshalJSON(b []byte) error
type BatchProtectInstancesOptionInstanceAppendEnum ¶
type BatchProtectInstancesOptionInstanceAppendEnum struct { NO BatchProtectInstancesOptionInstanceAppend YES BatchProtectInstancesOptionInstanceAppend }
func GetBatchProtectInstancesOptionInstanceAppendEnum ¶
func GetBatchProtectInstancesOptionInstanceAppendEnum() BatchProtectInstancesOptionInstanceAppendEnum
type BatchProtectInstancesOptionInstanceDelete ¶
type BatchProtectInstancesOptionInstanceDelete struct {
// contains filtered or unexported fields
}
func (BatchProtectInstancesOptionInstanceDelete) MarshalJSON ¶
func (c BatchProtectInstancesOptionInstanceDelete) MarshalJSON() ([]byte, error)
func (*BatchProtectInstancesOptionInstanceDelete) UnmarshalJSON ¶
func (c *BatchProtectInstancesOptionInstanceDelete) UnmarshalJSON(b []byte) error
type BatchProtectInstancesOptionInstanceDeleteEnum ¶
type BatchProtectInstancesOptionInstanceDeleteEnum struct { YES BatchProtectInstancesOptionInstanceDelete NO BatchProtectInstancesOptionInstanceDelete }
func GetBatchProtectInstancesOptionInstanceDeleteEnum ¶
func GetBatchProtectInstancesOptionInstanceDeleteEnum() BatchProtectInstancesOptionInstanceDeleteEnum
type BatchProtectScalingInstancesRequest ¶
type BatchProtectScalingInstancesRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *BatchProtectInstancesOption `json:"body,omitempty"` }
Request Object
func (BatchProtectScalingInstancesRequest) String ¶
func (o BatchProtectScalingInstancesRequest) String() string
type BatchProtectScalingInstancesResponse ¶
type BatchProtectScalingInstancesResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchProtectScalingInstancesResponse) String ¶
func (o BatchProtectScalingInstancesResponse) String() string
type BatchRemoveInstancesOption ¶
type BatchRemoveInstancesOption struct { InstancesId []string `json:"instances_id"` InstanceDelete *BatchRemoveInstancesOptionInstanceDelete `json:"instance_delete,omitempty"` Action BatchRemoveInstancesOptionAction `json:"action"` InstanceAppend *BatchRemoveInstancesOptionInstanceAppend `json:"instance_append,omitempty"` }
批量移除实例
func (BatchRemoveInstancesOption) String ¶
func (o BatchRemoveInstancesOption) String() string
type BatchRemoveInstancesOptionAction ¶
type BatchRemoveInstancesOptionAction struct {
// contains filtered or unexported fields
}
func (BatchRemoveInstancesOptionAction) MarshalJSON ¶
func (c BatchRemoveInstancesOptionAction) MarshalJSON() ([]byte, error)
func (*BatchRemoveInstancesOptionAction) UnmarshalJSON ¶
func (c *BatchRemoveInstancesOptionAction) UnmarshalJSON(b []byte) error
type BatchRemoveInstancesOptionActionEnum ¶
type BatchRemoveInstancesOptionActionEnum struct {
REMOVE BatchRemoveInstancesOptionAction
}
func GetBatchRemoveInstancesOptionActionEnum ¶
func GetBatchRemoveInstancesOptionActionEnum() BatchRemoveInstancesOptionActionEnum
type BatchRemoveInstancesOptionInstanceAppend ¶
type BatchRemoveInstancesOptionInstanceAppend struct {
// contains filtered or unexported fields
}
func (BatchRemoveInstancesOptionInstanceAppend) MarshalJSON ¶
func (c BatchRemoveInstancesOptionInstanceAppend) MarshalJSON() ([]byte, error)
func (*BatchRemoveInstancesOptionInstanceAppend) UnmarshalJSON ¶
func (c *BatchRemoveInstancesOptionInstanceAppend) UnmarshalJSON(b []byte) error
type BatchRemoveInstancesOptionInstanceAppendEnum ¶
type BatchRemoveInstancesOptionInstanceAppendEnum struct { NO BatchRemoveInstancesOptionInstanceAppend YES BatchRemoveInstancesOptionInstanceAppend }
func GetBatchRemoveInstancesOptionInstanceAppendEnum ¶
func GetBatchRemoveInstancesOptionInstanceAppendEnum() BatchRemoveInstancesOptionInstanceAppendEnum
type BatchRemoveInstancesOptionInstanceDelete ¶
type BatchRemoveInstancesOptionInstanceDelete struct {
// contains filtered or unexported fields
}
func (BatchRemoveInstancesOptionInstanceDelete) MarshalJSON ¶
func (c BatchRemoveInstancesOptionInstanceDelete) MarshalJSON() ([]byte, error)
func (*BatchRemoveInstancesOptionInstanceDelete) UnmarshalJSON ¶
func (c *BatchRemoveInstancesOptionInstanceDelete) UnmarshalJSON(b []byte) error
type BatchRemoveInstancesOptionInstanceDeleteEnum ¶
type BatchRemoveInstancesOptionInstanceDeleteEnum struct { YES BatchRemoveInstancesOptionInstanceDelete NO BatchRemoveInstancesOptionInstanceDelete }
func GetBatchRemoveInstancesOptionInstanceDeleteEnum ¶
func GetBatchRemoveInstancesOptionInstanceDeleteEnum() BatchRemoveInstancesOptionInstanceDeleteEnum
type BatchRemoveScalingInstancesRequest ¶
type BatchRemoveScalingInstancesRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *BatchRemoveInstancesOption `json:"body,omitempty"` }
Request Object
func (BatchRemoveScalingInstancesRequest) String ¶
func (o BatchRemoveScalingInstancesRequest) String() string
type BatchRemoveScalingInstancesResponse ¶
type BatchRemoveScalingInstancesResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchRemoveScalingInstancesResponse) String ¶
func (o BatchRemoveScalingInstancesResponse) String() string
type BatchResumeScalingPoliciesOption ¶
type BatchResumeScalingPoliciesOption struct { ScalingPolicyId []string `json:"scaling_policy_id"` ForceDelete *BatchResumeScalingPoliciesOptionForceDelete `json:"force_delete,omitempty"` Action BatchResumeScalingPoliciesOptionAction `json:"action"` DeleteAlarm *string `json:"delete_alarm,omitempty"` }
批量操作弹性伸缩策略
func (BatchResumeScalingPoliciesOption) String ¶
func (o BatchResumeScalingPoliciesOption) String() string
type BatchResumeScalingPoliciesOptionAction ¶
type BatchResumeScalingPoliciesOptionAction struct {
// contains filtered or unexported fields
}
func (BatchResumeScalingPoliciesOptionAction) MarshalJSON ¶
func (c BatchResumeScalingPoliciesOptionAction) MarshalJSON() ([]byte, error)
func (*BatchResumeScalingPoliciesOptionAction) UnmarshalJSON ¶
func (c *BatchResumeScalingPoliciesOptionAction) UnmarshalJSON(b []byte) error
type BatchResumeScalingPoliciesOptionActionEnum ¶
type BatchResumeScalingPoliciesOptionActionEnum struct {
RESUME BatchResumeScalingPoliciesOptionAction
}
func GetBatchResumeScalingPoliciesOptionActionEnum ¶
func GetBatchResumeScalingPoliciesOptionActionEnum() BatchResumeScalingPoliciesOptionActionEnum
type BatchResumeScalingPoliciesOptionForceDelete ¶
type BatchResumeScalingPoliciesOptionForceDelete struct {
// contains filtered or unexported fields
}
func (BatchResumeScalingPoliciesOptionForceDelete) MarshalJSON ¶
func (c BatchResumeScalingPoliciesOptionForceDelete) MarshalJSON() ([]byte, error)
func (*BatchResumeScalingPoliciesOptionForceDelete) UnmarshalJSON ¶
func (c *BatchResumeScalingPoliciesOptionForceDelete) UnmarshalJSON(b []byte) error
type BatchResumeScalingPoliciesOptionForceDeleteEnum ¶
type BatchResumeScalingPoliciesOptionForceDeleteEnum struct { NO BatchResumeScalingPoliciesOptionForceDelete YES BatchResumeScalingPoliciesOptionForceDelete }
func GetBatchResumeScalingPoliciesOptionForceDeleteEnum ¶
func GetBatchResumeScalingPoliciesOptionForceDeleteEnum() BatchResumeScalingPoliciesOptionForceDeleteEnum
type BatchResumeScalingPoliciesRequest ¶
type BatchResumeScalingPoliciesRequest struct {
Body *BatchResumeScalingPoliciesOption `json:"body,omitempty"`
}
Request Object
func (BatchResumeScalingPoliciesRequest) String ¶
func (o BatchResumeScalingPoliciesRequest) String() string
type BatchResumeScalingPoliciesResponse ¶
type BatchResumeScalingPoliciesResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchResumeScalingPoliciesResponse) String ¶
func (o BatchResumeScalingPoliciesResponse) String() string
type BatchSetScalingInstancesStandbyRequest ¶
type BatchSetScalingInstancesStandbyRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *BatchEnterStandbyInstancesOption `json:"body,omitempty"` }
Request Object
func (BatchSetScalingInstancesStandbyRequest) String ¶
func (o BatchSetScalingInstancesStandbyRequest) String() string
type BatchSetScalingInstancesStandbyResponse ¶
type BatchSetScalingInstancesStandbyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchSetScalingInstancesStandbyResponse) String ¶
func (o BatchSetScalingInstancesStandbyResponse) String() string
type BatchUnprotectInstancesOption ¶
type BatchUnprotectInstancesOption struct { InstancesId []string `json:"instances_id"` InstanceDelete *BatchUnprotectInstancesOptionInstanceDelete `json:"instance_delete,omitempty"` Action BatchUnprotectInstancesOptionAction `json:"action"` InstanceAppend *BatchUnprotectInstancesOptionInstanceAppend `json:"instance_append,omitempty"` }
批量取消实例保护
func (BatchUnprotectInstancesOption) String ¶
func (o BatchUnprotectInstancesOption) String() string
type BatchUnprotectInstancesOptionAction ¶
type BatchUnprotectInstancesOptionAction struct {
// contains filtered or unexported fields
}
func (BatchUnprotectInstancesOptionAction) MarshalJSON ¶
func (c BatchUnprotectInstancesOptionAction) MarshalJSON() ([]byte, error)
func (*BatchUnprotectInstancesOptionAction) UnmarshalJSON ¶
func (c *BatchUnprotectInstancesOptionAction) UnmarshalJSON(b []byte) error
type BatchUnprotectInstancesOptionActionEnum ¶
type BatchUnprotectInstancesOptionActionEnum struct {
UNPROTECT BatchUnprotectInstancesOptionAction
}
func GetBatchUnprotectInstancesOptionActionEnum ¶
func GetBatchUnprotectInstancesOptionActionEnum() BatchUnprotectInstancesOptionActionEnum
type BatchUnprotectInstancesOptionInstanceAppend ¶
type BatchUnprotectInstancesOptionInstanceAppend struct {
// contains filtered or unexported fields
}
func (BatchUnprotectInstancesOptionInstanceAppend) MarshalJSON ¶
func (c BatchUnprotectInstancesOptionInstanceAppend) MarshalJSON() ([]byte, error)
func (*BatchUnprotectInstancesOptionInstanceAppend) UnmarshalJSON ¶
func (c *BatchUnprotectInstancesOptionInstanceAppend) UnmarshalJSON(b []byte) error
type BatchUnprotectInstancesOptionInstanceAppendEnum ¶
type BatchUnprotectInstancesOptionInstanceAppendEnum struct { NO BatchUnprotectInstancesOptionInstanceAppend YES BatchUnprotectInstancesOptionInstanceAppend }
func GetBatchUnprotectInstancesOptionInstanceAppendEnum ¶
func GetBatchUnprotectInstancesOptionInstanceAppendEnum() BatchUnprotectInstancesOptionInstanceAppendEnum
type BatchUnprotectInstancesOptionInstanceDelete ¶
type BatchUnprotectInstancesOptionInstanceDelete struct {
// contains filtered or unexported fields
}
func (BatchUnprotectInstancesOptionInstanceDelete) MarshalJSON ¶
func (c BatchUnprotectInstancesOptionInstanceDelete) MarshalJSON() ([]byte, error)
func (*BatchUnprotectInstancesOptionInstanceDelete) UnmarshalJSON ¶
func (c *BatchUnprotectInstancesOptionInstanceDelete) UnmarshalJSON(b []byte) error
type BatchUnprotectInstancesOptionInstanceDeleteEnum ¶
type BatchUnprotectInstancesOptionInstanceDeleteEnum struct { YES BatchUnprotectInstancesOptionInstanceDelete NO BatchUnprotectInstancesOptionInstanceDelete }
func GetBatchUnprotectInstancesOptionInstanceDeleteEnum ¶
func GetBatchUnprotectInstancesOptionInstanceDeleteEnum() BatchUnprotectInstancesOptionInstanceDeleteEnum
type BatchUnprotectScalingInstancesRequest ¶
type BatchUnprotectScalingInstancesRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *BatchUnprotectInstancesOption `json:"body,omitempty"` }
Request Object
func (BatchUnprotectScalingInstancesRequest) String ¶
func (o BatchUnprotectScalingInstancesRequest) String() string
type BatchUnprotectScalingInstancesResponse ¶
type BatchUnprotectScalingInstancesResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchUnprotectScalingInstancesResponse) String ¶
func (o BatchUnprotectScalingInstancesResponse) String() string
type BatchUnsetScalingInstancesStantbyRequest ¶ added in v0.0.50
type BatchUnsetScalingInstancesStantbyRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *BatchExitStandByInstancesOption `json:"body,omitempty"` }
Request Object
func (BatchUnsetScalingInstancesStantbyRequest) String ¶ added in v0.0.50
func (o BatchUnsetScalingInstancesStantbyRequest) String() string
type BatchUnsetScalingInstancesStantbyResponse ¶ added in v0.0.50
type BatchUnsetScalingInstancesStantbyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchUnsetScalingInstancesStantbyResponse) String ¶ added in v0.0.50
func (o BatchUnsetScalingInstancesStantbyResponse) String() string
type CallbackLifeCycleHookOption ¶
type CallbackLifeCycleHookOption struct { LifecycleActionKey *string `json:"lifecycle_action_key,omitempty"` InstanceId *string `json:"instance_id,omitempty"` LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"` LifecycleActionResult CallbackLifeCycleHookOptionLifecycleActionResult `json:"lifecycle_action_result"` }
伸缩实例生命周期回调
func (CallbackLifeCycleHookOption) String ¶
func (o CallbackLifeCycleHookOption) String() string
type CallbackLifeCycleHookOptionLifecycleActionResult ¶
type CallbackLifeCycleHookOptionLifecycleActionResult struct {
// contains filtered or unexported fields
}
func (CallbackLifeCycleHookOptionLifecycleActionResult) MarshalJSON ¶
func (c CallbackLifeCycleHookOptionLifecycleActionResult) MarshalJSON() ([]byte, error)
func (*CallbackLifeCycleHookOptionLifecycleActionResult) UnmarshalJSON ¶
func (c *CallbackLifeCycleHookOptionLifecycleActionResult) UnmarshalJSON(b []byte) error
type CallbackLifeCycleHookOptionLifecycleActionResultEnum ¶
type CallbackLifeCycleHookOptionLifecycleActionResultEnum struct { ABANDON CallbackLifeCycleHookOptionLifecycleActionResult CONTINUE CallbackLifeCycleHookOptionLifecycleActionResult EXTEND CallbackLifeCycleHookOptionLifecycleActionResult }
func GetCallbackLifeCycleHookOptionLifecycleActionResultEnum ¶
func GetCallbackLifeCycleHookOptionLifecycleActionResultEnum() CallbackLifeCycleHookOptionLifecycleActionResultEnum
type CreateLifeCycleHookOption ¶
type CreateLifeCycleHookOption struct { LifecycleHookName string `json:"lifecycle_hook_name"` LifecycleHookType CreateLifeCycleHookOptionLifecycleHookType `json:"lifecycle_hook_type"` DefaultResult *CreateLifeCycleHookOptionDefaultResult `json:"default_result,omitempty"` DefaultTimeout *int32 `json:"default_timeout,omitempty"` NotificationTopicUrn string `json:"notification_topic_urn"` NotificationMetadata *string `json:"notification_metadata,omitempty"` }
创建生命周期挂钩
func (CreateLifeCycleHookOption) String ¶
func (o CreateLifeCycleHookOption) String() string
type CreateLifeCycleHookOptionDefaultResult ¶
type CreateLifeCycleHookOptionDefaultResult struct {
// contains filtered or unexported fields
}
func (CreateLifeCycleHookOptionDefaultResult) MarshalJSON ¶
func (c CreateLifeCycleHookOptionDefaultResult) MarshalJSON() ([]byte, error)
func (*CreateLifeCycleHookOptionDefaultResult) UnmarshalJSON ¶
func (c *CreateLifeCycleHookOptionDefaultResult) UnmarshalJSON(b []byte) error
type CreateLifeCycleHookOptionDefaultResultEnum ¶
type CreateLifeCycleHookOptionDefaultResultEnum struct { ABANDON CreateLifeCycleHookOptionDefaultResult CONTINUE CreateLifeCycleHookOptionDefaultResult }
func GetCreateLifeCycleHookOptionDefaultResultEnum ¶
func GetCreateLifeCycleHookOptionDefaultResultEnum() CreateLifeCycleHookOptionDefaultResultEnum
type CreateLifeCycleHookOptionLifecycleHookType ¶
type CreateLifeCycleHookOptionLifecycleHookType struct {
// contains filtered or unexported fields
}
func (CreateLifeCycleHookOptionLifecycleHookType) MarshalJSON ¶
func (c CreateLifeCycleHookOptionLifecycleHookType) MarshalJSON() ([]byte, error)
func (*CreateLifeCycleHookOptionLifecycleHookType) UnmarshalJSON ¶
func (c *CreateLifeCycleHookOptionLifecycleHookType) UnmarshalJSON(b []byte) error
type CreateLifeCycleHookOptionLifecycleHookTypeEnum ¶
type CreateLifeCycleHookOptionLifecycleHookTypeEnum struct { INSTANCE_TERMINATING CreateLifeCycleHookOptionLifecycleHookType INSTANCE_LAUNCHING CreateLifeCycleHookOptionLifecycleHookType }
func GetCreateLifeCycleHookOptionLifecycleHookTypeEnum ¶
func GetCreateLifeCycleHookOptionLifecycleHookTypeEnum() CreateLifeCycleHookOptionLifecycleHookTypeEnum
type CreateLifyCycleHookRequest ¶
type CreateLifyCycleHookRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *CreateLifeCycleHookOption `json:"body,omitempty"` }
Request Object
func (CreateLifyCycleHookRequest) String ¶
func (o CreateLifyCycleHookRequest) String() string
type CreateLifyCycleHookResponse ¶
type CreateLifyCycleHookResponse struct { LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"` LifecycleHookType *CreateLifyCycleHookResponseLifecycleHookType `json:"lifecycle_hook_type,omitempty"` DefaultResult *CreateLifyCycleHookResponseDefaultResult `json:"default_result,omitempty"` DefaultTimeout *int32 `json:"default_timeout,omitempty"` NotificationTopicUrn *string `json:"notification_topic_urn,omitempty"` NotificationTopicName *string `json:"notification_topic_name,omitempty"` NotificationMetadata *string `json:"notification_metadata,omitempty"` CreateTime *string `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateLifyCycleHookResponse) String ¶
func (o CreateLifyCycleHookResponse) String() string
type CreateLifyCycleHookResponseDefaultResult ¶
type CreateLifyCycleHookResponseDefaultResult struct {
// contains filtered or unexported fields
}
func (CreateLifyCycleHookResponseDefaultResult) MarshalJSON ¶
func (c CreateLifyCycleHookResponseDefaultResult) MarshalJSON() ([]byte, error)
func (*CreateLifyCycleHookResponseDefaultResult) UnmarshalJSON ¶
func (c *CreateLifyCycleHookResponseDefaultResult) UnmarshalJSON(b []byte) error
type CreateLifyCycleHookResponseDefaultResultEnum ¶
type CreateLifyCycleHookResponseDefaultResultEnum struct { ABANDON CreateLifyCycleHookResponseDefaultResult CONTINUE CreateLifyCycleHookResponseDefaultResult }
func GetCreateLifyCycleHookResponseDefaultResultEnum ¶
func GetCreateLifyCycleHookResponseDefaultResultEnum() CreateLifyCycleHookResponseDefaultResultEnum
type CreateLifyCycleHookResponseLifecycleHookType ¶
type CreateLifyCycleHookResponseLifecycleHookType struct {
// contains filtered or unexported fields
}
func (CreateLifyCycleHookResponseLifecycleHookType) MarshalJSON ¶
func (c CreateLifyCycleHookResponseLifecycleHookType) MarshalJSON() ([]byte, error)
func (*CreateLifyCycleHookResponseLifecycleHookType) UnmarshalJSON ¶
func (c *CreateLifyCycleHookResponseLifecycleHookType) UnmarshalJSON(b []byte) error
type CreateLifyCycleHookResponseLifecycleHookTypeEnum ¶
type CreateLifyCycleHookResponseLifecycleHookTypeEnum struct { INSTANCE_TERMINATING CreateLifyCycleHookResponseLifecycleHookType INSTANCE_LAUNCHING CreateLifyCycleHookResponseLifecycleHookType }
func GetCreateLifyCycleHookResponseLifecycleHookTypeEnum ¶
func GetCreateLifyCycleHookResponseLifecycleHookTypeEnum() CreateLifyCycleHookResponseLifecycleHookTypeEnum
type CreateNotificationOption ¶
type CreateNotificationOption struct { TopicUrn string `json:"topic_urn"` TopicScene []CreateNotificationOptionTopicScene `json:"topic_scene"` }
配置伸缩组通知
func (CreateNotificationOption) String ¶
func (o CreateNotificationOption) String() string
type CreateNotificationOptionTopicScene ¶
type CreateNotificationOptionTopicScene struct {
// contains filtered or unexported fields
}
func (CreateNotificationOptionTopicScene) MarshalJSON ¶
func (c CreateNotificationOptionTopicScene) MarshalJSON() ([]byte, error)
func (*CreateNotificationOptionTopicScene) UnmarshalJSON ¶
func (c *CreateNotificationOptionTopicScene) UnmarshalJSON(b []byte) error
type CreateNotificationOptionTopicSceneEnum ¶
type CreateNotificationOptionTopicSceneEnum struct { SCALING_UP CreateNotificationOptionTopicScene SCALING_UP_FAIL CreateNotificationOptionTopicScene SCALING_DOWN CreateNotificationOptionTopicScene SCALING_DOWN_FAIL CreateNotificationOptionTopicScene SCALING_GROUP_ABNORMAL CreateNotificationOptionTopicScene }
func GetCreateNotificationOptionTopicSceneEnum ¶
func GetCreateNotificationOptionTopicSceneEnum() CreateNotificationOptionTopicSceneEnum
type CreateScalingConfigOption ¶
type CreateScalingConfigOption struct { ScalingConfigurationName string `json:"scaling_configuration_name"` InstanceConfig *InstanceConfig `json:"instance_config"` }
创建伸缩配置请求
func (CreateScalingConfigOption) String ¶
func (o CreateScalingConfigOption) String() string
type CreateScalingConfigRequest ¶
type CreateScalingConfigRequest struct {
Body *CreateScalingConfigOption `json:"body,omitempty"`
}
Request Object
func (CreateScalingConfigRequest) String ¶
func (o CreateScalingConfigRequest) String() string
type CreateScalingConfigResponse ¶
type CreateScalingConfigResponse struct { ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateScalingConfigResponse) String ¶
func (o CreateScalingConfigResponse) String() string
type CreateScalingGroupOption ¶
type CreateScalingGroupOption struct { ScalingGroupName string `json:"scaling_group_name"` ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"` DesireInstanceNumber *int32 `json:"desire_instance_number,omitempty"` MinInstanceNumber *int32 `json:"min_instance_number,omitempty"` MaxInstanceNumber *int32 `json:"max_instance_number,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` LbListenerId *string `json:"lb_listener_id,omitempty"` LbaasListeners *[]LbaasListeners `json:"lbaas_listeners,omitempty"` AvailableZones *[]string `json:"available_zones,omitempty"` Networks []Networks `json:"networks"` SecurityGroups *[]SecurityGroup `json:"security_groups,omitempty"` VpcId string `json:"vpc_id"` HealthPeriodicAuditMethod *CreateScalingGroupOptionHealthPeriodicAuditMethod `json:"health_periodic_audit_method,omitempty"` HealthPeriodicAuditTime *int32 `json:"health_periodic_audit_time,omitempty"` HealthPeriodicAuditGracePeriod *int32 `json:"health_periodic_audit_grace_period,omitempty"` InstanceTerminatePolicy *CreateScalingGroupOptionInstanceTerminatePolicy `json:"instance_terminate_policy,omitempty"` Notifications *[]string `json:"notifications,omitempty"` DeletePublicip *bool `json:"delete_publicip,omitempty"` DeleteVolume *bool `json:"delete_volume,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` MultiAzPriorityPolicy *CreateScalingGroupOptionMultiAzPriorityPolicy `json:"multi_az_priority_policy,omitempty"` Description *string `json:"description,omitempty"` }
创建伸缩组请求
func (CreateScalingGroupOption) String ¶
func (o CreateScalingGroupOption) String() string
type CreateScalingGroupOptionHealthPeriodicAuditMethod ¶
type CreateScalingGroupOptionHealthPeriodicAuditMethod struct {
// contains filtered or unexported fields
}
func (CreateScalingGroupOptionHealthPeriodicAuditMethod) MarshalJSON ¶
func (c CreateScalingGroupOptionHealthPeriodicAuditMethod) MarshalJSON() ([]byte, error)
func (*CreateScalingGroupOptionHealthPeriodicAuditMethod) UnmarshalJSON ¶
func (c *CreateScalingGroupOptionHealthPeriodicAuditMethod) UnmarshalJSON(b []byte) error
type CreateScalingGroupOptionHealthPeriodicAuditMethodEnum ¶
type CreateScalingGroupOptionHealthPeriodicAuditMethodEnum struct { ELB_AUDIT CreateScalingGroupOptionHealthPeriodicAuditMethod NOVA_AUDIT CreateScalingGroupOptionHealthPeriodicAuditMethod }
func GetCreateScalingGroupOptionHealthPeriodicAuditMethodEnum ¶
func GetCreateScalingGroupOptionHealthPeriodicAuditMethodEnum() CreateScalingGroupOptionHealthPeriodicAuditMethodEnum
type CreateScalingGroupOptionInstanceTerminatePolicy ¶
type CreateScalingGroupOptionInstanceTerminatePolicy struct {
// contains filtered or unexported fields
}
func (CreateScalingGroupOptionInstanceTerminatePolicy) MarshalJSON ¶
func (c CreateScalingGroupOptionInstanceTerminatePolicy) MarshalJSON() ([]byte, error)
func (*CreateScalingGroupOptionInstanceTerminatePolicy) UnmarshalJSON ¶
func (c *CreateScalingGroupOptionInstanceTerminatePolicy) UnmarshalJSON(b []byte) error
type CreateScalingGroupOptionInstanceTerminatePolicyEnum ¶
type CreateScalingGroupOptionInstanceTerminatePolicyEnum struct { OLD_CONFIG_OLD_INSTANCE CreateScalingGroupOptionInstanceTerminatePolicy OLD_CONFIG_NEW_INSTANCE CreateScalingGroupOptionInstanceTerminatePolicy OLD_INSTANCE CreateScalingGroupOptionInstanceTerminatePolicy NEW_INSTANCE CreateScalingGroupOptionInstanceTerminatePolicy }
func GetCreateScalingGroupOptionInstanceTerminatePolicyEnum ¶
func GetCreateScalingGroupOptionInstanceTerminatePolicyEnum() CreateScalingGroupOptionInstanceTerminatePolicyEnum
type CreateScalingGroupOptionMultiAzPriorityPolicy ¶
type CreateScalingGroupOptionMultiAzPriorityPolicy struct {
// contains filtered or unexported fields
}
func (CreateScalingGroupOptionMultiAzPriorityPolicy) MarshalJSON ¶
func (c CreateScalingGroupOptionMultiAzPriorityPolicy) MarshalJSON() ([]byte, error)
func (*CreateScalingGroupOptionMultiAzPriorityPolicy) UnmarshalJSON ¶
func (c *CreateScalingGroupOptionMultiAzPriorityPolicy) UnmarshalJSON(b []byte) error
type CreateScalingGroupOptionMultiAzPriorityPolicyEnum ¶
type CreateScalingGroupOptionMultiAzPriorityPolicyEnum struct { EQUILIBRIUM_DISTRIBUTE CreateScalingGroupOptionMultiAzPriorityPolicy PICK_FIRST CreateScalingGroupOptionMultiAzPriorityPolicy }
func GetCreateScalingGroupOptionMultiAzPriorityPolicyEnum ¶
func GetCreateScalingGroupOptionMultiAzPriorityPolicyEnum() CreateScalingGroupOptionMultiAzPriorityPolicyEnum
type CreateScalingGroupRequest ¶
type CreateScalingGroupRequest struct {
Body *CreateScalingGroupOption `json:"body,omitempty"`
}
Request Object
func (CreateScalingGroupRequest) String ¶
func (o CreateScalingGroupRequest) String() string
type CreateScalingGroupResponse ¶
type CreateScalingGroupResponse struct { ScalingGroupId *string `json:"scaling_group_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateScalingGroupResponse) String ¶
func (o CreateScalingGroupResponse) String() string
type CreateScalingNotificationRequest ¶
type CreateScalingNotificationRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *CreateNotificationOption `json:"body,omitempty"` }
Request Object
func (CreateScalingNotificationRequest) String ¶
func (o CreateScalingNotificationRequest) String() string
type CreateScalingNotificationResponse ¶
type CreateScalingNotificationResponse struct { TopicUrn *string `json:"topic_urn,omitempty"` TopicScene *[]string `json:"topic_scene,omitempty"` TopicName *string `json:"topic_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateScalingNotificationResponse) String ¶
func (o CreateScalingNotificationResponse) String() string
type CreateScalingPolicyOption ¶
type CreateScalingPolicyOption struct { ScalingPolicyName string `json:"scaling_policy_name"` ScalingGroupId string `json:"scaling_group_id"` ScalingPolicyType CreateScalingPolicyOptionScalingPolicyType `json:"scaling_policy_type"` AlarmId *string `json:"alarm_id,omitempty"` ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"` ScalingPolicyAction *ScalingPolicyActionV1 `json:"scaling_policy_action,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` }
创建伸缩策略
func (CreateScalingPolicyOption) String ¶
func (o CreateScalingPolicyOption) String() string
type CreateScalingPolicyOptionScalingPolicyType ¶
type CreateScalingPolicyOptionScalingPolicyType struct {
// contains filtered or unexported fields
}
func (CreateScalingPolicyOptionScalingPolicyType) MarshalJSON ¶
func (c CreateScalingPolicyOptionScalingPolicyType) MarshalJSON() ([]byte, error)
func (*CreateScalingPolicyOptionScalingPolicyType) UnmarshalJSON ¶
func (c *CreateScalingPolicyOptionScalingPolicyType) UnmarshalJSON(b []byte) error
type CreateScalingPolicyOptionScalingPolicyTypeEnum ¶
type CreateScalingPolicyOptionScalingPolicyTypeEnum struct { ALARM CreateScalingPolicyOptionScalingPolicyType SCHEDULED CreateScalingPolicyOptionScalingPolicyType RECURRENCE CreateScalingPolicyOptionScalingPolicyType }
func GetCreateScalingPolicyOptionScalingPolicyTypeEnum ¶
func GetCreateScalingPolicyOptionScalingPolicyTypeEnum() CreateScalingPolicyOptionScalingPolicyTypeEnum
type CreateScalingPolicyRequest ¶
type CreateScalingPolicyRequest struct {
Body *CreateScalingPolicyOption `json:"body,omitempty"`
}
Request Object
func (CreateScalingPolicyRequest) String ¶
func (o CreateScalingPolicyRequest) String() string
type CreateScalingPolicyResponse ¶
type CreateScalingPolicyResponse struct { ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateScalingPolicyResponse) String ¶
func (o CreateScalingPolicyResponse) String() string
type CreateScalingPolicyV2Option ¶
type CreateScalingPolicyV2Option struct { ScalingPolicyName string `json:"scaling_policy_name"` ScalingResourceId string `json:"scaling_resource_id"` ScalingResourceType CreateScalingPolicyV2OptionScalingResourceType `json:"scaling_resource_type"` ScalingPolicyType CreateScalingPolicyV2OptionScalingPolicyType `json:"scaling_policy_type"` AlarmId *string `json:"alarm_id,omitempty"` ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"` ScalingPolicyAction *ScalingPolicyActionV2 `json:"scaling_policy_action,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` Description *string `json:"description,omitempty"` }
创建伸缩策略(V2)
func (CreateScalingPolicyV2Option) String ¶
func (o CreateScalingPolicyV2Option) String() string
type CreateScalingPolicyV2OptionScalingPolicyType ¶
type CreateScalingPolicyV2OptionScalingPolicyType struct {
// contains filtered or unexported fields
}
func (CreateScalingPolicyV2OptionScalingPolicyType) MarshalJSON ¶
func (c CreateScalingPolicyV2OptionScalingPolicyType) MarshalJSON() ([]byte, error)
func (*CreateScalingPolicyV2OptionScalingPolicyType) UnmarshalJSON ¶
func (c *CreateScalingPolicyV2OptionScalingPolicyType) UnmarshalJSON(b []byte) error
type CreateScalingPolicyV2OptionScalingPolicyTypeEnum ¶
type CreateScalingPolicyV2OptionScalingPolicyTypeEnum struct { ALARM CreateScalingPolicyV2OptionScalingPolicyType SCHEDULED CreateScalingPolicyV2OptionScalingPolicyType RECURRENCE CreateScalingPolicyV2OptionScalingPolicyType }
func GetCreateScalingPolicyV2OptionScalingPolicyTypeEnum ¶
func GetCreateScalingPolicyV2OptionScalingPolicyTypeEnum() CreateScalingPolicyV2OptionScalingPolicyTypeEnum
type CreateScalingPolicyV2OptionScalingResourceType ¶
type CreateScalingPolicyV2OptionScalingResourceType struct {
// contains filtered or unexported fields
}
func (CreateScalingPolicyV2OptionScalingResourceType) MarshalJSON ¶
func (c CreateScalingPolicyV2OptionScalingResourceType) MarshalJSON() ([]byte, error)
func (*CreateScalingPolicyV2OptionScalingResourceType) UnmarshalJSON ¶
func (c *CreateScalingPolicyV2OptionScalingResourceType) UnmarshalJSON(b []byte) error
type CreateScalingPolicyV2OptionScalingResourceTypeEnum ¶
type CreateScalingPolicyV2OptionScalingResourceTypeEnum struct { SCALING_GROUP CreateScalingPolicyV2OptionScalingResourceType BANDWIDTH CreateScalingPolicyV2OptionScalingResourceType }
func GetCreateScalingPolicyV2OptionScalingResourceTypeEnum ¶
func GetCreateScalingPolicyV2OptionScalingResourceTypeEnum() CreateScalingPolicyV2OptionScalingResourceTypeEnum
type CreateScalingTagInfoRequest ¶
type CreateScalingTagInfoRequest struct { ResourceType CreateScalingTagInfoRequestResourceType `json:"resource_type"` ResourceId string `json:"resource_id"` Body *CreateTagsOption `json:"body,omitempty"` }
Request Object
func (CreateScalingTagInfoRequest) String ¶
func (o CreateScalingTagInfoRequest) String() string
type CreateScalingTagInfoRequestResourceType ¶
type CreateScalingTagInfoRequestResourceType struct {
// contains filtered or unexported fields
}
func (CreateScalingTagInfoRequestResourceType) MarshalJSON ¶
func (c CreateScalingTagInfoRequestResourceType) MarshalJSON() ([]byte, error)
func (*CreateScalingTagInfoRequestResourceType) UnmarshalJSON ¶
func (c *CreateScalingTagInfoRequestResourceType) UnmarshalJSON(b []byte) error
type CreateScalingTagInfoRequestResourceTypeEnum ¶
type CreateScalingTagInfoRequestResourceTypeEnum struct {
SCALING_GROUP_TAG CreateScalingTagInfoRequestResourceType
}
func GetCreateScalingTagInfoRequestResourceTypeEnum ¶
func GetCreateScalingTagInfoRequestResourceTypeEnum() CreateScalingTagInfoRequestResourceTypeEnum
type CreateScalingTagInfoResponse ¶
type CreateScalingTagInfoResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateScalingTagInfoResponse) String ¶
func (o CreateScalingTagInfoResponse) String() string
type CreateScalingV2PolicyRequest ¶
type CreateScalingV2PolicyRequest struct {
Body *CreateScalingPolicyV2Option `json:"body,omitempty"`
}
Request Object
func (CreateScalingV2PolicyRequest) String ¶
func (o CreateScalingV2PolicyRequest) String() string
type CreateScalingV2PolicyResponse ¶
type CreateScalingV2PolicyResponse struct { ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateScalingV2PolicyResponse) String ¶
func (o CreateScalingV2PolicyResponse) String() string
type CreateTagsOption ¶
type CreateTagsOption struct { Tags []TagsSingleValue `json:"tags"` Action CreateTagsOptionAction `json:"action"` }
标签列表
func (CreateTagsOption) String ¶
func (o CreateTagsOption) String() string
type CreateTagsOptionAction ¶
type CreateTagsOptionAction struct {
// contains filtered or unexported fields
}
func (CreateTagsOptionAction) MarshalJSON ¶
func (c CreateTagsOptionAction) MarshalJSON() ([]byte, error)
func (*CreateTagsOptionAction) UnmarshalJSON ¶
func (c *CreateTagsOptionAction) UnmarshalJSON(b []byte) error
type CreateTagsOptionActionEnum ¶
type CreateTagsOptionActionEnum struct {
CREATE CreateTagsOptionAction
}
func GetCreateTagsOptionActionEnum ¶
func GetCreateTagsOptionActionEnum() CreateTagsOptionActionEnum
type DeleteLifecycleHookRequest ¶
type DeleteLifecycleHookRequest struct { ScalingGroupId string `json:"scaling_group_id"` LifecycleHookName string `json:"lifecycle_hook_name"` }
Request Object
func (DeleteLifecycleHookRequest) String ¶
func (o DeleteLifecycleHookRequest) String() string
type DeleteLifecycleHookResponse ¶
type DeleteLifecycleHookResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteLifecycleHookResponse) String ¶
func (o DeleteLifecycleHookResponse) String() string
type DeleteScalingConfigRequest ¶
type DeleteScalingConfigRequest struct {
ScalingConfigurationId string `json:"scaling_configuration_id"`
}
Request Object
func (DeleteScalingConfigRequest) String ¶
func (o DeleteScalingConfigRequest) String() string
type DeleteScalingConfigResponse ¶
type DeleteScalingConfigResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteScalingConfigResponse) String ¶
func (o DeleteScalingConfigResponse) String() string
type DeleteScalingGroupRequest ¶
type DeleteScalingGroupRequest struct { ScalingGroupId string `json:"scaling_group_id"` ForceDelete *DeleteScalingGroupRequestForceDelete `json:"force_delete,omitempty"` }
Request Object
func (DeleteScalingGroupRequest) String ¶
func (o DeleteScalingGroupRequest) String() string
type DeleteScalingGroupRequestForceDelete ¶
type DeleteScalingGroupRequestForceDelete struct {
// contains filtered or unexported fields
}
func (DeleteScalingGroupRequestForceDelete) MarshalJSON ¶
func (c DeleteScalingGroupRequestForceDelete) MarshalJSON() ([]byte, error)
func (*DeleteScalingGroupRequestForceDelete) UnmarshalJSON ¶
func (c *DeleteScalingGroupRequestForceDelete) UnmarshalJSON(b []byte) error
type DeleteScalingGroupRequestForceDeleteEnum ¶
type DeleteScalingGroupRequestForceDeleteEnum struct { YES DeleteScalingGroupRequestForceDelete NO DeleteScalingGroupRequestForceDelete }
func GetDeleteScalingGroupRequestForceDeleteEnum ¶
func GetDeleteScalingGroupRequestForceDeleteEnum() DeleteScalingGroupRequestForceDeleteEnum
type DeleteScalingGroupResponse ¶
type DeleteScalingGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteScalingGroupResponse) String ¶
func (o DeleteScalingGroupResponse) String() string
type DeleteScalingInstanceRequest ¶
type DeleteScalingInstanceRequest struct { InstanceId string `json:"instance_id"` InstanceDelete *DeleteScalingInstanceRequestInstanceDelete `json:"instance_delete,omitempty"` }
Request Object
func (DeleteScalingInstanceRequest) String ¶
func (o DeleteScalingInstanceRequest) String() string
type DeleteScalingInstanceRequestInstanceDelete ¶
type DeleteScalingInstanceRequestInstanceDelete struct {
// contains filtered or unexported fields
}
func (DeleteScalingInstanceRequestInstanceDelete) MarshalJSON ¶
func (c DeleteScalingInstanceRequestInstanceDelete) MarshalJSON() ([]byte, error)
func (*DeleteScalingInstanceRequestInstanceDelete) UnmarshalJSON ¶
func (c *DeleteScalingInstanceRequestInstanceDelete) UnmarshalJSON(b []byte) error
type DeleteScalingInstanceRequestInstanceDeleteEnum ¶
type DeleteScalingInstanceRequestInstanceDeleteEnum struct { YES DeleteScalingInstanceRequestInstanceDelete NO DeleteScalingInstanceRequestInstanceDelete }
func GetDeleteScalingInstanceRequestInstanceDeleteEnum ¶
func GetDeleteScalingInstanceRequestInstanceDeleteEnum() DeleteScalingInstanceRequestInstanceDeleteEnum
type DeleteScalingInstanceResponse ¶
type DeleteScalingInstanceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteScalingInstanceResponse) String ¶
func (o DeleteScalingInstanceResponse) String() string
type DeleteScalingNotificationRequest ¶
type DeleteScalingNotificationRequest struct { ScalingGroupId string `json:"scaling_group_id"` TopicUrn string `json:"topic_urn"` }
Request Object
func (DeleteScalingNotificationRequest) String ¶
func (o DeleteScalingNotificationRequest) String() string
type DeleteScalingNotificationResponse ¶
type DeleteScalingNotificationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteScalingNotificationResponse) String ¶
func (o DeleteScalingNotificationResponse) String() string
type DeleteScalingPolicyRequest ¶
type DeleteScalingPolicyRequest struct {
ScalingPolicyId string `json:"scaling_policy_id"`
}
Request Object
func (DeleteScalingPolicyRequest) String ¶
func (o DeleteScalingPolicyRequest) String() string
type DeleteScalingPolicyResponse ¶
type DeleteScalingPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteScalingPolicyResponse) String ¶
func (o DeleteScalingPolicyResponse) String() string
type DeleteScalingTagInfoRequest ¶
type DeleteScalingTagInfoRequest struct { ResourceType DeleteScalingTagInfoRequestResourceType `json:"resource_type"` ResourceId string `json:"resource_id"` Body *DeleteTagsOption `json:"body,omitempty"` }
Request Object
func (DeleteScalingTagInfoRequest) String ¶
func (o DeleteScalingTagInfoRequest) String() string
type DeleteScalingTagInfoRequestResourceType ¶
type DeleteScalingTagInfoRequestResourceType struct {
// contains filtered or unexported fields
}
func (DeleteScalingTagInfoRequestResourceType) MarshalJSON ¶
func (c DeleteScalingTagInfoRequestResourceType) MarshalJSON() ([]byte, error)
func (*DeleteScalingTagInfoRequestResourceType) UnmarshalJSON ¶
func (c *DeleteScalingTagInfoRequestResourceType) UnmarshalJSON(b []byte) error
type DeleteScalingTagInfoRequestResourceTypeEnum ¶
type DeleteScalingTagInfoRequestResourceTypeEnum struct {
SCALING_GROUP_TAG DeleteScalingTagInfoRequestResourceType
}
func GetDeleteScalingTagInfoRequestResourceTypeEnum ¶
func GetDeleteScalingTagInfoRequestResourceTypeEnum() DeleteScalingTagInfoRequestResourceTypeEnum
type DeleteScalingTagInfoResponse ¶
type DeleteScalingTagInfoResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteScalingTagInfoResponse) String ¶
func (o DeleteScalingTagInfoResponse) String() string
type DeleteTagsOption ¶
type DeleteTagsOption struct { Tags []TagsSingleValue `json:"tags"` Action DeleteTagsOptionAction `json:"action"` }
标签列表
func (DeleteTagsOption) String ¶
func (o DeleteTagsOption) String() string
type DeleteTagsOptionAction ¶
type DeleteTagsOptionAction struct {
// contains filtered or unexported fields
}
func (DeleteTagsOptionAction) MarshalJSON ¶
func (c DeleteTagsOptionAction) MarshalJSON() ([]byte, error)
func (*DeleteTagsOptionAction) UnmarshalJSON ¶
func (c *DeleteTagsOptionAction) UnmarshalJSON(b []byte) error
type DeleteTagsOptionActionEnum ¶
type DeleteTagsOptionActionEnum struct {
DELETE DeleteTagsOptionAction
}
func GetDeleteTagsOptionActionEnum ¶
func GetDeleteTagsOptionActionEnum() DeleteTagsOptionActionEnum
type DiskInfo ¶
type DiskInfo struct { Size int32 `json:"size"` VolumeType DiskInfoVolumeType `json:"volume_type"` DiskType DiskInfoDiskType `json:"disk_type"` DedicatedStorageId *string `json:"dedicated_storage_id,omitempty"` DataDiskImageId *string `json:"data_disk_image_id,omitempty"` SnapshotId *string `json:"snapshot_id,omitempty"` Metadata *MetaData `json:"metadata,omitempty"` }
磁盘组信息,系统盘必选,数据盘可选。
type DiskInfoDiskType ¶
type DiskInfoDiskType struct {
// contains filtered or unexported fields
}
func (DiskInfoDiskType) MarshalJSON ¶
func (c DiskInfoDiskType) MarshalJSON() ([]byte, error)
func (*DiskInfoDiskType) UnmarshalJSON ¶
func (c *DiskInfoDiskType) UnmarshalJSON(b []byte) error
type DiskInfoDiskTypeEnum ¶
type DiskInfoDiskTypeEnum struct { SYS DiskInfoDiskType DATA DiskInfoDiskType }
func GetDiskInfoDiskTypeEnum ¶
func GetDiskInfoDiskTypeEnum() DiskInfoDiskTypeEnum
type DiskInfoVolumeType ¶
type DiskInfoVolumeType struct {
// contains filtered or unexported fields
}
func (DiskInfoVolumeType) MarshalJSON ¶
func (c DiskInfoVolumeType) MarshalJSON() ([]byte, error)
func (*DiskInfoVolumeType) UnmarshalJSON ¶
func (c *DiskInfoVolumeType) UnmarshalJSON(b []byte) error
type DiskInfoVolumeTypeEnum ¶
type DiskInfoVolumeTypeEnum struct { SATA DiskInfoVolumeType SAS DiskInfoVolumeType SSD DiskInfoVolumeType CO_PL DiskInfoVolumeType UH_11 DiskInfoVolumeType GPSSD DiskInfoVolumeType }
func GetDiskInfoVolumeTypeEnum ¶
func GetDiskInfoVolumeTypeEnum() DiskInfoVolumeTypeEnum
type DiskResult ¶
type DiskResult struct { Size *int32 `json:"size,omitempty"` VolumeType *DiskResultVolumeType `json:"volume_type,omitempty"` DiskType *DiskResultDiskType `json:"disk_type,omitempty"` DedicatedStorageId *string `json:"dedicated_storage_id,omitempty"` DataDiskImageId *string `json:"data_disk_image_id,omitempty"` SnapshotId *string `json:"snapshot_id,omitempty"` Metadata *MetaData `json:"metadata,omitempty"` }
磁盘信息
func (DiskResult) String ¶
func (o DiskResult) String() string
type DiskResultDiskType ¶
type DiskResultDiskType struct {
// contains filtered or unexported fields
}
func (DiskResultDiskType) MarshalJSON ¶
func (c DiskResultDiskType) MarshalJSON() ([]byte, error)
func (*DiskResultDiskType) UnmarshalJSON ¶
func (c *DiskResultDiskType) UnmarshalJSON(b []byte) error
type DiskResultDiskTypeEnum ¶
type DiskResultDiskTypeEnum struct { SYS DiskResultDiskType DATA DiskResultDiskType }
func GetDiskResultDiskTypeEnum ¶
func GetDiskResultDiskTypeEnum() DiskResultDiskTypeEnum
type DiskResultVolumeType ¶
type DiskResultVolumeType struct {
// contains filtered or unexported fields
}
func (DiskResultVolumeType) MarshalJSON ¶
func (c DiskResultVolumeType) MarshalJSON() ([]byte, error)
func (*DiskResultVolumeType) UnmarshalJSON ¶
func (c *DiskResultVolumeType) UnmarshalJSON(b []byte) error
type DiskResultVolumeTypeEnum ¶
type DiskResultVolumeTypeEnum struct { SATA DiskResultVolumeType SAS DiskResultVolumeType SSD DiskResultVolumeType CO_PL DiskResultVolumeType UH_11 DiskResultVolumeType }
func GetDiskResultVolumeTypeEnum ¶
func GetDiskResultVolumeTypeEnum() DiskResultVolumeTypeEnum
type EipInfo ¶
type EipInfo struct { IpType EipInfoIpType `json:"ip_type"` Bandwidth *BandwidthInfo `json:"bandwidth"` }
配置云服务器的弹性IP信息
type EipInfoIpType ¶
type EipInfoIpType struct {
// contains filtered or unexported fields
}
func (EipInfoIpType) MarshalJSON ¶
func (c EipInfoIpType) MarshalJSON() ([]byte, error)
func (*EipInfoIpType) UnmarshalJSON ¶
func (c *EipInfoIpType) UnmarshalJSON(b []byte) error
type EipInfoIpTypeEnum ¶
type EipInfoIpTypeEnum struct { E_5_BGP EipInfoIpType E_5_SBGP EipInfoIpType E_5_TELCOM EipInfoIpType E_5_UNION EipInfoIpType }
func GetEipInfoIpTypeEnum ¶
func GetEipInfoIpTypeEnum() EipInfoIpTypeEnum
type EipMetaData ¶
type EipMetaData struct { MetadataEipId *string `json:"metadata_eip_id,omitempty"` MetadataeipAddress *string `json:"metadataeip_address,omitempty"` }
用户自定义键值对
func (EipMetaData) String ¶
func (o EipMetaData) String() string
type EipResult ¶
type EipResult struct { IpType *EipResultIpType `json:"ip_type,omitempty"` Bandwidth *BandwidthResult `json:"bandwidth,omitempty"` }
eip信息
type EipResultIpType ¶
type EipResultIpType struct {
// contains filtered or unexported fields
}
func (EipResultIpType) MarshalJSON ¶
func (c EipResultIpType) MarshalJSON() ([]byte, error)
func (*EipResultIpType) UnmarshalJSON ¶
func (c *EipResultIpType) UnmarshalJSON(b []byte) error
type EipResultIpTypeEnum ¶
type EipResultIpTypeEnum struct { E_5_BGP EipResultIpType E_5_SBGP EipResultIpType E_5_TELCOM EipResultIpType E_5_UNION EipResultIpType }
func GetEipResultIpTypeEnum ¶
func GetEipResultIpTypeEnum() EipResultIpTypeEnum
type ExecuteScalingPolicyOption ¶
type ExecuteScalingPolicyOption struct {
Action ExecuteScalingPolicyOptionAction `json:"action"`
}
执行或启用或停止伸缩策略
func (ExecuteScalingPolicyOption) String ¶
func (o ExecuteScalingPolicyOption) String() string
type ExecuteScalingPolicyOptionAction ¶
type ExecuteScalingPolicyOptionAction struct {
// contains filtered or unexported fields
}
func (ExecuteScalingPolicyOptionAction) MarshalJSON ¶
func (c ExecuteScalingPolicyOptionAction) MarshalJSON() ([]byte, error)
func (*ExecuteScalingPolicyOptionAction) UnmarshalJSON ¶
func (c *ExecuteScalingPolicyOptionAction) UnmarshalJSON(b []byte) error
type ExecuteScalingPolicyOptionActionEnum ¶
type ExecuteScalingPolicyOptionActionEnum struct {
EXECUTE ExecuteScalingPolicyOptionAction
}
func GetExecuteScalingPolicyOptionActionEnum ¶
func GetExecuteScalingPolicyOptionActionEnum() ExecuteScalingPolicyOptionActionEnum
type ExecuteScalingPolicyRequest ¶
type ExecuteScalingPolicyRequest struct { ScalingPolicyId string `json:"scaling_policy_id"` Body *ExecuteScalingPolicyOption `json:"body,omitempty"` }
Request Object
func (ExecuteScalingPolicyRequest) String ¶
func (o ExecuteScalingPolicyRequest) String() string
type ExecuteScalingPolicyResponse ¶
type ExecuteScalingPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ExecuteScalingPolicyResponse) String ¶
func (o ExecuteScalingPolicyResponse) String() string
type InstanceConfig ¶
type InstanceConfig struct { InstanceId *string `json:"instance_id,omitempty"` FlavorRef *string `json:"flavorRef,omitempty"` ImageRef *string `json:"imageRef,omitempty"` Disk *[]DiskInfo `json:"disk,omitempty"` KeyName *string `json:"key_name,omitempty"` Personality *[]PersonalityInfo `json:"personality,omitempty"` PublicIp *PublicIp `json:"public_ip,omitempty"` UserData *string `json:"user_data,omitempty"` Metadata *VmMetaData `json:"metadata,omitempty"` SecurityGroups []SecurityGroups `json:"security_groups"` ServerGroupId *string `json:"server_group_id,omitempty"` Tenancy *InstanceConfigTenancy `json:"tenancy,omitempty"` DedicatedHostId *string `json:"dedicated_host_id,omitempty"` MultiFlavorPriorityPolicy *InstanceConfigMultiFlavorPriorityPolicy `json:"multi_flavor_priority_policy,omitempty"` MarketType *InstanceConfigMarketType `json:"market_type,omitempty"` }
实例配置信息
func (InstanceConfig) String ¶
func (o InstanceConfig) String() string
type InstanceConfigMarketType ¶
type InstanceConfigMarketType struct {
// contains filtered or unexported fields
}
func (InstanceConfigMarketType) MarshalJSON ¶
func (c InstanceConfigMarketType) MarshalJSON() ([]byte, error)
func (*InstanceConfigMarketType) UnmarshalJSON ¶
func (c *InstanceConfigMarketType) UnmarshalJSON(b []byte) error
type InstanceConfigMarketTypeEnum ¶
type InstanceConfigMarketTypeEnum struct {
SPOT InstanceConfigMarketType
}
func GetInstanceConfigMarketTypeEnum ¶
func GetInstanceConfigMarketTypeEnum() InstanceConfigMarketTypeEnum
type InstanceConfigMultiFlavorPriorityPolicy ¶
type InstanceConfigMultiFlavorPriorityPolicy struct {
// contains filtered or unexported fields
}
func (InstanceConfigMultiFlavorPriorityPolicy) MarshalJSON ¶
func (c InstanceConfigMultiFlavorPriorityPolicy) MarshalJSON() ([]byte, error)
func (*InstanceConfigMultiFlavorPriorityPolicy) UnmarshalJSON ¶
func (c *InstanceConfigMultiFlavorPriorityPolicy) UnmarshalJSON(b []byte) error
type InstanceConfigMultiFlavorPriorityPolicyEnum ¶
type InstanceConfigMultiFlavorPriorityPolicyEnum struct { PICK_FIRST InstanceConfigMultiFlavorPriorityPolicy COST_FIRST InstanceConfigMultiFlavorPriorityPolicy }
func GetInstanceConfigMultiFlavorPriorityPolicyEnum ¶
func GetInstanceConfigMultiFlavorPriorityPolicyEnum() InstanceConfigMultiFlavorPriorityPolicyEnum
type InstanceConfigResult ¶
type InstanceConfigResult struct { FlavorRef *string `json:"flavorRef,omitempty"` ImageRef *string `json:"imageRef,omitempty"` Disk *[]DiskResult `json:"disk,omitempty"` KeyName *string `json:"key_name,omitempty"` KeyFingerprint *string `json:"key_fingerprint,omitempty"` InstanceName *string `json:"instance_name,omitempty"` InstanceId *string `json:"instance_id,omitempty"` AdminPass *string `json:"adminPass,omitempty"` Personality *[]PersonalityResult `json:"personality,omitempty"` PublicIp *PublicipResult `json:"public_ip,omitempty"` UserData *string `json:"user_data,omitempty"` Metadata *VmMetaData `json:"metadata,omitempty"` SecurityGroups *[]SecurityGroups `json:"security_groups,omitempty"` ServerGroupId *string `json:"server_group_id,omitempty"` Tenancy *string `json:"tenancy,omitempty"` DedicatedHostId *string `json:"dedicated_host_id,omitempty"` MarketType *string `json:"market_type,omitempty"` MultiFlavorPriorityPolicy *string `json:"multi_flavor_priority_policy,omitempty"` }
实例配置信息
func (InstanceConfigResult) String ¶
func (o InstanceConfigResult) String() string
type InstanceConfigTenancy ¶
type InstanceConfigTenancy struct {
// contains filtered or unexported fields
}
func (InstanceConfigTenancy) MarshalJSON ¶
func (c InstanceConfigTenancy) MarshalJSON() ([]byte, error)
func (*InstanceConfigTenancy) UnmarshalJSON ¶
func (c *InstanceConfigTenancy) UnmarshalJSON(b []byte) error
type InstanceConfigTenancyEnum ¶
type InstanceConfigTenancyEnum struct {
DEDICATED InstanceConfigTenancy
}
func GetInstanceConfigTenancyEnum ¶
func GetInstanceConfigTenancyEnum() InstanceConfigTenancyEnum
type InstanceHangingInfos ¶
type InstanceHangingInfos struct { LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"` LifecycleActionKey *string `json:"lifecycle_action_key,omitempty"` InstanceId *string `json:"instance_id,omitempty"` ScalingGroupId *string `json:"scaling_group_id,omitempty"` LifecycleHookStatus *InstanceHangingInfosLifecycleHookStatus `json:"lifecycle_hook_status,omitempty"` Timeout *string `json:"timeout,omitempty"` DefaultResult *string `json:"default_result,omitempty"` }
挂钩实例信息
func (InstanceHangingInfos) String ¶
func (o InstanceHangingInfos) String() string
type InstanceHangingInfosLifecycleHookStatus ¶
type InstanceHangingInfosLifecycleHookStatus struct {
// contains filtered or unexported fields
}
func (InstanceHangingInfosLifecycleHookStatus) MarshalJSON ¶
func (c InstanceHangingInfosLifecycleHookStatus) MarshalJSON() ([]byte, error)
func (*InstanceHangingInfosLifecycleHookStatus) UnmarshalJSON ¶
func (c *InstanceHangingInfosLifecycleHookStatus) UnmarshalJSON(b []byte) error
type InstanceHangingInfosLifecycleHookStatusEnum ¶
type InstanceHangingInfosLifecycleHookStatusEnum struct { HANGING InstanceHangingInfosLifecycleHookStatus CONTINUE InstanceHangingInfosLifecycleHookStatus ABANDON InstanceHangingInfosLifecycleHookStatus }
func GetInstanceHangingInfosLifecycleHookStatusEnum ¶
func GetInstanceHangingInfosLifecycleHookStatusEnum() InstanceHangingInfosLifecycleHookStatusEnum
type Ipv6Bandwidth ¶
type Ipv6Bandwidth struct {
Id string `json:"id"`
}
IPv6信息
func (Ipv6Bandwidth) String ¶
func (o Ipv6Bandwidth) String() string
type JobRecords ¶
type JobRecords struct { JobName *string `json:"job_name,omitempty"` RecordType *JobRecordsRecordType `json:"record_type,omitempty"` RecordTime *string `json:"record_time,omitempty"` Request *string `json:"request,omitempty"` Response *string `json:"response,omitempty"` Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` JobStatus *JobRecordsJobStatus `json:"job_status,omitempty"` }
策略执行动作包含的具体任务
func (JobRecords) String ¶
func (o JobRecords) String() string
type JobRecordsJobStatus ¶
type JobRecordsJobStatus struct {
// contains filtered or unexported fields
}
func (JobRecordsJobStatus) MarshalJSON ¶
func (c JobRecordsJobStatus) MarshalJSON() ([]byte, error)
func (*JobRecordsJobStatus) UnmarshalJSON ¶
func (c *JobRecordsJobStatus) UnmarshalJSON(b []byte) error
type JobRecordsJobStatusEnum ¶
type JobRecordsJobStatusEnum struct { SUCCESS JobRecordsJobStatus FAIL JobRecordsJobStatus }
func GetJobRecordsJobStatusEnum ¶
func GetJobRecordsJobStatusEnum() JobRecordsJobStatusEnum
type JobRecordsRecordType ¶
type JobRecordsRecordType struct {
// contains filtered or unexported fields
}
func (JobRecordsRecordType) MarshalJSON ¶
func (c JobRecordsRecordType) MarshalJSON() ([]byte, error)
func (*JobRecordsRecordType) UnmarshalJSON ¶
func (c *JobRecordsRecordType) UnmarshalJSON(b []byte) error
type JobRecordsRecordTypeEnum ¶
type JobRecordsRecordTypeEnum struct { API JobRecordsRecordType MEG JobRecordsRecordType }
func GetJobRecordsRecordTypeEnum ¶
func GetJobRecordsRecordTypeEnum() JobRecordsRecordTypeEnum
type LbaasListener ¶
type LbaasListener struct { ListenerId *string `json:"listener_id,omitempty"` PoolId *string `json:"pool_id,omitempty"` ProtocolPort *int32 `json:"protocol_port,omitempty"` Weight *int32 `json:"weight,omitempty"` }
增强型负载均衡器信息
func (LbaasListener) String ¶
func (o LbaasListener) String() string
type LbaasListeners ¶
type LbaasListeners struct { PoolId string `json:"pool_id"` ProtocolPort int32 `json:"protocol_port"` Weight int32 `json:"weight"` }
增强型负载均衡器
func (LbaasListeners) String ¶
func (o LbaasListeners) String() string
type LbaasListenersResult ¶
type LbaasListenersResult struct { ListenerId *string `json:"listener_id,omitempty"` PoolId *string `json:"pool_id,omitempty"` ProtocolPort *int32 `json:"protocol_port,omitempty"` Weight *int32 `json:"weight,omitempty"` }
增强型负载均衡器信息
func (LbaasListenersResult) String ¶
func (o LbaasListenersResult) String() string
type LifecycleHookList ¶
type LifecycleHookList struct { LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"` LifecycleHookType *LifecycleHookListLifecycleHookType `json:"lifecycle_hook_type,omitempty"` DefaultResult *LifecycleHookListDefaultResult `json:"default_result,omitempty"` DefaultTimeout *int32 `json:"default_timeout,omitempty"` NotificationTopicUrn *string `json:"notification_topic_urn,omitempty"` NotificationTopicName *string `json:"notification_topic_name,omitempty"` NotificationMetadata *string `json:"notification_metadata,omitempty"` CreateTime *string `json:"create_time,omitempty"` }
生命周期挂钩
func (LifecycleHookList) String ¶
func (o LifecycleHookList) String() string
type LifecycleHookListDefaultResult ¶
type LifecycleHookListDefaultResult struct {
// contains filtered or unexported fields
}
func (LifecycleHookListDefaultResult) MarshalJSON ¶
func (c LifecycleHookListDefaultResult) MarshalJSON() ([]byte, error)
func (*LifecycleHookListDefaultResult) UnmarshalJSON ¶
func (c *LifecycleHookListDefaultResult) UnmarshalJSON(b []byte) error
type LifecycleHookListDefaultResultEnum ¶
type LifecycleHookListDefaultResultEnum struct { ABANDON LifecycleHookListDefaultResult CONTINUE LifecycleHookListDefaultResult }
func GetLifecycleHookListDefaultResultEnum ¶
func GetLifecycleHookListDefaultResultEnum() LifecycleHookListDefaultResultEnum
type LifecycleHookListLifecycleHookType ¶
type LifecycleHookListLifecycleHookType struct {
// contains filtered or unexported fields
}
func (LifecycleHookListLifecycleHookType) MarshalJSON ¶
func (c LifecycleHookListLifecycleHookType) MarshalJSON() ([]byte, error)
func (*LifecycleHookListLifecycleHookType) UnmarshalJSON ¶
func (c *LifecycleHookListLifecycleHookType) UnmarshalJSON(b []byte) error
type LifecycleHookListLifecycleHookTypeEnum ¶
type LifecycleHookListLifecycleHookTypeEnum struct { INSTANCE_TERMINATING LifecycleHookListLifecycleHookType INSTANCE_LAUNCHING LifecycleHookListLifecycleHookType }
func GetLifecycleHookListLifecycleHookTypeEnum ¶
func GetLifecycleHookListLifecycleHookTypeEnum() LifecycleHookListLifecycleHookTypeEnum
type ListAllScalingV2PoliciesRequest ¶
type ListAllScalingV2PoliciesRequest struct { ScalingResourceId *string `json:"scaling_resource_id,omitempty"` ScalingResourceType *ListAllScalingV2PoliciesRequestScalingResourceType `json:"scaling_resource_type,omitempty"` ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingPolicyType *ListAllScalingV2PoliciesRequestScalingPolicyType `json:"scaling_policy_type,omitempty"` ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` SortBy *ListAllScalingV2PoliciesRequestSortBy `json:"sort_by,omitempty"` Order *ListAllScalingV2PoliciesRequestOrder `json:"order,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` AlarmId *string `json:"alarm_id,omitempty"` }
Request Object
func (ListAllScalingV2PoliciesRequest) String ¶
func (o ListAllScalingV2PoliciesRequest) String() string
type ListAllScalingV2PoliciesRequestOrder ¶
type ListAllScalingV2PoliciesRequestOrder struct {
// contains filtered or unexported fields
}
func (ListAllScalingV2PoliciesRequestOrder) MarshalJSON ¶
func (c ListAllScalingV2PoliciesRequestOrder) MarshalJSON() ([]byte, error)
func (*ListAllScalingV2PoliciesRequestOrder) UnmarshalJSON ¶
func (c *ListAllScalingV2PoliciesRequestOrder) UnmarshalJSON(b []byte) error
type ListAllScalingV2PoliciesRequestOrderEnum ¶
type ListAllScalingV2PoliciesRequestOrderEnum struct { ASC ListAllScalingV2PoliciesRequestOrder DESC ListAllScalingV2PoliciesRequestOrder }
func GetListAllScalingV2PoliciesRequestOrderEnum ¶
func GetListAllScalingV2PoliciesRequestOrderEnum() ListAllScalingV2PoliciesRequestOrderEnum
type ListAllScalingV2PoliciesRequestScalingPolicyType ¶
type ListAllScalingV2PoliciesRequestScalingPolicyType struct {
// contains filtered or unexported fields
}
func (ListAllScalingV2PoliciesRequestScalingPolicyType) MarshalJSON ¶
func (c ListAllScalingV2PoliciesRequestScalingPolicyType) MarshalJSON() ([]byte, error)
func (*ListAllScalingV2PoliciesRequestScalingPolicyType) UnmarshalJSON ¶
func (c *ListAllScalingV2PoliciesRequestScalingPolicyType) UnmarshalJSON(b []byte) error
type ListAllScalingV2PoliciesRequestScalingPolicyTypeEnum ¶
type ListAllScalingV2PoliciesRequestScalingPolicyTypeEnum struct { ALARM ListAllScalingV2PoliciesRequestScalingPolicyType SCHEDULED ListAllScalingV2PoliciesRequestScalingPolicyType RECURRENCE ListAllScalingV2PoliciesRequestScalingPolicyType }
func GetListAllScalingV2PoliciesRequestScalingPolicyTypeEnum ¶
func GetListAllScalingV2PoliciesRequestScalingPolicyTypeEnum() ListAllScalingV2PoliciesRequestScalingPolicyTypeEnum
type ListAllScalingV2PoliciesRequestScalingResourceType ¶
type ListAllScalingV2PoliciesRequestScalingResourceType struct {
// contains filtered or unexported fields
}
func (ListAllScalingV2PoliciesRequestScalingResourceType) MarshalJSON ¶
func (c ListAllScalingV2PoliciesRequestScalingResourceType) MarshalJSON() ([]byte, error)
func (*ListAllScalingV2PoliciesRequestScalingResourceType) UnmarshalJSON ¶
func (c *ListAllScalingV2PoliciesRequestScalingResourceType) UnmarshalJSON(b []byte) error
type ListAllScalingV2PoliciesRequestScalingResourceTypeEnum ¶
type ListAllScalingV2PoliciesRequestScalingResourceTypeEnum struct { SCALING_GROUP ListAllScalingV2PoliciesRequestScalingResourceType BANDWIDTH ListAllScalingV2PoliciesRequestScalingResourceType }
func GetListAllScalingV2PoliciesRequestScalingResourceTypeEnum ¶
func GetListAllScalingV2PoliciesRequestScalingResourceTypeEnum() ListAllScalingV2PoliciesRequestScalingResourceTypeEnum
type ListAllScalingV2PoliciesRequestSortBy ¶
type ListAllScalingV2PoliciesRequestSortBy struct {
// contains filtered or unexported fields
}
func (ListAllScalingV2PoliciesRequestSortBy) MarshalJSON ¶
func (c ListAllScalingV2PoliciesRequestSortBy) MarshalJSON() ([]byte, error)
func (*ListAllScalingV2PoliciesRequestSortBy) UnmarshalJSON ¶
func (c *ListAllScalingV2PoliciesRequestSortBy) UnmarshalJSON(b []byte) error
type ListAllScalingV2PoliciesRequestSortByEnum ¶
type ListAllScalingV2PoliciesRequestSortByEnum struct { POLICY_NAME ListAllScalingV2PoliciesRequestSortBy TRIGGER_CONDITION ListAllScalingV2PoliciesRequestSortBy CREATE_TIME ListAllScalingV2PoliciesRequestSortBy }
func GetListAllScalingV2PoliciesRequestSortByEnum ¶
func GetListAllScalingV2PoliciesRequestSortByEnum() ListAllScalingV2PoliciesRequestSortByEnum
type ListAllScalingV2PoliciesResponse ¶
type ListAllScalingV2PoliciesResponse struct { TotalNumber *int32 `json:"total_number,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` ScalingPolicies *[]ScalingAllPolicyDetail `json:"scaling_policies,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAllScalingV2PoliciesResponse) String ¶
func (o ListAllScalingV2PoliciesResponse) String() string
type ListApiVersionsRequest ¶
type ListApiVersionsRequest struct { }
Request Object
func (ListApiVersionsRequest) String ¶
func (o ListApiVersionsRequest) String() string
type ListApiVersionsResponse ¶
type ListApiVersionsResponse struct { Versions *[]VersionInfo `json:"versions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiVersionsResponse) String ¶
func (o ListApiVersionsResponse) String() string
type ListHookInstancesRequest ¶
type ListHookInstancesRequest struct { ScalingGroupId string `json:"scaling_group_id"` InstanceId *string `json:"instance_id,omitempty"` }
Request Object
func (ListHookInstancesRequest) String ¶
func (o ListHookInstancesRequest) String() string
type ListHookInstancesResponse ¶
type ListHookInstancesResponse struct { InstanceHangingInfo *[]InstanceHangingInfos `json:"instance_hanging_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListHookInstancesResponse) String ¶
func (o ListHookInstancesResponse) String() string
type ListLifeCycleHooksRequest ¶
type ListLifeCycleHooksRequest struct {
ScalingGroupId string `json:"scaling_group_id"`
}
Request Object
func (ListLifeCycleHooksRequest) String ¶
func (o ListLifeCycleHooksRequest) String() string
type ListLifeCycleHooksResponse ¶
type ListLifeCycleHooksResponse struct { LifecycleHooks *[]LifecycleHookList `json:"lifecycle_hooks,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLifeCycleHooksResponse) String ¶
func (o ListLifeCycleHooksResponse) String() string
type ListResourceInstancesRequest ¶
type ListResourceInstancesRequest struct { ResourceType ListResourceInstancesRequestResourceType `json:"resource_type"` Body *QueryTagsOption `json:"body,omitempty"` }
Request Object
func (ListResourceInstancesRequest) String ¶
func (o ListResourceInstancesRequest) String() string
type ListResourceInstancesRequestResourceType ¶
type ListResourceInstancesRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListResourceInstancesRequestResourceType) MarshalJSON ¶
func (c ListResourceInstancesRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListResourceInstancesRequestResourceType) UnmarshalJSON ¶
func (c *ListResourceInstancesRequestResourceType) UnmarshalJSON(b []byte) error
type ListResourceInstancesRequestResourceTypeEnum ¶
type ListResourceInstancesRequestResourceTypeEnum struct {
SCALING_GROUP_TAG ListResourceInstancesRequestResourceType
}
func GetListResourceInstancesRequestResourceTypeEnum ¶
func GetListResourceInstancesRequestResourceTypeEnum() ListResourceInstancesRequestResourceTypeEnum
type ListResourceInstancesResponse ¶
type ListResourceInstancesResponse struct { Resources *[]Resources `json:"resources,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` Marker *string `json:"marker,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListResourceInstancesResponse) String ¶
func (o ListResourceInstancesResponse) String() string
type ListScalingActivityLogsRequest ¶
type ListScalingActivityLogsRequest struct { ScalingGroupId string `json:"scaling_group_id"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListScalingActivityLogsRequest) String ¶
func (o ListScalingActivityLogsRequest) String() string
type ListScalingActivityLogsResponse ¶
type ListScalingActivityLogsResponse struct { TotalNumber *int32 `json:"total_number,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` ScalingActivityLog *[]ScalingActivityLogList `json:"scaling_activity_log,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScalingActivityLogsResponse) String ¶
func (o ListScalingActivityLogsResponse) String() string
type ListScalingActivityV2LogsRequest ¶
type ListScalingActivityV2LogsRequest struct { ScalingGroupId string `json:"scaling_group_id"` LogId *string `json:"log_id,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` Type *ListScalingActivityV2LogsRequestType `json:"type,omitempty"` Status *ListScalingActivityV2LogsRequestStatus `json:"status,omitempty"` }
Request Object
func (ListScalingActivityV2LogsRequest) String ¶
func (o ListScalingActivityV2LogsRequest) String() string
type ListScalingActivityV2LogsRequestStatus ¶
type ListScalingActivityV2LogsRequestStatus struct {
// contains filtered or unexported fields
}
func (ListScalingActivityV2LogsRequestStatus) MarshalJSON ¶
func (c ListScalingActivityV2LogsRequestStatus) MarshalJSON() ([]byte, error)
func (*ListScalingActivityV2LogsRequestStatus) UnmarshalJSON ¶
func (c *ListScalingActivityV2LogsRequestStatus) UnmarshalJSON(b []byte) error
type ListScalingActivityV2LogsRequestStatusEnum ¶
type ListScalingActivityV2LogsRequestStatusEnum struct { SUCCESS ListScalingActivityV2LogsRequestStatus FAIL ListScalingActivityV2LogsRequestStatus DOING ListScalingActivityV2LogsRequestStatus }
func GetListScalingActivityV2LogsRequestStatusEnum ¶
func GetListScalingActivityV2LogsRequestStatusEnum() ListScalingActivityV2LogsRequestStatusEnum
type ListScalingActivityV2LogsRequestType ¶
type ListScalingActivityV2LogsRequestType struct {
// contains filtered or unexported fields
}
func (ListScalingActivityV2LogsRequestType) MarshalJSON ¶
func (c ListScalingActivityV2LogsRequestType) MarshalJSON() ([]byte, error)
func (*ListScalingActivityV2LogsRequestType) UnmarshalJSON ¶
func (c *ListScalingActivityV2LogsRequestType) UnmarshalJSON(b []byte) error
type ListScalingActivityV2LogsRequestTypeEnum ¶
type ListScalingActivityV2LogsRequestTypeEnum struct { NORMAL ListScalingActivityV2LogsRequestType MANNUAL_REMOVE ListScalingActivityV2LogsRequestType MANNUAL_DELETE ListScalingActivityV2LogsRequestType MANNUAL_ADD ListScalingActivityV2LogsRequestType ELB_CHECK_DELETE ListScalingActivityV2LogsRequestType AUDIT_CHECK_DELETE ListScalingActivityV2LogsRequestType MODIFY_ELB ListScalingActivityV2LogsRequestType }
func GetListScalingActivityV2LogsRequestTypeEnum ¶
func GetListScalingActivityV2LogsRequestTypeEnum() ListScalingActivityV2LogsRequestTypeEnum
type ListScalingActivityV2LogsResponse ¶
type ListScalingActivityV2LogsResponse struct { TotalNumber *int32 `json:"total_number,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` ScalingActivityLog *[]ScalingActivityLogV2 `json:"scaling_activity_log,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScalingActivityV2LogsResponse) String ¶
func (o ListScalingActivityV2LogsResponse) String() string
type ListScalingConfigsRequest ¶
type ListScalingConfigsRequest struct { ScalingConfigurationName *string `json:"scaling_configuration_name,omitempty"` ImageId *string `json:"image_id,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListScalingConfigsRequest) String ¶
func (o ListScalingConfigsRequest) String() string
type ListScalingConfigsResponse ¶
type ListScalingConfigsResponse struct { TotalNumber *int32 `json:"total_number,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` ScalingConfigurations *[]ScalingConfiguration `json:"scaling_configurations,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScalingConfigsResponse) String ¶
func (o ListScalingConfigsResponse) String() string
type ListScalingGroupsRequest ¶
type ListScalingGroupsRequest struct { ScalingGroupName *string `json:"scaling_group_name,omitempty"` ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"` ScalingGroupStatus *ListScalingGroupsRequestScalingGroupStatus `json:"scaling_group_status,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ListScalingGroupsRequest) String ¶
func (o ListScalingGroupsRequest) String() string
type ListScalingGroupsRequestScalingGroupStatus ¶
type ListScalingGroupsRequestScalingGroupStatus struct {
// contains filtered or unexported fields
}
func (ListScalingGroupsRequestScalingGroupStatus) MarshalJSON ¶
func (c ListScalingGroupsRequestScalingGroupStatus) MarshalJSON() ([]byte, error)
func (*ListScalingGroupsRequestScalingGroupStatus) UnmarshalJSON ¶
func (c *ListScalingGroupsRequestScalingGroupStatus) UnmarshalJSON(b []byte) error
type ListScalingGroupsRequestScalingGroupStatusEnum ¶
type ListScalingGroupsRequestScalingGroupStatusEnum struct { INSERVICE ListScalingGroupsRequestScalingGroupStatus PAUSED ListScalingGroupsRequestScalingGroupStatus ERROR ListScalingGroupsRequestScalingGroupStatus DELETING ListScalingGroupsRequestScalingGroupStatus }
func GetListScalingGroupsRequestScalingGroupStatusEnum ¶
func GetListScalingGroupsRequestScalingGroupStatusEnum() ListScalingGroupsRequestScalingGroupStatusEnum
type ListScalingGroupsResponse ¶
type ListScalingGroupsResponse struct { TotalNumber *int32 `json:"total_number,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` ScalingGroups *[]ScalingGroups `json:"scaling_groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScalingGroupsResponse) String ¶
func (o ListScalingGroupsResponse) String() string
type ListScalingInstancesRequest ¶
type ListScalingInstancesRequest struct { ScalingGroupId string `json:"scaling_group_id"` LifeCycleState *ListScalingInstancesRequestLifeCycleState `json:"life_cycle_state,omitempty"` HealthStatus *ListScalingInstancesRequestHealthStatus `json:"health_status,omitempty"` ProtectFromScalingDown *ListScalingInstancesRequestProtectFromScalingDown `json:"protect_from_scaling_down,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListScalingInstancesRequest) String ¶
func (o ListScalingInstancesRequest) String() string
type ListScalingInstancesRequestHealthStatus ¶
type ListScalingInstancesRequestHealthStatus struct {
// contains filtered or unexported fields
}
func (ListScalingInstancesRequestHealthStatus) MarshalJSON ¶
func (c ListScalingInstancesRequestHealthStatus) MarshalJSON() ([]byte, error)
func (*ListScalingInstancesRequestHealthStatus) UnmarshalJSON ¶
func (c *ListScalingInstancesRequestHealthStatus) UnmarshalJSON(b []byte) error
type ListScalingInstancesRequestHealthStatusEnum ¶
type ListScalingInstancesRequestHealthStatusEnum struct { INITIALIZING ListScalingInstancesRequestHealthStatus NORMAL ListScalingInstancesRequestHealthStatus ERROR ListScalingInstancesRequestHealthStatus }
func GetListScalingInstancesRequestHealthStatusEnum ¶
func GetListScalingInstancesRequestHealthStatusEnum() ListScalingInstancesRequestHealthStatusEnum
type ListScalingInstancesRequestLifeCycleState ¶
type ListScalingInstancesRequestLifeCycleState struct {
// contains filtered or unexported fields
}
func (ListScalingInstancesRequestLifeCycleState) MarshalJSON ¶
func (c ListScalingInstancesRequestLifeCycleState) MarshalJSON() ([]byte, error)
func (*ListScalingInstancesRequestLifeCycleState) UnmarshalJSON ¶
func (c *ListScalingInstancesRequestLifeCycleState) UnmarshalJSON(b []byte) error
type ListScalingInstancesRequestLifeCycleStateEnum ¶
type ListScalingInstancesRequestLifeCycleStateEnum struct { INSERVICE ListScalingInstancesRequestLifeCycleState PENDING ListScalingInstancesRequestLifeCycleState REMOVING ListScalingInstancesRequestLifeCycleState PENDING_WAIT ListScalingInstancesRequestLifeCycleState REMOVING_WAIT ListScalingInstancesRequestLifeCycleState STANDBY ListScalingInstancesRequestLifeCycleState ENTERING_STANDBY ListScalingInstancesRequestLifeCycleState }
func GetListScalingInstancesRequestLifeCycleStateEnum ¶
func GetListScalingInstancesRequestLifeCycleStateEnum() ListScalingInstancesRequestLifeCycleStateEnum
type ListScalingInstancesRequestProtectFromScalingDown ¶
type ListScalingInstancesRequestProtectFromScalingDown struct {
// contains filtered or unexported fields
}
func (ListScalingInstancesRequestProtectFromScalingDown) MarshalJSON ¶
func (c ListScalingInstancesRequestProtectFromScalingDown) MarshalJSON() ([]byte, error)
func (*ListScalingInstancesRequestProtectFromScalingDown) UnmarshalJSON ¶
func (c *ListScalingInstancesRequestProtectFromScalingDown) UnmarshalJSON(b []byte) error
type ListScalingInstancesRequestProtectFromScalingDownEnum ¶
type ListScalingInstancesRequestProtectFromScalingDownEnum struct { TRUE ListScalingInstancesRequestProtectFromScalingDown FALSE ListScalingInstancesRequestProtectFromScalingDown }
func GetListScalingInstancesRequestProtectFromScalingDownEnum ¶
func GetListScalingInstancesRequestProtectFromScalingDownEnum() ListScalingInstancesRequestProtectFromScalingDownEnum
type ListScalingInstancesResponse ¶
type ListScalingInstancesResponse struct { TotalNumber *int32 `json:"total_number,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` ScalingGroupInstances *[]ScalingGroupInstance `json:"scaling_group_instances,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScalingInstancesResponse) String ¶
func (o ListScalingInstancesResponse) String() string
type ListScalingNotificationsRequest ¶
type ListScalingNotificationsRequest struct {
ScalingGroupId string `json:"scaling_group_id"`
}
Request Object
func (ListScalingNotificationsRequest) String ¶
func (o ListScalingNotificationsRequest) String() string
type ListScalingNotificationsResponse ¶
type ListScalingNotificationsResponse struct { Topics *[]Topics `json:"topics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScalingNotificationsResponse) String ¶
func (o ListScalingNotificationsResponse) String() string
type ListScalingPoliciesRequest ¶
type ListScalingPoliciesRequest struct { ScalingGroupId string `json:"scaling_group_id"` ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingPolicyType *ListScalingPoliciesRequestScalingPolicyType `json:"scaling_policy_type,omitempty"` ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListScalingPoliciesRequest) String ¶
func (o ListScalingPoliciesRequest) String() string
type ListScalingPoliciesRequestScalingPolicyType ¶
type ListScalingPoliciesRequestScalingPolicyType struct {
// contains filtered or unexported fields
}
func (ListScalingPoliciesRequestScalingPolicyType) MarshalJSON ¶
func (c ListScalingPoliciesRequestScalingPolicyType) MarshalJSON() ([]byte, error)
func (*ListScalingPoliciesRequestScalingPolicyType) UnmarshalJSON ¶
func (c *ListScalingPoliciesRequestScalingPolicyType) UnmarshalJSON(b []byte) error
type ListScalingPoliciesRequestScalingPolicyTypeEnum ¶
type ListScalingPoliciesRequestScalingPolicyTypeEnum struct { ALARM ListScalingPoliciesRequestScalingPolicyType SCHEDULED ListScalingPoliciesRequestScalingPolicyType RECURRENCE ListScalingPoliciesRequestScalingPolicyType }
func GetListScalingPoliciesRequestScalingPolicyTypeEnum ¶
func GetListScalingPoliciesRequestScalingPolicyTypeEnum() ListScalingPoliciesRequestScalingPolicyTypeEnum
type ListScalingPoliciesResponse ¶
type ListScalingPoliciesResponse struct { TotalNumber *int32 `json:"total_number,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` ScalingPolicies *[]ScalingV1PolicyDetail `json:"scaling_policies,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScalingPoliciesResponse) String ¶
func (o ListScalingPoliciesResponse) String() string
type ListScalingPolicyExecuteLogsRequest ¶
type ListScalingPolicyExecuteLogsRequest struct { ScalingPolicyId string `json:"scaling_policy_id"` LogId *string `json:"log_id,omitempty"` ScalingResourceType *ListScalingPolicyExecuteLogsRequestScalingResourceType `json:"scaling_resource_type,omitempty"` ScalingResourceId *string `json:"scaling_resource_id,omitempty"` ExecuteType *ListScalingPolicyExecuteLogsRequestExecuteType `json:"execute_type,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListScalingPolicyExecuteLogsRequest) String ¶
func (o ListScalingPolicyExecuteLogsRequest) String() string
type ListScalingPolicyExecuteLogsRequestExecuteType ¶
type ListScalingPolicyExecuteLogsRequestExecuteType struct {
// contains filtered or unexported fields
}
func (ListScalingPolicyExecuteLogsRequestExecuteType) MarshalJSON ¶
func (c ListScalingPolicyExecuteLogsRequestExecuteType) MarshalJSON() ([]byte, error)
func (*ListScalingPolicyExecuteLogsRequestExecuteType) UnmarshalJSON ¶
func (c *ListScalingPolicyExecuteLogsRequestExecuteType) UnmarshalJSON(b []byte) error
type ListScalingPolicyExecuteLogsRequestExecuteTypeEnum ¶
type ListScalingPolicyExecuteLogsRequestExecuteTypeEnum struct { SCHEDULED ListScalingPolicyExecuteLogsRequestExecuteType RECURRENCE ListScalingPolicyExecuteLogsRequestExecuteType ALARM ListScalingPolicyExecuteLogsRequestExecuteType MANUAL ListScalingPolicyExecuteLogsRequestExecuteType }
func GetListScalingPolicyExecuteLogsRequestExecuteTypeEnum ¶
func GetListScalingPolicyExecuteLogsRequestExecuteTypeEnum() ListScalingPolicyExecuteLogsRequestExecuteTypeEnum
type ListScalingPolicyExecuteLogsRequestScalingResourceType ¶
type ListScalingPolicyExecuteLogsRequestScalingResourceType struct {
// contains filtered or unexported fields
}
func (ListScalingPolicyExecuteLogsRequestScalingResourceType) MarshalJSON ¶
func (c ListScalingPolicyExecuteLogsRequestScalingResourceType) MarshalJSON() ([]byte, error)
func (*ListScalingPolicyExecuteLogsRequestScalingResourceType) UnmarshalJSON ¶
func (c *ListScalingPolicyExecuteLogsRequestScalingResourceType) UnmarshalJSON(b []byte) error
type ListScalingPolicyExecuteLogsRequestScalingResourceTypeEnum ¶
type ListScalingPolicyExecuteLogsRequestScalingResourceTypeEnum struct { SCALING_GROUP ListScalingPolicyExecuteLogsRequestScalingResourceType BANDWIDTH ListScalingPolicyExecuteLogsRequestScalingResourceType }
func GetListScalingPolicyExecuteLogsRequestScalingResourceTypeEnum ¶
func GetListScalingPolicyExecuteLogsRequestScalingResourceTypeEnum() ListScalingPolicyExecuteLogsRequestScalingResourceTypeEnum
type ListScalingPolicyExecuteLogsResponse ¶
type ListScalingPolicyExecuteLogsResponse struct { TotalNumber *int32 `json:"total_number,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` ScalingPolicyExecuteLog *[]ScalingPolicyExecuteLogList `json:"scaling_policy_execute_log,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScalingPolicyExecuteLogsResponse) String ¶
func (o ListScalingPolicyExecuteLogsResponse) String() string
type ListScalingTagInfosByResourceIdRequest ¶
type ListScalingTagInfosByResourceIdRequest struct { ResourceType ListScalingTagInfosByResourceIdRequestResourceType `json:"resource_type"` ResourceId string `json:"resource_id"` }
Request Object
func (ListScalingTagInfosByResourceIdRequest) String ¶
func (o ListScalingTagInfosByResourceIdRequest) String() string
type ListScalingTagInfosByResourceIdRequestResourceType ¶
type ListScalingTagInfosByResourceIdRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListScalingTagInfosByResourceIdRequestResourceType) MarshalJSON ¶
func (c ListScalingTagInfosByResourceIdRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListScalingTagInfosByResourceIdRequestResourceType) UnmarshalJSON ¶
func (c *ListScalingTagInfosByResourceIdRequestResourceType) UnmarshalJSON(b []byte) error
type ListScalingTagInfosByResourceIdRequestResourceTypeEnum ¶
type ListScalingTagInfosByResourceIdRequestResourceTypeEnum struct {
SCALING_GROUP_TAG ListScalingTagInfosByResourceIdRequestResourceType
}
func GetListScalingTagInfosByResourceIdRequestResourceTypeEnum ¶
func GetListScalingTagInfosByResourceIdRequestResourceTypeEnum() ListScalingTagInfosByResourceIdRequestResourceTypeEnum
type ListScalingTagInfosByResourceIdResponse ¶
type ListScalingTagInfosByResourceIdResponse struct { Tags *[]TagsSingleValue `json:"tags,omitempty"` SysTags *[]TagsSingleValue `json:"sys_tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScalingTagInfosByResourceIdResponse) String ¶
func (o ListScalingTagInfosByResourceIdResponse) String() string
type ListScalingTagInfosByTenantIdRequest ¶
type ListScalingTagInfosByTenantIdRequest struct {
ResourceType ListScalingTagInfosByTenantIdRequestResourceType `json:"resource_type"`
}
Request Object
func (ListScalingTagInfosByTenantIdRequest) String ¶
func (o ListScalingTagInfosByTenantIdRequest) String() string
type ListScalingTagInfosByTenantIdRequestResourceType ¶
type ListScalingTagInfosByTenantIdRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListScalingTagInfosByTenantIdRequestResourceType) MarshalJSON ¶
func (c ListScalingTagInfosByTenantIdRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListScalingTagInfosByTenantIdRequestResourceType) UnmarshalJSON ¶
func (c *ListScalingTagInfosByTenantIdRequestResourceType) UnmarshalJSON(b []byte) error
type ListScalingTagInfosByTenantIdRequestResourceTypeEnum ¶
type ListScalingTagInfosByTenantIdRequestResourceTypeEnum struct {
SCALING_GROUP_TAG ListScalingTagInfosByTenantIdRequestResourceType
}
func GetListScalingTagInfosByTenantIdRequestResourceTypeEnum ¶
func GetListScalingTagInfosByTenantIdRequestResourceTypeEnum() ListScalingTagInfosByTenantIdRequestResourceTypeEnum
type ListScalingTagInfosByTenantIdResponse ¶
type ListScalingTagInfosByTenantIdResponse struct { Tags *[]TagsMultiValue `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScalingTagInfosByTenantIdResponse) String ¶
func (o ListScalingTagInfosByTenantIdResponse) String() string
type ListScalingV2PoliciesRequest ¶
type ListScalingV2PoliciesRequest struct { ScalingResourceId string `json:"scaling_resource_id"` ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingPolicyType *string `json:"scaling_policy_type,omitempty"` ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListScalingV2PoliciesRequest) String ¶
func (o ListScalingV2PoliciesRequest) String() string
type ListScalingV2PoliciesResponse ¶
type ListScalingV2PoliciesResponse struct { TotalNumber *int32 `json:"total_number,omitempty"` StartNumber *int32 `json:"start_number,omitempty"` Limit *int32 `json:"limit,omitempty"` ScalingPolicies *[]ScalingPoliciesV2 `json:"scaling_policies,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScalingV2PoliciesResponse) String ¶
func (o ListScalingV2PoliciesResponse) String() string
type MetaData ¶
type MetaData struct { SystemEncrypted *string `json:"__system__encrypted,omitempty"` SystemCmkid *string `json:"__system__cmkid,omitempty"` }
创建磁盘的元数据
type ModifyLb ¶
type ModifyLb struct { LbaasListener *LbaasListener `json:"lbaas_listener,omitempty"` Listener *string `json:"listener,omitempty"` FailedReason *string `json:"failed_reason,omitempty"` FailedDetails *string `json:"failed_details,omitempty"` }
负载均衡器
type Networks ¶
type Networks struct { Id string `json:"id"` Ipv6Enable *bool `json:"ipv6_enable,omitempty"` Ipv6Bandwidth *Ipv6Bandwidth `json:"ipv6_bandwidth,omitempty"` AllowedAddressPairs *[]AllowedAddressPair `json:"allowed_address_pairs,omitempty"` }
网络信息
type NetworksResult ¶
type NetworksResult struct { Id *string `json:"id,omitempty"` Ipv6Enable *bool `json:"ipv6_enable,omitempty"` Ipv6Bandwidth *Ipv6Bandwidth `json:"ipv6_bandwidth,omitempty"` AllowedAddressPairs *[]AllowedAddressPair `json:"allowed_address_pairs,omitempty"` }
网络信息
func (NetworksResult) String ¶
func (o NetworksResult) String() string
type PauseScalingGroupOption ¶
type PauseScalingGroupOption struct {
Action PauseScalingGroupOptionAction `json:"action"`
}
启停伸缩组请求
func (PauseScalingGroupOption) String ¶
func (o PauseScalingGroupOption) String() string
type PauseScalingGroupOptionAction ¶
type PauseScalingGroupOptionAction struct {
// contains filtered or unexported fields
}
func (PauseScalingGroupOptionAction) MarshalJSON ¶
func (c PauseScalingGroupOptionAction) MarshalJSON() ([]byte, error)
func (*PauseScalingGroupOptionAction) UnmarshalJSON ¶
func (c *PauseScalingGroupOptionAction) UnmarshalJSON(b []byte) error
type PauseScalingGroupOptionActionEnum ¶
type PauseScalingGroupOptionActionEnum struct {
PAUSE PauseScalingGroupOptionAction
}
func GetPauseScalingGroupOptionActionEnum ¶
func GetPauseScalingGroupOptionActionEnum() PauseScalingGroupOptionActionEnum
type PauseScalingGroupRequest ¶
type PauseScalingGroupRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *PauseScalingGroupOption `json:"body,omitempty"` }
Request Object
func (PauseScalingGroupRequest) String ¶
func (o PauseScalingGroupRequest) String() string
type PauseScalingGroupResponse ¶
type PauseScalingGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (PauseScalingGroupResponse) String ¶
func (o PauseScalingGroupResponse) String() string
type PauseScalingPolicyOption ¶
type PauseScalingPolicyOption struct {
Action PauseScalingPolicyOptionAction `json:"action"`
}
执行或启用或停止伸缩策略
func (PauseScalingPolicyOption) String ¶
func (o PauseScalingPolicyOption) String() string
type PauseScalingPolicyOptionAction ¶
type PauseScalingPolicyOptionAction struct {
// contains filtered or unexported fields
}
func (PauseScalingPolicyOptionAction) MarshalJSON ¶
func (c PauseScalingPolicyOptionAction) MarshalJSON() ([]byte, error)
func (*PauseScalingPolicyOptionAction) UnmarshalJSON ¶
func (c *PauseScalingPolicyOptionAction) UnmarshalJSON(b []byte) error
type PauseScalingPolicyOptionActionEnum ¶
type PauseScalingPolicyOptionActionEnum struct {
PAUSE PauseScalingPolicyOptionAction
}
func GetPauseScalingPolicyOptionActionEnum ¶
func GetPauseScalingPolicyOptionActionEnum() PauseScalingPolicyOptionActionEnum
type PauseScalingPolicyRequest ¶
type PauseScalingPolicyRequest struct { ScalingPolicyId string `json:"scaling_policy_id"` Body *PauseScalingPolicyOption `json:"body,omitempty"` }
Request Object
func (PauseScalingPolicyRequest) String ¶
func (o PauseScalingPolicyRequest) String() string
type PauseScalingPolicyResponse ¶
type PauseScalingPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (PauseScalingPolicyResponse) String ¶
func (o PauseScalingPolicyResponse) String() string
type PersonalityInfo ¶
注入文件信息。仅支持注入文本文件,最大支持注入5个文件,每个文件最大1KB。
func (PersonalityInfo) String ¶
func (o PersonalityInfo) String() string
type PersonalityResult ¶
type PersonalityResult struct { Path *string `json:"path,omitempty"` Content *string `json:"content,omitempty"` }
个人信息
func (PersonalityResult) String ¶
func (o PersonalityResult) String() string
type PolicyInstanceQuotas ¶
type PolicyInstanceQuotas struct {
Resources *[]PolicyInstanceResources `json:"resources,omitempty"`
}
配额列表
func (PolicyInstanceQuotas) String ¶
func (o PolicyInstanceQuotas) String() string
type PolicyInstanceResources ¶
type PolicyInstanceResources struct { Type *string `json:"type,omitempty"` Used *int32 `json:"used,omitempty"` Quota *int32 `json:"quota,omitempty"` Max *int32 `json:"max,omitempty"` Min *int32 `json:"min,omitempty"` }
配额资源
func (PolicyInstanceResources) String ¶
func (o PolicyInstanceResources) String() string
type PublicIp ¶
type PublicIp struct {
Eip *EipInfo `json:"eip"`
}
配置云服务器的弹性IP信息,弹性IP有两种配置方式。详情请参考表 public_ip字段数据结构说明。 不使用(无该字段) 自动分配,需要指定新创建弹性IP的信息 说明: 当用户开通了细粒度策略,并且要将配置了弹性IP的伸缩配置关联到某个伸缩组时,这个用户被授予的细粒度策略中必须包含允许“vpc:publicIps:create”的授权项。
type PublicipResult ¶
type PublicipResult struct {
Eip *EipResult `json:"eip,omitempty"`
}
弹性IP信息
func (PublicipResult) String ¶
func (o PublicipResult) String() string
type QueryTagsOption ¶
type QueryTagsOption struct { Tags *[]TagsMultiValue `json:"tags,omitempty"` TagsAny *[]TagsMultiValue `json:"tags_any,omitempty"` NotTags *[]TagsMultiValue `json:"not_tags,omitempty"` NotTagsAny *[]TagsMultiValue `json:"not_tags_any,omitempty"` Limit *string `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Action QueryTagsOptionAction `json:"action"` Offset *string `json:"offset,omitempty"` Matches *[]Matches `json:"matches,omitempty"` }
请求正常
func (QueryTagsOption) String ¶
func (o QueryTagsOption) String() string
type QueryTagsOptionAction ¶
type QueryTagsOptionAction struct {
// contains filtered or unexported fields
}
func (QueryTagsOptionAction) MarshalJSON ¶
func (c QueryTagsOptionAction) MarshalJSON() ([]byte, error)
func (*QueryTagsOptionAction) UnmarshalJSON ¶
func (c *QueryTagsOptionAction) UnmarshalJSON(b []byte) error
type QueryTagsOptionActionEnum ¶
type QueryTagsOptionActionEnum struct { FILTER QueryTagsOptionAction COUNT QueryTagsOptionAction }
func GetQueryTagsOptionActionEnum ¶
func GetQueryTagsOptionActionEnum() QueryTagsOptionActionEnum
type ResourceTags ¶
type ResourceTags struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
func (ResourceTags) String ¶
func (o ResourceTags) String() string
type Resources ¶
type Resources struct { ResourceId *string `json:"resource_id,omitempty"` ResourceDetail *string `json:"resource_detail,omitempty"` Tags *[]ResourceTags `json:"tags,omitempty"` ResourceName *string `json:"resource_name,omitempty"` }
type ResumeScalingGroupOption ¶
type ResumeScalingGroupOption struct {
Action ResumeScalingGroupOptionAction `json:"action"`
}
启停伸缩组请求
func (ResumeScalingGroupOption) String ¶
func (o ResumeScalingGroupOption) String() string
type ResumeScalingGroupOptionAction ¶
type ResumeScalingGroupOptionAction struct {
// contains filtered or unexported fields
}
func (ResumeScalingGroupOptionAction) MarshalJSON ¶
func (c ResumeScalingGroupOptionAction) MarshalJSON() ([]byte, error)
func (*ResumeScalingGroupOptionAction) UnmarshalJSON ¶
func (c *ResumeScalingGroupOptionAction) UnmarshalJSON(b []byte) error
type ResumeScalingGroupOptionActionEnum ¶
type ResumeScalingGroupOptionActionEnum struct {
RESUME ResumeScalingGroupOptionAction
}
func GetResumeScalingGroupOptionActionEnum ¶
func GetResumeScalingGroupOptionActionEnum() ResumeScalingGroupOptionActionEnum
type ResumeScalingGroupRequest ¶
type ResumeScalingGroupRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *ResumeScalingGroupOption `json:"body,omitempty"` }
Request Object
func (ResumeScalingGroupRequest) String ¶
func (o ResumeScalingGroupRequest) String() string
type ResumeScalingGroupResponse ¶
type ResumeScalingGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ResumeScalingGroupResponse) String ¶
func (o ResumeScalingGroupResponse) String() string
type ResumeScalingPolicyOption ¶
type ResumeScalingPolicyOption struct {
Action ResumeScalingPolicyOptionAction `json:"action"`
}
执行或启用或停止伸缩策略
func (ResumeScalingPolicyOption) String ¶
func (o ResumeScalingPolicyOption) String() string
type ResumeScalingPolicyOptionAction ¶
type ResumeScalingPolicyOptionAction struct {
// contains filtered or unexported fields
}
func (ResumeScalingPolicyOptionAction) MarshalJSON ¶
func (c ResumeScalingPolicyOptionAction) MarshalJSON() ([]byte, error)
func (*ResumeScalingPolicyOptionAction) UnmarshalJSON ¶
func (c *ResumeScalingPolicyOptionAction) UnmarshalJSON(b []byte) error
type ResumeScalingPolicyOptionActionEnum ¶
type ResumeScalingPolicyOptionActionEnum struct {
RESUME ResumeScalingPolicyOptionAction
}
func GetResumeScalingPolicyOptionActionEnum ¶
func GetResumeScalingPolicyOptionActionEnum() ResumeScalingPolicyOptionActionEnum
type ResumeScalingPolicyRequest ¶
type ResumeScalingPolicyRequest struct { ScalingPolicyId string `json:"scaling_policy_id"` Body *ResumeScalingPolicyOption `json:"body,omitempty"` }
Request Object
func (ResumeScalingPolicyRequest) String ¶
func (o ResumeScalingPolicyRequest) String() string
type ResumeScalingPolicyResponse ¶
type ResumeScalingPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ResumeScalingPolicyResponse) String ¶
func (o ResumeScalingPolicyResponse) String() string
type ScalingActivityLogList ¶
type ScalingActivityLogList struct { Status *ScalingActivityLogListStatus `json:"status,omitempty"` StartTime *sdktime.SdkTime `json:"start_time,omitempty"` EndTime *sdktime.SdkTime `json:"end_time,omitempty"` Id *string `json:"id,omitempty"` InstanceRemovedList *string `json:"instance_removed_list,omitempty"` InstanceDeletedList *string `json:"instance_deleted_list,omitempty"` InstanceAddedList *string `json:"instance_added_list,omitempty"` ScalingValue *string `json:"scaling_value,omitempty"` Description *string `json:"description,omitempty"` InstanceValue *int32 `json:"instance_value,omitempty"` DesireValue *int32 `json:"desire_value,omitempty"` }
伸缩活动日志列表。
func (ScalingActivityLogList) String ¶
func (o ScalingActivityLogList) String() string
type ScalingActivityLogListStatus ¶
type ScalingActivityLogListStatus struct {
// contains filtered or unexported fields
}
func (ScalingActivityLogListStatus) MarshalJSON ¶
func (c ScalingActivityLogListStatus) MarshalJSON() ([]byte, error)
func (*ScalingActivityLogListStatus) UnmarshalJSON ¶
func (c *ScalingActivityLogListStatus) UnmarshalJSON(b []byte) error
type ScalingActivityLogListStatusEnum ¶
type ScalingActivityLogListStatusEnum struct { SUCCESS ScalingActivityLogListStatus FAIL ScalingActivityLogListStatus DING ScalingActivityLogListStatus }
func GetScalingActivityLogListStatusEnum ¶
func GetScalingActivityLogListStatusEnum() ScalingActivityLogListStatusEnum
type ScalingActivityLogV2 ¶
type ScalingActivityLogV2 struct { Status *ScalingActivityLogV2Status `json:"status,omitempty"` StartTime *sdktime.SdkTime `json:"start_time,omitempty"` EndTime *sdktime.SdkTime `json:"end_time,omitempty"` Id *string `json:"id,omitempty"` InstanceRemovedList *[]ScalingInstance `json:"instance_removed_list,omitempty"` InstanceDeletedList *[]ScalingInstance `json:"instance_deleted_list,omitempty"` InstanceAddedList *[]ScalingInstance `json:"instance_added_list,omitempty"` InstanceFailedList *[]ScalingInstance `json:"instance_failed_list,omitempty"` InstanceStandbyList *[]ScalingInstance `json:"instance_standby_list,omitempty"` ScalingValue *string `json:"scaling_value,omitempty"` Description *string `json:"description,omitempty"` InstanceValue *int32 `json:"instance_value,omitempty"` DesireValue *int32 `json:"desire_value,omitempty"` LbBindSuccessList *[]ModifyLb `json:"lb_bind_success_list,omitempty"` LbBindFailedList *[]ModifyLb `json:"lb_bind_failed_list,omitempty"` LbUnbindSuccessList *[]ModifyLb `json:"lb_unbind_success_list,omitempty"` LbUnbindFailedList *[]ModifyLb `json:"lb_unbind_failed_list,omitempty"` Type *string `json:"type,omitempty"` }
伸缩活动日志列表。
func (ScalingActivityLogV2) String ¶
func (o ScalingActivityLogV2) String() string
type ScalingActivityLogV2Status ¶
type ScalingActivityLogV2Status struct {
// contains filtered or unexported fields
}
func (ScalingActivityLogV2Status) MarshalJSON ¶
func (c ScalingActivityLogV2Status) MarshalJSON() ([]byte, error)
func (*ScalingActivityLogV2Status) UnmarshalJSON ¶
func (c *ScalingActivityLogV2Status) UnmarshalJSON(b []byte) error
type ScalingActivityLogV2StatusEnum ¶
type ScalingActivityLogV2StatusEnum struct { SUCCESS ScalingActivityLogV2Status FAIL ScalingActivityLogV2Status DING ScalingActivityLogV2Status }
func GetScalingActivityLogV2StatusEnum ¶
func GetScalingActivityLogV2StatusEnum() ScalingActivityLogV2StatusEnum
type ScalingAllPolicyDetail ¶
type ScalingAllPolicyDetail struct { ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` ScalingResourceId *string `json:"scaling_resource_id,omitempty"` ScalingResourceType *ScalingAllPolicyDetailScalingResourceType `json:"scaling_resource_type,omitempty"` PolicyStatus *ScalingAllPolicyDetailPolicyStatus `json:"policy_status,omitempty"` ScalingPolicyType *ScalingAllPolicyDetailScalingPolicyType `json:"scaling_policy_type,omitempty"` AlarmId *string `json:"alarm_id,omitempty"` ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"` ScalingPolicyAction *ScalingPolicyActionV2 `json:"scaling_policy_action,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` MetaData *ScalingPolicyV2MetaData `json:"meta_data,omitempty"` Description *string `json:"description,omitempty"` }
伸缩策略
func (ScalingAllPolicyDetail) String ¶
func (o ScalingAllPolicyDetail) String() string
type ScalingAllPolicyDetailPolicyStatus ¶
type ScalingAllPolicyDetailPolicyStatus struct {
// contains filtered or unexported fields
}
func (ScalingAllPolicyDetailPolicyStatus) MarshalJSON ¶
func (c ScalingAllPolicyDetailPolicyStatus) MarshalJSON() ([]byte, error)
func (*ScalingAllPolicyDetailPolicyStatus) UnmarshalJSON ¶
func (c *ScalingAllPolicyDetailPolicyStatus) UnmarshalJSON(b []byte) error
type ScalingAllPolicyDetailPolicyStatusEnum ¶
type ScalingAllPolicyDetailPolicyStatusEnum struct { INSERVICE ScalingAllPolicyDetailPolicyStatus PAUSED ScalingAllPolicyDetailPolicyStatus EXECUTING ScalingAllPolicyDetailPolicyStatus }
func GetScalingAllPolicyDetailPolicyStatusEnum ¶
func GetScalingAllPolicyDetailPolicyStatusEnum() ScalingAllPolicyDetailPolicyStatusEnum
type ScalingAllPolicyDetailScalingPolicyType ¶
type ScalingAllPolicyDetailScalingPolicyType struct {
// contains filtered or unexported fields
}
func (ScalingAllPolicyDetailScalingPolicyType) MarshalJSON ¶
func (c ScalingAllPolicyDetailScalingPolicyType) MarshalJSON() ([]byte, error)
func (*ScalingAllPolicyDetailScalingPolicyType) UnmarshalJSON ¶
func (c *ScalingAllPolicyDetailScalingPolicyType) UnmarshalJSON(b []byte) error
type ScalingAllPolicyDetailScalingPolicyTypeEnum ¶
type ScalingAllPolicyDetailScalingPolicyTypeEnum struct { ALARM ScalingAllPolicyDetailScalingPolicyType SCHEDULED ScalingAllPolicyDetailScalingPolicyType RECURRENCE ScalingAllPolicyDetailScalingPolicyType }
func GetScalingAllPolicyDetailScalingPolicyTypeEnum ¶
func GetScalingAllPolicyDetailScalingPolicyTypeEnum() ScalingAllPolicyDetailScalingPolicyTypeEnum
type ScalingAllPolicyDetailScalingResourceType ¶
type ScalingAllPolicyDetailScalingResourceType struct {
// contains filtered or unexported fields
}
func (ScalingAllPolicyDetailScalingResourceType) MarshalJSON ¶
func (c ScalingAllPolicyDetailScalingResourceType) MarshalJSON() ([]byte, error)
func (*ScalingAllPolicyDetailScalingResourceType) UnmarshalJSON ¶
func (c *ScalingAllPolicyDetailScalingResourceType) UnmarshalJSON(b []byte) error
type ScalingAllPolicyDetailScalingResourceTypeEnum ¶
type ScalingAllPolicyDetailScalingResourceTypeEnum struct { SCALING_GROUP ScalingAllPolicyDetailScalingResourceType BANDWIDTH ScalingAllPolicyDetailScalingResourceType }
func GetScalingAllPolicyDetailScalingResourceTypeEnum ¶
func GetScalingAllPolicyDetailScalingResourceTypeEnum() ScalingAllPolicyDetailScalingResourceTypeEnum
type ScalingConfiguration ¶
type ScalingConfiguration struct { ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"` Tenant *string `json:"tenant,omitempty"` ScalingConfigurationName *string `json:"scaling_configuration_name,omitempty"` InstanceConfig *InstanceConfigResult `json:"instance_config,omitempty"` CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` ScalingGroupId *string `json:"scaling_group_id,omitempty"` }
伸缩配置详情
func (ScalingConfiguration) String ¶
func (o ScalingConfiguration) String() string
type ScalingGroupInstance ¶
type ScalingGroupInstance struct { InstanceId *string `json:"instance_id,omitempty"` InstanceName *string `json:"instance_name,omitempty"` ScalingGroupId *string `json:"scaling_group_id,omitempty"` ScalingGroupName *string `json:"scaling_group_name,omitempty"` LifeCycleState *ScalingGroupInstanceLifeCycleState `json:"life_cycle_state,omitempty"` HealthStatus *ScalingGroupInstanceHealthStatus `json:"health_status,omitempty"` ScalingConfigurationName *string `json:"scaling_configuration_name,omitempty"` ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"` CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` ProtectFromScalingDown *bool `json:"protect_from_scaling_down,omitempty"` }
伸缩组实例详情
func (ScalingGroupInstance) String ¶
func (o ScalingGroupInstance) String() string
type ScalingGroupInstanceHealthStatus ¶
type ScalingGroupInstanceHealthStatus struct {
// contains filtered or unexported fields
}
func (ScalingGroupInstanceHealthStatus) MarshalJSON ¶
func (c ScalingGroupInstanceHealthStatus) MarshalJSON() ([]byte, error)
func (*ScalingGroupInstanceHealthStatus) UnmarshalJSON ¶
func (c *ScalingGroupInstanceHealthStatus) UnmarshalJSON(b []byte) error
type ScalingGroupInstanceHealthStatusEnum ¶
type ScalingGroupInstanceHealthStatusEnum struct { NORMAL ScalingGroupInstanceHealthStatus ERROR ScalingGroupInstanceHealthStatus INITAILIZING ScalingGroupInstanceHealthStatus }
func GetScalingGroupInstanceHealthStatusEnum ¶
func GetScalingGroupInstanceHealthStatusEnum() ScalingGroupInstanceHealthStatusEnum
type ScalingGroupInstanceLifeCycleState ¶
type ScalingGroupInstanceLifeCycleState struct {
// contains filtered or unexported fields
}
func (ScalingGroupInstanceLifeCycleState) MarshalJSON ¶
func (c ScalingGroupInstanceLifeCycleState) MarshalJSON() ([]byte, error)
func (*ScalingGroupInstanceLifeCycleState) UnmarshalJSON ¶
func (c *ScalingGroupInstanceLifeCycleState) UnmarshalJSON(b []byte) error
type ScalingGroupInstanceLifeCycleStateEnum ¶
type ScalingGroupInstanceLifeCycleStateEnum struct { INSERVICE ScalingGroupInstanceLifeCycleState PENDING ScalingGroupInstanceLifeCycleState REMOVING ScalingGroupInstanceLifeCycleState PENDING_WAIT ScalingGroupInstanceLifeCycleState REMOVING_WAIT ScalingGroupInstanceLifeCycleState }
func GetScalingGroupInstanceLifeCycleStateEnum ¶
func GetScalingGroupInstanceLifeCycleStateEnum() ScalingGroupInstanceLifeCycleStateEnum
type ScalingGroups ¶
type ScalingGroups struct { ScalingGroupName *string `json:"scaling_group_name,omitempty"` ScalingGroupId *string `json:"scaling_group_id,omitempty"` ScalingGroupStatus *ScalingGroupsScalingGroupStatus `json:"scaling_group_status,omitempty"` ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"` ScalingConfigurationName *string `json:"scaling_configuration_name,omitempty"` CurrentInstanceNumber *int32 `json:"current_instance_number,omitempty"` DesireInstanceNumber *int32 `json:"desire_instance_number,omitempty"` MinInstanceNumber *int32 `json:"min_instance_number,omitempty"` MaxInstanceNumber *int32 `json:"max_instance_number,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` LbListenerId *string `json:"lb_listener_id,omitempty"` LbaasListeners *[]LbaasListenersResult `json:"lbaas_listeners,omitempty"` AvailableZones *[]string `json:"available_zones,omitempty"` Networks *[]NetworksResult `json:"networks,omitempty"` SecurityGroups *[]SecurityGroupsResult `json:"security_groups,omitempty"` CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` VpcId *string `json:"vpc_id,omitempty"` Detail *string `json:"detail,omitempty"` IsScaling *bool `json:"is_scaling,omitempty"` HealthPeriodicAuditMethod *ScalingGroupsHealthPeriodicAuditMethod `json:"health_periodic_audit_method,omitempty"` HealthPeriodicAuditTime *int32 `json:"health_periodic_audit_time,omitempty"` HealthPeriodicAuditGracePeriod *int32 `json:"health_periodic_audit_grace_period,omitempty"` InstanceTerminatePolicy *ScalingGroupsInstanceTerminatePolicy `json:"instance_terminate_policy,omitempty"` Notifications *[]string `json:"notifications,omitempty"` DeletePublicip *bool `json:"delete_publicip,omitempty"` DeleteVolume *bool `json:"delete_volume,omitempty"` CloudLocationId *string `json:"cloud_location_id,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` ActivityType *string `json:"activity_type,omitempty"` MultiAzPriorityPolicy *string `json:"multi_az_priority_policy,omitempty"` Description *string `json:"description,omitempty"` }
伸缩组详情
func (ScalingGroups) String ¶
func (o ScalingGroups) String() string
type ScalingGroupsHealthPeriodicAuditMethod ¶
type ScalingGroupsHealthPeriodicAuditMethod struct {
// contains filtered or unexported fields
}
func (ScalingGroupsHealthPeriodicAuditMethod) MarshalJSON ¶
func (c ScalingGroupsHealthPeriodicAuditMethod) MarshalJSON() ([]byte, error)
func (*ScalingGroupsHealthPeriodicAuditMethod) UnmarshalJSON ¶
func (c *ScalingGroupsHealthPeriodicAuditMethod) UnmarshalJSON(b []byte) error
type ScalingGroupsHealthPeriodicAuditMethodEnum ¶
type ScalingGroupsHealthPeriodicAuditMethodEnum struct { ELB_AUDIT ScalingGroupsHealthPeriodicAuditMethod NOVA_AUDIT ScalingGroupsHealthPeriodicAuditMethod }
func GetScalingGroupsHealthPeriodicAuditMethodEnum ¶
func GetScalingGroupsHealthPeriodicAuditMethodEnum() ScalingGroupsHealthPeriodicAuditMethodEnum
type ScalingGroupsInstanceTerminatePolicy ¶
type ScalingGroupsInstanceTerminatePolicy struct {
// contains filtered or unexported fields
}
func (ScalingGroupsInstanceTerminatePolicy) MarshalJSON ¶
func (c ScalingGroupsInstanceTerminatePolicy) MarshalJSON() ([]byte, error)
func (*ScalingGroupsInstanceTerminatePolicy) UnmarshalJSON ¶
func (c *ScalingGroupsInstanceTerminatePolicy) UnmarshalJSON(b []byte) error
type ScalingGroupsInstanceTerminatePolicyEnum ¶
type ScalingGroupsInstanceTerminatePolicyEnum struct { OLD_CONFIG_OLD_INSTANCE ScalingGroupsInstanceTerminatePolicy OLD_CONFIG_NEW_INSTANCE ScalingGroupsInstanceTerminatePolicy OLD_INSTANCE ScalingGroupsInstanceTerminatePolicy NEW_INSTANCE ScalingGroupsInstanceTerminatePolicy }
func GetScalingGroupsInstanceTerminatePolicyEnum ¶
func GetScalingGroupsInstanceTerminatePolicyEnum() ScalingGroupsInstanceTerminatePolicyEnum
type ScalingGroupsScalingGroupStatus ¶
type ScalingGroupsScalingGroupStatus struct {
// contains filtered or unexported fields
}
func (ScalingGroupsScalingGroupStatus) MarshalJSON ¶
func (c ScalingGroupsScalingGroupStatus) MarshalJSON() ([]byte, error)
func (*ScalingGroupsScalingGroupStatus) UnmarshalJSON ¶
func (c *ScalingGroupsScalingGroupStatus) UnmarshalJSON(b []byte) error
type ScalingGroupsScalingGroupStatusEnum ¶
type ScalingGroupsScalingGroupStatusEnum struct { INSERVICE ScalingGroupsScalingGroupStatus PAUSED ScalingGroupsScalingGroupStatus ERROR ScalingGroupsScalingGroupStatus DELETING ScalingGroupsScalingGroupStatus FREEZED ScalingGroupsScalingGroupStatus }
func GetScalingGroupsScalingGroupStatusEnum ¶
func GetScalingGroupsScalingGroupStatusEnum() ScalingGroupsScalingGroupStatusEnum
type ScalingInstance ¶
type ScalingInstance struct { InstanceName *string `json:"instance_name,omitempty"` InstanceId *string `json:"instance_id,omitempty"` FailedReason *string `json:"failed_reason,omitempty"` FailedDetails *string `json:"failed_details,omitempty"` InstanceConfig *string `json:"instance_config,omitempty"` }
伸缩实例。
func (ScalingInstance) String ¶
func (o ScalingInstance) String() string
type ScalingPoliciesV2 ¶
type ScalingPoliciesV2 struct { ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` ScalingResourceId *string `json:"scaling_resource_id,omitempty"` ScalingResourceType *ScalingPoliciesV2ScalingResourceType `json:"scaling_resource_type,omitempty"` PolicyStatus *ScalingPoliciesV2PolicyStatus `json:"policy_status,omitempty"` ScalingPolicyType *ScalingPoliciesV2ScalingPolicyType `json:"scaling_policy_type,omitempty"` AlarmId *string `json:"alarm_id,omitempty"` ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"` ScalingPolicyAction *ScalingPolicyActionV2 `json:"scaling_policy_action,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` MetaData *ScalingPolicyV2MetaData `json:"meta_data,omitempty"` Description *string `json:"description,omitempty"` }
伸缩策略
func (ScalingPoliciesV2) String ¶
func (o ScalingPoliciesV2) String() string
type ScalingPoliciesV2PolicyStatus ¶
type ScalingPoliciesV2PolicyStatus struct {
// contains filtered or unexported fields
}
func (ScalingPoliciesV2PolicyStatus) MarshalJSON ¶
func (c ScalingPoliciesV2PolicyStatus) MarshalJSON() ([]byte, error)
func (*ScalingPoliciesV2PolicyStatus) UnmarshalJSON ¶
func (c *ScalingPoliciesV2PolicyStatus) UnmarshalJSON(b []byte) error
type ScalingPoliciesV2PolicyStatusEnum ¶
type ScalingPoliciesV2PolicyStatusEnum struct { INSERVICE ScalingPoliciesV2PolicyStatus PAUSED ScalingPoliciesV2PolicyStatus EXECUTING ScalingPoliciesV2PolicyStatus }
func GetScalingPoliciesV2PolicyStatusEnum ¶
func GetScalingPoliciesV2PolicyStatusEnum() ScalingPoliciesV2PolicyStatusEnum
type ScalingPoliciesV2ScalingPolicyType ¶
type ScalingPoliciesV2ScalingPolicyType struct {
// contains filtered or unexported fields
}
func (ScalingPoliciesV2ScalingPolicyType) MarshalJSON ¶
func (c ScalingPoliciesV2ScalingPolicyType) MarshalJSON() ([]byte, error)
func (*ScalingPoliciesV2ScalingPolicyType) UnmarshalJSON ¶
func (c *ScalingPoliciesV2ScalingPolicyType) UnmarshalJSON(b []byte) error
type ScalingPoliciesV2ScalingPolicyTypeEnum ¶
type ScalingPoliciesV2ScalingPolicyTypeEnum struct { ALARM ScalingPoliciesV2ScalingPolicyType SCHEDULED ScalingPoliciesV2ScalingPolicyType RECURRENCE ScalingPoliciesV2ScalingPolicyType }
func GetScalingPoliciesV2ScalingPolicyTypeEnum ¶
func GetScalingPoliciesV2ScalingPolicyTypeEnum() ScalingPoliciesV2ScalingPolicyTypeEnum
type ScalingPoliciesV2ScalingResourceType ¶
type ScalingPoliciesV2ScalingResourceType struct {
// contains filtered or unexported fields
}
func (ScalingPoliciesV2ScalingResourceType) MarshalJSON ¶
func (c ScalingPoliciesV2ScalingResourceType) MarshalJSON() ([]byte, error)
func (*ScalingPoliciesV2ScalingResourceType) UnmarshalJSON ¶
func (c *ScalingPoliciesV2ScalingResourceType) UnmarshalJSON(b []byte) error
type ScalingPoliciesV2ScalingResourceTypeEnum ¶
type ScalingPoliciesV2ScalingResourceTypeEnum struct { SCALING_GROUP ScalingPoliciesV2ScalingResourceType BANDWIDTH ScalingPoliciesV2ScalingResourceType }
func GetScalingPoliciesV2ScalingResourceTypeEnum ¶
func GetScalingPoliciesV2ScalingResourceTypeEnum() ScalingPoliciesV2ScalingResourceTypeEnum
type ScalingPolicyActionV1 ¶
type ScalingPolicyActionV1 struct { Operation *ScalingPolicyActionV1Operation `json:"operation,omitempty"` InstanceNumber *int32 `json:"instance_number,omitempty"` InstancePercentage *int32 `json:"instance_percentage,omitempty"` }
策略执行具体动作
func (ScalingPolicyActionV1) String ¶
func (o ScalingPolicyActionV1) String() string
type ScalingPolicyActionV1Operation ¶
type ScalingPolicyActionV1Operation struct {
// contains filtered or unexported fields
}
func (ScalingPolicyActionV1Operation) MarshalJSON ¶
func (c ScalingPolicyActionV1Operation) MarshalJSON() ([]byte, error)
func (*ScalingPolicyActionV1Operation) UnmarshalJSON ¶
func (c *ScalingPolicyActionV1Operation) UnmarshalJSON(b []byte) error
type ScalingPolicyActionV1OperationEnum ¶
type ScalingPolicyActionV1OperationEnum struct { ADD ScalingPolicyActionV1Operation REMOVE ScalingPolicyActionV1Operation REDUCE ScalingPolicyActionV1Operation SET ScalingPolicyActionV1Operation }
func GetScalingPolicyActionV1OperationEnum ¶
func GetScalingPolicyActionV1OperationEnum() ScalingPolicyActionV1OperationEnum
type ScalingPolicyActionV2 ¶
type ScalingPolicyActionV2 struct { Operation *ScalingPolicyActionV2Operation `json:"operation,omitempty"` Size *int32 `json:"size,omitempty"` Percentage *int32 `json:"percentage,omitempty"` Limits *int32 `json:"limits,omitempty"` }
策略执行具体动作。
func (ScalingPolicyActionV2) String ¶
func (o ScalingPolicyActionV2) String() string
type ScalingPolicyActionV2Operation ¶
type ScalingPolicyActionV2Operation struct {
// contains filtered or unexported fields
}
func (ScalingPolicyActionV2Operation) MarshalJSON ¶
func (c ScalingPolicyActionV2Operation) MarshalJSON() ([]byte, error)
func (*ScalingPolicyActionV2Operation) UnmarshalJSON ¶
func (c *ScalingPolicyActionV2Operation) UnmarshalJSON(b []byte) error
type ScalingPolicyActionV2OperationEnum ¶
type ScalingPolicyActionV2OperationEnum struct { ADD ScalingPolicyActionV2Operation REMOVE ScalingPolicyActionV2Operation REDUCE ScalingPolicyActionV2Operation SET ScalingPolicyActionV2Operation }
func GetScalingPolicyActionV2OperationEnum ¶
func GetScalingPolicyActionV2OperationEnum() ScalingPolicyActionV2OperationEnum
type ScalingPolicyExecuteLogList ¶
type ScalingPolicyExecuteLogList struct { Status *ScalingPolicyExecuteLogListStatus `json:"status,omitempty"` FailedReason *string `json:"failed_reason,omitempty"` ExecuteType *ScalingPolicyExecuteLogListExecuteType `json:"execute_type,omitempty"` ExecuteTime *string `json:"execute_time,omitempty"` Id *string `json:"id,omitempty"` TenantId *string `json:"tenant_id,omitempty"` ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` ScalingResourceType *ScalingPolicyExecuteLogListScalingResourceType `json:"scaling_resource_type,omitempty"` ScalingResourceId *string `json:"scaling_resource_id,omitempty"` OldValue *string `json:"old_value,omitempty"` DesireValue *string `json:"desire_value,omitempty"` LimitValue *string `json:"limit_value,omitempty"` Type *ScalingPolicyExecuteLogListType `json:"type,omitempty"` JobRecords *[]JobRecords `json:"job_records,omitempty"` MetaData *EipMetaData `json:"meta_data,omitempty"` }
伸缩策略执行日志列表
func (ScalingPolicyExecuteLogList) String ¶
func (o ScalingPolicyExecuteLogList) String() string
type ScalingPolicyExecuteLogListExecuteType ¶
type ScalingPolicyExecuteLogListExecuteType struct {
// contains filtered or unexported fields
}
func (ScalingPolicyExecuteLogListExecuteType) MarshalJSON ¶
func (c ScalingPolicyExecuteLogListExecuteType) MarshalJSON() ([]byte, error)
func (*ScalingPolicyExecuteLogListExecuteType) UnmarshalJSON ¶
func (c *ScalingPolicyExecuteLogListExecuteType) UnmarshalJSON(b []byte) error
type ScalingPolicyExecuteLogListExecuteTypeEnum ¶
type ScalingPolicyExecuteLogListExecuteTypeEnum struct { SCHEDULE ScalingPolicyExecuteLogListExecuteType RECURRENCE ScalingPolicyExecuteLogListExecuteType ALARM ScalingPolicyExecuteLogListExecuteType MANUAL ScalingPolicyExecuteLogListExecuteType }
func GetScalingPolicyExecuteLogListExecuteTypeEnum ¶
func GetScalingPolicyExecuteLogListExecuteTypeEnum() ScalingPolicyExecuteLogListExecuteTypeEnum
type ScalingPolicyExecuteLogListScalingResourceType ¶
type ScalingPolicyExecuteLogListScalingResourceType struct {
// contains filtered or unexported fields
}
func (ScalingPolicyExecuteLogListScalingResourceType) MarshalJSON ¶
func (c ScalingPolicyExecuteLogListScalingResourceType) MarshalJSON() ([]byte, error)
func (*ScalingPolicyExecuteLogListScalingResourceType) UnmarshalJSON ¶
func (c *ScalingPolicyExecuteLogListScalingResourceType) UnmarshalJSON(b []byte) error
type ScalingPolicyExecuteLogListScalingResourceTypeEnum ¶
type ScalingPolicyExecuteLogListScalingResourceTypeEnum struct { SCALING_GROUP ScalingPolicyExecuteLogListScalingResourceType BANDWIDTH ScalingPolicyExecuteLogListScalingResourceType }
func GetScalingPolicyExecuteLogListScalingResourceTypeEnum ¶
func GetScalingPolicyExecuteLogListScalingResourceTypeEnum() ScalingPolicyExecuteLogListScalingResourceTypeEnum
type ScalingPolicyExecuteLogListStatus ¶
type ScalingPolicyExecuteLogListStatus struct {
// contains filtered or unexported fields
}
func (ScalingPolicyExecuteLogListStatus) MarshalJSON ¶
func (c ScalingPolicyExecuteLogListStatus) MarshalJSON() ([]byte, error)
func (*ScalingPolicyExecuteLogListStatus) UnmarshalJSON ¶
func (c *ScalingPolicyExecuteLogListStatus) UnmarshalJSON(b []byte) error
type ScalingPolicyExecuteLogListStatusEnum ¶
type ScalingPolicyExecuteLogListStatusEnum struct { SUCCESS ScalingPolicyExecuteLogListStatus FAIL ScalingPolicyExecuteLogListStatus EXECUTING ScalingPolicyExecuteLogListStatus }
func GetScalingPolicyExecuteLogListStatusEnum ¶
func GetScalingPolicyExecuteLogListStatusEnum() ScalingPolicyExecuteLogListStatusEnum
type ScalingPolicyExecuteLogListType ¶
type ScalingPolicyExecuteLogListType struct {
// contains filtered or unexported fields
}
func (ScalingPolicyExecuteLogListType) MarshalJSON ¶
func (c ScalingPolicyExecuteLogListType) MarshalJSON() ([]byte, error)
func (*ScalingPolicyExecuteLogListType) UnmarshalJSON ¶
func (c *ScalingPolicyExecuteLogListType) UnmarshalJSON(b []byte) error
type ScalingPolicyExecuteLogListTypeEnum ¶
type ScalingPolicyExecuteLogListTypeEnum struct { ADD ScalingPolicyExecuteLogListType REMOVE ScalingPolicyExecuteLogListType SET ScalingPolicyExecuteLogListType }
func GetScalingPolicyExecuteLogListTypeEnum ¶
func GetScalingPolicyExecuteLogListTypeEnum() ScalingPolicyExecuteLogListTypeEnum
type ScalingPolicyV2MetaData ¶
type ScalingPolicyV2MetaData struct { MetadataEipId *string `json:"metadata_eip_id,omitempty"` MetadataEipAddress *string `json:"metadata_eip_address,omitempty"` }
附件信息
func (ScalingPolicyV2MetaData) String ¶
func (o ScalingPolicyV2MetaData) String() string
type ScalingV1PolicyDetail ¶
type ScalingV1PolicyDetail struct { ScalingGroupId *string `json:"scaling_group_id,omitempty"` ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` PolicyStatus *string `json:"policy_status,omitempty"` ScalingPolicyType *ScalingV1PolicyDetailScalingPolicyType `json:"scaling_policy_type,omitempty"` AlarmId *string `json:"alarm_id,omitempty"` ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"` ScalingPolicyAction *ScalingPolicyActionV1 `json:"scaling_policy_action,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` CreateTime *string `json:"create_time,omitempty"` }
伸缩策略
func (ScalingV1PolicyDetail) String ¶
func (o ScalingV1PolicyDetail) String() string
type ScalingV1PolicyDetailScalingPolicyType ¶
type ScalingV1PolicyDetailScalingPolicyType struct {
// contains filtered or unexported fields
}
func (ScalingV1PolicyDetailScalingPolicyType) MarshalJSON ¶
func (c ScalingV1PolicyDetailScalingPolicyType) MarshalJSON() ([]byte, error)
func (*ScalingV1PolicyDetailScalingPolicyType) UnmarshalJSON ¶
func (c *ScalingV1PolicyDetailScalingPolicyType) UnmarshalJSON(b []byte) error
type ScalingV1PolicyDetailScalingPolicyTypeEnum ¶
type ScalingV1PolicyDetailScalingPolicyTypeEnum struct { ALARM ScalingV1PolicyDetailScalingPolicyType SCHEDULED ScalingV1PolicyDetailScalingPolicyType RECURRENCE ScalingV1PolicyDetailScalingPolicyType }
func GetScalingV1PolicyDetailScalingPolicyTypeEnum ¶
func GetScalingV1PolicyDetailScalingPolicyTypeEnum() ScalingV1PolicyDetailScalingPolicyTypeEnum
type ScalingV2PolicyDetail ¶
type ScalingV2PolicyDetail struct { ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` ScalingResourceId *string `json:"scaling_resource_id,omitempty"` ScalingResourceType *ScalingV2PolicyDetailScalingResourceType `json:"scaling_resource_type,omitempty"` PolicyStatus *ScalingV2PolicyDetailPolicyStatus `json:"policy_status,omitempty"` ScalingPolicyType *ScalingV2PolicyDetailScalingPolicyType `json:"scaling_policy_type,omitempty"` AlarmId *string `json:"alarm_id,omitempty"` ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"` ScalingPolicyAction *ScalingPolicyActionV2 `json:"scaling_policy_action,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` MetaData *ScalingPolicyV2MetaData `json:"meta_data,omitempty"` Description *string `json:"description,omitempty"` }
伸缩策略详情
func (ScalingV2PolicyDetail) String ¶
func (o ScalingV2PolicyDetail) String() string
type ScalingV2PolicyDetailPolicyStatus ¶
type ScalingV2PolicyDetailPolicyStatus struct {
// contains filtered or unexported fields
}
func (ScalingV2PolicyDetailPolicyStatus) MarshalJSON ¶
func (c ScalingV2PolicyDetailPolicyStatus) MarshalJSON() ([]byte, error)
func (*ScalingV2PolicyDetailPolicyStatus) UnmarshalJSON ¶
func (c *ScalingV2PolicyDetailPolicyStatus) UnmarshalJSON(b []byte) error
type ScalingV2PolicyDetailPolicyStatusEnum ¶
type ScalingV2PolicyDetailPolicyStatusEnum struct { INSERVICE ScalingV2PolicyDetailPolicyStatus PAUSED ScalingV2PolicyDetailPolicyStatus EXECUTING ScalingV2PolicyDetailPolicyStatus }
func GetScalingV2PolicyDetailPolicyStatusEnum ¶
func GetScalingV2PolicyDetailPolicyStatusEnum() ScalingV2PolicyDetailPolicyStatusEnum
type ScalingV2PolicyDetailScalingPolicyType ¶
type ScalingV2PolicyDetailScalingPolicyType struct {
// contains filtered or unexported fields
}
func (ScalingV2PolicyDetailScalingPolicyType) MarshalJSON ¶
func (c ScalingV2PolicyDetailScalingPolicyType) MarshalJSON() ([]byte, error)
func (*ScalingV2PolicyDetailScalingPolicyType) UnmarshalJSON ¶
func (c *ScalingV2PolicyDetailScalingPolicyType) UnmarshalJSON(b []byte) error
type ScalingV2PolicyDetailScalingPolicyTypeEnum ¶
type ScalingV2PolicyDetailScalingPolicyTypeEnum struct { ALARM ScalingV2PolicyDetailScalingPolicyType SCHEDULED ScalingV2PolicyDetailScalingPolicyType RECURRENCE ScalingV2PolicyDetailScalingPolicyType }
func GetScalingV2PolicyDetailScalingPolicyTypeEnum ¶
func GetScalingV2PolicyDetailScalingPolicyTypeEnum() ScalingV2PolicyDetailScalingPolicyTypeEnum
type ScalingV2PolicyDetailScalingResourceType ¶
type ScalingV2PolicyDetailScalingResourceType struct {
// contains filtered or unexported fields
}
func (ScalingV2PolicyDetailScalingResourceType) MarshalJSON ¶
func (c ScalingV2PolicyDetailScalingResourceType) MarshalJSON() ([]byte, error)
func (*ScalingV2PolicyDetailScalingResourceType) UnmarshalJSON ¶
func (c *ScalingV2PolicyDetailScalingResourceType) UnmarshalJSON(b []byte) error
type ScalingV2PolicyDetailScalingResourceTypeEnum ¶
type ScalingV2PolicyDetailScalingResourceTypeEnum struct { SCALING_GROUP ScalingV2PolicyDetailScalingResourceType BANDWIDTH ScalingV2PolicyDetailScalingResourceType }
func GetScalingV2PolicyDetailScalingResourceTypeEnum ¶
func GetScalingV2PolicyDetailScalingResourceTypeEnum() ScalingV2PolicyDetailScalingResourceTypeEnum
type ScheduledPolicy ¶
type ScheduledPolicy struct { LaunchTime string `json:"launch_time"` RecurrenceType *ScheduledPolicyRecurrenceType `json:"recurrence_type,omitempty"` RecurrenceValue *string `json:"recurrence_value,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` }
定时、周期任务策略
func (ScheduledPolicy) String ¶
func (o ScheduledPolicy) String() string
type ScheduledPolicyRecurrenceType ¶
type ScheduledPolicyRecurrenceType struct {
// contains filtered or unexported fields
}
func (ScheduledPolicyRecurrenceType) MarshalJSON ¶
func (c ScheduledPolicyRecurrenceType) MarshalJSON() ([]byte, error)
func (*ScheduledPolicyRecurrenceType) UnmarshalJSON ¶
func (c *ScheduledPolicyRecurrenceType) UnmarshalJSON(b []byte) error
type ScheduledPolicyRecurrenceTypeEnum ¶
type ScheduledPolicyRecurrenceTypeEnum struct { DAILY ScheduledPolicyRecurrenceType WEEKLY ScheduledPolicyRecurrenceType MONTHLY ScheduledPolicyRecurrenceType }
func GetScheduledPolicyRecurrenceTypeEnum ¶
func GetScheduledPolicyRecurrenceTypeEnum() ScheduledPolicyRecurrenceTypeEnum
type SecurityGroup ¶
type SecurityGroup struct {
Id string `json:"id"`
}
安全组信息
func (SecurityGroup) String ¶
func (o SecurityGroup) String() string
type SecurityGroups ¶
type SecurityGroups struct {
Id string `json:"id"`
}
安全组信息
func (SecurityGroups) String ¶
func (o SecurityGroups) String() string
type SecurityGroupsResult ¶
type SecurityGroupsResult struct {
Id *string `json:"id,omitempty"`
}
安全组信息
func (SecurityGroupsResult) String ¶
func (o SecurityGroupsResult) String() string
type ShowApiVersionRequest ¶
type ShowApiVersionRequest struct {
ApiVersion ShowApiVersionRequestApiVersion `json:"api_version"`
}
Request Object
func (ShowApiVersionRequest) String ¶
func (o ShowApiVersionRequest) String() string
type ShowApiVersionRequestApiVersion ¶
type ShowApiVersionRequestApiVersion struct {
// contains filtered or unexported fields
}
func (ShowApiVersionRequestApiVersion) MarshalJSON ¶
func (c ShowApiVersionRequestApiVersion) MarshalJSON() ([]byte, error)
func (*ShowApiVersionRequestApiVersion) UnmarshalJSON ¶
func (c *ShowApiVersionRequestApiVersion) UnmarshalJSON(b []byte) error
type ShowApiVersionRequestApiVersionEnum ¶
type ShowApiVersionRequestApiVersionEnum struct { V1 ShowApiVersionRequestApiVersion V2 ShowApiVersionRequestApiVersion }
func GetShowApiVersionRequestApiVersionEnum ¶
func GetShowApiVersionRequestApiVersionEnum() ShowApiVersionRequestApiVersionEnum
type ShowApiVersionResponse ¶
type ShowApiVersionResponse struct { Version *VersionInfo `json:"version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowApiVersionResponse) String ¶
func (o ShowApiVersionResponse) String() string
type ShowLifeCycleHookRequest ¶
type ShowLifeCycleHookRequest struct { ScalingGroupId string `json:"scaling_group_id"` LifecycleHookName string `json:"lifecycle_hook_name"` }
Request Object
func (ShowLifeCycleHookRequest) String ¶
func (o ShowLifeCycleHookRequest) String() string
type ShowLifeCycleHookResponse ¶
type ShowLifeCycleHookResponse struct { LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"` LifecycleHookType *ShowLifeCycleHookResponseLifecycleHookType `json:"lifecycle_hook_type,omitempty"` DefaultResult *ShowLifeCycleHookResponseDefaultResult `json:"default_result,omitempty"` DefaultTimeout *int32 `json:"default_timeout,omitempty"` NotificationTopicUrn *string `json:"notification_topic_urn,omitempty"` NotificationTopicName *string `json:"notification_topic_name,omitempty"` NotificationMetadata *string `json:"notification_metadata,omitempty"` CreateTime *string `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowLifeCycleHookResponse) String ¶
func (o ShowLifeCycleHookResponse) String() string
type ShowLifeCycleHookResponseDefaultResult ¶
type ShowLifeCycleHookResponseDefaultResult struct {
// contains filtered or unexported fields
}
func (ShowLifeCycleHookResponseDefaultResult) MarshalJSON ¶
func (c ShowLifeCycleHookResponseDefaultResult) MarshalJSON() ([]byte, error)
func (*ShowLifeCycleHookResponseDefaultResult) UnmarshalJSON ¶
func (c *ShowLifeCycleHookResponseDefaultResult) UnmarshalJSON(b []byte) error
type ShowLifeCycleHookResponseDefaultResultEnum ¶
type ShowLifeCycleHookResponseDefaultResultEnum struct { ABANDON ShowLifeCycleHookResponseDefaultResult CONTINUE ShowLifeCycleHookResponseDefaultResult }
func GetShowLifeCycleHookResponseDefaultResultEnum ¶
func GetShowLifeCycleHookResponseDefaultResultEnum() ShowLifeCycleHookResponseDefaultResultEnum
type ShowLifeCycleHookResponseLifecycleHookType ¶
type ShowLifeCycleHookResponseLifecycleHookType struct {
// contains filtered or unexported fields
}
func (ShowLifeCycleHookResponseLifecycleHookType) MarshalJSON ¶
func (c ShowLifeCycleHookResponseLifecycleHookType) MarshalJSON() ([]byte, error)
func (*ShowLifeCycleHookResponseLifecycleHookType) UnmarshalJSON ¶
func (c *ShowLifeCycleHookResponseLifecycleHookType) UnmarshalJSON(b []byte) error
type ShowLifeCycleHookResponseLifecycleHookTypeEnum ¶
type ShowLifeCycleHookResponseLifecycleHookTypeEnum struct { INSTANCE_TERMINATING ShowLifeCycleHookResponseLifecycleHookType INSTANCE_LAUNCHING ShowLifeCycleHookResponseLifecycleHookType }
func GetShowLifeCycleHookResponseLifecycleHookTypeEnum ¶
func GetShowLifeCycleHookResponseLifecycleHookTypeEnum() ShowLifeCycleHookResponseLifecycleHookTypeEnum
type ShowPolicyAndInstanceQuotaRequest ¶
type ShowPolicyAndInstanceQuotaRequest struct {
ScalingGroupId string `json:"scaling_group_id"`
}
Request Object
func (ShowPolicyAndInstanceQuotaRequest) String ¶
func (o ShowPolicyAndInstanceQuotaRequest) String() string
type ShowPolicyAndInstanceQuotaResponse ¶
type ShowPolicyAndInstanceQuotaResponse struct { Quotas *PolicyInstanceQuotas `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPolicyAndInstanceQuotaResponse) String ¶
func (o ShowPolicyAndInstanceQuotaResponse) String() string
type ShowResourceQuotaRequest ¶
type ShowResourceQuotaRequest struct { }
Request Object
func (ShowResourceQuotaRequest) String ¶
func (o ShowResourceQuotaRequest) String() string
type ShowResourceQuotaResponse ¶
type ShowResourceQuotaResponse struct { Quotas *AllQuotas `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowResourceQuotaResponse) String ¶
func (o ShowResourceQuotaResponse) String() string
type ShowScalingConfigRequest ¶
type ShowScalingConfigRequest struct {
ScalingConfigurationId string `json:"scaling_configuration_id"`
}
Request Object
func (ShowScalingConfigRequest) String ¶
func (o ShowScalingConfigRequest) String() string
type ShowScalingConfigResponse ¶
type ShowScalingConfigResponse struct { ScalingConfiguration *ScalingConfiguration `json:"scaling_configuration,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowScalingConfigResponse) String ¶
func (o ShowScalingConfigResponse) String() string
type ShowScalingGroupRequest ¶
type ShowScalingGroupRequest struct {
ScalingGroupId string `json:"scaling_group_id"`
}
Request Object
func (ShowScalingGroupRequest) String ¶
func (o ShowScalingGroupRequest) String() string
type ShowScalingGroupResponse ¶
type ShowScalingGroupResponse struct { ScalingGroup *ScalingGroups `json:"scaling_group,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowScalingGroupResponse) String ¶
func (o ShowScalingGroupResponse) String() string
type ShowScalingPolicyRequest ¶
type ShowScalingPolicyRequest struct {
ScalingPolicyId string `json:"scaling_policy_id"`
}
Request Object
func (ShowScalingPolicyRequest) String ¶
func (o ShowScalingPolicyRequest) String() string
type ShowScalingPolicyResponse ¶
type ShowScalingPolicyResponse struct { ScalingPolicy *ScalingV1PolicyDetail `json:"scaling_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowScalingPolicyResponse) String ¶
func (o ShowScalingPolicyResponse) String() string
type ShowScalingV2PolicyRequest ¶
type ShowScalingV2PolicyRequest struct {
ScalingPolicyId string `json:"scaling_policy_id"`
}
Request Object
func (ShowScalingV2PolicyRequest) String ¶
func (o ShowScalingV2PolicyRequest) String() string
type ShowScalingV2PolicyResponse ¶
type ShowScalingV2PolicyResponse struct { ScalingPolicy *ScalingV2PolicyDetail `json:"scaling_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowScalingV2PolicyResponse) String ¶
func (o ShowScalingV2PolicyResponse) String() string
type TagsMultiValue ¶
func (TagsMultiValue) String ¶
func (o TagsMultiValue) String() string
type TagsSingleValue ¶
资源标签键
func (TagsSingleValue) String ¶
func (o TagsSingleValue) String() string
type Topics ¶
type UpdateLifeCycleHookOption ¶
type UpdateLifeCycleHookOption struct { LifecycleHookType *UpdateLifeCycleHookOptionLifecycleHookType `json:"lifecycle_hook_type,omitempty"` DefaultResult *UpdateLifeCycleHookOptionDefaultResult `json:"default_result,omitempty"` DefaultTimeout *int32 `json:"default_timeout,omitempty"` NotificationTopicUrn *string `json:"notification_topic_urn,omitempty"` NotificationMetadata *string `json:"notification_metadata,omitempty"` }
修改生命周期挂钩
func (UpdateLifeCycleHookOption) String ¶
func (o UpdateLifeCycleHookOption) String() string
type UpdateLifeCycleHookOptionDefaultResult ¶
type UpdateLifeCycleHookOptionDefaultResult struct {
// contains filtered or unexported fields
}
func (UpdateLifeCycleHookOptionDefaultResult) MarshalJSON ¶
func (c UpdateLifeCycleHookOptionDefaultResult) MarshalJSON() ([]byte, error)
func (*UpdateLifeCycleHookOptionDefaultResult) UnmarshalJSON ¶
func (c *UpdateLifeCycleHookOptionDefaultResult) UnmarshalJSON(b []byte) error
type UpdateLifeCycleHookOptionDefaultResultEnum ¶
type UpdateLifeCycleHookOptionDefaultResultEnum struct { ABANDON UpdateLifeCycleHookOptionDefaultResult CONTINUE UpdateLifeCycleHookOptionDefaultResult }
func GetUpdateLifeCycleHookOptionDefaultResultEnum ¶
func GetUpdateLifeCycleHookOptionDefaultResultEnum() UpdateLifeCycleHookOptionDefaultResultEnum
type UpdateLifeCycleHookOptionLifecycleHookType ¶
type UpdateLifeCycleHookOptionLifecycleHookType struct {
// contains filtered or unexported fields
}
func (UpdateLifeCycleHookOptionLifecycleHookType) MarshalJSON ¶
func (c UpdateLifeCycleHookOptionLifecycleHookType) MarshalJSON() ([]byte, error)
func (*UpdateLifeCycleHookOptionLifecycleHookType) UnmarshalJSON ¶
func (c *UpdateLifeCycleHookOptionLifecycleHookType) UnmarshalJSON(b []byte) error
type UpdateLifeCycleHookOptionLifecycleHookTypeEnum ¶
type UpdateLifeCycleHookOptionLifecycleHookTypeEnum struct { INSTANCE_TERMINATING UpdateLifeCycleHookOptionLifecycleHookType INSTANCE_LAUNCHING UpdateLifeCycleHookOptionLifecycleHookType }
func GetUpdateLifeCycleHookOptionLifecycleHookTypeEnum ¶
func GetUpdateLifeCycleHookOptionLifecycleHookTypeEnum() UpdateLifeCycleHookOptionLifecycleHookTypeEnum
type UpdateLifeCycleHookRequest ¶
type UpdateLifeCycleHookRequest struct { ScalingGroupId string `json:"scaling_group_id"` LifecycleHookName string `json:"lifecycle_hook_name"` Body *UpdateLifeCycleHookOption `json:"body,omitempty"` }
Request Object
func (UpdateLifeCycleHookRequest) String ¶
func (o UpdateLifeCycleHookRequest) String() string
type UpdateLifeCycleHookResponse ¶
type UpdateLifeCycleHookResponse struct { LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"` LifecycleHookType *UpdateLifeCycleHookResponseLifecycleHookType `json:"lifecycle_hook_type,omitempty"` DefaultResult *UpdateLifeCycleHookResponseDefaultResult `json:"default_result,omitempty"` DefaultTimeout *int32 `json:"default_timeout,omitempty"` NotificationTopicUrn *string `json:"notification_topic_urn,omitempty"` NotificationTopicName *string `json:"notification_topic_name,omitempty"` NotificationMetadata *string `json:"notification_metadata,omitempty"` CreateTime *string `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateLifeCycleHookResponse) String ¶
func (o UpdateLifeCycleHookResponse) String() string
type UpdateLifeCycleHookResponseDefaultResult ¶
type UpdateLifeCycleHookResponseDefaultResult struct {
// contains filtered or unexported fields
}
func (UpdateLifeCycleHookResponseDefaultResult) MarshalJSON ¶
func (c UpdateLifeCycleHookResponseDefaultResult) MarshalJSON() ([]byte, error)
func (*UpdateLifeCycleHookResponseDefaultResult) UnmarshalJSON ¶
func (c *UpdateLifeCycleHookResponseDefaultResult) UnmarshalJSON(b []byte) error
type UpdateLifeCycleHookResponseDefaultResultEnum ¶
type UpdateLifeCycleHookResponseDefaultResultEnum struct { ABANDON UpdateLifeCycleHookResponseDefaultResult CONTINUE UpdateLifeCycleHookResponseDefaultResult }
func GetUpdateLifeCycleHookResponseDefaultResultEnum ¶
func GetUpdateLifeCycleHookResponseDefaultResultEnum() UpdateLifeCycleHookResponseDefaultResultEnum
type UpdateLifeCycleHookResponseLifecycleHookType ¶
type UpdateLifeCycleHookResponseLifecycleHookType struct {
// contains filtered or unexported fields
}
func (UpdateLifeCycleHookResponseLifecycleHookType) MarshalJSON ¶
func (c UpdateLifeCycleHookResponseLifecycleHookType) MarshalJSON() ([]byte, error)
func (*UpdateLifeCycleHookResponseLifecycleHookType) UnmarshalJSON ¶
func (c *UpdateLifeCycleHookResponseLifecycleHookType) UnmarshalJSON(b []byte) error
type UpdateLifeCycleHookResponseLifecycleHookTypeEnum ¶
type UpdateLifeCycleHookResponseLifecycleHookTypeEnum struct { INSTANCE_TERMINATING UpdateLifeCycleHookResponseLifecycleHookType INSTANCE_LAUNCHING UpdateLifeCycleHookResponseLifecycleHookType }
func GetUpdateLifeCycleHookResponseLifecycleHookTypeEnum ¶
func GetUpdateLifeCycleHookResponseLifecycleHookTypeEnum() UpdateLifeCycleHookResponseLifecycleHookTypeEnum
type UpdateScalingGroupOption ¶
type UpdateScalingGroupOption struct { ScalingGroupName *string `json:"scaling_group_name,omitempty"` DesireInstanceNumber *int32 `json:"desire_instance_number,omitempty"` MinInstanceNumber *int32 `json:"min_instance_number,omitempty"` MaxInstanceNumber *int32 `json:"max_instance_number,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` AvailableZones *[]string `json:"available_zones,omitempty"` Networks *[]Networks `json:"networks,omitempty"` SecurityGroups *[]SecurityGroup `json:"security_groups,omitempty"` LbListenerId *string `json:"lb_listener_id,omitempty"` LbaasListeners *[]LbaasListeners `json:"lbaas_listeners,omitempty"` HealthPeriodicAuditMethod *UpdateScalingGroupOptionHealthPeriodicAuditMethod `json:"health_periodic_audit_method,omitempty"` HealthPeriodicAuditTime *int32 `json:"health_periodic_audit_time,omitempty"` HealthPeriodicAuditGracePeriod *int32 `json:"health_periodic_audit_grace_period,omitempty"` InstanceTerminatePolicy *UpdateScalingGroupOptionInstanceTerminatePolicy `json:"instance_terminate_policy,omitempty"` ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"` Notifications *[]string `json:"notifications,omitempty"` DeletePublicip *bool `json:"delete_publicip,omitempty"` DeleteVolume *bool `json:"delete_volume,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` MultiAzPriorityPolicy *string `json:"multi_az_priority_policy,omitempty"` Description *string `json:"description,omitempty"` }
修改伸缩组详情
func (UpdateScalingGroupOption) String ¶
func (o UpdateScalingGroupOption) String() string
type UpdateScalingGroupOptionHealthPeriodicAuditMethod ¶
type UpdateScalingGroupOptionHealthPeriodicAuditMethod struct {
// contains filtered or unexported fields
}
func (UpdateScalingGroupOptionHealthPeriodicAuditMethod) MarshalJSON ¶
func (c UpdateScalingGroupOptionHealthPeriodicAuditMethod) MarshalJSON() ([]byte, error)
func (*UpdateScalingGroupOptionHealthPeriodicAuditMethod) UnmarshalJSON ¶
func (c *UpdateScalingGroupOptionHealthPeriodicAuditMethod) UnmarshalJSON(b []byte) error
type UpdateScalingGroupOptionHealthPeriodicAuditMethodEnum ¶
type UpdateScalingGroupOptionHealthPeriodicAuditMethodEnum struct { ELB_AUDIT UpdateScalingGroupOptionHealthPeriodicAuditMethod NOVA_AUDIT UpdateScalingGroupOptionHealthPeriodicAuditMethod }
func GetUpdateScalingGroupOptionHealthPeriodicAuditMethodEnum ¶
func GetUpdateScalingGroupOptionHealthPeriodicAuditMethodEnum() UpdateScalingGroupOptionHealthPeriodicAuditMethodEnum
type UpdateScalingGroupOptionInstanceTerminatePolicy ¶
type UpdateScalingGroupOptionInstanceTerminatePolicy struct {
// contains filtered or unexported fields
}
func (UpdateScalingGroupOptionInstanceTerminatePolicy) MarshalJSON ¶
func (c UpdateScalingGroupOptionInstanceTerminatePolicy) MarshalJSON() ([]byte, error)
func (*UpdateScalingGroupOptionInstanceTerminatePolicy) UnmarshalJSON ¶
func (c *UpdateScalingGroupOptionInstanceTerminatePolicy) UnmarshalJSON(b []byte) error
type UpdateScalingGroupOptionInstanceTerminatePolicyEnum ¶
type UpdateScalingGroupOptionInstanceTerminatePolicyEnum struct { OLD_CONFIG_OLD_INSTANCE UpdateScalingGroupOptionInstanceTerminatePolicy OLD_CONFIG_NEW_INSTANCE UpdateScalingGroupOptionInstanceTerminatePolicy OLD_INSTANCE UpdateScalingGroupOptionInstanceTerminatePolicy NEW_INSTANCE UpdateScalingGroupOptionInstanceTerminatePolicy }
func GetUpdateScalingGroupOptionInstanceTerminatePolicyEnum ¶
func GetUpdateScalingGroupOptionInstanceTerminatePolicyEnum() UpdateScalingGroupOptionInstanceTerminatePolicyEnum
type UpdateScalingGroupRequest ¶
type UpdateScalingGroupRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *UpdateScalingGroupOption `json:"body,omitempty"` }
Request Object
func (UpdateScalingGroupRequest) String ¶
func (o UpdateScalingGroupRequest) String() string
type UpdateScalingGroupResponse ¶
type UpdateScalingGroupResponse struct { ScalingGroupId *string `json:"scaling_group_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateScalingGroupResponse) String ¶
func (o UpdateScalingGroupResponse) String() string
type UpdateScalingPolicyOption ¶
type UpdateScalingPolicyOption struct { ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingPolicyType *UpdateScalingPolicyOptionScalingPolicyType `json:"scaling_policy_type,omitempty"` AlarmId *string `json:"alarm_id,omitempty"` ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"` ScalingPolicyAction *ScalingPolicyActionV1 `json:"scaling_policy_action,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` }
修改伸缩策略
func (UpdateScalingPolicyOption) String ¶
func (o UpdateScalingPolicyOption) String() string
type UpdateScalingPolicyOptionScalingPolicyType ¶
type UpdateScalingPolicyOptionScalingPolicyType struct {
// contains filtered or unexported fields
}
func (UpdateScalingPolicyOptionScalingPolicyType) MarshalJSON ¶
func (c UpdateScalingPolicyOptionScalingPolicyType) MarshalJSON() ([]byte, error)
func (*UpdateScalingPolicyOptionScalingPolicyType) UnmarshalJSON ¶
func (c *UpdateScalingPolicyOptionScalingPolicyType) UnmarshalJSON(b []byte) error
type UpdateScalingPolicyOptionScalingPolicyTypeEnum ¶
type UpdateScalingPolicyOptionScalingPolicyTypeEnum struct { ALARM UpdateScalingPolicyOptionScalingPolicyType SCHEDULED UpdateScalingPolicyOptionScalingPolicyType RECURRENCE UpdateScalingPolicyOptionScalingPolicyType }
func GetUpdateScalingPolicyOptionScalingPolicyTypeEnum ¶
func GetUpdateScalingPolicyOptionScalingPolicyTypeEnum() UpdateScalingPolicyOptionScalingPolicyTypeEnum
type UpdateScalingPolicyRequest ¶
type UpdateScalingPolicyRequest struct { ScalingPolicyId string `json:"scaling_policy_id"` Body *UpdateScalingPolicyOption `json:"body,omitempty"` }
Request Object
func (UpdateScalingPolicyRequest) String ¶
func (o UpdateScalingPolicyRequest) String() string
type UpdateScalingPolicyResponse ¶
type UpdateScalingPolicyResponse struct { ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateScalingPolicyResponse) String ¶
func (o UpdateScalingPolicyResponse) String() string
type UpdateScalingV2PolicyOption ¶
type UpdateScalingV2PolicyOption struct { ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingResourceId *string `json:"scaling_resource_id,omitempty"` ScalingResourceType *UpdateScalingV2PolicyOptionScalingResourceType `json:"scaling_resource_type,omitempty"` ScalingPolicyType *UpdateScalingV2PolicyOptionScalingPolicyType `json:"scaling_policy_type,omitempty"` AlarmId *string `json:"alarm_id,omitempty"` ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"` ScalingPolicyAction *ScalingPolicyActionV2 `json:"scaling_policy_action,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` Description *string `json:"description,omitempty"` }
修改伸缩策略
func (UpdateScalingV2PolicyOption) String ¶
func (o UpdateScalingV2PolicyOption) String() string
type UpdateScalingV2PolicyOptionScalingPolicyType ¶
type UpdateScalingV2PolicyOptionScalingPolicyType struct {
// contains filtered or unexported fields
}
func (UpdateScalingV2PolicyOptionScalingPolicyType) MarshalJSON ¶
func (c UpdateScalingV2PolicyOptionScalingPolicyType) MarshalJSON() ([]byte, error)
func (*UpdateScalingV2PolicyOptionScalingPolicyType) UnmarshalJSON ¶
func (c *UpdateScalingV2PolicyOptionScalingPolicyType) UnmarshalJSON(b []byte) error
type UpdateScalingV2PolicyOptionScalingPolicyTypeEnum ¶
type UpdateScalingV2PolicyOptionScalingPolicyTypeEnum struct { ALARM UpdateScalingV2PolicyOptionScalingPolicyType SCHEDULED UpdateScalingV2PolicyOptionScalingPolicyType RECURRENCE UpdateScalingV2PolicyOptionScalingPolicyType }
func GetUpdateScalingV2PolicyOptionScalingPolicyTypeEnum ¶
func GetUpdateScalingV2PolicyOptionScalingPolicyTypeEnum() UpdateScalingV2PolicyOptionScalingPolicyTypeEnum
type UpdateScalingV2PolicyOptionScalingResourceType ¶
type UpdateScalingV2PolicyOptionScalingResourceType struct {
// contains filtered or unexported fields
}
func (UpdateScalingV2PolicyOptionScalingResourceType) MarshalJSON ¶
func (c UpdateScalingV2PolicyOptionScalingResourceType) MarshalJSON() ([]byte, error)
func (*UpdateScalingV2PolicyOptionScalingResourceType) UnmarshalJSON ¶
func (c *UpdateScalingV2PolicyOptionScalingResourceType) UnmarshalJSON(b []byte) error
type UpdateScalingV2PolicyOptionScalingResourceTypeEnum ¶
type UpdateScalingV2PolicyOptionScalingResourceTypeEnum struct { SCALING_GROUP UpdateScalingV2PolicyOptionScalingResourceType BANDWIDTH UpdateScalingV2PolicyOptionScalingResourceType }
func GetUpdateScalingV2PolicyOptionScalingResourceTypeEnum ¶
func GetUpdateScalingV2PolicyOptionScalingResourceTypeEnum() UpdateScalingV2PolicyOptionScalingResourceTypeEnum
type UpdateScalingV2PolicyRequest ¶
type UpdateScalingV2PolicyRequest struct { ScalingPolicyId string `json:"scaling_policy_id"` Body *UpdateScalingV2PolicyOption `json:"body,omitempty"` }
Request Object
func (UpdateScalingV2PolicyRequest) String ¶
func (o UpdateScalingV2PolicyRequest) String() string
type UpdateScalingV2PolicyResponse ¶
type UpdateScalingV2PolicyResponse struct { ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateScalingV2PolicyResponse) String ¶
func (o UpdateScalingV2PolicyResponse) String() string
type VersionInfo ¶
type VersionInfo struct { Id *VersionInfoId `json:"id,omitempty"` Links *[]Links `json:"links,omitempty"` MinVersion *string `json:"min_version,omitempty"` Status *VersionInfoStatus `json:"status,omitempty"` Update *sdktime.SdkTime `json:"update,omitempty"` Version *string `json:"version,omitempty"` }
func (VersionInfo) String ¶
func (o VersionInfo) String() string
type VersionInfoId ¶
type VersionInfoId struct {
// contains filtered or unexported fields
}
func (VersionInfoId) MarshalJSON ¶
func (c VersionInfoId) MarshalJSON() ([]byte, error)
func (*VersionInfoId) UnmarshalJSON ¶
func (c *VersionInfoId) UnmarshalJSON(b []byte) error
type VersionInfoIdEnum ¶
type VersionInfoIdEnum struct { V1 VersionInfoId V2 VersionInfoId }
func GetVersionInfoIdEnum ¶
func GetVersionInfoIdEnum() VersionInfoIdEnum
type VersionInfoStatus ¶
type VersionInfoStatus struct {
// contains filtered or unexported fields
}
func (VersionInfoStatus) MarshalJSON ¶
func (c VersionInfoStatus) MarshalJSON() ([]byte, error)
func (*VersionInfoStatus) UnmarshalJSON ¶
func (c *VersionInfoStatus) UnmarshalJSON(b []byte) error
type VersionInfoStatusEnum ¶
type VersionInfoStatusEnum struct { CURRENT VersionInfoStatus SUPPORT VersionInfoStatus DEPRECATED VersionInfoStatus }
func GetVersionInfoStatusEnum ¶
func GetVersionInfoStatusEnum() VersionInfoStatusEnum
type VmMetaData ¶
type VmMetaData struct {
AdminPass *string `json:"admin_pass,omitempty"`
}
云服务器元数据
func (VmMetaData) String ¶
func (o VmMetaData) String() string
Source Files ¶
- model_all_quotas.go
- model_all_resources.go
- model_allowed_address_pair.go
- model_attach_callback_instance_life_cycle_hook_request.go
- model_attach_callback_instance_life_cycle_hook_response.go
- model_bandwidth_info.go
- model_bandwidth_result.go
- model_batch_add_instances_option.go
- model_batch_add_scaling_instances_request.go
- model_batch_add_scaling_instances_response.go
- model_batch_delete_scaling_config_option.go
- model_batch_delete_scaling_configs_request.go
- model_batch_delete_scaling_configs_response.go
- model_batch_delete_scaling_policies_option.go
- model_batch_delete_scaling_policies_request.go
- model_batch_delete_scaling_policies_response.go
- model_batch_enter_standby_instances_option.go
- model_batch_exit_stand_by_instances_option.go
- model_batch_pause_scaling_policies_option.go
- model_batch_pause_scaling_policies_request.go
- model_batch_pause_scaling_policies_response.go
- model_batch_protect_instances_option.go
- model_batch_protect_scaling_instances_request.go
- model_batch_protect_scaling_instances_response.go
- model_batch_remove_instances_option.go
- model_batch_remove_scaling_instances_request.go
- model_batch_remove_scaling_instances_response.go
- model_batch_resume_scaling_policies_option.go
- model_batch_resume_scaling_policies_request.go
- model_batch_resume_scaling_policies_response.go
- model_batch_set_scaling_instances_standby_request.go
- model_batch_set_scaling_instances_standby_response.go
- model_batch_unprotect_instances_option.go
- model_batch_unprotect_scaling_instances_request.go
- model_batch_unprotect_scaling_instances_response.go
- model_batch_unset_scaling_instances_stantby_request.go
- model_batch_unset_scaling_instances_stantby_response.go
- model_callback_life_cycle_hook_option.go
- model_create_life_cycle_hook_option.go
- model_create_lify_cycle_hook_request.go
- model_create_lify_cycle_hook_response.go
- model_create_notification_option.go
- model_create_scaling_config_option.go
- model_create_scaling_config_request.go
- model_create_scaling_config_response.go
- model_create_scaling_group_option.go
- model_create_scaling_group_request.go
- model_create_scaling_group_response.go
- model_create_scaling_notification_request.go
- model_create_scaling_notification_response.go
- model_create_scaling_policy_option.go
- model_create_scaling_policy_request.go
- model_create_scaling_policy_response.go
- model_create_scaling_policy_v2_option.go
- model_create_scaling_tag_info_request.go
- model_create_scaling_tag_info_response.go
- model_create_scaling_v2_policy_request.go
- model_create_scaling_v2_policy_response.go
- model_create_tags_option.go
- model_delete_lifecycle_hook_request.go
- model_delete_lifecycle_hook_response.go
- model_delete_scaling_config_request.go
- model_delete_scaling_config_response.go
- model_delete_scaling_group_request.go
- model_delete_scaling_group_response.go
- model_delete_scaling_instance_request.go
- model_delete_scaling_instance_response.go
- model_delete_scaling_notification_request.go
- model_delete_scaling_notification_response.go
- model_delete_scaling_policy_request.go
- model_delete_scaling_policy_response.go
- model_delete_scaling_tag_info_request.go
- model_delete_scaling_tag_info_response.go
- model_delete_tags_option.go
- model_disk_info.go
- model_disk_result.go
- model_eip_info.go
- model_eip_meta_data.go
- model_eip_result.go
- model_execute_scaling_policy_option.go
- model_execute_scaling_policy_request.go
- model_execute_scaling_policy_response.go
- model_instance_config.go
- model_instance_config_result.go
- model_instance_hanging_infos.go
- model_ipv6_bandwidth.go
- model_job_records.go
- model_lbaas_listener.go
- model_lbaas_listeners.go
- model_lbaas_listeners_result.go
- model_lifecycle_hook_list.go
- model_links.go
- model_list_all_scaling_v2_policies_request.go
- model_list_all_scaling_v2_policies_response.go
- model_list_api_versions_request.go
- model_list_api_versions_response.go
- model_list_hook_instances_request.go
- model_list_hook_instances_response.go
- model_list_life_cycle_hooks_request.go
- model_list_life_cycle_hooks_response.go
- model_list_resource_instances_request.go
- model_list_resource_instances_response.go
- model_list_scaling_activity_logs_request.go
- model_list_scaling_activity_logs_response.go
- model_list_scaling_activity_v2_logs_request.go
- model_list_scaling_activity_v2_logs_response.go
- model_list_scaling_configs_request.go
- model_list_scaling_configs_response.go
- model_list_scaling_groups_request.go
- model_list_scaling_groups_response.go
- model_list_scaling_instances_request.go
- model_list_scaling_instances_response.go
- model_list_scaling_notifications_request.go
- model_list_scaling_notifications_response.go
- model_list_scaling_policies_request.go
- model_list_scaling_policies_response.go
- model_list_scaling_policy_execute_logs_request.go
- model_list_scaling_policy_execute_logs_response.go
- model_list_scaling_tag_infos_by_resource_id_request.go
- model_list_scaling_tag_infos_by_resource_id_response.go
- model_list_scaling_tag_infos_by_tenant_id_request.go
- model_list_scaling_tag_infos_by_tenant_id_response.go
- model_list_scaling_v2_policies_request.go
- model_list_scaling_v2_policies_response.go
- model_matches.go
- model_meta_data.go
- model_modify_lb.go
- model_networks.go
- model_networks_result.go
- model_pause_scaling_group_option.go
- model_pause_scaling_group_request.go
- model_pause_scaling_group_response.go
- model_pause_scaling_policy_option.go
- model_pause_scaling_policy_request.go
- model_pause_scaling_policy_response.go
- model_personality_info.go
- model_personality_result.go
- model_policy_instance_quotas.go
- model_policy_instance_resources.go
- model_public_ip.go
- model_publicip_result.go
- model_query_tags_option.go
- model_resource_tags.go
- model_resources.go
- model_resume_scaling_group_option.go
- model_resume_scaling_group_request.go
- model_resume_scaling_group_response.go
- model_resume_scaling_policy_option.go
- model_resume_scaling_policy_request.go
- model_resume_scaling_policy_response.go
- model_scaling_activity_log_list.go
- model_scaling_activity_log_v2.go
- model_scaling_all_policy_detail.go
- model_scaling_configuration.go
- model_scaling_group_instance.go
- model_scaling_groups.go
- model_scaling_instance.go
- model_scaling_policies_v2.go
- model_scaling_policy_action_v1.go
- model_scaling_policy_action_v2.go
- model_scaling_policy_execute_log_list.go
- model_scaling_policy_v2_meta_data.go
- model_scaling_v1_policy_detail.go
- model_scaling_v2_policy_detail.go
- model_scheduled_policy.go
- model_security_group.go
- model_security_groups.go
- model_security_groups_result.go
- model_show_api_version_request.go
- model_show_api_version_response.go
- model_show_life_cycle_hook_request.go
- model_show_life_cycle_hook_response.go
- model_show_policy_and_instance_quota_request.go
- model_show_policy_and_instance_quota_response.go
- model_show_resource_quota_request.go
- model_show_resource_quota_response.go
- model_show_scaling_config_request.go
- model_show_scaling_config_response.go
- model_show_scaling_group_request.go
- model_show_scaling_group_response.go
- model_show_scaling_policy_request.go
- model_show_scaling_policy_response.go
- model_show_scaling_v2_policy_request.go
- model_show_scaling_v2_policy_response.go
- model_tags_multi_value.go
- model_tags_single_value.go
- model_topics.go
- model_update_life_cycle_hook_option.go
- model_update_life_cycle_hook_request.go
- model_update_life_cycle_hook_response.go
- model_update_scaling_group_option.go
- model_update_scaling_group_request.go
- model_update_scaling_group_response.go
- model_update_scaling_policy_option.go
- model_update_scaling_policy_request.go
- model_update_scaling_policy_response.go
- model_update_scaling_v2_policy_option.go
- model_update_scaling_v2_policy_request.go
- model_update_scaling_v2_policy_response.go
- model_version_info.go
- model_vm_meta_data.go