model

package
v0.0.38-rc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

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"`
}

配额列表

func (AllQuotas) String

func (o AllQuotas) String() string

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"`

	ShareType *BandwidthShareType `json:"share_type,omitempty"`

	ChargingMode BandwidthChargingMode `json:"charging_mode"`

	Id *string `json:"id,omitempty"`
}

带宽信息

func (Bandwidth) String

func (o Bandwidth) String() string

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 {
	PER   BandwidthShareType
	WHOLE BandwidthShareType
}

func GetBandwidthShareTypeEnum

func GetBandwidthShareTypeEnum() BandwidthShareTypeEnum

type BatchDeleteScalingConfigsRequest

type BatchDeleteScalingConfigsRequest struct {
	Body *BatchDeleteScalingConfigsRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchDeleteScalingConfigsRequest) String

type BatchDeleteScalingConfigsRequestBody

type BatchDeleteScalingConfigsRequestBody struct {
	ScalingConfigurationId *[]string `json:"scaling_configuration_id,omitempty"`
}

批量删除伸缩配置请求

func (BatchDeleteScalingConfigsRequestBody) String

type BatchDeleteScalingConfigsResponse

type BatchDeleteScalingConfigsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchDeleteScalingConfigsResponse) String

type CompleteLifecycleActionRequest

type CompleteLifecycleActionRequest struct {
	ScalingGroupId string `json:"scaling_group_id"`

	Body *CompleteLifecycleActionRequestBody `json:"body,omitempty"`
}

Request Object

func (CompleteLifecycleActionRequest) 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

type CompleteLifecycleActionRequestBodyLifecycleActionResult

type CompleteLifecycleActionRequestBodyLifecycleActionResult struct {
	// contains filtered or unexported fields
}

func (CompleteLifecycleActionRequestBodyLifecycleActionResult) MarshalJSON

func (*CompleteLifecycleActionRequestBodyLifecycleActionResult) UnmarshalJSON

type CompleteLifecycleActionResponse

type CompleteLifecycleActionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CompleteLifecycleActionResponse) 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

type CreateLifeCycleHookRequestBodyDefaultResult

type CreateLifeCycleHookRequestBodyDefaultResult struct {
	// contains filtered or unexported fields
}

func (CreateLifeCycleHookRequestBodyDefaultResult) MarshalJSON

func (*CreateLifeCycleHookRequestBodyDefaultResult) UnmarshalJSON

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 (*CreateLifeCycleHookRequestBodyLifecycleHookType) UnmarshalJSON

type CreateLifeCycleHookRequestBodyLifecycleHookTypeEnum

type CreateLifeCycleHookRequestBodyLifecycleHookTypeEnum struct {
	INSTANCE_TERMINATING CreateLifeCycleHookRequestBodyLifecycleHookType
	INSTANCE_LAUNCHING   CreateLifeCycleHookRequestBodyLifecycleHookType
}

type CreateLifyCycleHookRequest

type CreateLifyCycleHookRequest struct {
	ScalingGroupId string `json:"scaling_group_id"`

	Body *CreateLifeCycleHookRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateLifyCycleHookRequest) 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

type CreateLifyCycleHookResponseDefaultResult

type CreateLifyCycleHookResponseDefaultResult struct {
	// contains filtered or unexported fields
}

func (CreateLifyCycleHookResponseDefaultResult) MarshalJSON

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 (*CreateLifyCycleHookResponseLifecycleHookType) UnmarshalJSON

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

type CreateScalingConfigRequest

type CreateScalingConfigRequest struct {
	Body *CreateScalingConfigRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateScalingConfigRequest) String

type CreateScalingConfigRequestBody

type CreateScalingConfigRequestBody struct {
	ScalingConfigurationName string `json:"scaling_configuration_name"`

	InstanceConfig *InstanceConfig `json:"instance_config"`
}

创建伸缩配置请求

func (CreateScalingConfigRequestBody) String

type CreateScalingConfigResponse

type CreateScalingConfigResponse struct {
	ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"`
	HttpStatusCode         int     `json:"-"`
}

Response Object

func (CreateScalingConfigResponse) 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

type CreateScalingGroupRequestBodyHealthPeriodicAuditMethod

type CreateScalingGroupRequestBodyHealthPeriodicAuditMethod struct {
	// contains filtered or unexported fields
}

func (CreateScalingGroupRequestBodyHealthPeriodicAuditMethod) MarshalJSON

func (*CreateScalingGroupRequestBodyHealthPeriodicAuditMethod) UnmarshalJSON

type CreateScalingGroupRequestBodyHealthPeriodicAuditTime

type CreateScalingGroupRequestBodyHealthPeriodicAuditTime struct {
	// contains filtered or unexported fields
}

func (CreateScalingGroupRequestBodyHealthPeriodicAuditTime) MarshalJSON

func (*CreateScalingGroupRequestBodyHealthPeriodicAuditTime) UnmarshalJSON

type CreateScalingGroupRequestBodyInstanceTerminatePolicy

type CreateScalingGroupRequestBodyInstanceTerminatePolicy struct {
	// contains filtered or unexported fields
}

func (CreateScalingGroupRequestBodyInstanceTerminatePolicy) MarshalJSON

func (*CreateScalingGroupRequestBodyInstanceTerminatePolicy) UnmarshalJSON

type CreateScalingGroupRequestBodyMultiAzPriorityPolicy

type CreateScalingGroupRequestBodyMultiAzPriorityPolicy struct {
	// contains filtered or unexported fields
}

func (CreateScalingGroupRequestBodyMultiAzPriorityPolicy) MarshalJSON

func (*CreateScalingGroupRequestBodyMultiAzPriorityPolicy) UnmarshalJSON

type CreateScalingGroupRequestBodyMultiAzPriorityPolicyEnum

type CreateScalingGroupRequestBodyMultiAzPriorityPolicyEnum struct {
	EQUILIBRIUM_DISTRIBUTE CreateScalingGroupRequestBodyMultiAzPriorityPolicy
	PICK_FIRST             CreateScalingGroupRequestBodyMultiAzPriorityPolicy
}

type CreateScalingGroupResponse

type CreateScalingGroupResponse struct {
	ScalingGroupId *string `json:"scaling_group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateScalingGroupResponse) String

type CreateScalingNotificationRequest

type CreateScalingNotificationRequest struct {
	ScalingGroupId string `json:"scaling_group_id"`

	Body *CreateNotificationRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateScalingNotificationRequest) 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

type CreateScalingPolicyRequest

type CreateScalingPolicyRequest struct {
	Body *CreateScalingPolicyRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateScalingPolicyRequest) 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

type CreateScalingPolicyRequestBodyScalingPolicyType

type CreateScalingPolicyRequestBodyScalingPolicyType struct {
	// contains filtered or unexported fields
}

func (CreateScalingPolicyRequestBodyScalingPolicyType) MarshalJSON

func (*CreateScalingPolicyRequestBodyScalingPolicyType) UnmarshalJSON

type CreateScalingPolicyResponse

type CreateScalingPolicyResponse struct {
	ScalingPolicyId *string `json:"scaling_policy_id,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

Response Object

func (CreateScalingPolicyResponse) 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

type CreateScalingPolicyV2RequestBodyScalingPolicyType

type CreateScalingPolicyV2RequestBodyScalingPolicyType struct {
	// contains filtered or unexported fields
}

func (CreateScalingPolicyV2RequestBodyScalingPolicyType) MarshalJSON

func (*CreateScalingPolicyV2RequestBodyScalingPolicyType) UnmarshalJSON

type CreateScalingPolicyV2RequestBodyScalingResourceType

type CreateScalingPolicyV2RequestBodyScalingResourceType struct {
	// contains filtered or unexported fields
}

func (CreateScalingPolicyV2RequestBodyScalingResourceType) MarshalJSON

func (*CreateScalingPolicyV2RequestBodyScalingResourceType) UnmarshalJSON

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

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

type CreateScalingV2PolicyResponse

type CreateScalingV2PolicyResponse struct {
	ScalingPolicyId *string `json:"scaling_policy_id,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

Response Object

func (CreateScalingV2PolicyResponse) String

type DeleteLifecycleHookRequest

type DeleteLifecycleHookRequest struct {
	ScalingGroupId string `json:"scaling_group_id"`

	LifecycleHookName string `json:"lifecycle_hook_name"`
}

Request Object

func (DeleteLifecycleHookRequest) String

type DeleteLifecycleHookResponse

type DeleteLifecycleHookResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteLifecycleHookResponse) String

type DeleteScalingConfigRequest

type DeleteScalingConfigRequest struct {
	ScalingConfigurationId string `json:"scaling_configuration_id"`
}

Request Object

func (DeleteScalingConfigRequest) String

type DeleteScalingConfigResponse

type DeleteScalingConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteScalingConfigResponse) 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

type DeleteScalingInstanceRequest

type DeleteScalingInstanceRequest struct {
	InstanceId string `json:"instance_id"`

	InstanceDelete *DeleteScalingInstanceRequestInstanceDelete `json:"instance_delete,omitempty"`
}

Request Object

func (DeleteScalingInstanceRequest) String

type DeleteScalingInstanceRequestInstanceDelete

type DeleteScalingInstanceRequestInstanceDelete struct {
	// contains filtered or unexported fields
}

func (DeleteScalingInstanceRequestInstanceDelete) MarshalJSON

func (*DeleteScalingInstanceRequestInstanceDelete) UnmarshalJSON

type DeleteScalingInstanceResponse

type DeleteScalingInstanceResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteScalingInstanceResponse) String

type DeleteScalingNotificationRequest

type DeleteScalingNotificationRequest struct {
	ScalingGroupId string `json:"scaling_group_id"`

	TopicUrn string `json:"topic_urn"`
}

Request Object

func (DeleteScalingNotificationRequest) String

type DeleteScalingNotificationResponse

type DeleteScalingNotificationResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteScalingNotificationResponse) String

type DeleteScalingPolicyRequest

type DeleteScalingPolicyRequest struct {
	ScalingPolicyId string `json:"scaling_policy_id"`
}

Request Object

func (DeleteScalingPolicyRequest) String

type DeleteScalingPolicyResponse

type DeleteScalingPolicyResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteScalingPolicyResponse) 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

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"`
}

磁盘组信息,系统盘必选,数据盘可选。

func (Disk) String

func (o Disk) String() string

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 Eip

type Eip struct {
	IpType EipIpType `json:"ip_type"`

	Bandwidth *Bandwidth `json:"bandwidth"`
}

配置云服务器的弹性IP信息

func (Eip) String

func (o Eip) String() string

type EipIpType

type EipIpType struct {
	// contains filtered or unexported fields
}

func (EipIpType) MarshalJSON

func (c EipIpType) MarshalJSON() ([]byte, error)

func (*EipIpType) UnmarshalJSON

func (c *EipIpType) UnmarshalJSON(b []byte) error

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

type EnableOrDisableScalingGroupRequestBody

type EnableOrDisableScalingGroupRequestBody struct {
	Action *EnableOrDisableScalingGroupRequestBodyAction `json:"action,omitempty"`
}

启停伸缩组请求

func (EnableOrDisableScalingGroupRequestBody) String

type EnableOrDisableScalingGroupRequestBodyAction

type EnableOrDisableScalingGroupRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (EnableOrDisableScalingGroupRequestBodyAction) MarshalJSON

func (*EnableOrDisableScalingGroupRequestBodyAction) UnmarshalJSON

type EnableOrDisableScalingGroupResponse

type EnableOrDisableScalingGroupResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (EnableOrDisableScalingGroupResponse) String

type ExecuteScalingPoliciesRequest

type ExecuteScalingPoliciesRequest struct {
	Body *ExecuteScalingPoliciesRequestBody `json:"body,omitempty"`
}

Request Object

func (ExecuteScalingPoliciesRequest) 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

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 ExecuteScalingPoliciesResponse

type ExecuteScalingPoliciesResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ExecuteScalingPoliciesResponse) String

type ExecuteScalingPolicyRequest

type ExecuteScalingPolicyRequest struct {
	ScalingPolicyId string `json:"scaling_policy_id"`

	Body *ExecuteScalingPolicyRequestBody `json:"body,omitempty"`
}

Request Object

func (ExecuteScalingPolicyRequest) String

type ExecuteScalingPolicyRequestBody

type ExecuteScalingPolicyRequestBody struct {
	Action *ExecuteScalingPolicyRequestBodyAction `json:"action,omitempty"`
}

执行或启用或停止伸缩策略

func (ExecuteScalingPolicyRequestBody) 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 ExecuteScalingPolicyResponse

type ExecuteScalingPolicyResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ExecuteScalingPolicyResponse) 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 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

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 (*ListAllScalingV2PoliciesRequestScalingPolicyType) UnmarshalJSON

type ListAllScalingV2PoliciesRequestScalingResourceType

type ListAllScalingV2PoliciesRequestScalingResourceType struct {
	// contains filtered or unexported fields
}

func (ListAllScalingV2PoliciesRequestScalingResourceType) MarshalJSON

func (*ListAllScalingV2PoliciesRequestScalingResourceType) UnmarshalJSON

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

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

type ListResourceInstancesRequest

type ListResourceInstancesRequest struct {
	ResourceType ListResourceInstancesRequestResourceType `json:"resource_type"`

	Body *ShowTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (ListResourceInstancesRequest) String

type ListResourceInstancesRequestResourceType

type ListResourceInstancesRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListResourceInstancesRequestResourceType) MarshalJSON

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

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

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

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

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 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 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

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

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 (*ListScalingGroupsRequestScalingGroupStatus) UnmarshalJSON

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

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 ListScalingInstancesRequestLifeCycleState

type ListScalingInstancesRequestLifeCycleState struct {
	// contains filtered or unexported fields
}

func (ListScalingInstancesRequestLifeCycleState) MarshalJSON

func (*ListScalingInstancesRequestLifeCycleState) UnmarshalJSON

type ListScalingInstancesRequestProtectFromScalingDown

type ListScalingInstancesRequestProtectFromScalingDown struct {
	// contains filtered or unexported fields
}

func (ListScalingInstancesRequestProtectFromScalingDown) MarshalJSON

func (*ListScalingInstancesRequestProtectFromScalingDown) UnmarshalJSON

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

type ListScalingNotificationsRequest

type ListScalingNotificationsRequest struct {
	ScalingGroupId string `json:"scaling_group_id"`
}

Request Object

func (ListScalingNotificationsRequest) String

type ListScalingNotificationsResponse

type ListScalingNotificationsResponse struct {
	Topics         *[]Topics `json:"topics,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListScalingNotificationsResponse) 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

type ListScalingPoliciesRequestScalingPolicyType

type ListScalingPoliciesRequestScalingPolicyType struct {
	// contains filtered or unexported fields
}

func (ListScalingPoliciesRequestScalingPolicyType) MarshalJSON

func (*ListScalingPoliciesRequestScalingPolicyType) UnmarshalJSON

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

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

type ListScalingPolicyExecuteLogsRequestExecuteType

type ListScalingPolicyExecuteLogsRequestExecuteType struct {
	// contains filtered or unexported fields
}

func (ListScalingPolicyExecuteLogsRequestExecuteType) MarshalJSON

func (*ListScalingPolicyExecuteLogsRequestExecuteType) UnmarshalJSON

type ListScalingPolicyExecuteLogsRequestScalingResourceType

type ListScalingPolicyExecuteLogsRequestScalingResourceType struct {
	// contains filtered or unexported fields
}

func (ListScalingPolicyExecuteLogsRequestScalingResourceType) MarshalJSON

func (*ListScalingPolicyExecuteLogsRequestScalingResourceType) UnmarshalJSON

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

type ListScalingTagInfosByResourceIdRequest

type ListScalingTagInfosByResourceIdRequest struct {
	ResourceType ListScalingTagInfosByResourceIdRequestResourceType `json:"resource_type"`

	ResourceId string `json:"resource_id"`
}

Request Object

func (ListScalingTagInfosByResourceIdRequest) String

type ListScalingTagInfosByResourceIdRequestResourceType

type ListScalingTagInfosByResourceIdRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListScalingTagInfosByResourceIdRequestResourceType) MarshalJSON

func (*ListScalingTagInfosByResourceIdRequestResourceType) UnmarshalJSON

type ListScalingTagInfosByResourceIdRequestResourceTypeEnum

type ListScalingTagInfosByResourceIdRequestResourceTypeEnum struct {
	SCALING_GROUP_TAG ListScalingTagInfosByResourceIdRequestResourceType
}

type ListScalingTagInfosByResourceIdResponse

type ListScalingTagInfosByResourceIdResponse struct {
	Tags *[]TagsSingleValue `json:"tags,omitempty"`

	SysTags        *[]TagsSingleValue `json:"sys_tags,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListScalingTagInfosByResourceIdResponse) String

type ListScalingTagInfosByTenantIdRequest

type ListScalingTagInfosByTenantIdRequest struct {
	ResourceType ListScalingTagInfosByTenantIdRequestResourceType `json:"resource_type"`
}

Request Object

func (ListScalingTagInfosByTenantIdRequest) String

type ListScalingTagInfosByTenantIdRequestResourceType

type ListScalingTagInfosByTenantIdRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListScalingTagInfosByTenantIdRequestResourceType) MarshalJSON

func (*ListScalingTagInfosByTenantIdRequestResourceType) UnmarshalJSON

type ListScalingTagInfosByTenantIdRequestResourceTypeEnum

type ListScalingTagInfosByTenantIdRequestResourceTypeEnum struct {
	SCALING_GROUP_TAG ListScalingTagInfosByTenantIdRequestResourceType
}

type ListScalingTagInfosByTenantIdResponse

type ListScalingTagInfosByTenantIdResponse struct {
	Tags           *[]TagsMultiValue `json:"tags,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListScalingTagInfosByTenantIdResponse) 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

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

type Matches

type Matches struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

func (Matches) String

func (o Matches) String() string

type MetaData

type MetaData struct {
	CustomizeKey *string `json:"customize_key,omitempty"`
}

用户自定义键值对

func (MetaData) String

func (o MetaData) String() string

type MeteData

type MeteData struct {
	UserDefinedKeyValuePairs *string `json:"User-defined_key-value_pairs,omitempty"`
}

用户自定义键值对

func (MeteData) String

func (o MeteData) String() string

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"`
}

负载均衡器

func (ModifyLb) String

func (o ModifyLb) String() string

type Networks

type Networks struct {
	Id string `json:"id"`

	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	Ipv6Bandwidth *Ipv6Bandwidth `json:"ipv6_bandwidth,omitempty"`
}

网络信息

func (Networks) String

func (o Networks) String() string

type Personality

type Personality struct {
	Path string `json:"path"`

	Content string `json:"content"`
}

注入文件信息。仅支持注入文本文件,最大支持注入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 PublicIp

type PublicIp struct {
	Eip *Eip `json:"eip"`
}

配置云服务器的弹性IP信息

func (PublicIp) String

func (o PublicIp) 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"`
}

func (Resources) String

func (o Resources) String() string

type ScalingActivityLogList

type ScalingActivityLogList struct {
	Status *ScalingActivityLogListStatus `json:"status,omitempty"`

	StartTime *sdktime.SdkTime `json:"start_time,omitempty"`

	EndTime *sdktime.SdkTime `json:"end_time,omitempty"`

	Id *string `json:"id,omitempty"`

	InstanceRemovedList *string `json:"instance_removed_list,omitempty"`

	InstanceDeletedList *string `json:"instance_deleted_list,omitempty"`

	InstanceAddedList *string `json:"instance_added_list,omitempty"`

	ScalingValue *string `json:"scaling_value,omitempty"`

	Description *string `json:"description,omitempty"`

	InstanceValue *int32 `json:"instance_value,omitempty"`

	DesireValue *int32 `json:"desire_value,omitempty"`
}

伸缩活动日志列表。

func (ScalingActivityLogList) String

func (o ScalingActivityLogList) String() string

type ScalingActivityLogListStatus

type ScalingActivityLogListStatus struct {
	// contains filtered or unexported fields
}

func (ScalingActivityLogListStatus) MarshalJSON

func (c ScalingActivityLogListStatus) MarshalJSON() ([]byte, error)

func (*ScalingActivityLogListStatus) UnmarshalJSON

func (c *ScalingActivityLogListStatus) UnmarshalJSON(b []byte) error

type ScalingActivityLogListStatusEnum

type ScalingActivityLogListStatusEnum struct {
	SUCCESS ScalingActivityLogListStatus
	FAIL    ScalingActivityLogListStatus
	DING    ScalingActivityLogListStatus
}

func GetScalingActivityLogListStatusEnum

func GetScalingActivityLogListStatusEnum() ScalingActivityLogListStatusEnum

type ScalingActivityLogV2

type ScalingActivityLogV2 struct {
	Status *ScalingActivityLogV2Status `json:"status,omitempty"`

	StartTime *sdktime.SdkTime `json:"start_time,omitempty"`

	EndTime *sdktime.SdkTime `json:"end_time,omitempty"`

	Id *string `json:"id,omitempty"`

	InstanceRemovedList *[]ScalingInstance `json:"instance_removed_list,omitempty"`

	InstanceDeletedList *[]ScalingInstance `json:"instance_deleted_list,omitempty"`

	InstanceAddedList *[]ScalingInstance `json:"instance_added_list,omitempty"`

	InstanceFailedList *[]ScalingInstance `json:"instance_failed_list,omitempty"`

	InstanceStandbyList *[]ScalingInstance `json:"instance_standby_list,omitempty"`

	ScalingValue *string `json:"scaling_value,omitempty"`

	Description *string `json:"description,omitempty"`

	InstanceValue *int32 `json:"instance_value,omitempty"`

	DesireValue *int32 `json:"desire_value,omitempty"`

	LbBindSuccessList *[]ModifyLb `json:"lb_bind_success_list,omitempty"`

	LbBindFailedList *[]ModifyLb `json:"lb_bind_failed_list,omitempty"`

	LbUnbindSuccessList *[]ModifyLb `json:"lb_unbind_success_list,omitempty"`

	LbUnbindFailedList *[]ModifyLb `json:"lb_unbind_failed_list,omitempty"`
}

伸缩活动日志列表。

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 ScalingAllPolicyDetailScalingResourceType

type ScalingAllPolicyDetailScalingResourceType struct {
	// contains filtered or unexported fields
}

func (ScalingAllPolicyDetailScalingResourceType) MarshalJSON

func (*ScalingAllPolicyDetailScalingResourceType) UnmarshalJSON

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 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 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 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 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 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 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

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 ScalingPolicyExecuteLogListScalingResourceType

type ScalingPolicyExecuteLogListScalingResourceType struct {
	// contains filtered or unexported fields
}

func (ScalingPolicyExecuteLogListScalingResourceType) MarshalJSON

func (*ScalingPolicyExecuteLogListScalingResourceType) UnmarshalJSON

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 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 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 ScalingV2PolicyDetailScalingResourceType

type ScalingV2PolicyDetailScalingResourceType struct {
	// contains filtered or unexported fields
}

func (ScalingV2PolicyDetailScalingResourceType) MarshalJSON

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 (*ShowLifeCycleHookResponseLifecycleHookType) UnmarshalJSON

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

type ShowPolicyAndInstanceQuotaResponse

type ShowPolicyAndInstanceQuotaResponse struct {
	AllQuotas      *PolicyInstanceQuotas `json:"AllQuotas,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (ShowPolicyAndInstanceQuotaResponse) 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

type ShowScalingV2PolicyResponse

type ShowScalingV2PolicyResponse struct {
	ScalingPolicy  *ScalingV2PolicyDetail `json:"scaling_policy,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowScalingV2PolicyResponse) 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 Topics struct {
	TopicUrn *string `json:"topic_urn,omitempty"`

	TopicScene *[]string `json:"topic_scene,omitempty"`

	TopicName *string `json:"topic_name,omitempty"`
}

func (Topics) String

func (o Topics) String() string

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

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

type UpdateLifeCycleHookRequestBodyDefaultResult

type UpdateLifeCycleHookRequestBodyDefaultResult struct {
	// contains filtered or unexported fields
}

func (UpdateLifeCycleHookRequestBodyDefaultResult) MarshalJSON

func (*UpdateLifeCycleHookRequestBodyDefaultResult) UnmarshalJSON

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 (*UpdateLifeCycleHookRequestBodyLifecycleHookType) UnmarshalJSON

type UpdateLifeCycleHookRequestBodyLifecycleHookTypeEnum

type UpdateLifeCycleHookRequestBodyLifecycleHookTypeEnum struct {
	INSTANCE_TERMINATING UpdateLifeCycleHookRequestBodyLifecycleHookType
	INSTANCE_LAUNCHING   UpdateLifeCycleHookRequestBodyLifecycleHookType
}

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

type UpdateLifeCycleHookResponseDefaultResult

type UpdateLifeCycleHookResponseDefaultResult struct {
	// contains filtered or unexported fields
}

func (UpdateLifeCycleHookResponseDefaultResult) MarshalJSON

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 (*UpdateLifeCycleHookResponseLifecycleHookType) UnmarshalJSON

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

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

type UpdateScalingGroupInstanceRequestBodyAction

type UpdateScalingGroupInstanceRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (UpdateScalingGroupInstanceRequestBodyAction) MarshalJSON

func (*UpdateScalingGroupInstanceRequestBodyAction) UnmarshalJSON

type UpdateScalingGroupInstanceResponse

type UpdateScalingGroupInstanceResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateScalingGroupInstanceResponse) 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

type UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod

type UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod struct {
	// contains filtered or unexported fields
}

func (UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod) MarshalJSON

func (*UpdateScalingGroupRequestBodyHealthPeriodicAuditMethod) UnmarshalJSON

type UpdateScalingGroupRequestBodyHealthPeriodicAuditTime

type UpdateScalingGroupRequestBodyHealthPeriodicAuditTime struct {
	// contains filtered or unexported fields
}

func (UpdateScalingGroupRequestBodyHealthPeriodicAuditTime) MarshalJSON

func (*UpdateScalingGroupRequestBodyHealthPeriodicAuditTime) UnmarshalJSON

type UpdateScalingGroupRequestBodyInstanceTerminatePolicy

type UpdateScalingGroupRequestBodyInstanceTerminatePolicy struct {
	// contains filtered or unexported fields
}

func (UpdateScalingGroupRequestBodyInstanceTerminatePolicy) MarshalJSON

func (*UpdateScalingGroupRequestBodyInstanceTerminatePolicy) UnmarshalJSON

type UpdateScalingGroupResponse

type UpdateScalingGroupResponse struct {
	ScalingGroupId *string `json:"scaling_group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateScalingGroupResponse) String

type UpdateScalingPolicyRequest

type UpdateScalingPolicyRequest struct {
	ScalingPolicyId string `json:"scaling_policy_id"`

	Body *UpdateScalingPolicyRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateScalingPolicyRequest) 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

type UpdateScalingPolicyRequestBodyScalingPolicyType

type UpdateScalingPolicyRequestBodyScalingPolicyType struct {
	// contains filtered or unexported fields
}

func (UpdateScalingPolicyRequestBodyScalingPolicyType) MarshalJSON

func (*UpdateScalingPolicyRequestBodyScalingPolicyType) UnmarshalJSON

type UpdateScalingPolicyResponse

type UpdateScalingPolicyResponse struct {
	ScalingPolicyId *string `json:"scaling_policy_id,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

Response Object

func (UpdateScalingPolicyResponse) String

type UpdateScalingV2PolicyRequest

type UpdateScalingV2PolicyRequest struct {
	ScalingPolicyId string `json:"scaling_policy_id"`

	Body *UpdateScalingV2PolicyRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateScalingV2PolicyRequest) 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

type UpdateScalingV2PolicyRequestBodyScalingPolicyType

type UpdateScalingV2PolicyRequestBodyScalingPolicyType struct {
	// contains filtered or unexported fields
}

func (UpdateScalingV2PolicyRequestBodyScalingPolicyType) MarshalJSON

func (*UpdateScalingV2PolicyRequestBodyScalingPolicyType) UnmarshalJSON

type UpdateScalingV2PolicyRequestBodyScalingResourceType

type UpdateScalingV2PolicyRequestBodyScalingResourceType struct {
	// contains filtered or unexported fields
}

func (UpdateScalingV2PolicyRequestBodyScalingResourceType) MarshalJSON

func (*UpdateScalingV2PolicyRequestBodyScalingResourceType) UnmarshalJSON

type UpdateScalingV2PolicyResponse

type UpdateScalingV2PolicyResponse struct {
	ScalingPolicyId *string `json:"scaling_policy_id,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

Response Object

func (UpdateScalingV2PolicyResponse) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL