Documentation ¶
Index ¶
- type AllQuotas
- type AllResources
- type AllResourcesType
- type AllResourcesTypeEnum
- type Bandwidth
- type BandwidthChargingMode
- type BandwidthChargingModeEnum
- type BandwidthShareType
- type BandwidthShareTypeEnum
- type BatchDeleteScalingConfigsRequest
- type BatchDeleteScalingConfigsRequestBody
- type BatchDeleteScalingConfigsResponse
- type CompleteLifecycleActionRequest
- type CompleteLifecycleActionRequestBody
- type CompleteLifecycleActionRequestBodyLifecycleActionResult
- type CompleteLifecycleActionRequestBodyLifecycleActionResultEnum
- type CompleteLifecycleActionResponse
- type CreateLifeCycleHookRequestBody
- type CreateLifeCycleHookRequestBodyDefaultResult
- type CreateLifeCycleHookRequestBodyDefaultResultEnum
- type CreateLifeCycleHookRequestBodyLifecycleHookType
- type CreateLifeCycleHookRequestBodyLifecycleHookTypeEnum
- type CreateLifyCycleHookRequest
- type CreateLifyCycleHookResponse
- type CreateLifyCycleHookResponseDefaultResult
- type CreateLifyCycleHookResponseDefaultResultEnum
- type CreateLifyCycleHookResponseLifecycleHookType
- type CreateLifyCycleHookResponseLifecycleHookTypeEnum
- type CreateNotificationRequestBody
- type CreateScalingConfigRequest
- type CreateScalingConfigRequestBody
- type CreateScalingConfigResponse
- type CreateScalingGroupRequest
- type CreateScalingGroupRequestBody
- type CreateScalingGroupRequestBodyHealthPeriodicAuditMethod
- type CreateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum
- type CreateScalingGroupRequestBodyHealthPeriodicAuditTime
- type CreateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum
- type CreateScalingGroupRequestBodyInstanceTerminatePolicy
- type CreateScalingGroupRequestBodyInstanceTerminatePolicyEnum
- type CreateScalingGroupRequestBodyMultiAzPriorityPolicy
- type CreateScalingGroupRequestBodyMultiAzPriorityPolicyEnum
- type CreateScalingGroupResponse
- type CreateScalingNotificationRequest
- type CreateScalingNotificationResponse
- type CreateScalingPolicyRequest
- type CreateScalingPolicyRequestBody
- type CreateScalingPolicyRequestBodyScalingPolicyType
- type CreateScalingPolicyRequestBodyScalingPolicyTypeEnum
- type CreateScalingPolicyResponse
- type CreateScalingPolicyV2RequestBody
- type CreateScalingPolicyV2RequestBodyScalingPolicyType
- type CreateScalingPolicyV2RequestBodyScalingPolicyTypeEnum
- type CreateScalingPolicyV2RequestBodyScalingResourceType
- type CreateScalingPolicyV2RequestBodyScalingResourceTypeEnum
- type CreateScalingTagsRequest
- type CreateScalingTagsRequestBody
- type CreateScalingTagsRequestBodyAction
- type CreateScalingTagsRequestBodyActionEnum
- type CreateScalingTagsRequestResourceType
- type CreateScalingTagsRequestResourceTypeEnum
- type CreateScalingTagsResponse
- type CreateScalingV2PolicyRequest
- type CreateScalingV2PolicyResponse
- 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 DeleteScalingTagsRequest
- type DeleteScalingTagsRequestBody
- type DeleteScalingTagsRequestBodyAction
- type DeleteScalingTagsRequestBodyActionEnum
- type DeleteScalingTagsRequestResourceType
- type DeleteScalingTagsRequestResourceTypeEnum
- type DeleteScalingTagsResponse
- type Disk
- type DiskDiskType
- type DiskDiskTypeEnum
- type DiskVolumeType
- type DiskVolumeTypeEnum
- type Eip
- type EipIpType
- type EipIpTypeEnum
- type EnableOrDisableScalingGroupRequest
- type EnableOrDisableScalingGroupRequestBody
- type EnableOrDisableScalingGroupRequestBodyAction
- type EnableOrDisableScalingGroupRequestBodyActionEnum
- type EnableOrDisableScalingGroupResponse
- type ExecuteScalingPoliciesRequest
- type ExecuteScalingPoliciesRequestBody
- type ExecuteScalingPoliciesRequestBodyAction
- type ExecuteScalingPoliciesRequestBodyActionEnum
- type ExecuteScalingPoliciesResponse
- type ExecuteScalingPolicyRequest
- type ExecuteScalingPolicyRequestBody
- type ExecuteScalingPolicyRequestBodyAction
- type ExecuteScalingPolicyRequestBodyActionEnum
- 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 ListAllScalingV2PoliciesRequest
- type ListAllScalingV2PoliciesRequestOrder
- type ListAllScalingV2PoliciesRequestOrderEnum
- type ListAllScalingV2PoliciesRequestScalingPolicyType
- type ListAllScalingV2PoliciesRequestScalingPolicyTypeEnum
- type ListAllScalingV2PoliciesRequestScalingResourceType
- type ListAllScalingV2PoliciesRequestScalingResourceTypeEnum
- type ListAllScalingV2PoliciesRequestSortBy
- type ListAllScalingV2PoliciesRequestSortByEnum
- type ListAllScalingV2PoliciesResponse
- 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 MeteData
- type ModifyLb
- type Networks
- type Personality
- type PolicyInstanceQuotas
- type PolicyInstanceResources
- type PublicIp
- type ResourceTags
- type Resources
- 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 ScalingGroupsHealthPeriodicAuditTime
- type ScalingGroupsHealthPeriodicAuditTimeEnum
- 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 ScalingPolicyAction
- type ScalingPolicyActionOperation
- type ScalingPolicyActionOperationEnum
- type ScalingPolicyActionV2
- type ScalingPolicyActionV2Operation
- type ScalingPolicyActionV2OperationEnum
- type ScalingPolicyDetail
- type ScalingPolicyDetailScalingPolicyType
- type ScalingPolicyDetailScalingPolicyTypeEnum
- type ScalingPolicyExecuteLogList
- type ScalingPolicyExecuteLogListExecuteType
- type ScalingPolicyExecuteLogListExecuteTypeEnum
- type ScalingPolicyExecuteLogListScalingResourceType
- type ScalingPolicyExecuteLogListScalingResourceTypeEnum
- type ScalingPolicyExecuteLogListStatus
- type ScalingPolicyExecuteLogListStatusEnum
- type ScalingPolicyExecuteLogListType
- type ScalingPolicyExecuteLogListTypeEnum
- type ScalingV2PolicyDetail
- type ScalingV2PolicyDetailPolicyStatus
- type ScalingV2PolicyDetailPolicyStatusEnum
- type ScalingV2PolicyDetailScalingPolicyType
- type ScalingV2PolicyDetailScalingPolicyTypeEnum
- type ScalingV2PolicyDetailScalingResourceType
- type ScalingV2PolicyDetailScalingResourceTypeEnum
- type ScheduledPolicy
- type ScheduledPolicyRecurrenceType
- type ScheduledPolicyRecurrenceTypeEnum
- type SecurityGroups
- type SecurityGroupsResult
- 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 ShowTagsRequestBody
- type ShowTagsRequestBodyAction
- type ShowTagsRequestBodyActionEnum
- type TagsMultiValue
- type TagsSingleValue
- type Topics
- type UpdateLifeCycleHookRequest
- type UpdateLifeCycleHookRequestBody
- type UpdateLifeCycleHookRequestBodyDefaultResult
- type UpdateLifeCycleHookRequestBodyDefaultResultEnum
- type UpdateLifeCycleHookRequestBodyLifecycleHookType
- type UpdateLifeCycleHookRequestBodyLifecycleHookTypeEnum
- type UpdateLifeCycleHookResponse
- type UpdateLifeCycleHookResponseDefaultResult
- type UpdateLifeCycleHookResponseDefaultResultEnum
- type UpdateLifeCycleHookResponseLifecycleHookType
- type UpdateLifeCycleHookResponseLifecycleHookTypeEnum
- type UpdateScalingGroupInstanceRequest
- type UpdateScalingGroupInstanceRequestBody
- type UpdateScalingGroupInstanceRequestBodyAction
- type UpdateScalingGroupInstanceRequestBodyActionEnum
- type UpdateScalingGroupInstanceResponse
- type UpdateScalingGroupRequest
- type UpdateScalingGroupRequestBody
- type UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod
- type UpdateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum
- type UpdateScalingGroupRequestBodyHealthPeriodicAuditTime
- type UpdateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum
- type UpdateScalingGroupRequestBodyInstanceTerminatePolicy
- type UpdateScalingGroupRequestBodyInstanceTerminatePolicyEnum
- type UpdateScalingGroupResponse
- type UpdateScalingPolicyRequest
- type UpdateScalingPolicyRequestBody
- type UpdateScalingPolicyRequestBodyScalingPolicyType
- type UpdateScalingPolicyRequestBodyScalingPolicyTypeEnum
- type UpdateScalingPolicyResponse
- type UpdateScalingV2PolicyRequest
- type UpdateScalingV2PolicyRequestBody
- type UpdateScalingV2PolicyRequestBodyScalingPolicyType
- type UpdateScalingV2PolicyRequestBodyScalingPolicyTypeEnum
- type UpdateScalingV2PolicyRequestBodyScalingResourceType
- type UpdateScalingV2PolicyRequestBodyScalingResourceTypeEnum
- type UpdateScalingV2PolicyResponse
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"` }
配额资源
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 Bandwidth ¶
type Bandwidth struct { Size int32 `json:"size"` ChargingMode BandwidthChargingMode `json:"charging_mode"` Id *string `json:"id,omitempty"` }
带宽信息
type BandwidthChargingMode ¶
type BandwidthChargingMode struct {
// contains filtered or unexported fields
}
func (BandwidthChargingMode) MarshalJSON ¶
func (c BandwidthChargingMode) MarshalJSON() ([]byte, error)
func (*BandwidthChargingMode) UnmarshalJSON ¶
func (c *BandwidthChargingMode) UnmarshalJSON(b []byte) error
type BandwidthChargingModeEnum ¶
type BandwidthChargingModeEnum struct { BANDWIDTH BandwidthChargingMode TRAFFIC BandwidthChargingMode }
func GetBandwidthChargingModeEnum ¶
func GetBandwidthChargingModeEnum() BandwidthChargingModeEnum
type BandwidthShareType ¶
type BandwidthShareType struct {
// contains filtered or unexported fields
}
func (BandwidthShareType) MarshalJSON ¶
func (c BandwidthShareType) MarshalJSON() ([]byte, error)
func (*BandwidthShareType) UnmarshalJSON ¶
func (c *BandwidthShareType) UnmarshalJSON(b []byte) error
type BandwidthShareTypeEnum ¶
type BandwidthShareTypeEnum struct {}
func GetBandwidthShareTypeEnum ¶
func GetBandwidthShareTypeEnum() BandwidthShareTypeEnum
type BatchDeleteScalingConfigsRequest ¶
type BatchDeleteScalingConfigsRequest struct {
Body *BatchDeleteScalingConfigsRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchDeleteScalingConfigsRequest) String ¶
func (o BatchDeleteScalingConfigsRequest) String() string
type BatchDeleteScalingConfigsRequestBody ¶
type BatchDeleteScalingConfigsRequestBody struct {
ScalingConfigurationId *[]string `json:"scaling_configuration_id,omitempty"`
}
批量删除伸缩配置请求
func (BatchDeleteScalingConfigsRequestBody) String ¶
func (o BatchDeleteScalingConfigsRequestBody) String() string
type BatchDeleteScalingConfigsResponse ¶
type BatchDeleteScalingConfigsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteScalingConfigsResponse) String ¶
func (o BatchDeleteScalingConfigsResponse) String() string
type CompleteLifecycleActionRequest ¶
type CompleteLifecycleActionRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *CompleteLifecycleActionRequestBody `json:"body,omitempty"` }
Request Object
func (CompleteLifecycleActionRequest) String ¶
func (o CompleteLifecycleActionRequest) String() string
type CompleteLifecycleActionRequestBody ¶
type CompleteLifecycleActionRequestBody struct { LifecycleActionKey *string `json:"lifecycle_action_key,omitempty"` InstanceId *string `json:"instance_id,omitempty"` LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"` LifecycleActionResult CompleteLifecycleActionRequestBodyLifecycleActionResult `json:"lifecycle_action_result"` }
伸缩实例生命周期回调
func (CompleteLifecycleActionRequestBody) String ¶
func (o CompleteLifecycleActionRequestBody) String() string
type CompleteLifecycleActionRequestBodyLifecycleActionResult ¶
type CompleteLifecycleActionRequestBodyLifecycleActionResult struct {
// contains filtered or unexported fields
}
func (CompleteLifecycleActionRequestBodyLifecycleActionResult) MarshalJSON ¶
func (c CompleteLifecycleActionRequestBodyLifecycleActionResult) MarshalJSON() ([]byte, error)
func (*CompleteLifecycleActionRequestBodyLifecycleActionResult) UnmarshalJSON ¶
func (c *CompleteLifecycleActionRequestBodyLifecycleActionResult) UnmarshalJSON(b []byte) error
type CompleteLifecycleActionRequestBodyLifecycleActionResultEnum ¶
type CompleteLifecycleActionRequestBodyLifecycleActionResultEnum struct { ABANDON CompleteLifecycleActionRequestBodyLifecycleActionResult CONTINUE CompleteLifecycleActionRequestBodyLifecycleActionResult EXTEND CompleteLifecycleActionRequestBodyLifecycleActionResult }
func GetCompleteLifecycleActionRequestBodyLifecycleActionResultEnum ¶
func GetCompleteLifecycleActionRequestBodyLifecycleActionResultEnum() CompleteLifecycleActionRequestBodyLifecycleActionResultEnum
type CompleteLifecycleActionResponse ¶
type CompleteLifecycleActionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CompleteLifecycleActionResponse) String ¶
func (o CompleteLifecycleActionResponse) String() string
type CreateLifeCycleHookRequestBody ¶
type CreateLifeCycleHookRequestBody struct { LifecycleHookName string `json:"lifecycle_hook_name"` LifecycleHookType CreateLifeCycleHookRequestBodyLifecycleHookType `json:"lifecycle_hook_type"` DefaultResult *CreateLifeCycleHookRequestBodyDefaultResult `json:"default_result,omitempty"` DefaultTimeout *int32 `json:"default_timeout,omitempty"` NotificationTopicUrn string `json:"notification_topic_urn"` NotificationMetadata *string `json:"notification_metadata,omitempty"` }
创建生命周期挂钩
func (CreateLifeCycleHookRequestBody) String ¶
func (o CreateLifeCycleHookRequestBody) String() string
type CreateLifeCycleHookRequestBodyDefaultResult ¶
type CreateLifeCycleHookRequestBodyDefaultResult struct {
// contains filtered or unexported fields
}
func (CreateLifeCycleHookRequestBodyDefaultResult) MarshalJSON ¶
func (c CreateLifeCycleHookRequestBodyDefaultResult) MarshalJSON() ([]byte, error)
func (*CreateLifeCycleHookRequestBodyDefaultResult) UnmarshalJSON ¶
func (c *CreateLifeCycleHookRequestBodyDefaultResult) UnmarshalJSON(b []byte) error
type CreateLifeCycleHookRequestBodyDefaultResultEnum ¶
type CreateLifeCycleHookRequestBodyDefaultResultEnum struct { ABANDON CreateLifeCycleHookRequestBodyDefaultResult CONTINUE CreateLifeCycleHookRequestBodyDefaultResult }
func GetCreateLifeCycleHookRequestBodyDefaultResultEnum ¶
func GetCreateLifeCycleHookRequestBodyDefaultResultEnum() CreateLifeCycleHookRequestBodyDefaultResultEnum
type CreateLifeCycleHookRequestBodyLifecycleHookType ¶
type CreateLifeCycleHookRequestBodyLifecycleHookType struct {
// contains filtered or unexported fields
}
func (CreateLifeCycleHookRequestBodyLifecycleHookType) MarshalJSON ¶
func (c CreateLifeCycleHookRequestBodyLifecycleHookType) MarshalJSON() ([]byte, error)
func (*CreateLifeCycleHookRequestBodyLifecycleHookType) UnmarshalJSON ¶
func (c *CreateLifeCycleHookRequestBodyLifecycleHookType) UnmarshalJSON(b []byte) error
type CreateLifeCycleHookRequestBodyLifecycleHookTypeEnum ¶
type CreateLifeCycleHookRequestBodyLifecycleHookTypeEnum struct { INSTANCE_TERMINATING CreateLifeCycleHookRequestBodyLifecycleHookType INSTANCE_LAUNCHING CreateLifeCycleHookRequestBodyLifecycleHookType }
func GetCreateLifeCycleHookRequestBodyLifecycleHookTypeEnum ¶
func GetCreateLifeCycleHookRequestBodyLifecycleHookTypeEnum() CreateLifeCycleHookRequestBodyLifecycleHookTypeEnum
type CreateLifyCycleHookRequest ¶
type CreateLifyCycleHookRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *CreateLifeCycleHookRequestBody `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 *sdktime.SdkTime `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 CreateNotificationRequestBody ¶
type CreateNotificationRequestBody struct { TopicUrn *string `json:"topic_urn,omitempty"` TopicScene *[]string `json:"topic_scene,omitempty"` }
配置伸缩组通知
func (CreateNotificationRequestBody) String ¶
func (o CreateNotificationRequestBody) String() string
type CreateScalingConfigRequest ¶
type CreateScalingConfigRequest struct {
Body *CreateScalingConfigRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateScalingConfigRequest) String ¶
func (o CreateScalingConfigRequest) String() string
type CreateScalingConfigRequestBody ¶
type CreateScalingConfigRequestBody struct { ScalingConfigurationName string `json:"scaling_configuration_name"` InstanceConfig *InstanceConfig `json:"instance_config"` }
创建伸缩配置请求
func (CreateScalingConfigRequestBody) String ¶
func (o CreateScalingConfigRequestBody) 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 CreateScalingGroupRequest ¶
type CreateScalingGroupRequest struct {
Body *CreateScalingGroupRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateScalingGroupRequest) String ¶
func (o CreateScalingGroupRequest) String() string
type CreateScalingGroupRequestBody ¶
type CreateScalingGroupRequestBody 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 *[]SecurityGroups `json:"security_groups,omitempty"` VpcId string `json:"vpc_id"` HealthPeriodicAuditMethod *CreateScalingGroupRequestBodyHealthPeriodicAuditMethod `json:"health_periodic_audit_method,omitempty"` HealthPeriodicAuditTime *CreateScalingGroupRequestBodyHealthPeriodicAuditTime `json:"health_periodic_audit_time,omitempty"` HealthPeriodicAuditGracePeriod *int32 `json:"health_periodic_audit_grace_period,omitempty"` InstanceTerminatePolicy *CreateScalingGroupRequestBodyInstanceTerminatePolicy `json:"instance_terminate_policy,omitempty"` Notifications *[]string `json:"notifications,omitempty"` DeletePublicip *bool `json:"delete_publicip,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` MultiAzPriorityPolicy *CreateScalingGroupRequestBodyMultiAzPriorityPolicy `json:"multi_az_priority_policy,omitempty"` }
创建伸缩组请求
func (CreateScalingGroupRequestBody) String ¶
func (o CreateScalingGroupRequestBody) String() string
type CreateScalingGroupRequestBodyHealthPeriodicAuditMethod ¶
type CreateScalingGroupRequestBodyHealthPeriodicAuditMethod struct {
// contains filtered or unexported fields
}
func (CreateScalingGroupRequestBodyHealthPeriodicAuditMethod) MarshalJSON ¶
func (c CreateScalingGroupRequestBodyHealthPeriodicAuditMethod) MarshalJSON() ([]byte, error)
func (*CreateScalingGroupRequestBodyHealthPeriodicAuditMethod) UnmarshalJSON ¶
func (c *CreateScalingGroupRequestBodyHealthPeriodicAuditMethod) UnmarshalJSON(b []byte) error
type CreateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum ¶
type CreateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum struct { ELB_AUDIT CreateScalingGroupRequestBodyHealthPeriodicAuditMethod NOVA_AUDIT CreateScalingGroupRequestBodyHealthPeriodicAuditMethod }
func GetCreateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum ¶
func GetCreateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum() CreateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum
type CreateScalingGroupRequestBodyHealthPeriodicAuditTime ¶
type CreateScalingGroupRequestBodyHealthPeriodicAuditTime struct {
// contains filtered or unexported fields
}
func (CreateScalingGroupRequestBodyHealthPeriodicAuditTime) MarshalJSON ¶
func (c CreateScalingGroupRequestBodyHealthPeriodicAuditTime) MarshalJSON() ([]byte, error)
func (*CreateScalingGroupRequestBodyHealthPeriodicAuditTime) UnmarshalJSON ¶
func (c *CreateScalingGroupRequestBodyHealthPeriodicAuditTime) UnmarshalJSON(b []byte) error
type CreateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum ¶
type CreateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum struct { E_0 CreateScalingGroupRequestBodyHealthPeriodicAuditTime E_1 CreateScalingGroupRequestBodyHealthPeriodicAuditTime E_5 CreateScalingGroupRequestBodyHealthPeriodicAuditTime E_15 CreateScalingGroupRequestBodyHealthPeriodicAuditTime E_60 CreateScalingGroupRequestBodyHealthPeriodicAuditTime E_180 CreateScalingGroupRequestBodyHealthPeriodicAuditTime }
func GetCreateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum ¶
func GetCreateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum() CreateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum
type CreateScalingGroupRequestBodyInstanceTerminatePolicy ¶
type CreateScalingGroupRequestBodyInstanceTerminatePolicy struct {
// contains filtered or unexported fields
}
func (CreateScalingGroupRequestBodyInstanceTerminatePolicy) MarshalJSON ¶
func (c CreateScalingGroupRequestBodyInstanceTerminatePolicy) MarshalJSON() ([]byte, error)
func (*CreateScalingGroupRequestBodyInstanceTerminatePolicy) UnmarshalJSON ¶
func (c *CreateScalingGroupRequestBodyInstanceTerminatePolicy) UnmarshalJSON(b []byte) error
type CreateScalingGroupRequestBodyInstanceTerminatePolicyEnum ¶
type CreateScalingGroupRequestBodyInstanceTerminatePolicyEnum struct { OLD_CONFIG_OLD_INSTANCE CreateScalingGroupRequestBodyInstanceTerminatePolicy OLD_CONFIG_NEW_INSTANCE CreateScalingGroupRequestBodyInstanceTerminatePolicy OLD_INSTANCE CreateScalingGroupRequestBodyInstanceTerminatePolicy NEW_INSTANCE CreateScalingGroupRequestBodyInstanceTerminatePolicy }
func GetCreateScalingGroupRequestBodyInstanceTerminatePolicyEnum ¶
func GetCreateScalingGroupRequestBodyInstanceTerminatePolicyEnum() CreateScalingGroupRequestBodyInstanceTerminatePolicyEnum
type CreateScalingGroupRequestBodyMultiAzPriorityPolicy ¶
type CreateScalingGroupRequestBodyMultiAzPriorityPolicy struct {
// contains filtered or unexported fields
}
func (CreateScalingGroupRequestBodyMultiAzPriorityPolicy) MarshalJSON ¶
func (c CreateScalingGroupRequestBodyMultiAzPriorityPolicy) MarshalJSON() ([]byte, error)
func (*CreateScalingGroupRequestBodyMultiAzPriorityPolicy) UnmarshalJSON ¶
func (c *CreateScalingGroupRequestBodyMultiAzPriorityPolicy) UnmarshalJSON(b []byte) error
type CreateScalingGroupRequestBodyMultiAzPriorityPolicyEnum ¶
type CreateScalingGroupRequestBodyMultiAzPriorityPolicyEnum struct { EQUILIBRIUM_DISTRIBUTE CreateScalingGroupRequestBodyMultiAzPriorityPolicy PICK_FIRST CreateScalingGroupRequestBodyMultiAzPriorityPolicy }
func GetCreateScalingGroupRequestBodyMultiAzPriorityPolicyEnum ¶
func GetCreateScalingGroupRequestBodyMultiAzPriorityPolicyEnum() CreateScalingGroupRequestBodyMultiAzPriorityPolicyEnum
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 *CreateNotificationRequestBody `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 CreateScalingPolicyRequest ¶
type CreateScalingPolicyRequest struct {
Body *CreateScalingPolicyRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateScalingPolicyRequest) String ¶
func (o CreateScalingPolicyRequest) String() string
type CreateScalingPolicyRequestBody ¶
type CreateScalingPolicyRequestBody struct { ScalingPolicyName string `json:"scaling_policy_name"` ScalingGroupId string `json:"scaling_group_id"` ScalingPolicyType CreateScalingPolicyRequestBodyScalingPolicyType `json:"scaling_policy_type"` AlarmId *string `json:"alarm_id,omitempty"` ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"` ScalingPolicyAction *ScalingPolicyAction `json:"scaling_policy_action,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` }
创建伸缩策略
func (CreateScalingPolicyRequestBody) String ¶
func (o CreateScalingPolicyRequestBody) String() string
type CreateScalingPolicyRequestBodyScalingPolicyType ¶
type CreateScalingPolicyRequestBodyScalingPolicyType struct {
// contains filtered or unexported fields
}
func (CreateScalingPolicyRequestBodyScalingPolicyType) MarshalJSON ¶
func (c CreateScalingPolicyRequestBodyScalingPolicyType) MarshalJSON() ([]byte, error)
func (*CreateScalingPolicyRequestBodyScalingPolicyType) UnmarshalJSON ¶
func (c *CreateScalingPolicyRequestBodyScalingPolicyType) UnmarshalJSON(b []byte) error
type CreateScalingPolicyRequestBodyScalingPolicyTypeEnum ¶
type CreateScalingPolicyRequestBodyScalingPolicyTypeEnum struct { ALARM CreateScalingPolicyRequestBodyScalingPolicyType SCHEDULED CreateScalingPolicyRequestBodyScalingPolicyType RECURRENCE CreateScalingPolicyRequestBodyScalingPolicyType }
func GetCreateScalingPolicyRequestBodyScalingPolicyTypeEnum ¶
func GetCreateScalingPolicyRequestBodyScalingPolicyTypeEnum() CreateScalingPolicyRequestBodyScalingPolicyTypeEnum
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 CreateScalingPolicyV2RequestBody ¶
type CreateScalingPolicyV2RequestBody struct { ScalingPolicyName string `json:"scaling_policy_name"` ScalingResourceId string `json:"scaling_resource_id"` ScalingResourceType CreateScalingPolicyV2RequestBodyScalingResourceType `json:"scaling_resource_type"` ScalingPolicyType CreateScalingPolicyV2RequestBodyScalingPolicyType `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"` }
创建伸缩策略(V2)
func (CreateScalingPolicyV2RequestBody) String ¶
func (o CreateScalingPolicyV2RequestBody) String() string
type CreateScalingPolicyV2RequestBodyScalingPolicyType ¶
type CreateScalingPolicyV2RequestBodyScalingPolicyType struct {
// contains filtered or unexported fields
}
func (CreateScalingPolicyV2RequestBodyScalingPolicyType) MarshalJSON ¶
func (c CreateScalingPolicyV2RequestBodyScalingPolicyType) MarshalJSON() ([]byte, error)
func (*CreateScalingPolicyV2RequestBodyScalingPolicyType) UnmarshalJSON ¶
func (c *CreateScalingPolicyV2RequestBodyScalingPolicyType) UnmarshalJSON(b []byte) error
type CreateScalingPolicyV2RequestBodyScalingPolicyTypeEnum ¶
type CreateScalingPolicyV2RequestBodyScalingPolicyTypeEnum struct { ALARM CreateScalingPolicyV2RequestBodyScalingPolicyType SCHEDULED CreateScalingPolicyV2RequestBodyScalingPolicyType RECURRENCE CreateScalingPolicyV2RequestBodyScalingPolicyType }
func GetCreateScalingPolicyV2RequestBodyScalingPolicyTypeEnum ¶
func GetCreateScalingPolicyV2RequestBodyScalingPolicyTypeEnum() CreateScalingPolicyV2RequestBodyScalingPolicyTypeEnum
type CreateScalingPolicyV2RequestBodyScalingResourceType ¶
type CreateScalingPolicyV2RequestBodyScalingResourceType struct {
// contains filtered or unexported fields
}
func (CreateScalingPolicyV2RequestBodyScalingResourceType) MarshalJSON ¶
func (c CreateScalingPolicyV2RequestBodyScalingResourceType) MarshalJSON() ([]byte, error)
func (*CreateScalingPolicyV2RequestBodyScalingResourceType) UnmarshalJSON ¶
func (c *CreateScalingPolicyV2RequestBodyScalingResourceType) UnmarshalJSON(b []byte) error
type CreateScalingPolicyV2RequestBodyScalingResourceTypeEnum ¶
type CreateScalingPolicyV2RequestBodyScalingResourceTypeEnum struct { SCALING_GROUP CreateScalingPolicyV2RequestBodyScalingResourceType BANDWIDTH CreateScalingPolicyV2RequestBodyScalingResourceType }
func GetCreateScalingPolicyV2RequestBodyScalingResourceTypeEnum ¶
func GetCreateScalingPolicyV2RequestBodyScalingResourceTypeEnum() CreateScalingPolicyV2RequestBodyScalingResourceTypeEnum
type CreateScalingTagsRequest ¶
type CreateScalingTagsRequest struct { ResourceType CreateScalingTagsRequestResourceType `json:"resource_type"` ResourceId string `json:"resource_id"` Body *CreateScalingTagsRequestBody `json:"body,omitempty"` }
Request Object
func (CreateScalingTagsRequest) String ¶
func (o CreateScalingTagsRequest) String() string
type CreateScalingTagsRequestBody ¶
type CreateScalingTagsRequestBody struct { Tags *[]TagsSingleValue `json:"tags,omitempty"` Action *CreateScalingTagsRequestBodyAction `json:"action,omitempty"` }
标签列表
func (CreateScalingTagsRequestBody) String ¶
func (o CreateScalingTagsRequestBody) String() string
type CreateScalingTagsRequestBodyAction ¶
type CreateScalingTagsRequestBodyAction struct {
// contains filtered or unexported fields
}
func (CreateScalingTagsRequestBodyAction) MarshalJSON ¶
func (c CreateScalingTagsRequestBodyAction) MarshalJSON() ([]byte, error)
func (*CreateScalingTagsRequestBodyAction) UnmarshalJSON ¶
func (c *CreateScalingTagsRequestBodyAction) UnmarshalJSON(b []byte) error
type CreateScalingTagsRequestBodyActionEnum ¶
type CreateScalingTagsRequestBodyActionEnum struct {
CREATE CreateScalingTagsRequestBodyAction
}
func GetCreateScalingTagsRequestBodyActionEnum ¶
func GetCreateScalingTagsRequestBodyActionEnum() CreateScalingTagsRequestBodyActionEnum
type CreateScalingTagsRequestResourceType ¶
type CreateScalingTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (CreateScalingTagsRequestResourceType) MarshalJSON ¶
func (c CreateScalingTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*CreateScalingTagsRequestResourceType) UnmarshalJSON ¶
func (c *CreateScalingTagsRequestResourceType) UnmarshalJSON(b []byte) error
type CreateScalingTagsRequestResourceTypeEnum ¶
type CreateScalingTagsRequestResourceTypeEnum struct {
SCALING_GROUP_TAG CreateScalingTagsRequestResourceType
}
func GetCreateScalingTagsRequestResourceTypeEnum ¶
func GetCreateScalingTagsRequestResourceTypeEnum() CreateScalingTagsRequestResourceTypeEnum
type CreateScalingTagsResponse ¶
type CreateScalingTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateScalingTagsResponse) String ¶
func (o CreateScalingTagsResponse) String() string
type CreateScalingV2PolicyRequest ¶
type CreateScalingV2PolicyRequest struct {
Body *CreateScalingPolicyV2RequestBody `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 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 { TRUE DeleteScalingGroupRequestForceDelete FALSE 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 DeleteScalingTagsRequest ¶
type DeleteScalingTagsRequest struct { ResourceType DeleteScalingTagsRequestResourceType `json:"resource_type"` ResourceId string `json:"resource_id"` Body *DeleteScalingTagsRequestBody `json:"body,omitempty"` }
Request Object
func (DeleteScalingTagsRequest) String ¶
func (o DeleteScalingTagsRequest) String() string
type DeleteScalingTagsRequestBody ¶
type DeleteScalingTagsRequestBody struct { Tags *[]TagsSingleValue `json:"tags,omitempty"` Action *DeleteScalingTagsRequestBodyAction `json:"action,omitempty"` }
标签列表
func (DeleteScalingTagsRequestBody) String ¶
func (o DeleteScalingTagsRequestBody) String() string
type DeleteScalingTagsRequestBodyAction ¶
type DeleteScalingTagsRequestBodyAction struct {
// contains filtered or unexported fields
}
func (DeleteScalingTagsRequestBodyAction) MarshalJSON ¶
func (c DeleteScalingTagsRequestBodyAction) MarshalJSON() ([]byte, error)
func (*DeleteScalingTagsRequestBodyAction) UnmarshalJSON ¶
func (c *DeleteScalingTagsRequestBodyAction) UnmarshalJSON(b []byte) error
type DeleteScalingTagsRequestBodyActionEnum ¶
type DeleteScalingTagsRequestBodyActionEnum struct {
DELETE DeleteScalingTagsRequestBodyAction
}
func GetDeleteScalingTagsRequestBodyActionEnum ¶
func GetDeleteScalingTagsRequestBodyActionEnum() DeleteScalingTagsRequestBodyActionEnum
type DeleteScalingTagsRequestResourceType ¶
type DeleteScalingTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (DeleteScalingTagsRequestResourceType) MarshalJSON ¶
func (c DeleteScalingTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*DeleteScalingTagsRequestResourceType) UnmarshalJSON ¶
func (c *DeleteScalingTagsRequestResourceType) UnmarshalJSON(b []byte) error
type DeleteScalingTagsRequestResourceTypeEnum ¶
type DeleteScalingTagsRequestResourceTypeEnum struct {
SCALING_GROUP_TAG DeleteScalingTagsRequestResourceType
}
func GetDeleteScalingTagsRequestResourceTypeEnum ¶
func GetDeleteScalingTagsRequestResourceTypeEnum() DeleteScalingTagsRequestResourceTypeEnum
type DeleteScalingTagsResponse ¶
type DeleteScalingTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteScalingTagsResponse) String ¶
func (o DeleteScalingTagsResponse) String() string
type Disk ¶
type Disk struct { Size int32 `json:"size"` VolumeType DiskVolumeType `json:"volume_type"` DiskType DiskDiskType `json:"disk_type"` DedicateStorageId *string `json:"dedicate_storage_id,omitempty"` DataDiskImageId *string `json:"data_disk_image_id,omitempty"` SnapshotId *string `json:"snapshot_id,omitempty"` }
磁盘组信息,系统盘必选,数据盘可选。
type DiskDiskType ¶
type DiskDiskType struct {
// contains filtered or unexported fields
}
func (DiskDiskType) MarshalJSON ¶
func (c DiskDiskType) MarshalJSON() ([]byte, error)
func (*DiskDiskType) UnmarshalJSON ¶
func (c *DiskDiskType) UnmarshalJSON(b []byte) error
type DiskDiskTypeEnum ¶
type DiskDiskTypeEnum struct { SYS DiskDiskType DATA DiskDiskType }
func GetDiskDiskTypeEnum ¶
func GetDiskDiskTypeEnum() DiskDiskTypeEnum
type DiskVolumeType ¶
type DiskVolumeType struct {
// contains filtered or unexported fields
}
func (DiskVolumeType) MarshalJSON ¶
func (c DiskVolumeType) MarshalJSON() ([]byte, error)
func (*DiskVolumeType) UnmarshalJSON ¶
func (c *DiskVolumeType) UnmarshalJSON(b []byte) error
type DiskVolumeTypeEnum ¶
type DiskVolumeTypeEnum struct { SATA DiskVolumeType SAS DiskVolumeType SSD DiskVolumeType CO_PL DiskVolumeType UH_11 DiskVolumeType }
func GetDiskVolumeTypeEnum ¶
func GetDiskVolumeTypeEnum() DiskVolumeTypeEnum
type EipIpType ¶
type EipIpType struct {
// contains filtered or unexported fields
}
func (EipIpType) MarshalJSON ¶
func (*EipIpType) UnmarshalJSON ¶
type EipIpTypeEnum ¶
type EipIpTypeEnum struct { E_5_BGP EipIpType E_5_SBGP EipIpType E_5_TELCOM EipIpType E_5_UNION EipIpType }
func GetEipIpTypeEnum ¶
func GetEipIpTypeEnum() EipIpTypeEnum
type EnableOrDisableScalingGroupRequest ¶
type EnableOrDisableScalingGroupRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *EnableOrDisableScalingGroupRequestBody `json:"body,omitempty"` }
Request Object
func (EnableOrDisableScalingGroupRequest) String ¶
func (o EnableOrDisableScalingGroupRequest) String() string
type EnableOrDisableScalingGroupRequestBody ¶
type EnableOrDisableScalingGroupRequestBody struct {
Action *EnableOrDisableScalingGroupRequestBodyAction `json:"action,omitempty"`
}
启停伸缩组请求
func (EnableOrDisableScalingGroupRequestBody) String ¶
func (o EnableOrDisableScalingGroupRequestBody) String() string
type EnableOrDisableScalingGroupRequestBodyAction ¶
type EnableOrDisableScalingGroupRequestBodyAction struct {
// contains filtered or unexported fields
}
func (EnableOrDisableScalingGroupRequestBodyAction) MarshalJSON ¶
func (c EnableOrDisableScalingGroupRequestBodyAction) MarshalJSON() ([]byte, error)
func (*EnableOrDisableScalingGroupRequestBodyAction) UnmarshalJSON ¶
func (c *EnableOrDisableScalingGroupRequestBodyAction) UnmarshalJSON(b []byte) error
type EnableOrDisableScalingGroupRequestBodyActionEnum ¶
type EnableOrDisableScalingGroupRequestBodyActionEnum struct { RESUME EnableOrDisableScalingGroupRequestBodyAction PAUSE EnableOrDisableScalingGroupRequestBodyAction }
func GetEnableOrDisableScalingGroupRequestBodyActionEnum ¶
func GetEnableOrDisableScalingGroupRequestBodyActionEnum() EnableOrDisableScalingGroupRequestBodyActionEnum
type EnableOrDisableScalingGroupResponse ¶
type EnableOrDisableScalingGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (EnableOrDisableScalingGroupResponse) String ¶
func (o EnableOrDisableScalingGroupResponse) String() string
type ExecuteScalingPoliciesRequest ¶
type ExecuteScalingPoliciesRequest struct {
Body *ExecuteScalingPoliciesRequestBody `json:"body,omitempty"`
}
Request Object
func (ExecuteScalingPoliciesRequest) String ¶
func (o ExecuteScalingPoliciesRequest) String() string
type ExecuteScalingPoliciesRequestBody ¶
type ExecuteScalingPoliciesRequestBody struct { ScalingPolicyId []string `json:"scaling_policy_id"` ForceDelete *string `json:"force_delete,omitempty"` Action ExecuteScalingPoliciesRequestBodyAction `json:"action"` }
批量操作弹性伸缩策略
func (ExecuteScalingPoliciesRequestBody) String ¶
func (o ExecuteScalingPoliciesRequestBody) String() string
type ExecuteScalingPoliciesRequestBodyAction ¶
type ExecuteScalingPoliciesRequestBodyAction struct {
// contains filtered or unexported fields
}
func (ExecuteScalingPoliciesRequestBodyAction) MarshalJSON ¶
func (c ExecuteScalingPoliciesRequestBodyAction) MarshalJSON() ([]byte, error)
func (*ExecuteScalingPoliciesRequestBodyAction) UnmarshalJSON ¶
func (c *ExecuteScalingPoliciesRequestBodyAction) UnmarshalJSON(b []byte) error
type ExecuteScalingPoliciesRequestBodyActionEnum ¶
type ExecuteScalingPoliciesRequestBodyActionEnum struct { DELETE ExecuteScalingPoliciesRequestBodyAction RESUME ExecuteScalingPoliciesRequestBodyAction PAUSE ExecuteScalingPoliciesRequestBodyAction }
func GetExecuteScalingPoliciesRequestBodyActionEnum ¶
func GetExecuteScalingPoliciesRequestBodyActionEnum() ExecuteScalingPoliciesRequestBodyActionEnum
type ExecuteScalingPoliciesResponse ¶
type ExecuteScalingPoliciesResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ExecuteScalingPoliciesResponse) String ¶
func (o ExecuteScalingPoliciesResponse) String() string
type ExecuteScalingPolicyRequest ¶
type ExecuteScalingPolicyRequest struct { ScalingPolicyId string `json:"scaling_policy_id"` Body *ExecuteScalingPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (ExecuteScalingPolicyRequest) String ¶
func (o ExecuteScalingPolicyRequest) String() string
type ExecuteScalingPolicyRequestBody ¶
type ExecuteScalingPolicyRequestBody struct {
Action *ExecuteScalingPolicyRequestBodyAction `json:"action,omitempty"`
}
执行或启用或停止伸缩策略
func (ExecuteScalingPolicyRequestBody) String ¶
func (o ExecuteScalingPolicyRequestBody) String() string
type ExecuteScalingPolicyRequestBodyAction ¶
type ExecuteScalingPolicyRequestBodyAction struct {
// contains filtered or unexported fields
}
func (ExecuteScalingPolicyRequestBodyAction) MarshalJSON ¶
func (c ExecuteScalingPolicyRequestBodyAction) MarshalJSON() ([]byte, error)
func (*ExecuteScalingPolicyRequestBodyAction) UnmarshalJSON ¶
func (c *ExecuteScalingPolicyRequestBodyAction) UnmarshalJSON(b []byte) error
type ExecuteScalingPolicyRequestBodyActionEnum ¶
type ExecuteScalingPolicyRequestBodyActionEnum struct { EXECUTE ExecuteScalingPolicyRequestBodyAction RESUME ExecuteScalingPolicyRequestBodyAction PAUSE ExecuteScalingPolicyRequestBodyAction }
func GetExecuteScalingPolicyRequestBodyActionEnum ¶
func GetExecuteScalingPolicyRequestBodyActionEnum() ExecuteScalingPolicyRequestBodyActionEnum
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 *[]Disk `json:"disk,omitempty"` KeyName *string `json:"key_name,omitempty"` Personality *[]Personality `json:"personality,omitempty"` PublicIp *PublicIp `json:"public_ip,omitempty"` UserData *string `json:"user_data,omitempty"` Metadata *MetaData `json:"metadata,omitempty"` SecurityGroups *[]SecurityGroups `json:"security_groups,omitempty"` 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 *[]Disk `json:"disk,omitempty"` KeyName *string `json:"key_name,omitempty"` InstanceName *string `json:"instance_name,omitempty"` InstanceId *string `json:"instance_id,omitempty"` AdminPass *string `json:"adminPass,omitempty"` Personality *Personality `json:"personality,omitempty"` PublicIp *PublicIp `json:"public_ip,omitempty"` UserData *string `json:"user_data,omitempty"` Metadata *MetaData `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"` }
实例配置信息
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 *sdktime.SdkTime `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 *int32 `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,omitempty"` }
增强型负载均衡器
func (LbaasListeners) String ¶
func (o LbaasListeners) String() string
type LbaasListenersResult ¶
type LbaasListenersResult struct { ListenersId *string `json:"listeners_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 *sdktime.SdkTime `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"` }
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 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 *ShowTagsRequestBody `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 *int32 `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 *sdktime.SdkTime `json:"start_time,omitempty"` EndTime *sdktime.SdkTime `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"` StartTime *sdktime.SdkTime `json:"start_time,omitempty"` EndTime *sdktime.SdkTime `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"` }
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 *[]ScalingPolicyDetail `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 *sdktime.SdkTime `json:"start_time,omitempty"` EndTime *sdktime.SdkTime `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 {
CustomizeKey *string `json:"customize_key,omitempty"`
}
用户自定义键值对
type MeteData ¶
type MeteData struct {
UserDefinedKeyValuePairs *string `json:"User-defined_key-value_pairs,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"` }
网络信息
type Personality ¶
注入文件信息。仅支持注入文本文件,最大支持注入5个文件,每个文件最大1KB。
func (Personality) String ¶
func (o Personality) 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"` }
配额资源
func (PolicyInstanceResources) String ¶
func (o PolicyInstanceResources) String() string
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 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"` }
伸缩活动日志列表。
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 *MeteData `json:"meta_data,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"` }
伸缩配置详情
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 *[]Networks `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 *ScalingGroupsHealthPeriodicAuditTime `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"` CloudLocationId *string `json:"cloud_location_id,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,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 ScalingGroupsHealthPeriodicAuditTime ¶
type ScalingGroupsHealthPeriodicAuditTime struct {
// contains filtered or unexported fields
}
func (ScalingGroupsHealthPeriodicAuditTime) MarshalJSON ¶
func (c ScalingGroupsHealthPeriodicAuditTime) MarshalJSON() ([]byte, error)
func (*ScalingGroupsHealthPeriodicAuditTime) UnmarshalJSON ¶
func (c *ScalingGroupsHealthPeriodicAuditTime) UnmarshalJSON(b []byte) error
type ScalingGroupsHealthPeriodicAuditTimeEnum ¶
type ScalingGroupsHealthPeriodicAuditTimeEnum struct { E_0 ScalingGroupsHealthPeriodicAuditTime E_1 ScalingGroupsHealthPeriodicAuditTime E_5 ScalingGroupsHealthPeriodicAuditTime E_15 ScalingGroupsHealthPeriodicAuditTime E_60 ScalingGroupsHealthPeriodicAuditTime E_180 ScalingGroupsHealthPeriodicAuditTime }
func GetScalingGroupsHealthPeriodicAuditTimeEnum ¶
func GetScalingGroupsHealthPeriodicAuditTimeEnum() ScalingGroupsHealthPeriodicAuditTimeEnum
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"` }
伸缩实例。
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"` }
伸缩策略
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 ScalingPolicyAction ¶
type ScalingPolicyAction struct { Operation *ScalingPolicyActionOperation `json:"operation,omitempty"` InstanceNumber *int32 `json:"instance_number,omitempty"` InstancePercentage *int32 `json:"instance_percentage,omitempty"` }
策略执行具体动作
func (ScalingPolicyAction) String ¶
func (o ScalingPolicyAction) String() string
type ScalingPolicyActionOperation ¶
type ScalingPolicyActionOperation struct {
// contains filtered or unexported fields
}
func (ScalingPolicyActionOperation) MarshalJSON ¶
func (c ScalingPolicyActionOperation) MarshalJSON() ([]byte, error)
func (*ScalingPolicyActionOperation) UnmarshalJSON ¶
func (c *ScalingPolicyActionOperation) UnmarshalJSON(b []byte) error
type ScalingPolicyActionOperationEnum ¶
type ScalingPolicyActionOperationEnum struct { ADD ScalingPolicyActionOperation REMOVE ScalingPolicyActionOperation REDUCE ScalingPolicyActionOperation SET ScalingPolicyActionOperation }
func GetScalingPolicyActionOperationEnum ¶
func GetScalingPolicyActionOperationEnum() ScalingPolicyActionOperationEnum
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 ScalingPolicyDetail ¶
type ScalingPolicyDetail struct { ScalingGroupId *string `json:"scaling_group_id,omitempty"` ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingPolicyId *string `json:"scaling_policy_id,omitempty"` ScalingPolicyType *ScalingPolicyDetailScalingPolicyType `json:"scaling_policy_type,omitempty"` AlarmId *string `json:"alarm_id,omitempty"` ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"` ScalingPolicyAction *ScalingPolicyAction `json:"scaling_policy_action,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` }
伸缩策略
func (ScalingPolicyDetail) String ¶
func (o ScalingPolicyDetail) String() string
type ScalingPolicyDetailScalingPolicyType ¶
type ScalingPolicyDetailScalingPolicyType struct {
// contains filtered or unexported fields
}
func (ScalingPolicyDetailScalingPolicyType) MarshalJSON ¶
func (c ScalingPolicyDetailScalingPolicyType) MarshalJSON() ([]byte, error)
func (*ScalingPolicyDetailScalingPolicyType) UnmarshalJSON ¶
func (c *ScalingPolicyDetailScalingPolicyType) UnmarshalJSON(b []byte) error
type ScalingPolicyDetailScalingPolicyTypeEnum ¶
type ScalingPolicyDetailScalingPolicyTypeEnum struct { ALARM ScalingPolicyDetailScalingPolicyType SCHEDULED ScalingPolicyDetailScalingPolicyType RECURRENCE ScalingPolicyDetailScalingPolicyType }
func GetScalingPolicyDetailScalingPolicyTypeEnum ¶
func GetScalingPolicyDetailScalingPolicyTypeEnum() ScalingPolicyDetailScalingPolicyTypeEnum
type ScalingPolicyExecuteLogList ¶
type ScalingPolicyExecuteLogList struct { Status *ScalingPolicyExecuteLogListStatus `json:"status,omitempty"` FailedReason *string `json:"failed_reason,omitempty"` ExecuteType *ScalingPolicyExecuteLogListExecuteType `json:"execute_type,omitempty"` ExecuteTime *sdktime.SdkTime `json:"execute_time,omitempty"` Id *string `json:"id,omitempty"` ProjectId *string `json:"project_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 *int32 `json:"limit_value,omitempty"` Type *ScalingPolicyExecuteLogListType `json:"type,omitempty"` JobRecords *[]JobRecords `json:"job_records,omitempty"` MetaData *MetaData `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 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 *MeteData `json:"meta_data,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,omitempty"` 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 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 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 *sdktime.SdkTime `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 { AllQuotas *PolicyInstanceQuotas `json:"AllQuotas,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 *ScalingPolicyDetail `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 ShowTagsRequestBody ¶
type ShowTagsRequestBody 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 ShowTagsRequestBodyAction `json:"action"` Offset *string `json:"offset,omitempty"` Matchs *[]Matches `json:"matchs,omitempty"` }
请求正常
func (ShowTagsRequestBody) String ¶
func (o ShowTagsRequestBody) String() string
type ShowTagsRequestBodyAction ¶
type ShowTagsRequestBodyAction struct {
// contains filtered or unexported fields
}
func (ShowTagsRequestBodyAction) MarshalJSON ¶
func (c ShowTagsRequestBodyAction) MarshalJSON() ([]byte, error)
func (*ShowTagsRequestBodyAction) UnmarshalJSON ¶
func (c *ShowTagsRequestBodyAction) UnmarshalJSON(b []byte) error
type ShowTagsRequestBodyActionEnum ¶
type ShowTagsRequestBodyActionEnum struct { FILTER ShowTagsRequestBodyAction COUNT ShowTagsRequestBodyAction }
func GetShowTagsRequestBodyActionEnum ¶
func GetShowTagsRequestBodyActionEnum() ShowTagsRequestBodyActionEnum
type TagsMultiValue ¶
type TagsMultiValue struct { Key *string `json:"key,omitempty"` Values *[]string `json:"values,omitempty"` }
func (TagsMultiValue) String ¶
func (o TagsMultiValue) String() string
type TagsSingleValue ¶
type TagsSingleValue struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
资源标签键
func (TagsSingleValue) String ¶
func (o TagsSingleValue) String() string
type Topics ¶
type UpdateLifeCycleHookRequest ¶
type UpdateLifeCycleHookRequest struct { ScalingGroupId string `json:"scaling_group_id"` LifecycleHookName string `json:"lifecycle_hook_name"` Body *UpdateLifeCycleHookRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateLifeCycleHookRequest) String ¶
func (o UpdateLifeCycleHookRequest) String() string
type UpdateLifeCycleHookRequestBody ¶
type UpdateLifeCycleHookRequestBody struct { LifecycleHookType *UpdateLifeCycleHookRequestBodyLifecycleHookType `json:"lifecycle_hook_type,omitempty"` DefaultResult *UpdateLifeCycleHookRequestBodyDefaultResult `json:"default_result,omitempty"` DefaultTimeout *int32 `json:"default_timeout,omitempty"` NotificationTopicUrn *string `json:"notification_topic_urn,omitempty"` NotificationMetadata *string `json:"notification_metadata,omitempty"` }
修改生命周期挂钩
func (UpdateLifeCycleHookRequestBody) String ¶
func (o UpdateLifeCycleHookRequestBody) String() string
type UpdateLifeCycleHookRequestBodyDefaultResult ¶
type UpdateLifeCycleHookRequestBodyDefaultResult struct {
// contains filtered or unexported fields
}
func (UpdateLifeCycleHookRequestBodyDefaultResult) MarshalJSON ¶
func (c UpdateLifeCycleHookRequestBodyDefaultResult) MarshalJSON() ([]byte, error)
func (*UpdateLifeCycleHookRequestBodyDefaultResult) UnmarshalJSON ¶
func (c *UpdateLifeCycleHookRequestBodyDefaultResult) UnmarshalJSON(b []byte) error
type UpdateLifeCycleHookRequestBodyDefaultResultEnum ¶
type UpdateLifeCycleHookRequestBodyDefaultResultEnum struct { ABANDON UpdateLifeCycleHookRequestBodyDefaultResult CONTINUE UpdateLifeCycleHookRequestBodyDefaultResult }
func GetUpdateLifeCycleHookRequestBodyDefaultResultEnum ¶
func GetUpdateLifeCycleHookRequestBodyDefaultResultEnum() UpdateLifeCycleHookRequestBodyDefaultResultEnum
type UpdateLifeCycleHookRequestBodyLifecycleHookType ¶
type UpdateLifeCycleHookRequestBodyLifecycleHookType struct {
// contains filtered or unexported fields
}
func (UpdateLifeCycleHookRequestBodyLifecycleHookType) MarshalJSON ¶
func (c UpdateLifeCycleHookRequestBodyLifecycleHookType) MarshalJSON() ([]byte, error)
func (*UpdateLifeCycleHookRequestBodyLifecycleHookType) UnmarshalJSON ¶
func (c *UpdateLifeCycleHookRequestBodyLifecycleHookType) UnmarshalJSON(b []byte) error
type UpdateLifeCycleHookRequestBodyLifecycleHookTypeEnum ¶
type UpdateLifeCycleHookRequestBodyLifecycleHookTypeEnum struct { INSTANCE_TERMINATING UpdateLifeCycleHookRequestBodyLifecycleHookType INSTANCE_LAUNCHING UpdateLifeCycleHookRequestBodyLifecycleHookType }
func GetUpdateLifeCycleHookRequestBodyLifecycleHookTypeEnum ¶
func GetUpdateLifeCycleHookRequestBodyLifecycleHookTypeEnum() UpdateLifeCycleHookRequestBodyLifecycleHookTypeEnum
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 *sdktime.SdkTime `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 UpdateScalingGroupInstanceRequest ¶
type UpdateScalingGroupInstanceRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *UpdateScalingGroupInstanceRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateScalingGroupInstanceRequest) String ¶
func (o UpdateScalingGroupInstanceRequest) String() string
type UpdateScalingGroupInstanceRequestBody ¶
type UpdateScalingGroupInstanceRequestBody struct { InstancesId []string `json:"instances_id"` InstanceDelete *string `json:"instance_delete,omitempty"` Action UpdateScalingGroupInstanceRequestBodyAction `json:"action"` InstanceAppend *string `json:"instance_append,omitempty"` }
批量操作实例
func (UpdateScalingGroupInstanceRequestBody) String ¶
func (o UpdateScalingGroupInstanceRequestBody) String() string
type UpdateScalingGroupInstanceRequestBodyAction ¶
type UpdateScalingGroupInstanceRequestBodyAction struct {
// contains filtered or unexported fields
}
func (UpdateScalingGroupInstanceRequestBodyAction) MarshalJSON ¶
func (c UpdateScalingGroupInstanceRequestBodyAction) MarshalJSON() ([]byte, error)
func (*UpdateScalingGroupInstanceRequestBodyAction) UnmarshalJSON ¶
func (c *UpdateScalingGroupInstanceRequestBodyAction) UnmarshalJSON(b []byte) error
type UpdateScalingGroupInstanceRequestBodyActionEnum ¶
type UpdateScalingGroupInstanceRequestBodyActionEnum struct { ADD UpdateScalingGroupInstanceRequestBodyAction REMOVE UpdateScalingGroupInstanceRequestBodyAction PROTECT UpdateScalingGroupInstanceRequestBodyAction UNPROTECT UpdateScalingGroupInstanceRequestBodyAction ENTER_STANDBY UpdateScalingGroupInstanceRequestBodyAction EXIT_STANDBY UpdateScalingGroupInstanceRequestBodyAction }
func GetUpdateScalingGroupInstanceRequestBodyActionEnum ¶
func GetUpdateScalingGroupInstanceRequestBodyActionEnum() UpdateScalingGroupInstanceRequestBodyActionEnum
type UpdateScalingGroupInstanceResponse ¶
type UpdateScalingGroupInstanceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateScalingGroupInstanceResponse) String ¶
func (o UpdateScalingGroupInstanceResponse) String() string
type UpdateScalingGroupRequest ¶
type UpdateScalingGroupRequest struct { ScalingGroupId string `json:"scaling_group_id"` Body *UpdateScalingGroupRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateScalingGroupRequest) String ¶
func (o UpdateScalingGroupRequest) String() string
type UpdateScalingGroupRequestBody ¶
type UpdateScalingGroupRequestBody 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 *[]SecurityGroups `json:"security_groups,omitempty"` LbListenerId *string `json:"lb_listener_id,omitempty"` LbaasListeners *[]LbaasListeners `json:"lbaas_listeners,omitempty"` HealthPeriodicAuditMethod *UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod `json:"health_periodic_audit_method,omitempty"` HealthPeriodicAuditTime *UpdateScalingGroupRequestBodyHealthPeriodicAuditTime `json:"health_periodic_audit_time,omitempty"` HealthPeriodicAuditGracePeriod *int32 `json:"health_periodic_audit_grace_period,omitempty"` InstanceTerminatePolicy *UpdateScalingGroupRequestBodyInstanceTerminatePolicy `json:"instance_terminate_policy,omitempty"` ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"` Notifications *[]string `json:"notifications,omitempty"` DeletePublicip *bool `json:"delete_publicip,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
修改伸缩组详情
func (UpdateScalingGroupRequestBody) String ¶
func (o UpdateScalingGroupRequestBody) String() string
type UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod ¶
type UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod struct {
// contains filtered or unexported fields
}
func (UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod) MarshalJSON ¶
func (c UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod) MarshalJSON() ([]byte, error)
func (*UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod) UnmarshalJSON ¶
func (c *UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod) UnmarshalJSON(b []byte) error
type UpdateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum ¶
type UpdateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum struct { ELB_AUDIT UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod NOVA_AUDIT UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod }
func GetUpdateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum ¶
func GetUpdateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum() UpdateScalingGroupRequestBodyHealthPeriodicAuditMethodEnum
type UpdateScalingGroupRequestBodyHealthPeriodicAuditTime ¶
type UpdateScalingGroupRequestBodyHealthPeriodicAuditTime struct {
// contains filtered or unexported fields
}
func (UpdateScalingGroupRequestBodyHealthPeriodicAuditTime) MarshalJSON ¶
func (c UpdateScalingGroupRequestBodyHealthPeriodicAuditTime) MarshalJSON() ([]byte, error)
func (*UpdateScalingGroupRequestBodyHealthPeriodicAuditTime) UnmarshalJSON ¶
func (c *UpdateScalingGroupRequestBodyHealthPeriodicAuditTime) UnmarshalJSON(b []byte) error
type UpdateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum ¶
type UpdateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum struct { E_0 UpdateScalingGroupRequestBodyHealthPeriodicAuditTime E_1 UpdateScalingGroupRequestBodyHealthPeriodicAuditTime E_5 UpdateScalingGroupRequestBodyHealthPeriodicAuditTime E_15 UpdateScalingGroupRequestBodyHealthPeriodicAuditTime E_60 UpdateScalingGroupRequestBodyHealthPeriodicAuditTime E_180 UpdateScalingGroupRequestBodyHealthPeriodicAuditTime }
func GetUpdateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum ¶
func GetUpdateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum() UpdateScalingGroupRequestBodyHealthPeriodicAuditTimeEnum
type UpdateScalingGroupRequestBodyInstanceTerminatePolicy ¶
type UpdateScalingGroupRequestBodyInstanceTerminatePolicy struct {
// contains filtered or unexported fields
}
func (UpdateScalingGroupRequestBodyInstanceTerminatePolicy) MarshalJSON ¶
func (c UpdateScalingGroupRequestBodyInstanceTerminatePolicy) MarshalJSON() ([]byte, error)
func (*UpdateScalingGroupRequestBodyInstanceTerminatePolicy) UnmarshalJSON ¶
func (c *UpdateScalingGroupRequestBodyInstanceTerminatePolicy) UnmarshalJSON(b []byte) error
type UpdateScalingGroupRequestBodyInstanceTerminatePolicyEnum ¶
type UpdateScalingGroupRequestBodyInstanceTerminatePolicyEnum struct { OLD_CONFIG_OLD_INSTANCE UpdateScalingGroupRequestBodyInstanceTerminatePolicy OLD_CONFIG_NEW_INSTANCE UpdateScalingGroupRequestBodyInstanceTerminatePolicy OLD_INSTANCE UpdateScalingGroupRequestBodyInstanceTerminatePolicy NEW_INSTANCE UpdateScalingGroupRequestBodyInstanceTerminatePolicy }
func GetUpdateScalingGroupRequestBodyInstanceTerminatePolicyEnum ¶
func GetUpdateScalingGroupRequestBodyInstanceTerminatePolicyEnum() UpdateScalingGroupRequestBodyInstanceTerminatePolicyEnum
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 UpdateScalingPolicyRequest ¶
type UpdateScalingPolicyRequest struct { ScalingPolicyId string `json:"scaling_policy_id"` Body *UpdateScalingPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateScalingPolicyRequest) String ¶
func (o UpdateScalingPolicyRequest) String() string
type UpdateScalingPolicyRequestBody ¶
type UpdateScalingPolicyRequestBody struct { ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingPolicyType *UpdateScalingPolicyRequestBodyScalingPolicyType `json:"scaling_policy_type,omitempty"` AlarmId *string `json:"alarm_id,omitempty"` ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"` ScalingPolicyAction *ScalingPolicyAction `json:"scaling_policy_action,omitempty"` CoolDownTime *int32 `json:"cool_down_time,omitempty"` }
修改伸缩策略
func (UpdateScalingPolicyRequestBody) String ¶
func (o UpdateScalingPolicyRequestBody) String() string
type UpdateScalingPolicyRequestBodyScalingPolicyType ¶
type UpdateScalingPolicyRequestBodyScalingPolicyType struct {
// contains filtered or unexported fields
}
func (UpdateScalingPolicyRequestBodyScalingPolicyType) MarshalJSON ¶
func (c UpdateScalingPolicyRequestBodyScalingPolicyType) MarshalJSON() ([]byte, error)
func (*UpdateScalingPolicyRequestBodyScalingPolicyType) UnmarshalJSON ¶
func (c *UpdateScalingPolicyRequestBodyScalingPolicyType) UnmarshalJSON(b []byte) error
type UpdateScalingPolicyRequestBodyScalingPolicyTypeEnum ¶
type UpdateScalingPolicyRequestBodyScalingPolicyTypeEnum struct { ALARM UpdateScalingPolicyRequestBodyScalingPolicyType SCHEDULED UpdateScalingPolicyRequestBodyScalingPolicyType RECURRENCE UpdateScalingPolicyRequestBodyScalingPolicyType }
func GetUpdateScalingPolicyRequestBodyScalingPolicyTypeEnum ¶
func GetUpdateScalingPolicyRequestBodyScalingPolicyTypeEnum() UpdateScalingPolicyRequestBodyScalingPolicyTypeEnum
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 UpdateScalingV2PolicyRequest ¶
type UpdateScalingV2PolicyRequest struct { ScalingPolicyId string `json:"scaling_policy_id"` Body *UpdateScalingV2PolicyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateScalingV2PolicyRequest) String ¶
func (o UpdateScalingV2PolicyRequest) String() string
type UpdateScalingV2PolicyRequestBody ¶
type UpdateScalingV2PolicyRequestBody struct { ScalingPolicyName *string `json:"scaling_policy_name,omitempty"` ScalingResourceId *string `json:"scaling_resource_id,omitempty"` ScalingResourceType *UpdateScalingV2PolicyRequestBodyScalingResourceType `json:"scaling_resource_type,omitempty"` ScalingPolicyType *UpdateScalingV2PolicyRequestBodyScalingPolicyType `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"` }
修改伸缩策略
func (UpdateScalingV2PolicyRequestBody) String ¶
func (o UpdateScalingV2PolicyRequestBody) String() string
type UpdateScalingV2PolicyRequestBodyScalingPolicyType ¶
type UpdateScalingV2PolicyRequestBodyScalingPolicyType struct {
// contains filtered or unexported fields
}
func (UpdateScalingV2PolicyRequestBodyScalingPolicyType) MarshalJSON ¶
func (c UpdateScalingV2PolicyRequestBodyScalingPolicyType) MarshalJSON() ([]byte, error)
func (*UpdateScalingV2PolicyRequestBodyScalingPolicyType) UnmarshalJSON ¶
func (c *UpdateScalingV2PolicyRequestBodyScalingPolicyType) UnmarshalJSON(b []byte) error
type UpdateScalingV2PolicyRequestBodyScalingPolicyTypeEnum ¶
type UpdateScalingV2PolicyRequestBodyScalingPolicyTypeEnum struct { ALARM UpdateScalingV2PolicyRequestBodyScalingPolicyType SCHEDULED UpdateScalingV2PolicyRequestBodyScalingPolicyType RECURRENCE UpdateScalingV2PolicyRequestBodyScalingPolicyType }
func GetUpdateScalingV2PolicyRequestBodyScalingPolicyTypeEnum ¶
func GetUpdateScalingV2PolicyRequestBodyScalingPolicyTypeEnum() UpdateScalingV2PolicyRequestBodyScalingPolicyTypeEnum
type UpdateScalingV2PolicyRequestBodyScalingResourceType ¶
type UpdateScalingV2PolicyRequestBodyScalingResourceType struct {
// contains filtered or unexported fields
}
func (UpdateScalingV2PolicyRequestBodyScalingResourceType) MarshalJSON ¶
func (c UpdateScalingV2PolicyRequestBodyScalingResourceType) MarshalJSON() ([]byte, error)
func (*UpdateScalingV2PolicyRequestBodyScalingResourceType) UnmarshalJSON ¶
func (c *UpdateScalingV2PolicyRequestBodyScalingResourceType) UnmarshalJSON(b []byte) error
type UpdateScalingV2PolicyRequestBodyScalingResourceTypeEnum ¶
type UpdateScalingV2PolicyRequestBodyScalingResourceTypeEnum struct { SCALING_GROUP UpdateScalingV2PolicyRequestBodyScalingResourceType BANDWIDTH UpdateScalingV2PolicyRequestBodyScalingResourceType }
func GetUpdateScalingV2PolicyRequestBodyScalingResourceTypeEnum ¶
func GetUpdateScalingV2PolicyRequestBodyScalingResourceTypeEnum() UpdateScalingV2PolicyRequestBodyScalingResourceTypeEnum
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
Source Files ¶
- model_all_quotas.go
- model_all_resources.go
- model_bandwidth.go
- model_batch_delete_scaling_configs_request.go
- model_batch_delete_scaling_configs_request_body.go
- model_batch_delete_scaling_configs_response.go
- model_complete_lifecycle_action_request.go
- model_complete_lifecycle_action_request_body.go
- model_complete_lifecycle_action_response.go
- model_create_life_cycle_hook_request_body.go
- model_create_lify_cycle_hook_request.go
- model_create_lify_cycle_hook_response.go
- model_create_notification_request_body.go
- model_create_scaling_config_request.go
- model_create_scaling_config_request_body.go
- model_create_scaling_config_response.go
- model_create_scaling_group_request.go
- model_create_scaling_group_request_body.go
- model_create_scaling_group_response.go
- model_create_scaling_notification_request.go
- model_create_scaling_notification_response.go
- model_create_scaling_policy_request.go
- model_create_scaling_policy_request_body.go
- model_create_scaling_policy_response.go
- model_create_scaling_policy_v2_request_body.go
- model_create_scaling_tags_request.go
- model_create_scaling_tags_request_body.go
- model_create_scaling_tags_response.go
- model_create_scaling_v2_policy_request.go
- model_create_scaling_v2_policy_response.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_tags_request.go
- model_delete_scaling_tags_request_body.go
- model_delete_scaling_tags_response.go
- model_disk.go
- model_eip.go
- model_enable_or_disable_scaling_group_request.go
- model_enable_or_disable_scaling_group_request_body.go
- model_enable_or_disable_scaling_group_response.go
- model_execute_scaling_policies_request.go
- model_execute_scaling_policies_request_body.go
- model_execute_scaling_policies_response.go
- model_execute_scaling_policy_request.go
- model_execute_scaling_policy_request_body.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_list_all_scaling_v2_policies_request.go
- model_list_all_scaling_v2_policies_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_mete_data.go
- model_modify_lb.go
- model_networks.go
- model_personality.go
- model_policy_instance_quotas.go
- model_policy_instance_resources.go
- model_public_ip.go
- model_resource_tags.go
- model_resources.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.go
- model_scaling_policy_action_v2.go
- model_scaling_policy_detail.go
- model_scaling_policy_execute_log_list.go
- model_scaling_v2_policy_detail.go
- model_scheduled_policy.go
- model_security_groups.go
- model_security_groups_result.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_show_tags_request_body.go
- model_tags_multi_value.go
- model_tags_single_value.go
- model_topics.go
- model_update_life_cycle_hook_request.go
- model_update_life_cycle_hook_request_body.go
- model_update_life_cycle_hook_response.go
- model_update_scaling_group_instance_request.go
- model_update_scaling_group_instance_request_body.go
- model_update_scaling_group_instance_response.go
- model_update_scaling_group_request.go
- model_update_scaling_group_request_body.go
- model_update_scaling_group_response.go
- model_update_scaling_policy_request.go
- model_update_scaling_policy_request_body.go
- model_update_scaling_policy_response.go
- model_update_scaling_v2_policy_request.go
- model_update_scaling_v2_policy_request_body.go
- model_update_scaling_v2_policy_response.go