model

package
v0.0.0-...-883fa4f Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0, Apache-2.0, BSD-2-Clause, + 1 more Imports: 5 Imported by: 0

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 AllowedAddressPair

type AllowedAddressPair struct {
	IpAddress *string `json:"ip_address,omitempty"`
}

是否开启源/目的检查开关。

func (AllowedAddressPair) String

func (o AllowedAddressPair) String() string

type AttachCallbackInstanceLifeCycleHookRequest

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

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

Request Object

func (AttachCallbackInstanceLifeCycleHookRequest) String

type AttachCallbackInstanceLifeCycleHookResponse

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

Response Object

func (AttachCallbackInstanceLifeCycleHookResponse) String

type BandwidthInfo

type BandwidthInfo struct {
	Size *int32 `json:"size,omitempty"`

	ShareType BandwidthInfoShareType `json:"share_type"`

	ChargingMode *BandwidthInfoChargingMode `json:"charging_mode,omitempty"`

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

带宽信息

func (BandwidthInfo) String

func (o BandwidthInfo) String() string

type BandwidthInfoChargingMode

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

func (BandwidthInfoChargingMode) MarshalJSON

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

func (*BandwidthInfoChargingMode) UnmarshalJSON

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

type BandwidthInfoChargingModeEnum

type BandwidthInfoChargingModeEnum struct {
	BANDWIDTH BandwidthInfoChargingMode
	TRAFFIC   BandwidthInfoChargingMode
}

func GetBandwidthInfoChargingModeEnum

func GetBandwidthInfoChargingModeEnum() BandwidthInfoChargingModeEnum

type BandwidthInfoShareType

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

func (BandwidthInfoShareType) MarshalJSON

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

func (*BandwidthInfoShareType) UnmarshalJSON

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

type BandwidthInfoShareTypeEnum

type BandwidthInfoShareTypeEnum struct {
	PER   BandwidthInfoShareType
	WHOLE BandwidthInfoShareType
}

func GetBandwidthInfoShareTypeEnum

func GetBandwidthInfoShareTypeEnum() BandwidthInfoShareTypeEnum

type BandwidthResult

type BandwidthResult struct {
	Size *int32 `json:"size,omitempty"`

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

	ChargingMode *BandwidthResultChargingMode `json:"charging_mode,omitempty"`

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

带宽信息

func (BandwidthResult) String

func (o BandwidthResult) String() string

type BandwidthResultChargingMode

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

func (BandwidthResultChargingMode) MarshalJSON

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

func (*BandwidthResultChargingMode) UnmarshalJSON

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

type BandwidthResultChargingModeEnum

type BandwidthResultChargingModeEnum struct {
	BANDWIDTH BandwidthResultChargingMode
	TRAFFIC   BandwidthResultChargingMode
}

func GetBandwidthResultChargingModeEnum

func GetBandwidthResultChargingModeEnum() BandwidthResultChargingModeEnum

type BandwidthResultShareType

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

func (BandwidthResultShareType) MarshalJSON

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

func (*BandwidthResultShareType) UnmarshalJSON

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

type BandwidthResultShareTypeEnum

type BandwidthResultShareTypeEnum struct {
	PER   BandwidthResultShareType
	WHOLE BandwidthResultShareType
}

func GetBandwidthResultShareTypeEnum

func GetBandwidthResultShareTypeEnum() BandwidthResultShareTypeEnum

type BatchAddInstancesOption

type BatchAddInstancesOption struct {
	InstancesId []string `json:"instances_id"`

	InstanceDelete *BatchAddInstancesOptionInstanceDelete `json:"instance_delete,omitempty"`

	Action BatchAddInstancesOptionAction `json:"action"`

	InstanceAppend *BatchAddInstancesOptionInstanceAppend `json:"instance_append,omitempty"`
}

批量添加实例

func (BatchAddInstancesOption) String

func (o BatchAddInstancesOption) String() string

type BatchAddInstancesOptionAction

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

func (BatchAddInstancesOptionAction) MarshalJSON

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

func (*BatchAddInstancesOptionAction) UnmarshalJSON

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

type BatchAddInstancesOptionActionEnum

type BatchAddInstancesOptionActionEnum struct {
	ADD BatchAddInstancesOptionAction
}

func GetBatchAddInstancesOptionActionEnum

func GetBatchAddInstancesOptionActionEnum() BatchAddInstancesOptionActionEnum

type BatchAddInstancesOptionInstanceAppend

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

func (BatchAddInstancesOptionInstanceAppend) MarshalJSON

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

func (*BatchAddInstancesOptionInstanceAppend) UnmarshalJSON

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

type BatchAddInstancesOptionInstanceDelete

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

func (BatchAddInstancesOptionInstanceDelete) MarshalJSON

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

func (*BatchAddInstancesOptionInstanceDelete) UnmarshalJSON

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

type BatchAddScalingInstancesRequest

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

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

Request Object

func (BatchAddScalingInstancesRequest) String

type BatchAddScalingInstancesResponse

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

Response Object

func (BatchAddScalingInstancesResponse) String

type BatchDeleteScalingConfigOption

type BatchDeleteScalingConfigOption struct {
	ScalingConfigurationId []string `json:"scaling_configuration_id"`
}

批量删除伸缩配置请求

func (BatchDeleteScalingConfigOption) String

type BatchDeleteScalingConfigsRequest

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

Request Object

func (BatchDeleteScalingConfigsRequest) String

type BatchDeleteScalingConfigsResponse

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

Response Object

func (BatchDeleteScalingConfigsResponse) String

type BatchDeleteScalingPoliciesOption

type BatchDeleteScalingPoliciesOption struct {
	ScalingPolicyId []string `json:"scaling_policy_id"`

	ForceDelete *BatchDeleteScalingPoliciesOptionForceDelete `json:"force_delete,omitempty"`

	Action BatchDeleteScalingPoliciesOptionAction `json:"action"`

	DeleteAlarm *string `json:"delete_alarm,omitempty"`
}

批量操作弹性伸缩策略

func (BatchDeleteScalingPoliciesOption) String

type BatchDeleteScalingPoliciesOptionAction

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

func (BatchDeleteScalingPoliciesOptionAction) MarshalJSON

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

func (*BatchDeleteScalingPoliciesOptionAction) UnmarshalJSON

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

type BatchDeleteScalingPoliciesOptionActionEnum

type BatchDeleteScalingPoliciesOptionActionEnum struct {
	DELETE BatchDeleteScalingPoliciesOptionAction
}

func GetBatchDeleteScalingPoliciesOptionActionEnum

func GetBatchDeleteScalingPoliciesOptionActionEnum() BatchDeleteScalingPoliciesOptionActionEnum

type BatchDeleteScalingPoliciesOptionForceDelete

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

func (BatchDeleteScalingPoliciesOptionForceDelete) MarshalJSON

func (*BatchDeleteScalingPoliciesOptionForceDelete) UnmarshalJSON

type BatchDeleteScalingPoliciesRequest

type BatchDeleteScalingPoliciesRequest struct {
	Body *BatchDeleteScalingPoliciesOption `json:"body,omitempty"`
}

Request Object

func (BatchDeleteScalingPoliciesRequest) String

type BatchDeleteScalingPoliciesResponse

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

Response Object

func (BatchDeleteScalingPoliciesResponse) String

type BatchEnterStandbyInstancesOption

type BatchEnterStandbyInstancesOption struct {
	InstancesId []string `json:"instances_id"`

	InstanceDelete *BatchEnterStandbyInstancesOptionInstanceDelete `json:"instance_delete,omitempty"`

	Action BatchEnterStandbyInstancesOptionAction `json:"action"`

	InstanceAppend *BatchEnterStandbyInstancesOptionInstanceAppend `json:"instance_append,omitempty"`
}

批量将实例转入备用状态

func (BatchEnterStandbyInstancesOption) String

type BatchEnterStandbyInstancesOptionAction

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

func (BatchEnterStandbyInstancesOptionAction) MarshalJSON

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

func (*BatchEnterStandbyInstancesOptionAction) UnmarshalJSON

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

type BatchEnterStandbyInstancesOptionActionEnum

type BatchEnterStandbyInstancesOptionActionEnum struct {
	ENTER_STANDBY BatchEnterStandbyInstancesOptionAction
}

func GetBatchEnterStandbyInstancesOptionActionEnum

func GetBatchEnterStandbyInstancesOptionActionEnum() BatchEnterStandbyInstancesOptionActionEnum

type BatchEnterStandbyInstancesOptionInstanceAppend

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

func (BatchEnterStandbyInstancesOptionInstanceAppend) MarshalJSON

func (*BatchEnterStandbyInstancesOptionInstanceAppend) UnmarshalJSON

type BatchEnterStandbyInstancesOptionInstanceDelete

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

func (BatchEnterStandbyInstancesOptionInstanceDelete) MarshalJSON

func (*BatchEnterStandbyInstancesOptionInstanceDelete) UnmarshalJSON

type BatchExitStandByInstancesOption

type BatchExitStandByInstancesOption struct {
	InstancesId []string `json:"instances_id"`

	InstanceDelete *BatchExitStandByInstancesOptionInstanceDelete `json:"instance_delete,omitempty"`

	Action BatchExitStandByInstancesOptionAction `json:"action"`

	InstanceAppend *BatchExitStandByInstancesOptionInstanceAppend `json:"instance_append,omitempty"`
}

批量将实例移出备用状态

func (BatchExitStandByInstancesOption) String

type BatchExitStandByInstancesOptionAction

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

func (BatchExitStandByInstancesOptionAction) MarshalJSON

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

func (*BatchExitStandByInstancesOptionAction) UnmarshalJSON

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

type BatchExitStandByInstancesOptionActionEnum

type BatchExitStandByInstancesOptionActionEnum struct {
	EXIT_STANDBY BatchExitStandByInstancesOptionAction
}

func GetBatchExitStandByInstancesOptionActionEnum

func GetBatchExitStandByInstancesOptionActionEnum() BatchExitStandByInstancesOptionActionEnum

type BatchExitStandByInstancesOptionInstanceAppend

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

func (BatchExitStandByInstancesOptionInstanceAppend) MarshalJSON

func (*BatchExitStandByInstancesOptionInstanceAppend) UnmarshalJSON

type BatchExitStandByInstancesOptionInstanceDelete

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

func (BatchExitStandByInstancesOptionInstanceDelete) MarshalJSON

func (*BatchExitStandByInstancesOptionInstanceDelete) UnmarshalJSON

type BatchPauseScalingPoliciesOption

type BatchPauseScalingPoliciesOption struct {
	ScalingPolicyId []string `json:"scaling_policy_id"`

	ForceDelete *BatchPauseScalingPoliciesOptionForceDelete `json:"force_delete,omitempty"`

	Action BatchPauseScalingPoliciesOptionAction `json:"action"`

	DeleteAlarm *string `json:"delete_alarm,omitempty"`
}

批量操作弹性伸缩策略

func (BatchPauseScalingPoliciesOption) String

type BatchPauseScalingPoliciesOptionAction

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

func (BatchPauseScalingPoliciesOptionAction) MarshalJSON

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

func (*BatchPauseScalingPoliciesOptionAction) UnmarshalJSON

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

type BatchPauseScalingPoliciesOptionActionEnum

type BatchPauseScalingPoliciesOptionActionEnum struct {
	PAUSE BatchPauseScalingPoliciesOptionAction
}

func GetBatchPauseScalingPoliciesOptionActionEnum

func GetBatchPauseScalingPoliciesOptionActionEnum() BatchPauseScalingPoliciesOptionActionEnum

type BatchPauseScalingPoliciesOptionForceDelete

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

func (BatchPauseScalingPoliciesOptionForceDelete) MarshalJSON

func (*BatchPauseScalingPoliciesOptionForceDelete) UnmarshalJSON

type BatchPauseScalingPoliciesRequest

type BatchPauseScalingPoliciesRequest struct {
	Body *BatchPauseScalingPoliciesOption `json:"body,omitempty"`
}

Request Object

func (BatchPauseScalingPoliciesRequest) String

type BatchPauseScalingPoliciesResponse

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

Response Object

func (BatchPauseScalingPoliciesResponse) String

type BatchProtectInstancesOption

type BatchProtectInstancesOption struct {
	InstancesId []string `json:"instances_id"`

	InstanceDelete *BatchProtectInstancesOptionInstanceDelete `json:"instance_delete,omitempty"`

	Action BatchProtectInstancesOptionAction `json:"action"`

	InstanceAppend *BatchProtectInstancesOptionInstanceAppend `json:"instance_append,omitempty"`
}

批量设置实例保护

func (BatchProtectInstancesOption) String

type BatchProtectInstancesOptionAction

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

func (BatchProtectInstancesOptionAction) MarshalJSON

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

func (*BatchProtectInstancesOptionAction) UnmarshalJSON

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

type BatchProtectInstancesOptionActionEnum

type BatchProtectInstancesOptionActionEnum struct {
	PROTECT BatchProtectInstancesOptionAction
}

func GetBatchProtectInstancesOptionActionEnum

func GetBatchProtectInstancesOptionActionEnum() BatchProtectInstancesOptionActionEnum

type BatchProtectInstancesOptionInstanceAppend

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

func (BatchProtectInstancesOptionInstanceAppend) MarshalJSON

func (*BatchProtectInstancesOptionInstanceAppend) UnmarshalJSON

type BatchProtectInstancesOptionInstanceDelete

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

func (BatchProtectInstancesOptionInstanceDelete) MarshalJSON

func (*BatchProtectInstancesOptionInstanceDelete) UnmarshalJSON

type BatchProtectScalingInstancesRequest

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

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

Request Object

func (BatchProtectScalingInstancesRequest) String

type BatchProtectScalingInstancesResponse

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

Response Object

func (BatchProtectScalingInstancesResponse) String

type BatchRemoveInstancesOption

type BatchRemoveInstancesOption struct {
	InstancesId []string `json:"instances_id"`

	InstanceDelete *BatchRemoveInstancesOptionInstanceDelete `json:"instance_delete,omitempty"`

	Action BatchRemoveInstancesOptionAction `json:"action"`

	InstanceAppend *BatchRemoveInstancesOptionInstanceAppend `json:"instance_append,omitempty"`
}

批量移除实例

func (BatchRemoveInstancesOption) String

type BatchRemoveInstancesOptionAction

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

func (BatchRemoveInstancesOptionAction) MarshalJSON

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

func (*BatchRemoveInstancesOptionAction) UnmarshalJSON

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

type BatchRemoveInstancesOptionActionEnum

type BatchRemoveInstancesOptionActionEnum struct {
	REMOVE BatchRemoveInstancesOptionAction
}

func GetBatchRemoveInstancesOptionActionEnum

func GetBatchRemoveInstancesOptionActionEnum() BatchRemoveInstancesOptionActionEnum

type BatchRemoveInstancesOptionInstanceAppend

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

func (BatchRemoveInstancesOptionInstanceAppend) MarshalJSON

func (*BatchRemoveInstancesOptionInstanceAppend) UnmarshalJSON

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

type BatchRemoveInstancesOptionInstanceDelete

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

func (BatchRemoveInstancesOptionInstanceDelete) MarshalJSON

func (*BatchRemoveInstancesOptionInstanceDelete) UnmarshalJSON

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

type BatchRemoveScalingInstancesRequest

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

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

Request Object

func (BatchRemoveScalingInstancesRequest) String

type BatchRemoveScalingInstancesResponse

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

Response Object

func (BatchRemoveScalingInstancesResponse) String

type BatchResumeScalingPoliciesOption

type BatchResumeScalingPoliciesOption struct {
	ScalingPolicyId []string `json:"scaling_policy_id"`

	ForceDelete *BatchResumeScalingPoliciesOptionForceDelete `json:"force_delete,omitempty"`

	Action BatchResumeScalingPoliciesOptionAction `json:"action"`

	DeleteAlarm *string `json:"delete_alarm,omitempty"`
}

批量操作弹性伸缩策略

func (BatchResumeScalingPoliciesOption) String

type BatchResumeScalingPoliciesOptionAction

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

func (BatchResumeScalingPoliciesOptionAction) MarshalJSON

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

func (*BatchResumeScalingPoliciesOptionAction) UnmarshalJSON

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

type BatchResumeScalingPoliciesOptionActionEnum

type BatchResumeScalingPoliciesOptionActionEnum struct {
	RESUME BatchResumeScalingPoliciesOptionAction
}

func GetBatchResumeScalingPoliciesOptionActionEnum

func GetBatchResumeScalingPoliciesOptionActionEnum() BatchResumeScalingPoliciesOptionActionEnum

type BatchResumeScalingPoliciesOptionForceDelete

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

func (BatchResumeScalingPoliciesOptionForceDelete) MarshalJSON

func (*BatchResumeScalingPoliciesOptionForceDelete) UnmarshalJSON

type BatchResumeScalingPoliciesRequest

type BatchResumeScalingPoliciesRequest struct {
	Body *BatchResumeScalingPoliciesOption `json:"body,omitempty"`
}

Request Object

func (BatchResumeScalingPoliciesRequest) String

type BatchResumeScalingPoliciesResponse

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

Response Object

func (BatchResumeScalingPoliciesResponse) String

type BatchSetScalingInstancesStandbyRequest

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

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

Request Object

func (BatchSetScalingInstancesStandbyRequest) String

type BatchSetScalingInstancesStandbyResponse

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

Response Object

func (BatchSetScalingInstancesStandbyResponse) String

type BatchUnprotectInstancesOption

type BatchUnprotectInstancesOption struct {
	InstancesId []string `json:"instances_id"`

	InstanceDelete *BatchUnprotectInstancesOptionInstanceDelete `json:"instance_delete,omitempty"`

	Action BatchUnprotectInstancesOptionAction `json:"action"`

	InstanceAppend *BatchUnprotectInstancesOptionInstanceAppend `json:"instance_append,omitempty"`
}

批量取消实例保护

func (BatchUnprotectInstancesOption) String

type BatchUnprotectInstancesOptionAction

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

func (BatchUnprotectInstancesOptionAction) MarshalJSON

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

func (*BatchUnprotectInstancesOptionAction) UnmarshalJSON

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

type BatchUnprotectInstancesOptionActionEnum

type BatchUnprotectInstancesOptionActionEnum struct {
	UNPROTECT BatchUnprotectInstancesOptionAction
}

func GetBatchUnprotectInstancesOptionActionEnum

func GetBatchUnprotectInstancesOptionActionEnum() BatchUnprotectInstancesOptionActionEnum

type BatchUnprotectInstancesOptionInstanceAppend

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

func (BatchUnprotectInstancesOptionInstanceAppend) MarshalJSON

func (*BatchUnprotectInstancesOptionInstanceAppend) UnmarshalJSON

type BatchUnprotectInstancesOptionInstanceDelete

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

func (BatchUnprotectInstancesOptionInstanceDelete) MarshalJSON

func (*BatchUnprotectInstancesOptionInstanceDelete) UnmarshalJSON

type BatchUnprotectScalingInstancesRequest

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

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

Request Object

func (BatchUnprotectScalingInstancesRequest) String

type BatchUnprotectScalingInstancesResponse

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

Response Object

func (BatchUnprotectScalingInstancesResponse) String

type BatchUnsetScalingInstancesStantbyRequest

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

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

Request Object

func (BatchUnsetScalingInstancesStantbyRequest) String

type BatchUnsetScalingInstancesStantbyResponse

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

Response Object

func (BatchUnsetScalingInstancesStantbyResponse) String

type CallbackLifeCycleHookOption

type CallbackLifeCycleHookOption struct {
	LifecycleActionKey *string `json:"lifecycle_action_key,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"`

	LifecycleActionResult CallbackLifeCycleHookOptionLifecycleActionResult `json:"lifecycle_action_result"`
}

伸缩实例生命周期回调

func (CallbackLifeCycleHookOption) String

type CallbackLifeCycleHookOptionLifecycleActionResult

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

func (CallbackLifeCycleHookOptionLifecycleActionResult) MarshalJSON

func (*CallbackLifeCycleHookOptionLifecycleActionResult) UnmarshalJSON

type CreateLifeCycleHookOption

type CreateLifeCycleHookOption struct {
	LifecycleHookName string `json:"lifecycle_hook_name"`

	LifecycleHookType CreateLifeCycleHookOptionLifecycleHookType `json:"lifecycle_hook_type"`

	DefaultResult *CreateLifeCycleHookOptionDefaultResult `json:"default_result,omitempty"`

	DefaultTimeout *int32 `json:"default_timeout,omitempty"`

	NotificationTopicUrn string `json:"notification_topic_urn"`

	NotificationMetadata *string `json:"notification_metadata,omitempty"`
}

创建生命周期挂钩

func (CreateLifeCycleHookOption) String

func (o CreateLifeCycleHookOption) String() string

type CreateLifeCycleHookOptionDefaultResult

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

func (CreateLifeCycleHookOptionDefaultResult) MarshalJSON

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

func (*CreateLifeCycleHookOptionDefaultResult) UnmarshalJSON

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

type CreateLifeCycleHookOptionDefaultResultEnum

type CreateLifeCycleHookOptionDefaultResultEnum struct {
	ABANDON  CreateLifeCycleHookOptionDefaultResult
	CONTINUE CreateLifeCycleHookOptionDefaultResult
}

func GetCreateLifeCycleHookOptionDefaultResultEnum

func GetCreateLifeCycleHookOptionDefaultResultEnum() CreateLifeCycleHookOptionDefaultResultEnum

type CreateLifeCycleHookOptionLifecycleHookType

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

func (CreateLifeCycleHookOptionLifecycleHookType) MarshalJSON

func (*CreateLifeCycleHookOptionLifecycleHookType) UnmarshalJSON

type CreateLifeCycleHookOptionLifecycleHookTypeEnum

type CreateLifeCycleHookOptionLifecycleHookTypeEnum struct {
	INSTANCE_TERMINATING CreateLifeCycleHookOptionLifecycleHookType
	INSTANCE_LAUNCHING   CreateLifeCycleHookOptionLifecycleHookType
}

func GetCreateLifeCycleHookOptionLifecycleHookTypeEnum

func GetCreateLifeCycleHookOptionLifecycleHookTypeEnum() CreateLifeCycleHookOptionLifecycleHookTypeEnum

type CreateLifyCycleHookRequest

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

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

Request Object

func (CreateLifyCycleHookRequest) String

type CreateLifyCycleHookResponse

type CreateLifyCycleHookResponse struct {
	LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"`

	LifecycleHookType *CreateLifyCycleHookResponseLifecycleHookType `json:"lifecycle_hook_type,omitempty"`

	DefaultResult *CreateLifyCycleHookResponseDefaultResult `json:"default_result,omitempty"`

	DefaultTimeout *int32 `json:"default_timeout,omitempty"`

	NotificationTopicUrn *string `json:"notification_topic_urn,omitempty"`

	NotificationTopicName *string `json:"notification_topic_name,omitempty"`

	NotificationMetadata *string `json:"notification_metadata,omitempty"`

	CreateTime     *string `json:"create_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateLifyCycleHookResponse) String

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 CreateNotificationOption

type CreateNotificationOption struct {
	TopicUrn string `json:"topic_urn"`

	TopicScene []CreateNotificationOptionTopicScene `json:"topic_scene"`
}

配置伸缩组通知

func (CreateNotificationOption) String

func (o CreateNotificationOption) String() string

type CreateNotificationOptionTopicScene

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

func (CreateNotificationOptionTopicScene) MarshalJSON

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

func (*CreateNotificationOptionTopicScene) UnmarshalJSON

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

type CreateNotificationOptionTopicSceneEnum

type CreateNotificationOptionTopicSceneEnum struct {
	SCALING_UP             CreateNotificationOptionTopicScene
	SCALING_UP_FAIL        CreateNotificationOptionTopicScene
	SCALING_DOWN           CreateNotificationOptionTopicScene
	SCALING_DOWN_FAIL      CreateNotificationOptionTopicScene
	SCALING_GROUP_ABNORMAL CreateNotificationOptionTopicScene
}

func GetCreateNotificationOptionTopicSceneEnum

func GetCreateNotificationOptionTopicSceneEnum() CreateNotificationOptionTopicSceneEnum

type CreateScalingConfigOption

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

	InstanceConfig *InstanceConfig `json:"instance_config"`
}

创建伸缩配置请求

func (CreateScalingConfigOption) String

func (o CreateScalingConfigOption) String() string

type CreateScalingConfigRequest

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

Request Object

func (CreateScalingConfigRequest) String

type CreateScalingConfigResponse

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

Response Object

func (CreateScalingConfigResponse) String

type CreateScalingGroupOption

type CreateScalingGroupOption struct {
	ScalingGroupName string `json:"scaling_group_name"`

	ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"`

	DesireInstanceNumber *int32 `json:"desire_instance_number,omitempty"`

	MinInstanceNumber *int32 `json:"min_instance_number,omitempty"`

	MaxInstanceNumber *int32 `json:"max_instance_number,omitempty"`

	CoolDownTime *int32 `json:"cool_down_time,omitempty"`

	LbListenerId *string `json:"lb_listener_id,omitempty"`

	LbaasListeners *[]LbaasListeners `json:"lbaas_listeners,omitempty"`

	AvailableZones *[]string `json:"available_zones,omitempty"`

	Networks []Networks `json:"networks"`

	SecurityGroups *[]SecurityGroup `json:"security_groups,omitempty"`

	VpcId string `json:"vpc_id"`

	HealthPeriodicAuditMethod *CreateScalingGroupOptionHealthPeriodicAuditMethod `json:"health_periodic_audit_method,omitempty"`

	HealthPeriodicAuditTime *int32 `json:"health_periodic_audit_time,omitempty"`

	HealthPeriodicAuditGracePeriod *int32 `json:"health_periodic_audit_grace_period,omitempty"`

	InstanceTerminatePolicy *CreateScalingGroupOptionInstanceTerminatePolicy `json:"instance_terminate_policy,omitempty"`

	Notifications *[]string `json:"notifications,omitempty"`

	DeletePublicip *bool `json:"delete_publicip,omitempty"`

	DeleteVolume *bool `json:"delete_volume,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	MultiAzPriorityPolicy *CreateScalingGroupOptionMultiAzPriorityPolicy `json:"multi_az_priority_policy,omitempty"`

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

创建伸缩组请求

func (CreateScalingGroupOption) String

func (o CreateScalingGroupOption) String() string

type CreateScalingGroupOptionHealthPeriodicAuditMethod

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

func (CreateScalingGroupOptionHealthPeriodicAuditMethod) MarshalJSON

func (*CreateScalingGroupOptionHealthPeriodicAuditMethod) UnmarshalJSON

type CreateScalingGroupOptionInstanceTerminatePolicy

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

func (CreateScalingGroupOptionInstanceTerminatePolicy) MarshalJSON

func (*CreateScalingGroupOptionInstanceTerminatePolicy) UnmarshalJSON

type CreateScalingGroupOptionMultiAzPriorityPolicy

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

func (CreateScalingGroupOptionMultiAzPriorityPolicy) MarshalJSON

func (*CreateScalingGroupOptionMultiAzPriorityPolicy) UnmarshalJSON

type CreateScalingGroupOptionMultiAzPriorityPolicyEnum

type CreateScalingGroupOptionMultiAzPriorityPolicyEnum struct {
	EQUILIBRIUM_DISTRIBUTE CreateScalingGroupOptionMultiAzPriorityPolicy
	PICK_FIRST             CreateScalingGroupOptionMultiAzPriorityPolicy
}

func GetCreateScalingGroupOptionMultiAzPriorityPolicyEnum

func GetCreateScalingGroupOptionMultiAzPriorityPolicyEnum() CreateScalingGroupOptionMultiAzPriorityPolicyEnum

type CreateScalingGroupRequest

type CreateScalingGroupRequest struct {
	Body *CreateScalingGroupOption `json:"body,omitempty"`
}

Request Object

func (CreateScalingGroupRequest) String

func (o CreateScalingGroupRequest) String() string

type CreateScalingGroupResponse

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

Response Object

func (CreateScalingGroupResponse) String

type CreateScalingNotificationRequest

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

	Body *CreateNotificationOption `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 CreateScalingPolicyOption

type CreateScalingPolicyOption struct {
	ScalingPolicyName string `json:"scaling_policy_name"`

	ScalingGroupId string `json:"scaling_group_id"`

	ScalingPolicyType CreateScalingPolicyOptionScalingPolicyType `json:"scaling_policy_type"`

	AlarmId *string `json:"alarm_id,omitempty"`

	ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"`

	ScalingPolicyAction *ScalingPolicyActionV1 `json:"scaling_policy_action,omitempty"`

	CoolDownTime *int32 `json:"cool_down_time,omitempty"`
}

创建伸缩策略

func (CreateScalingPolicyOption) String

func (o CreateScalingPolicyOption) String() string

type CreateScalingPolicyOptionScalingPolicyType

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

func (CreateScalingPolicyOptionScalingPolicyType) MarshalJSON

func (*CreateScalingPolicyOptionScalingPolicyType) UnmarshalJSON

type CreateScalingPolicyRequest

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

Request Object

func (CreateScalingPolicyRequest) String

type CreateScalingPolicyResponse

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

Response Object

func (CreateScalingPolicyResponse) String

type CreateScalingPolicyV2Option

type CreateScalingPolicyV2Option struct {
	ScalingPolicyName string `json:"scaling_policy_name"`

	ScalingResourceId string `json:"scaling_resource_id"`

	ScalingResourceType CreateScalingPolicyV2OptionScalingResourceType `json:"scaling_resource_type"`

	ScalingPolicyType CreateScalingPolicyV2OptionScalingPolicyType `json:"scaling_policy_type"`

	AlarmId *string `json:"alarm_id,omitempty"`

	ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"`

	ScalingPolicyAction *ScalingPolicyActionV2 `json:"scaling_policy_action,omitempty"`

	CoolDownTime *int32 `json:"cool_down_time,omitempty"`

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

创建伸缩策略(V2)

func (CreateScalingPolicyV2Option) String

type CreateScalingPolicyV2OptionScalingPolicyType

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

func (CreateScalingPolicyV2OptionScalingPolicyType) MarshalJSON

func (*CreateScalingPolicyV2OptionScalingPolicyType) UnmarshalJSON

type CreateScalingPolicyV2OptionScalingResourceType

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

func (CreateScalingPolicyV2OptionScalingResourceType) MarshalJSON

func (*CreateScalingPolicyV2OptionScalingResourceType) UnmarshalJSON

type CreateScalingPolicyV2OptionScalingResourceTypeEnum

type CreateScalingPolicyV2OptionScalingResourceTypeEnum struct {
	SCALING_GROUP CreateScalingPolicyV2OptionScalingResourceType
	BANDWIDTH     CreateScalingPolicyV2OptionScalingResourceType
}

func GetCreateScalingPolicyV2OptionScalingResourceTypeEnum

func GetCreateScalingPolicyV2OptionScalingResourceTypeEnum() CreateScalingPolicyV2OptionScalingResourceTypeEnum

type CreateScalingTagInfoRequest

type CreateScalingTagInfoRequest struct {
	ResourceType CreateScalingTagInfoRequestResourceType `json:"resource_type"`

	ResourceId string `json:"resource_id"`

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

Request Object

func (CreateScalingTagInfoRequest) String

type CreateScalingTagInfoRequestResourceType

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

func (CreateScalingTagInfoRequestResourceType) MarshalJSON

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

func (*CreateScalingTagInfoRequestResourceType) UnmarshalJSON

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

type CreateScalingTagInfoRequestResourceTypeEnum

type CreateScalingTagInfoRequestResourceTypeEnum struct {
	SCALING_GROUP_TAG CreateScalingTagInfoRequestResourceType
}

func GetCreateScalingTagInfoRequestResourceTypeEnum

func GetCreateScalingTagInfoRequestResourceTypeEnum() CreateScalingTagInfoRequestResourceTypeEnum

type CreateScalingTagInfoResponse

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

Response Object

func (CreateScalingTagInfoResponse) String

type CreateScalingV2PolicyRequest

type CreateScalingV2PolicyRequest struct {
	Body *CreateScalingPolicyV2Option `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 CreateTagsOption

type CreateTagsOption struct {
	Tags []TagsSingleValue `json:"tags"`

	Action CreateTagsOptionAction `json:"action"`
}

标签列表

func (CreateTagsOption) String

func (o CreateTagsOption) String() string

type CreateTagsOptionAction

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

func (CreateTagsOptionAction) MarshalJSON

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

func (*CreateTagsOptionAction) UnmarshalJSON

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

type CreateTagsOptionActionEnum

type CreateTagsOptionActionEnum struct {
	CREATE CreateTagsOptionAction
}

func GetCreateTagsOptionActionEnum

func GetCreateTagsOptionActionEnum() CreateTagsOptionActionEnum

type DeleteLifecycleHookRequest

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

	LifecycleHookName string `json:"lifecycle_hook_name"`
}

Request Object

func (DeleteLifecycleHookRequest) String

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 {
	YES DeleteScalingGroupRequestForceDelete
	NO  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 DeleteScalingTagInfoRequest

type DeleteScalingTagInfoRequest struct {
	ResourceType DeleteScalingTagInfoRequestResourceType `json:"resource_type"`

	ResourceId string `json:"resource_id"`

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

Request Object

func (DeleteScalingTagInfoRequest) String

type DeleteScalingTagInfoRequestResourceType

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

func (DeleteScalingTagInfoRequestResourceType) MarshalJSON

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

func (*DeleteScalingTagInfoRequestResourceType) UnmarshalJSON

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

type DeleteScalingTagInfoRequestResourceTypeEnum

type DeleteScalingTagInfoRequestResourceTypeEnum struct {
	SCALING_GROUP_TAG DeleteScalingTagInfoRequestResourceType
}

func GetDeleteScalingTagInfoRequestResourceTypeEnum

func GetDeleteScalingTagInfoRequestResourceTypeEnum() DeleteScalingTagInfoRequestResourceTypeEnum

type DeleteScalingTagInfoResponse

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

Response Object

func (DeleteScalingTagInfoResponse) String

type DeleteTagsOption

type DeleteTagsOption struct {
	Tags []TagsSingleValue `json:"tags"`

	Action DeleteTagsOptionAction `json:"action"`
}

标签列表

func (DeleteTagsOption) String

func (o DeleteTagsOption) String() string

type DeleteTagsOptionAction

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

func (DeleteTagsOptionAction) MarshalJSON

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

func (*DeleteTagsOptionAction) UnmarshalJSON

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

type DeleteTagsOptionActionEnum

type DeleteTagsOptionActionEnum struct {
	DELETE DeleteTagsOptionAction
}

func GetDeleteTagsOptionActionEnum

func GetDeleteTagsOptionActionEnum() DeleteTagsOptionActionEnum

type DiskInfo

type DiskInfo struct {
	Size int32 `json:"size"`

	VolumeType DiskInfoVolumeType `json:"volume_type"`

	DiskType DiskInfoDiskType `json:"disk_type"`

	DedicatedStorageId *string `json:"dedicated_storage_id,omitempty"`

	DataDiskImageId *string `json:"data_disk_image_id,omitempty"`

	SnapshotId *string `json:"snapshot_id,omitempty"`

	Metadata *MetaData `json:"metadata,omitempty"`
}

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

func (DiskInfo) String

func (o DiskInfo) String() string

type DiskInfoDiskType

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

func (DiskInfoDiskType) MarshalJSON

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

func (*DiskInfoDiskType) UnmarshalJSON

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

type DiskInfoDiskTypeEnum

type DiskInfoDiskTypeEnum struct {
	SYS  DiskInfoDiskType
	DATA DiskInfoDiskType
}

func GetDiskInfoDiskTypeEnum

func GetDiskInfoDiskTypeEnum() DiskInfoDiskTypeEnum

type DiskInfoVolumeType

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

func (DiskInfoVolumeType) MarshalJSON

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

func (*DiskInfoVolumeType) UnmarshalJSON

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

type DiskInfoVolumeTypeEnum

type DiskInfoVolumeTypeEnum struct {
	SATA  DiskInfoVolumeType
	SAS   DiskInfoVolumeType
	SSD   DiskInfoVolumeType
	CO_PL DiskInfoVolumeType
	UH_11 DiskInfoVolumeType
}

func GetDiskInfoVolumeTypeEnum

func GetDiskInfoVolumeTypeEnum() DiskInfoVolumeTypeEnum

type DiskResult

type DiskResult struct {
	Size *int32 `json:"size,omitempty"`

	VolumeType *DiskResultVolumeType `json:"volume_type,omitempty"`

	DiskType *DiskResultDiskType `json:"disk_type,omitempty"`

	DedicatedStorageId *string `json:"dedicated_storage_id,omitempty"`

	DataDiskImageId *string `json:"data_disk_image_id,omitempty"`

	SnapshotId *string `json:"snapshot_id,omitempty"`

	Metadata *MetaData `json:"metadata,omitempty"`
}

磁盘信息

func (DiskResult) String

func (o DiskResult) String() string

type DiskResultDiskType

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

func (DiskResultDiskType) MarshalJSON

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

func (*DiskResultDiskType) UnmarshalJSON

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

type DiskResultDiskTypeEnum

type DiskResultDiskTypeEnum struct {
	SYS  DiskResultDiskType
	DATA DiskResultDiskType
}

func GetDiskResultDiskTypeEnum

func GetDiskResultDiskTypeEnum() DiskResultDiskTypeEnum

type DiskResultVolumeType

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

func (DiskResultVolumeType) MarshalJSON

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

func (*DiskResultVolumeType) UnmarshalJSON

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

type DiskResultVolumeTypeEnum

type DiskResultVolumeTypeEnum struct {
	SATA  DiskResultVolumeType
	SAS   DiskResultVolumeType
	SSD   DiskResultVolumeType
	CO_PL DiskResultVolumeType
	UH_11 DiskResultVolumeType
}

func GetDiskResultVolumeTypeEnum

func GetDiskResultVolumeTypeEnum() DiskResultVolumeTypeEnum

type EipInfo

type EipInfo struct {
	IpType EipInfoIpType `json:"ip_type"`

	Bandwidth *BandwidthInfo `json:"bandwidth"`
}

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

func (EipInfo) String

func (o EipInfo) String() string

type EipInfoIpType

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

func (EipInfoIpType) MarshalJSON

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

func (*EipInfoIpType) UnmarshalJSON

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

type EipInfoIpTypeEnum

type EipInfoIpTypeEnum struct {
	E_5_BGP    EipInfoIpType
	E_5_SBGP   EipInfoIpType
	E_5_TELCOM EipInfoIpType
	E_5_UNION  EipInfoIpType
}

func GetEipInfoIpTypeEnum

func GetEipInfoIpTypeEnum() EipInfoIpTypeEnum

type EipMetaData

type EipMetaData struct {
	MetadataBandwidthShareType *string `json:"metadata_bandwidth_share_type,omitempty"`

	MetadataEipId *string `json:"metadata_eip_id,omitempty"`

	MetadataeipAddress *string `json:"metadataeip_address,omitempty"`
}

用户自定义键值对

func (EipMetaData) String

func (o EipMetaData) String() string

type EipResult

type EipResult struct {
	IpType *EipResultIpType `json:"ip_type,omitempty"`

	Bandwidth *BandwidthResult `json:"bandwidth,omitempty"`
}

eip信息

func (EipResult) String

func (o EipResult) String() string

type EipResultIpType

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

func (EipResultIpType) MarshalJSON

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

func (*EipResultIpType) UnmarshalJSON

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

type EipResultIpTypeEnum

type EipResultIpTypeEnum struct {
	E_5_BGP    EipResultIpType
	E_5_SBGP   EipResultIpType
	E_5_TELCOM EipResultIpType
	E_5_UNION  EipResultIpType
}

func GetEipResultIpTypeEnum

func GetEipResultIpTypeEnum() EipResultIpTypeEnum

type ExecuteScalingPolicyOption

type ExecuteScalingPolicyOption struct {
	Action ExecuteScalingPolicyOptionAction `json:"action"`
}

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

func (ExecuteScalingPolicyOption) String

type ExecuteScalingPolicyOptionAction

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

func (ExecuteScalingPolicyOptionAction) MarshalJSON

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

func (*ExecuteScalingPolicyOptionAction) UnmarshalJSON

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

type ExecuteScalingPolicyOptionActionEnum

type ExecuteScalingPolicyOptionActionEnum struct {
	EXECUTE ExecuteScalingPolicyOptionAction
}

func GetExecuteScalingPolicyOptionActionEnum

func GetExecuteScalingPolicyOptionActionEnum() ExecuteScalingPolicyOptionActionEnum

type ExecuteScalingPolicyRequest

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

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

Request Object

func (ExecuteScalingPolicyRequest) String

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 *[]DiskInfo `json:"disk,omitempty"`

	KeyName *string `json:"key_name,omitempty"`

	Personality *[]PersonalityInfo `json:"personality,omitempty"`

	PublicIp *PublicIp `json:"public_ip,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	Metadata *VmMetaData `json:"metadata,omitempty"`

	SecurityGroups []SecurityGroups `json:"security_groups"`

	ServerGroupId *string `json:"server_group_id,omitempty"`

	Tenancy *InstanceConfigTenancy `json:"tenancy,omitempty"`

	DedicatedHostId *string `json:"dedicated_host_id,omitempty"`

	MultiFlavorPriorityPolicy *InstanceConfigMultiFlavorPriorityPolicy `json:"multi_flavor_priority_policy,omitempty"`

	MarketType *InstanceConfigMarketType `json:"market_type,omitempty"`
}

实例配置信息

func (InstanceConfig) String

func (o InstanceConfig) String() string

type InstanceConfigMarketType

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

func (InstanceConfigMarketType) MarshalJSON

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

func (*InstanceConfigMarketType) UnmarshalJSON

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

type InstanceConfigMarketTypeEnum

type InstanceConfigMarketTypeEnum struct {
	SPOT InstanceConfigMarketType
}

func GetInstanceConfigMarketTypeEnum

func GetInstanceConfigMarketTypeEnum() InstanceConfigMarketTypeEnum

type InstanceConfigMultiFlavorPriorityPolicy

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

func (InstanceConfigMultiFlavorPriorityPolicy) MarshalJSON

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

func (*InstanceConfigMultiFlavorPriorityPolicy) UnmarshalJSON

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

type InstanceConfigMultiFlavorPriorityPolicyEnum

type InstanceConfigMultiFlavorPriorityPolicyEnum struct {
	PICK_FIRST InstanceConfigMultiFlavorPriorityPolicy
	COST_FIRST InstanceConfigMultiFlavorPriorityPolicy
}

func GetInstanceConfigMultiFlavorPriorityPolicyEnum

func GetInstanceConfigMultiFlavorPriorityPolicyEnum() InstanceConfigMultiFlavorPriorityPolicyEnum

type InstanceConfigResult

type InstanceConfigResult struct {
	FlavorRef *string `json:"flavorRef,omitempty"`

	ImageRef *string `json:"imageRef,omitempty"`

	Disk *[]DiskResult `json:"disk,omitempty"`

	KeyName *string `json:"key_name,omitempty"`

	KeyFingerprint *string `json:"key_fingerprint,omitempty"`

	InstanceName *string `json:"instance_name,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	AdminPass *string `json:"adminPass,omitempty"`

	Personality *[]PersonalityResult `json:"personality,omitempty"`

	PublicIp *PublicipResult `json:"public_ip,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	Metadata *VmMetaData `json:"metadata,omitempty"`

	SecurityGroups *[]SecurityGroups `json:"security_groups,omitempty"`

	ServerGroupId *string `json:"server_group_id,omitempty"`

	Tenancy *string `json:"tenancy,omitempty"`

	DedicatedHostId *string `json:"dedicated_host_id,omitempty"`

	MarketType *string `json:"market_type,omitempty"`

	MultiFlavorPriorityPolicy *string `json:"multi_flavor_priority_policy,omitempty"`
}

实例配置信息

func (InstanceConfigResult) String

func (o InstanceConfigResult) String() string

type InstanceConfigTenancy

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

func (InstanceConfigTenancy) MarshalJSON

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

func (*InstanceConfigTenancy) UnmarshalJSON

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

type InstanceConfigTenancyEnum

type InstanceConfigTenancyEnum struct {
	DEDICATED InstanceConfigTenancy
}

func GetInstanceConfigTenancyEnum

func GetInstanceConfigTenancyEnum() InstanceConfigTenancyEnum

type InstanceHangingInfos

type InstanceHangingInfos struct {
	LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"`

	LifecycleActionKey *string `json:"lifecycle_action_key,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	ScalingGroupId *string `json:"scaling_group_id,omitempty"`

	LifecycleHookStatus *InstanceHangingInfosLifecycleHookStatus `json:"lifecycle_hook_status,omitempty"`

	Timeout *string `json:"timeout,omitempty"`

	DefaultResult *string `json:"default_result,omitempty"`
}

挂钩实例信息

func (InstanceHangingInfos) String

func (o InstanceHangingInfos) String() string

type InstanceHangingInfosLifecycleHookStatus

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

func (InstanceHangingInfosLifecycleHookStatus) MarshalJSON

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

func (*InstanceHangingInfosLifecycleHookStatus) UnmarshalJSON

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

type Ipv6Bandwidth

type Ipv6Bandwidth struct {
	Id string `json:"id"`
}

IPv6信息

func (Ipv6Bandwidth) String

func (o Ipv6Bandwidth) String() string

type JobRecords

type JobRecords struct {
	JobName *string `json:"job_name,omitempty"`

	RecordType *JobRecordsRecordType `json:"record_type,omitempty"`

	RecordTime *string `json:"record_time,omitempty"`

	Request *string `json:"request,omitempty"`

	Response *string `json:"response,omitempty"`

	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	JobStatus *JobRecordsJobStatus `json:"job_status,omitempty"`
}

策略执行动作包含的具体任务

func (JobRecords) String

func (o JobRecords) String() string

type JobRecordsJobStatus

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

func (JobRecordsJobStatus) MarshalJSON

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

func (*JobRecordsJobStatus) UnmarshalJSON

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

type JobRecordsJobStatusEnum

type JobRecordsJobStatusEnum struct {
	SUCCESS JobRecordsJobStatus
	FAIL    JobRecordsJobStatus
}

func GetJobRecordsJobStatusEnum

func GetJobRecordsJobStatusEnum() JobRecordsJobStatusEnum

type JobRecordsRecordType

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

func (JobRecordsRecordType) MarshalJSON

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

func (*JobRecordsRecordType) UnmarshalJSON

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

type JobRecordsRecordTypeEnum

type JobRecordsRecordTypeEnum struct {
	API JobRecordsRecordType
	MEG JobRecordsRecordType
}

func GetJobRecordsRecordTypeEnum

func GetJobRecordsRecordTypeEnum() JobRecordsRecordTypeEnum

type LbaasListener

type LbaasListener struct {
	ListenerId *string `json:"listener_id,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

	ProtocolPort *int32 `json:"protocol_port,omitempty"`

	Weight *int32 `json:"weight,omitempty"`
}

增强型负载均衡器信息

func (LbaasListener) String

func (o LbaasListener) String() string

type LbaasListeners

type LbaasListeners struct {
	PoolId string `json:"pool_id"`

	ProtocolPort int32 `json:"protocol_port"`

	Weight int32 `json:"weight"`
}

增强型负载均衡器

func (LbaasListeners) String

func (o LbaasListeners) String() string

type LbaasListenersResult

type LbaasListenersResult struct {
	ListenerId *string `json:"listener_id,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

	ProtocolPort *int32 `json:"protocol_port,omitempty"`

	Weight *int32 `json:"weight,omitempty"`
}

增强型负载均衡器信息

func (LbaasListenersResult) String

func (o LbaasListenersResult) String() string

type LifecycleHookList

type LifecycleHookList struct {
	LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"`

	LifecycleHookType *LifecycleHookListLifecycleHookType `json:"lifecycle_hook_type,omitempty"`

	DefaultResult *LifecycleHookListDefaultResult `json:"default_result,omitempty"`

	DefaultTimeout *int32 `json:"default_timeout,omitempty"`

	NotificationTopicUrn *string `json:"notification_topic_urn,omitempty"`

	NotificationTopicName *string `json:"notification_topic_name,omitempty"`

	NotificationMetadata *string `json:"notification_metadata,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`
}

生命周期挂钩

func (LifecycleHookList) String

func (o LifecycleHookList) String() string

type LifecycleHookListDefaultResult

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

func (LifecycleHookListDefaultResult) MarshalJSON

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

func (*LifecycleHookListDefaultResult) UnmarshalJSON

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

type LifecycleHookListDefaultResultEnum

type LifecycleHookListDefaultResultEnum struct {
	ABANDON  LifecycleHookListDefaultResult
	CONTINUE LifecycleHookListDefaultResult
}

func GetLifecycleHookListDefaultResultEnum

func GetLifecycleHookListDefaultResultEnum() LifecycleHookListDefaultResultEnum

type LifecycleHookListLifecycleHookType

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

func (LifecycleHookListLifecycleHookType) MarshalJSON

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

func (*LifecycleHookListLifecycleHookType) UnmarshalJSON

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

type LifecycleHookListLifecycleHookTypeEnum

type LifecycleHookListLifecycleHookTypeEnum struct {
	INSTANCE_TERMINATING LifecycleHookListLifecycleHookType
	INSTANCE_LAUNCHING   LifecycleHookListLifecycleHookType
}

func GetLifecycleHookListLifecycleHookTypeEnum

func GetLifecycleHookListLifecycleHookTypeEnum() LifecycleHookListLifecycleHookTypeEnum
type Links struct {
	Href *string `json:"href,omitempty"`

	Rel *string `json:"rel,omitempty"`
}

func (Links) String

func (o Links) String() string

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 ListApiVersionsRequest

type ListApiVersionsRequest struct {
}

Request Object

func (ListApiVersionsRequest) String

func (o ListApiVersionsRequest) String() string

type ListApiVersionsResponse

type ListApiVersionsResponse struct {
	Versions       *[]VersionInfo `json:"versions,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListApiVersionsResponse) String

func (o ListApiVersionsResponse) String() string

type ListHookInstancesRequest

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

	InstanceId *string `json:"instance_id,omitempty"`
}

Request Object

func (ListHookInstancesRequest) String

func (o ListHookInstancesRequest) String() string

type ListHookInstancesResponse

type ListHookInstancesResponse struct {
	InstanceHangingInfo *[]InstanceHangingInfos `json:"instance_hanging_info,omitempty"`
	HttpStatusCode      int                     `json:"-"`
}

Response Object

func (ListHookInstancesResponse) String

func (o ListHookInstancesResponse) String() string

type ListLifeCycleHooksRequest

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

Request Object

func (ListLifeCycleHooksRequest) String

func (o ListLifeCycleHooksRequest) String() string

type ListLifeCycleHooksResponse

type ListLifeCycleHooksResponse struct {
	LifecycleHooks *[]LifecycleHookList `json:"lifecycle_hooks,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListLifeCycleHooksResponse) String

type ListResourceInstancesRequest

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

	Body *QueryTagsOption `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         *string `json:"marker,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListResourceInstancesResponse) String

type ListScalingActivityLogsRequest

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

	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	StartNumber *int32 `json:"start_number,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListScalingActivityLogsRequest) String

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

	LogId *string `json:"log_id,omitempty"`

	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	StartNumber *int32 `json:"start_number,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Type *ListScalingActivityV2LogsRequestType `json:"type,omitempty"`

	Status *ListScalingActivityV2LogsRequestStatus `json:"status,omitempty"`
}

Request Object

func (ListScalingActivityV2LogsRequest) String

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

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

Request Object

func (ListScalingGroupsRequest) String

func (o ListScalingGroupsRequest) String() string

type ListScalingGroupsRequestScalingGroupStatus

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

func (ListScalingGroupsRequestScalingGroupStatus) MarshalJSON

func (*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 *[]ScalingV1PolicyDetail `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 *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	StartNumber *int32 `json:"start_number,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListScalingPolicyExecuteLogsRequest) String

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

	Value string `json:"value"`
}

func (Matches) String

func (o Matches) String() string

type MetaData

type MetaData struct {
	SystemEncrypted *string `json:"__system__encrypted,omitempty"`

	SystemCmkid *string `json:"__system__cmkid,omitempty"`
}

创建磁盘的元数据

func (MetaData) String

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

	AllowedAddressPairs *[]AllowedAddressPair `json:"allowed_address_pairs,omitempty"`
}

网络信息

func (Networks) String

func (o Networks) String() string

type NetworksResult

type NetworksResult struct {
	Id *string `json:"id,omitempty"`

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

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

	AllowedAddressPairs *[]AllowedAddressPair `json:"allowed_address_pairs,omitempty"`
}

网络信息

func (NetworksResult) String

func (o NetworksResult) String() string

type PauseScalingGroupOption

type PauseScalingGroupOption struct {
	Action PauseScalingGroupOptionAction `json:"action"`
}

启停伸缩组请求

func (PauseScalingGroupOption) String

func (o PauseScalingGroupOption) String() string

type PauseScalingGroupOptionAction

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

func (PauseScalingGroupOptionAction) MarshalJSON

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

func (*PauseScalingGroupOptionAction) UnmarshalJSON

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

type PauseScalingGroupOptionActionEnum

type PauseScalingGroupOptionActionEnum struct {
	PAUSE PauseScalingGroupOptionAction
}

func GetPauseScalingGroupOptionActionEnum

func GetPauseScalingGroupOptionActionEnum() PauseScalingGroupOptionActionEnum

type PauseScalingGroupRequest

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

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

Request Object

func (PauseScalingGroupRequest) String

func (o PauseScalingGroupRequest) String() string

type PauseScalingGroupResponse

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

Response Object

func (PauseScalingGroupResponse) String

func (o PauseScalingGroupResponse) String() string

type PauseScalingPolicyOption

type PauseScalingPolicyOption struct {
	Action PauseScalingPolicyOptionAction `json:"action"`
}

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

func (PauseScalingPolicyOption) String

func (o PauseScalingPolicyOption) String() string

type PauseScalingPolicyOptionAction

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

func (PauseScalingPolicyOptionAction) MarshalJSON

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

func (*PauseScalingPolicyOptionAction) UnmarshalJSON

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

type PauseScalingPolicyOptionActionEnum

type PauseScalingPolicyOptionActionEnum struct {
	PAUSE PauseScalingPolicyOptionAction
}

func GetPauseScalingPolicyOptionActionEnum

func GetPauseScalingPolicyOptionActionEnum() PauseScalingPolicyOptionActionEnum

type PauseScalingPolicyRequest

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

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

Request Object

func (PauseScalingPolicyRequest) String

func (o PauseScalingPolicyRequest) String() string

type PauseScalingPolicyResponse

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

Response Object

func (PauseScalingPolicyResponse) String

type PersonalityInfo

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

	Content string `json:"content"`
}

注入文件信息。仅支持注入文本文件,最大支持注入5个文件,每个文件最大1KB。

func (PersonalityInfo) String

func (o PersonalityInfo) String() string

type PersonalityResult

type PersonalityResult struct {
	Path *string `json:"path,omitempty"`

	Content *string `json:"content,omitempty"`
}

个人信息

func (PersonalityResult) String

func (o PersonalityResult) String() string

type PolicyInstanceQuotas

type PolicyInstanceQuotas struct {
	Resources *[]PolicyInstanceResources `json:"resources,omitempty"`
}

配额列表

func (PolicyInstanceQuotas) String

func (o PolicyInstanceQuotas) String() string

type PolicyInstanceResources

type PolicyInstanceResources struct {
	Type *string `json:"type,omitempty"`

	Used *int32 `json:"used,omitempty"`

	Quota *int32 `json:"quota,omitempty"`

	Max *int32 `json:"max,omitempty"`
}

配额资源

func (PolicyInstanceResources) String

func (o PolicyInstanceResources) String() string

type PublicIp

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

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

func (PublicIp) String

func (o PublicIp) String() string

type PublicipResult

type PublicipResult struct {
	Eip *EipResult `json:"eip,omitempty"`
}

弹性IP信息

func (PublicipResult) String

func (o PublicipResult) String() string

type QueryTagsOption

type QueryTagsOption struct {
	Tags *[]TagsMultiValue `json:"tags,omitempty"`

	TagsAny *[]TagsMultiValue `json:"tags_any,omitempty"`

	NotTags *[]TagsMultiValue `json:"not_tags,omitempty"`

	NotTagsAny *[]TagsMultiValue `json:"not_tags_any,omitempty"`

	Limit *string `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	Action QueryTagsOptionAction `json:"action"`

	Offset *string `json:"offset,omitempty"`

	Matches *[]Matches `json:"matches,omitempty"`
}

请求正常

func (QueryTagsOption) String

func (o QueryTagsOption) String() string

type QueryTagsOptionAction

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

func (QueryTagsOptionAction) MarshalJSON

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

func (*QueryTagsOptionAction) UnmarshalJSON

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

type QueryTagsOptionActionEnum

type QueryTagsOptionActionEnum struct {
	FILTER QueryTagsOptionAction
	COUNT  QueryTagsOptionAction
}

func GetQueryTagsOptionActionEnum

func GetQueryTagsOptionActionEnum() QueryTagsOptionActionEnum

type ResourceTags

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

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

func (ResourceTags) String

func (o ResourceTags) String() string

type Resources

type Resources struct {
	ResourceId *string `json:"resource_id,omitempty"`

	ResourceDetail *string `json:"resource_detail,omitempty"`

	Tags *[]ResourceTags `json:"tags,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`
}

func (Resources) String

func (o Resources) String() string

type ResumeScalingGroupOption

type ResumeScalingGroupOption struct {
	Action ResumeScalingGroupOptionAction `json:"action"`
}

启停伸缩组请求

func (ResumeScalingGroupOption) String

func (o ResumeScalingGroupOption) String() string

type ResumeScalingGroupOptionAction

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

func (ResumeScalingGroupOptionAction) MarshalJSON

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

func (*ResumeScalingGroupOptionAction) UnmarshalJSON

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

type ResumeScalingGroupOptionActionEnum

type ResumeScalingGroupOptionActionEnum struct {
	RESUME ResumeScalingGroupOptionAction
}

func GetResumeScalingGroupOptionActionEnum

func GetResumeScalingGroupOptionActionEnum() ResumeScalingGroupOptionActionEnum

type ResumeScalingGroupRequest

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

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

Request Object

func (ResumeScalingGroupRequest) String

func (o ResumeScalingGroupRequest) String() string

type ResumeScalingGroupResponse

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

Response Object

func (ResumeScalingGroupResponse) String

type ResumeScalingPolicyOption

type ResumeScalingPolicyOption struct {
	Action ResumeScalingPolicyOptionAction `json:"action"`
}

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

func (ResumeScalingPolicyOption) String

func (o ResumeScalingPolicyOption) String() string

type ResumeScalingPolicyOptionAction

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

func (ResumeScalingPolicyOptionAction) MarshalJSON

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

func (*ResumeScalingPolicyOptionAction) UnmarshalJSON

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

type ResumeScalingPolicyOptionActionEnum

type ResumeScalingPolicyOptionActionEnum struct {
	RESUME ResumeScalingPolicyOptionAction
}

func GetResumeScalingPolicyOptionActionEnum

func GetResumeScalingPolicyOptionActionEnum() ResumeScalingPolicyOptionActionEnum

type ResumeScalingPolicyRequest

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

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

Request Object

func (ResumeScalingPolicyRequest) String

type ResumeScalingPolicyResponse

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

Response Object

func (ResumeScalingPolicyResponse) String

type ScalingActivityLogList

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

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

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

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

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

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

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

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

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

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

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

伸缩活动日志列表。

func (ScalingActivityLogList) String

func (o ScalingActivityLogList) String() string

type ScalingActivityLogListStatus

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

func (ScalingActivityLogListStatus) MarshalJSON

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

func (*ScalingActivityLogListStatus) UnmarshalJSON

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

type ScalingActivityLogListStatusEnum

type ScalingActivityLogListStatusEnum struct {
	SUCCESS ScalingActivityLogListStatus
	FAIL    ScalingActivityLogListStatus
	DING    ScalingActivityLogListStatus
}

func GetScalingActivityLogListStatusEnum

func GetScalingActivityLogListStatusEnum() ScalingActivityLogListStatusEnum

type ScalingActivityLogV2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Type *string `json:"type,omitempty"`
}

伸缩活动日志列表。

func (ScalingActivityLogV2) String

func (o ScalingActivityLogV2) String() string

type ScalingActivityLogV2Status

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

func (ScalingActivityLogV2Status) MarshalJSON

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

func (*ScalingActivityLogV2Status) UnmarshalJSON

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

type ScalingActivityLogV2StatusEnum

type ScalingActivityLogV2StatusEnum struct {
	SUCCESS ScalingActivityLogV2Status
	FAIL    ScalingActivityLogV2Status
	DING    ScalingActivityLogV2Status
}

func GetScalingActivityLogV2StatusEnum

func GetScalingActivityLogV2StatusEnum() ScalingActivityLogV2StatusEnum

type ScalingAllPolicyDetail

type ScalingAllPolicyDetail struct {
	ScalingPolicyName *string `json:"scaling_policy_name,omitempty"`

	ScalingPolicyId *string `json:"scaling_policy_id,omitempty"`

	ScalingResourceId *string `json:"scaling_resource_id,omitempty"`

	ScalingResourceType *ScalingAllPolicyDetailScalingResourceType `json:"scaling_resource_type,omitempty"`

	PolicyStatus *ScalingAllPolicyDetailPolicyStatus `json:"policy_status,omitempty"`

	ScalingPolicyType *ScalingAllPolicyDetailScalingPolicyType `json:"scaling_policy_type,omitempty"`

	AlarmId *string `json:"alarm_id,omitempty"`

	ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"`

	ScalingPolicyAction *ScalingPolicyActionV2 `json:"scaling_policy_action,omitempty"`

	CoolDownTime *int32 `json:"cool_down_time,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	MetaData *ScalingPolicyV2MetaData `json:"meta_data,omitempty"`

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

伸缩策略

func (ScalingAllPolicyDetail) String

func (o ScalingAllPolicyDetail) String() string

type ScalingAllPolicyDetailPolicyStatus

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

func (ScalingAllPolicyDetailPolicyStatus) MarshalJSON

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

func (*ScalingAllPolicyDetailPolicyStatus) UnmarshalJSON

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

type ScalingAllPolicyDetailPolicyStatusEnum

type ScalingAllPolicyDetailPolicyStatusEnum struct {
	INSERVICE ScalingAllPolicyDetailPolicyStatus
	PAUSED    ScalingAllPolicyDetailPolicyStatus
	EXECUTING ScalingAllPolicyDetailPolicyStatus
}

func GetScalingAllPolicyDetailPolicyStatusEnum

func GetScalingAllPolicyDetailPolicyStatusEnum() ScalingAllPolicyDetailPolicyStatusEnum

type ScalingAllPolicyDetailScalingPolicyType

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

func (ScalingAllPolicyDetailScalingPolicyType) MarshalJSON

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

func (*ScalingAllPolicyDetailScalingPolicyType) UnmarshalJSON

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

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

	ScalingGroupId *string `json:"scaling_group_id,omitempty"`
}

伸缩配置详情

func (ScalingConfiguration) String

func (o ScalingConfiguration) String() string

type ScalingGroupInstance

type ScalingGroupInstance struct {
	InstanceId *string `json:"instance_id,omitempty"`

	InstanceName *string `json:"instance_name,omitempty"`

	ScalingGroupId *string `json:"scaling_group_id,omitempty"`

	ScalingGroupName *string `json:"scaling_group_name,omitempty"`

	LifeCycleState *ScalingGroupInstanceLifeCycleState `json:"life_cycle_state,omitempty"`

	HealthStatus *ScalingGroupInstanceHealthStatus `json:"health_status,omitempty"`

	ScalingConfigurationName *string `json:"scaling_configuration_name,omitempty"`

	ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	ProtectFromScalingDown *bool `json:"protect_from_scaling_down,omitempty"`
}

伸缩组实例详情

func (ScalingGroupInstance) String

func (o ScalingGroupInstance) String() string

type ScalingGroupInstanceHealthStatus

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

func (ScalingGroupInstanceHealthStatus) MarshalJSON

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

func (*ScalingGroupInstanceHealthStatus) UnmarshalJSON

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

type ScalingGroupInstanceHealthStatusEnum

type ScalingGroupInstanceHealthStatusEnum struct {
	NORMAL       ScalingGroupInstanceHealthStatus
	ERROR        ScalingGroupInstanceHealthStatus
	INITAILIZING ScalingGroupInstanceHealthStatus
}

func GetScalingGroupInstanceHealthStatusEnum

func GetScalingGroupInstanceHealthStatusEnum() ScalingGroupInstanceHealthStatusEnum

type ScalingGroupInstanceLifeCycleState

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

func (ScalingGroupInstanceLifeCycleState) MarshalJSON

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

func (*ScalingGroupInstanceLifeCycleState) UnmarshalJSON

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

type ScalingGroups

type ScalingGroups struct {
	ScalingGroupName *string `json:"scaling_group_name,omitempty"`

	ScalingGroupId *string `json:"scaling_group_id,omitempty"`

	ScalingGroupStatus *ScalingGroupsScalingGroupStatus `json:"scaling_group_status,omitempty"`

	ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"`

	ScalingConfigurationName *string `json:"scaling_configuration_name,omitempty"`

	CurrentInstanceNumber *int32 `json:"current_instance_number,omitempty"`

	DesireInstanceNumber *int32 `json:"desire_instance_number,omitempty"`

	MinInstanceNumber *int32 `json:"min_instance_number,omitempty"`

	MaxInstanceNumber *int32 `json:"max_instance_number,omitempty"`

	CoolDownTime *int32 `json:"cool_down_time,omitempty"`

	LbListenerId *string `json:"lb_listener_id,omitempty"`

	LbaasListeners *[]LbaasListenersResult `json:"lbaas_listeners,omitempty"`

	AvailableZones *[]string `json:"available_zones,omitempty"`

	Networks *[]NetworksResult `json:"networks,omitempty"`

	SecurityGroups *[]SecurityGroupsResult `json:"security_groups,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	Detail *string `json:"detail,omitempty"`

	IsScaling *bool `json:"is_scaling,omitempty"`

	HealthPeriodicAuditMethod *ScalingGroupsHealthPeriodicAuditMethod `json:"health_periodic_audit_method,omitempty"`

	HealthPeriodicAuditTime *int32 `json:"health_periodic_audit_time,omitempty"`

	HealthPeriodicAuditGracePeriod *int32 `json:"health_periodic_audit_grace_period,omitempty"`

	InstanceTerminatePolicy *ScalingGroupsInstanceTerminatePolicy `json:"instance_terminate_policy,omitempty"`

	Notifications *[]string `json:"notifications,omitempty"`

	DeletePublicip *bool `json:"delete_publicip,omitempty"`

	DeleteVolume *bool `json:"delete_volume,omitempty"`

	CloudLocationId *string `json:"cloud_location_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	ActivityType *string `json:"activity_type,omitempty"`

	MultiAzPriorityPolicy *string `json:"multi_az_priority_policy,omitempty"`

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

伸缩组详情

func (ScalingGroups) String

func (o ScalingGroups) String() string

type ScalingGroupsHealthPeriodicAuditMethod

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

func (ScalingGroupsHealthPeriodicAuditMethod) MarshalJSON

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

func (*ScalingGroupsHealthPeriodicAuditMethod) UnmarshalJSON

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

type ScalingGroupsHealthPeriodicAuditMethodEnum

type ScalingGroupsHealthPeriodicAuditMethodEnum struct {
	ELB_AUDIT  ScalingGroupsHealthPeriodicAuditMethod
	NOVA_AUDIT ScalingGroupsHealthPeriodicAuditMethod
}

func GetScalingGroupsHealthPeriodicAuditMethodEnum

func GetScalingGroupsHealthPeriodicAuditMethodEnum() ScalingGroupsHealthPeriodicAuditMethodEnum

type ScalingGroupsInstanceTerminatePolicy

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

func (ScalingGroupsInstanceTerminatePolicy) MarshalJSON

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

func (*ScalingGroupsInstanceTerminatePolicy) UnmarshalJSON

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

type ScalingGroupsInstanceTerminatePolicyEnum

type ScalingGroupsInstanceTerminatePolicyEnum struct {
	OLD_CONFIG_OLD_INSTANCE ScalingGroupsInstanceTerminatePolicy
	OLD_CONFIG_NEW_INSTANCE ScalingGroupsInstanceTerminatePolicy
	OLD_INSTANCE            ScalingGroupsInstanceTerminatePolicy
	NEW_INSTANCE            ScalingGroupsInstanceTerminatePolicy
}

func GetScalingGroupsInstanceTerminatePolicyEnum

func GetScalingGroupsInstanceTerminatePolicyEnum() ScalingGroupsInstanceTerminatePolicyEnum

type ScalingGroupsScalingGroupStatus

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

func (ScalingGroupsScalingGroupStatus) MarshalJSON

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

func (*ScalingGroupsScalingGroupStatus) UnmarshalJSON

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

type ScalingInstance

type ScalingInstance struct {
	InstanceName *string `json:"instance_name,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	FailedReason *string `json:"failed_reason,omitempty"`

	FailedDetails *string `json:"failed_details,omitempty"`

	InstanceConfig *string `json:"instance_config,omitempty"`
}

伸缩实例。

func (ScalingInstance) String

func (o ScalingInstance) String() string

type ScalingPoliciesV2

type ScalingPoliciesV2 struct {
	ScalingPolicyName *string `json:"scaling_policy_name,omitempty"`

	ScalingPolicyId *string `json:"scaling_policy_id,omitempty"`

	ScalingResourceId *string `json:"scaling_resource_id,omitempty"`

	ScalingResourceType *ScalingPoliciesV2ScalingResourceType `json:"scaling_resource_type,omitempty"`

	PolicyStatus *ScalingPoliciesV2PolicyStatus `json:"policy_status,omitempty"`

	ScalingPolicyType *ScalingPoliciesV2ScalingPolicyType `json:"scaling_policy_type,omitempty"`

	AlarmId *string `json:"alarm_id,omitempty"`

	ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"`

	ScalingPolicyAction *ScalingPolicyActionV2 `json:"scaling_policy_action,omitempty"`

	CoolDownTime *int32 `json:"cool_down_time,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	MetaData *ScalingPolicyV2MetaData `json:"meta_data,omitempty"`

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

伸缩策略

func (ScalingPoliciesV2) String

func (o ScalingPoliciesV2) String() string

type ScalingPoliciesV2PolicyStatus

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

func (ScalingPoliciesV2PolicyStatus) MarshalJSON

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

func (*ScalingPoliciesV2PolicyStatus) UnmarshalJSON

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

type ScalingPoliciesV2PolicyStatusEnum

type ScalingPoliciesV2PolicyStatusEnum struct {
	INSERVICE ScalingPoliciesV2PolicyStatus
	PAUSED    ScalingPoliciesV2PolicyStatus
	EXECUTING ScalingPoliciesV2PolicyStatus
}

func GetScalingPoliciesV2PolicyStatusEnum

func GetScalingPoliciesV2PolicyStatusEnum() ScalingPoliciesV2PolicyStatusEnum

type ScalingPoliciesV2ScalingPolicyType

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

func (ScalingPoliciesV2ScalingPolicyType) MarshalJSON

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

func (*ScalingPoliciesV2ScalingPolicyType) UnmarshalJSON

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

type ScalingPoliciesV2ScalingPolicyTypeEnum

type ScalingPoliciesV2ScalingPolicyTypeEnum struct {
	ALARM      ScalingPoliciesV2ScalingPolicyType
	SCHEDULED  ScalingPoliciesV2ScalingPolicyType
	RECURRENCE ScalingPoliciesV2ScalingPolicyType
}

func GetScalingPoliciesV2ScalingPolicyTypeEnum

func GetScalingPoliciesV2ScalingPolicyTypeEnum() ScalingPoliciesV2ScalingPolicyTypeEnum

type ScalingPoliciesV2ScalingResourceType

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

func (ScalingPoliciesV2ScalingResourceType) MarshalJSON

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

func (*ScalingPoliciesV2ScalingResourceType) UnmarshalJSON

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

type ScalingPoliciesV2ScalingResourceTypeEnum

type ScalingPoliciesV2ScalingResourceTypeEnum struct {
	SCALING_GROUP ScalingPoliciesV2ScalingResourceType
	BANDWIDTH     ScalingPoliciesV2ScalingResourceType
}

func GetScalingPoliciesV2ScalingResourceTypeEnum

func GetScalingPoliciesV2ScalingResourceTypeEnum() ScalingPoliciesV2ScalingResourceTypeEnum

type ScalingPolicyActionV1

type ScalingPolicyActionV1 struct {
	Operation *ScalingPolicyActionV1Operation `json:"operation,omitempty"`

	InstanceNumber *int32 `json:"instance_number,omitempty"`

	InstancePercentage *int32 `json:"instance_percentage,omitempty"`
}

策略执行具体动作

func (ScalingPolicyActionV1) String

func (o ScalingPolicyActionV1) String() string

type ScalingPolicyActionV1Operation

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

func (ScalingPolicyActionV1Operation) MarshalJSON

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

func (*ScalingPolicyActionV1Operation) UnmarshalJSON

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

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

type ScalingPolicyExecuteLogList struct {
	Status *ScalingPolicyExecuteLogListStatus `json:"status,omitempty"`

	FailedReason *string `json:"failed_reason,omitempty"`

	ExecuteType *ScalingPolicyExecuteLogListExecuteType `json:"execute_type,omitempty"`

	ExecuteTime *string `json:"execute_time,omitempty"`

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

	TenantId *string `json:"tenant_id,omitempty"`

	ScalingPolicyId *string `json:"scaling_policy_id,omitempty"`

	ScalingResourceType *ScalingPolicyExecuteLogListScalingResourceType `json:"scaling_resource_type,omitempty"`

	ScalingResourceId *string `json:"scaling_resource_id,omitempty"`

	OldValue *string `json:"old_value,omitempty"`

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

	LimitValue *string `json:"limit_value,omitempty"`

	Type *ScalingPolicyExecuteLogListType `json:"type,omitempty"`

	JobRecords *[]JobRecords `json:"job_records,omitempty"`

	MetaData *EipMetaData `json:"meta_data,omitempty"`
}

伸缩策略执行日志列表

func (ScalingPolicyExecuteLogList) String

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 ScalingPolicyV2MetaData

type ScalingPolicyV2MetaData struct {
	MetadataBandwidthShareType *string `json:"metadata_bandwidth_share_type,omitempty"`

	MetadataEipId *string `json:"metadata_eip_id,omitempty"`

	MetadataEipAddress *string `json:"metadata_eip_address,omitempty"`
}

附件信息

func (ScalingPolicyV2MetaData) String

func (o ScalingPolicyV2MetaData) String() string

type ScalingV1PolicyDetail

type ScalingV1PolicyDetail struct {
	ScalingGroupId *string `json:"scaling_group_id,omitempty"`

	ScalingPolicyName *string `json:"scaling_policy_name,omitempty"`

	ScalingPolicyId *string `json:"scaling_policy_id,omitempty"`

	PolicyStatus *string `json:"policy_status,omitempty"`

	ScalingPolicyType *ScalingV1PolicyDetailScalingPolicyType `json:"scaling_policy_type,omitempty"`

	AlarmId *string `json:"alarm_id,omitempty"`

	ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"`

	ScalingPolicyAction *ScalingPolicyActionV1 `json:"scaling_policy_action,omitempty"`

	CoolDownTime *int32 `json:"cool_down_time,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`
}

伸缩策略

func (ScalingV1PolicyDetail) String

func (o ScalingV1PolicyDetail) String() string

type ScalingV1PolicyDetailScalingPolicyType

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

func (ScalingV1PolicyDetailScalingPolicyType) MarshalJSON

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

func (*ScalingV1PolicyDetailScalingPolicyType) UnmarshalJSON

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

type ScalingV2PolicyDetail

type ScalingV2PolicyDetail struct {
	ScalingPolicyName *string `json:"scaling_policy_name,omitempty"`

	ScalingPolicyId *string `json:"scaling_policy_id,omitempty"`

	ScalingResourceId *string `json:"scaling_resource_id,omitempty"`

	ScalingResourceType *ScalingV2PolicyDetailScalingResourceType `json:"scaling_resource_type,omitempty"`

	PolicyStatus *ScalingV2PolicyDetailPolicyStatus `json:"policy_status,omitempty"`

	ScalingPolicyType *ScalingV2PolicyDetailScalingPolicyType `json:"scaling_policy_type,omitempty"`

	AlarmId *string `json:"alarm_id,omitempty"`

	ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"`

	ScalingPolicyAction *ScalingPolicyActionV2 `json:"scaling_policy_action,omitempty"`

	CoolDownTime *int32 `json:"cool_down_time,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	MetaData *ScalingPolicyV2MetaData `json:"meta_data,omitempty"`

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

伸缩策略详情

func (ScalingV2PolicyDetail) String

func (o ScalingV2PolicyDetail) String() string

type ScalingV2PolicyDetailPolicyStatus

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

func (ScalingV2PolicyDetailPolicyStatus) MarshalJSON

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

func (*ScalingV2PolicyDetailPolicyStatus) UnmarshalJSON

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

type ScalingV2PolicyDetailPolicyStatusEnum

type ScalingV2PolicyDetailPolicyStatusEnum struct {
	INSERVICE ScalingV2PolicyDetailPolicyStatus
	PAUSED    ScalingV2PolicyDetailPolicyStatus
	EXECUTING ScalingV2PolicyDetailPolicyStatus
}

func GetScalingV2PolicyDetailPolicyStatusEnum

func GetScalingV2PolicyDetailPolicyStatusEnum() ScalingV2PolicyDetailPolicyStatusEnum

type ScalingV2PolicyDetailScalingPolicyType

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

func (ScalingV2PolicyDetailScalingPolicyType) MarshalJSON

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

func (*ScalingV2PolicyDetailScalingPolicyType) UnmarshalJSON

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

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

	RecurrenceType *ScheduledPolicyRecurrenceType `json:"recurrence_type,omitempty"`

	RecurrenceValue *string `json:"recurrence_value,omitempty"`

	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`
}

定时、周期任务策略

func (ScheduledPolicy) String

func (o ScheduledPolicy) String() string

type ScheduledPolicyRecurrenceType

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

func (ScheduledPolicyRecurrenceType) MarshalJSON

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

func (*ScheduledPolicyRecurrenceType) UnmarshalJSON

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

type ScheduledPolicyRecurrenceTypeEnum

type ScheduledPolicyRecurrenceTypeEnum struct {
	DAILY   ScheduledPolicyRecurrenceType
	WEEKLY  ScheduledPolicyRecurrenceType
	MONTHLY ScheduledPolicyRecurrenceType
}

func GetScheduledPolicyRecurrenceTypeEnum

func GetScheduledPolicyRecurrenceTypeEnum() ScheduledPolicyRecurrenceTypeEnum

type SecurityGroup

type SecurityGroup struct {
	Id string `json:"id"`
}

安全组信息

func (SecurityGroup) String

func (o SecurityGroup) String() string

type SecurityGroups

type SecurityGroups struct {
	Id string `json:"id"`
}

安全组信息

func (SecurityGroups) String

func (o SecurityGroups) String() string

type SecurityGroupsResult

type SecurityGroupsResult struct {
	Id *string `json:"id,omitempty"`
}

安全组信息

func (SecurityGroupsResult) String

func (o SecurityGroupsResult) String() string

type ShowApiVersionRequest

type ShowApiVersionRequest struct {
	ApiVersion ShowApiVersionRequestApiVersion `json:"api_version"`
}

Request Object

func (ShowApiVersionRequest) String

func (o ShowApiVersionRequest) String() string

type ShowApiVersionRequestApiVersion

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

func (ShowApiVersionRequestApiVersion) MarshalJSON

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

func (*ShowApiVersionRequestApiVersion) UnmarshalJSON

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

type ShowApiVersionRequestApiVersionEnum

type ShowApiVersionRequestApiVersionEnum struct {
	V1 ShowApiVersionRequestApiVersion
	V2 ShowApiVersionRequestApiVersion
}

func GetShowApiVersionRequestApiVersionEnum

func GetShowApiVersionRequestApiVersionEnum() ShowApiVersionRequestApiVersionEnum

type ShowApiVersionResponse

type ShowApiVersionResponse struct {
	Version        *VersionInfo `json:"version,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowApiVersionResponse) String

func (o ShowApiVersionResponse) String() string

type ShowLifeCycleHookRequest

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

	LifecycleHookName string `json:"lifecycle_hook_name"`
}

Request Object

func (ShowLifeCycleHookRequest) String

func (o ShowLifeCycleHookRequest) String() string

type ShowLifeCycleHookResponse

type ShowLifeCycleHookResponse struct {
	LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"`

	LifecycleHookType *ShowLifeCycleHookResponseLifecycleHookType `json:"lifecycle_hook_type,omitempty"`

	DefaultResult *ShowLifeCycleHookResponseDefaultResult `json:"default_result,omitempty"`

	DefaultTimeout *int32 `json:"default_timeout,omitempty"`

	NotificationTopicUrn *string `json:"notification_topic_urn,omitempty"`

	NotificationTopicName *string `json:"notification_topic_name,omitempty"`

	NotificationMetadata *string `json:"notification_metadata,omitempty"`

	CreateTime     *string `json:"create_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowLifeCycleHookResponse) String

func (o ShowLifeCycleHookResponse) String() string

type ShowLifeCycleHookResponseDefaultResult

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

func (ShowLifeCycleHookResponseDefaultResult) MarshalJSON

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

func (*ShowLifeCycleHookResponseDefaultResult) UnmarshalJSON

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

type ShowLifeCycleHookResponseDefaultResultEnum

type ShowLifeCycleHookResponseDefaultResultEnum struct {
	ABANDON  ShowLifeCycleHookResponseDefaultResult
	CONTINUE ShowLifeCycleHookResponseDefaultResult
}

func GetShowLifeCycleHookResponseDefaultResultEnum

func GetShowLifeCycleHookResponseDefaultResultEnum() ShowLifeCycleHookResponseDefaultResultEnum

type ShowLifeCycleHookResponseLifecycleHookType

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

func (ShowLifeCycleHookResponseLifecycleHookType) MarshalJSON

func (*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 {
	Quotas         *PolicyInstanceQuotas `json:"quotas,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  *ScalingV1PolicyDetail `json:"scaling_policy,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowScalingPolicyResponse) String

func (o ShowScalingPolicyResponse) String() string

type ShowScalingV2PolicyRequest

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

Request Object

func (ShowScalingV2PolicyRequest) String

type ShowScalingV2PolicyResponse

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

Response Object

func (ShowScalingV2PolicyResponse) String

type TagsMultiValue

type TagsMultiValue struct {
	Key string `json:"key"`

	Values []string `json:"values"`
}

func (TagsMultiValue) String

func (o TagsMultiValue) String() string

type TagsSingleValue

type TagsSingleValue struct {
	Key string `json:"key"`

	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 UpdateLifeCycleHookOption

type UpdateLifeCycleHookOption struct {
	LifecycleHookType *UpdateLifeCycleHookOptionLifecycleHookType `json:"lifecycle_hook_type,omitempty"`

	DefaultResult *UpdateLifeCycleHookOptionDefaultResult `json:"default_result,omitempty"`

	DefaultTimeout *int32 `json:"default_timeout,omitempty"`

	NotificationTopicUrn *string `json:"notification_topic_urn,omitempty"`

	NotificationMetadata *string `json:"notification_metadata,omitempty"`
}

修改生命周期挂钩

func (UpdateLifeCycleHookOption) String

func (o UpdateLifeCycleHookOption) String() string

type UpdateLifeCycleHookOptionDefaultResult

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

func (UpdateLifeCycleHookOptionDefaultResult) MarshalJSON

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

func (*UpdateLifeCycleHookOptionDefaultResult) UnmarshalJSON

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

type UpdateLifeCycleHookOptionDefaultResultEnum

type UpdateLifeCycleHookOptionDefaultResultEnum struct {
	ABANDON  UpdateLifeCycleHookOptionDefaultResult
	CONTINUE UpdateLifeCycleHookOptionDefaultResult
}

func GetUpdateLifeCycleHookOptionDefaultResultEnum

func GetUpdateLifeCycleHookOptionDefaultResultEnum() UpdateLifeCycleHookOptionDefaultResultEnum

type UpdateLifeCycleHookOptionLifecycleHookType

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

func (UpdateLifeCycleHookOptionLifecycleHookType) MarshalJSON

func (*UpdateLifeCycleHookOptionLifecycleHookType) UnmarshalJSON

type UpdateLifeCycleHookOptionLifecycleHookTypeEnum

type UpdateLifeCycleHookOptionLifecycleHookTypeEnum struct {
	INSTANCE_TERMINATING UpdateLifeCycleHookOptionLifecycleHookType
	INSTANCE_LAUNCHING   UpdateLifeCycleHookOptionLifecycleHookType
}

func GetUpdateLifeCycleHookOptionLifecycleHookTypeEnum

func GetUpdateLifeCycleHookOptionLifecycleHookTypeEnum() UpdateLifeCycleHookOptionLifecycleHookTypeEnum

type UpdateLifeCycleHookRequest

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

	LifecycleHookName string `json:"lifecycle_hook_name"`

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

Request Object

func (UpdateLifeCycleHookRequest) String

type UpdateLifeCycleHookResponse

type UpdateLifeCycleHookResponse struct {
	LifecycleHookName *string `json:"lifecycle_hook_name,omitempty"`

	LifecycleHookType *UpdateLifeCycleHookResponseLifecycleHookType `json:"lifecycle_hook_type,omitempty"`

	DefaultResult *UpdateLifeCycleHookResponseDefaultResult `json:"default_result,omitempty"`

	DefaultTimeout *int32 `json:"default_timeout,omitempty"`

	NotificationTopicUrn *string `json:"notification_topic_urn,omitempty"`

	NotificationTopicName *string `json:"notification_topic_name,omitempty"`

	NotificationMetadata *string `json:"notification_metadata,omitempty"`

	CreateTime     *string `json:"create_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateLifeCycleHookResponse) String

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 UpdateScalingGroupOption

type UpdateScalingGroupOption struct {
	ScalingGroupName *string `json:"scaling_group_name,omitempty"`

	DesireInstanceNumber *int32 `json:"desire_instance_number,omitempty"`

	MinInstanceNumber *int32 `json:"min_instance_number,omitempty"`

	MaxInstanceNumber *int32 `json:"max_instance_number,omitempty"`

	CoolDownTime *int32 `json:"cool_down_time,omitempty"`

	AvailableZones *[]string `json:"available_zones,omitempty"`

	Networks *[]Networks `json:"networks,omitempty"`

	SecurityGroups *[]SecurityGroup `json:"security_groups,omitempty"`

	LbListenerId *string `json:"lb_listener_id,omitempty"`

	LbaasListeners *[]LbaasListeners `json:"lbaas_listeners,omitempty"`

	HealthPeriodicAuditMethod *UpdateScalingGroupOptionHealthPeriodicAuditMethod `json:"health_periodic_audit_method,omitempty"`

	HealthPeriodicAuditTime *int32 `json:"health_periodic_audit_time,omitempty"`

	HealthPeriodicAuditGracePeriod *int32 `json:"health_periodic_audit_grace_period,omitempty"`

	InstanceTerminatePolicy *UpdateScalingGroupOptionInstanceTerminatePolicy `json:"instance_terminate_policy,omitempty"`

	ScalingConfigurationId *string `json:"scaling_configuration_id,omitempty"`

	Notifications *[]string `json:"notifications,omitempty"`

	DeletePublicip *bool `json:"delete_publicip,omitempty"`

	DeleteVolume *bool `json:"delete_volume,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	MultiAzPriorityPolicy *string `json:"multi_az_priority_policy,omitempty"`

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

修改伸缩组详情

func (UpdateScalingGroupOption) String

func (o UpdateScalingGroupOption) String() string

type UpdateScalingGroupOptionHealthPeriodicAuditMethod

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

func (UpdateScalingGroupOptionHealthPeriodicAuditMethod) MarshalJSON

func (*UpdateScalingGroupOptionHealthPeriodicAuditMethod) UnmarshalJSON

type UpdateScalingGroupOptionInstanceTerminatePolicy

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

func (UpdateScalingGroupOptionInstanceTerminatePolicy) MarshalJSON

func (*UpdateScalingGroupOptionInstanceTerminatePolicy) UnmarshalJSON

type UpdateScalingGroupRequest

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

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

Request Object

func (UpdateScalingGroupRequest) String

func (o UpdateScalingGroupRequest) String() string

type UpdateScalingGroupResponse

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

Response Object

func (UpdateScalingGroupResponse) String

type UpdateScalingPolicyOption

type UpdateScalingPolicyOption struct {
	ScalingPolicyName *string `json:"scaling_policy_name,omitempty"`

	ScalingPolicyType *UpdateScalingPolicyOptionScalingPolicyType `json:"scaling_policy_type,omitempty"`

	AlarmId *string `json:"alarm_id,omitempty"`

	ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"`

	ScalingPolicyAction *ScalingPolicyActionV1 `json:"scaling_policy_action,omitempty"`

	CoolDownTime *int32 `json:"cool_down_time,omitempty"`
}

修改伸缩策略

func (UpdateScalingPolicyOption) String

func (o UpdateScalingPolicyOption) String() string

type UpdateScalingPolicyOptionScalingPolicyType

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

func (UpdateScalingPolicyOptionScalingPolicyType) MarshalJSON

func (*UpdateScalingPolicyOptionScalingPolicyType) UnmarshalJSON

type UpdateScalingPolicyRequest

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

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

Request Object

func (UpdateScalingPolicyRequest) String

type UpdateScalingPolicyResponse

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

Response Object

func (UpdateScalingPolicyResponse) String

type UpdateScalingV2PolicyOption

type UpdateScalingV2PolicyOption struct {
	ScalingPolicyName *string `json:"scaling_policy_name,omitempty"`

	ScalingResourceId *string `json:"scaling_resource_id,omitempty"`

	ScalingResourceType *UpdateScalingV2PolicyOptionScalingResourceType `json:"scaling_resource_type,omitempty"`

	ScalingPolicyType *UpdateScalingV2PolicyOptionScalingPolicyType `json:"scaling_policy_type,omitempty"`

	AlarmId *string `json:"alarm_id,omitempty"`

	ScheduledPolicy *ScheduledPolicy `json:"scheduled_policy,omitempty"`

	ScalingPolicyAction *ScalingPolicyActionV2 `json:"scaling_policy_action,omitempty"`

	CoolDownTime *int32 `json:"cool_down_time,omitempty"`

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

修改伸缩策略

func (UpdateScalingV2PolicyOption) String

type UpdateScalingV2PolicyOptionScalingPolicyType

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

func (UpdateScalingV2PolicyOptionScalingPolicyType) MarshalJSON

func (*UpdateScalingV2PolicyOptionScalingPolicyType) UnmarshalJSON

type UpdateScalingV2PolicyOptionScalingResourceType

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

func (UpdateScalingV2PolicyOptionScalingResourceType) MarshalJSON

func (*UpdateScalingV2PolicyOptionScalingResourceType) UnmarshalJSON

type UpdateScalingV2PolicyOptionScalingResourceTypeEnum

type UpdateScalingV2PolicyOptionScalingResourceTypeEnum struct {
	SCALING_GROUP UpdateScalingV2PolicyOptionScalingResourceType
	BANDWIDTH     UpdateScalingV2PolicyOptionScalingResourceType
}

func GetUpdateScalingV2PolicyOptionScalingResourceTypeEnum

func GetUpdateScalingV2PolicyOptionScalingResourceTypeEnum() UpdateScalingV2PolicyOptionScalingResourceTypeEnum

type UpdateScalingV2PolicyRequest

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

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

Request Object

func (UpdateScalingV2PolicyRequest) String

type UpdateScalingV2PolicyResponse

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

Response Object

func (UpdateScalingV2PolicyResponse) String

type VersionInfo

type VersionInfo struct {
	Id *VersionInfoId `json:"id,omitempty"`

	Links *[]Links `json:"links,omitempty"`

	MinVersion *string `json:"min_version,omitempty"`

	Status *VersionInfoStatus `json:"status,omitempty"`

	Update *sdktime.SdkTime `json:"update,omitempty"`

	Version *string `json:"version,omitempty"`
}

func (VersionInfo) String

func (o VersionInfo) String() string

type VersionInfoId

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

func (VersionInfoId) MarshalJSON

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

func (*VersionInfoId) UnmarshalJSON

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

type VersionInfoIdEnum

type VersionInfoIdEnum struct {
	V1 VersionInfoId
	V2 VersionInfoId
}

func GetVersionInfoIdEnum

func GetVersionInfoIdEnum() VersionInfoIdEnum

type VersionInfoStatus

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

func (VersionInfoStatus) MarshalJSON

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

func (*VersionInfoStatus) UnmarshalJSON

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

type VersionInfoStatusEnum

type VersionInfoStatusEnum struct {
	CURRENT    VersionInfoStatus
	SUPPORT    VersionInfoStatus
	DEPRECATED VersionInfoStatus
}

func GetVersionInfoStatusEnum

func GetVersionInfoStatusEnum() VersionInfoStatusEnum

type VmMetaData

type VmMetaData struct {
	AdminPass *string `json:"admin_pass,omitempty"`
}

云服务器元数据

func (VmMetaData) String

func (o VmMetaData) String() string

Source Files

Jump to

Keyboard shortcuts

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