vautoscaling

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT, MIT Imports: 23 Imported by: 0

README

Go API client for vautoscaling

VPC Auto Scaling 관련 API<br/>https://ncloud.apigw.ntruss.com/vautoscaling/v2

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 2021-01-21T11:15:08Z
  • Package version: 1.0.1
  • Build package: io.swagger.codegen.languages.NcpGoForNcloudClientCodegen

Installation

Put the package under your project folder and add the following in import:

"./vautoscaling"

Documentation for API Endpoints

All URIs are relative to https://ncloud.apigw.ntruss.com/vautoscaling/v2

Class Method HTTP request Description
V2Api CreateAutoScalingGroup Post /createAutoScalingGroup
V2Api CreateLaunchConfiguration Post /createLaunchConfiguration
V2Api DeleteAutoScalingGroup Post /deleteAutoScalingGroup
V2Api DeleteLaunchConfiguration Post /deleteLaunchConfiguration
V2Api DeleteScalingPolicy Post /deleteScalingPolicy
V2Api DeleteScheduledAction Post /deleteScheduledAction
V2Api ExecutePolicy Post /executePolicy
V2Api GetAdjustmentTypeList Post /getAdjustmentTypeList
V2Api GetAutoScalingActivityLogList Post /getAutoScalingActivityLogList
V2Api GetAutoScalingGroupDetail Post /getAutoScalingGroupDetail
V2Api GetAutoScalingGroupList Post /getAutoScalingGroupList
V2Api GetAutoScalingPolicyList Post /getAutoScalingPolicyList
V2Api GetLaunchConfigurationDetail Post /getLaunchConfigurationDetail
V2Api GetLaunchConfigurationList Post /getLaunchConfigurationList
V2Api GetScalingProcessTypeList Post /getScalingProcessTypeList
V2Api GetScheduledActionList Post /getScheduledActionList
V2Api PutScalingPolicy Post /putScalingPolicy
V2Api PutScheduledUpdateGroupAction Post /putScheduledUpdateGroupAction
V2Api ResumeProcesses Post /resumeProcesses
V2Api SetDesiredCapacity Post /setDesiredCapacity
V2Api SuspendProcesses Post /suspendProcesses
V2Api UpdateAutoScalingGroup Post /updateAutoScalingGroup

Documentation For Models

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func NewConfiguration

func NewConfiguration(apiKeys ...*ncloud.APIKey) *ncloud.Configuration

Types

type APIClient

type APIClient struct {

	// API Services
	V2Api *V2ApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the vautoscaling API v2021-01-21T11:15:08Z In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *ncloud.Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type ActivityLog

type ActivityLog struct {

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo,omitempty"`

	// 액티비티번호
	ActivityNo *string `json:"activityNo,omitempty"`

	// 서버인스턴스번호
	ServerInstanceNo *string `json:"serverInstanceNo,omitempty"`

	// ZONE코드
	ZoneCode *string `json:"zoneCode,omitempty"`

	// 액션이름
	ActionName *string `json:"actionName,omitempty"`

	// 액션상태
	ActionStatus *CommonCode `json:"actionStatus,omitempty"`

	// 액션원인
	ActionCause *string `json:"actionCause,omitempty"`

	// 액션설명
	ActionDescription *string `json:"actionDescription,omitempty"`

	// 시작일시
	StartTime *string `json:"startTime,omitempty"`

	// 종료일시
	EndTime *string `json:"endTime,omitempty"`
}

type AdjustmentType

type AdjustmentType struct {

	// 코드
	Code *string `json:"code,omitempty"`

	// 코드이름
	CodeName *string `json:"codeName,omitempty"`
}

type AutoScalingGroup

type AutoScalingGroup struct {

	// VPC번호
	VpcNo *string `json:"vpcNo,omitempty"`

	// 서브넷번호
	SubnetNo *string `json:"subnetNo,omitempty"`

	// 서버이름Prefix
	ServerNamePrefix *string `json:"serverNamePrefix,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo,omitempty"`

	// 오토스케일링그룹이름
	AutoScalingGroupName *string `json:"autoScalingGroupName,omitempty"`

	// 론치설정번호
	LaunchConfigurationNo *string `json:"launchConfigurationNo,omitempty"`

	// 최소용량
	MinSize *int32 `json:"minSize,omitempty"`

	// 최대용량
	MaxSize *int32 `json:"maxSize,omitempty"`

	// 기대용량
	DesiredCapacity *int32 `json:"desiredCapacity,omitempty"`

	// 쿨다운기본값
	DefaultCoolDown *int32 `json:"defaultCoolDown,omitempty"`

	// 헬스체크보류기간
	HealthCheckGracePeriod *int32 `json:"healthCheckGracePeriod,omitempty"`

	// 헬스체크유형
	HealthCheckType *CommonCode `json:"healthCheckType,omitempty"`

	// 생성일시
	CreateDate *string `json:"createDate,omitempty"`

	// 오토스케일링그룹상태
	AutoScalingGroupStatus *CommonCode `json:"autoScalingGroupStatus,omitempty"`

	// 타겟그룹번호리스트
	TargetGroupNoList []*string `json:"targetGroupNoList,omitempty"`

	// 오토스케일링그룹에속한서버인스턴스리스트
	InAutoScalingGroupServerInstanceList []*InAutoScalingGroupServerInstance `json:"inAutoScalingGroupServerInstanceList,omitempty"`

	// ACG번호리스트
	AccessControlGroupNoList []*string `json:"accessControlGroupNoList,omitempty"`

	// 일시정지된프로세스리스트
	SuspendedProcessList []*SuspendedProcess `json:"suspendedProcessList,omitempty"`
}

type CommonCode

type CommonCode struct {

	// 코드
	Code *string `json:"code,omitempty"`

	// 코드명
	CodeName *string `json:"codeName,omitempty"`
}

type CreateAutoScalingGroupRequest

type CreateAutoScalingGroupRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 론치설정번호
	LaunchConfigurationNo *string `json:"launchConfigurationNo"`

	// 오토스케일링그룹이름
	AutoScalingGroupName *string `json:"autoScalingGroupName,omitempty"`

	// VPC번호
	VpcNo *string `json:"vpcNo"`

	// 서브넷번호
	SubnetNo *string `json:"subnetNo"`

	// ACG번호리스트
	AccessControlGroupNoList []*string `json:"accessControlGroupNoList"`

	// 서버이름Prefix
	ServerNamePrefix *string `json:"serverNamePrefix,omitempty"`

	// 최소용량
	MinSize *int32 `json:"minSize"`

	// 최대용량
	MaxSize *int32 `json:"maxSize"`

	// 기대용량
	DesiredCapacity *int32 `json:"desiredCapacity,omitempty"`

	// 쿨다운기본값
	DefaultCoolDown *int32 `json:"defaultCoolDown,omitempty"`

	// 헬스체크보류기간
	HealthCheckGracePeriod *int32 `json:"healthCheckGracePeriod,omitempty"`

	// 헬스체크유형코드
	HealthCheckTypeCode *string `json:"healthCheckTypeCode,omitempty"`

	// 타겟그룹번호리스트
	TargetGroupNoList []*string `json:"targetGroupNoList,omitempty"`
}

type CreateAutoScalingGroupResponse

type CreateAutoScalingGroupResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	AutoScalingGroupList []*AutoScalingGroup `json:"autoScalingGroupList,omitempty"`
}

type CreateLaunchConfigurationRequest

type CreateLaunchConfigurationRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 서버이미지상품코드
	ServerImageProductCode *string `json:"serverImageProductCode,omitempty"`

	// 회원서버이미지인스턴스번호
	MemberServerImageInstanceNo *string `json:"memberServerImageInstanceNo,omitempty"`

	// 서버상품코드
	ServerProductCode *string `json:"serverProductCode,omitempty"`

	// 볼륨암호화여부
	IsEncryptedVolume *bool `json:"isEncryptedVolume,omitempty"`

	// 초기화스크립트번호
	InitScriptNo *string `json:"initScriptNo,omitempty"`

	// 론치설정이름
	LaunchConfigurationName *string `json:"launchConfigurationName,omitempty"`

	// 로그인키이름
	LoginKeyName *string `json:"loginKeyName,omitempty"`
}

type CreateLaunchConfigurationResponse

type CreateLaunchConfigurationResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	LaunchConfigurationList []*LaunchConfiguration `json:"launchConfigurationList,omitempty"`
}

type DeleteAutoScalingGroupRequest

type DeleteAutoScalingGroupRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`
}

type DeleteAutoScalingGroupResponse

type DeleteAutoScalingGroupResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	AutoScalingGroupList []*AutoScalingGroup `json:"autoScalingGroupList,omitempty"`
}

type DeleteLaunchConfigurationRequest

type DeleteLaunchConfigurationRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 론치설정번호
	LaunchConfigurationNo *string `json:"launchConfigurationNo"`
}

type DeleteLaunchConfigurationResponse

type DeleteLaunchConfigurationResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	LaunchConfigurationList []*LaunchConfiguration `json:"launchConfigurationList,omitempty"`
}

type DeleteScalingPolicyRequest

type DeleteScalingPolicyRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 정책번호
	PolicyNo *string `json:"policyNo"`
}

type DeleteScalingPolicyResponse

type DeleteScalingPolicyResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	ScalingPolicyList []*ScalingPolicy `json:"scalingPolicyList,omitempty"`
}

type DeleteScheduledActionRequest

type DeleteScheduledActionRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 스케쥴액션번호
	ScheduledActionNo *string `json:"scheduledActionNo"`
}

type DeleteScheduledActionResponse

type DeleteScheduledActionResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	ScheduledUpdateGroupActionList []*ScheduledUpdateGroupAction `json:"scheduledUpdateGroupActionList,omitempty"`
}

type ExecutePolicyRequest

type ExecutePolicyRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 정책번호
	PolicyNo *string `json:"policyNo"`
}

type ExecutePolicyResponse

type ExecutePolicyResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	ScalingPolicyList []*ScalingPolicy `json:"scalingPolicyList,omitempty"`
}

type GetAdjustmentTypeListRequest

type GetAdjustmentTypeListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`
}

type GetAdjustmentTypeListResponse

type GetAdjustmentTypeListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	AdjustmentTypeList []*AdjustmentType `json:"adjustmentTypeList,omitempty"`
}

type GetAutoScalingActivityLogListRequest

type GetAutoScalingActivityLogListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 액티비티번호리스트
	ActivityNoList []*string `json:"activityNoList,omitempty"`

	// 페이지번호
	PageNo *int32 `json:"pageNo,omitempty"`

	// 페이지사이즈
	PageSize *int32 `json:"pageSize,omitempty"`
}

type GetAutoScalingActivityLogListResponse

type GetAutoScalingActivityLogListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	ActivityLogList []*ActivityLog `json:"activityLogList,omitempty"`
}

type GetAutoScalingGroupDetailRequest

type GetAutoScalingGroupDetailRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`
}

type GetAutoScalingGroupDetailResponse

type GetAutoScalingGroupDetailResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	AutoScalingGroupList []*AutoScalingGroup `json:"autoScalingGroupList,omitempty"`
}

type GetAutoScalingGroupListRequest

type GetAutoScalingGroupListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호리스트
	AutoScalingGroupNoList []*string `json:"autoScalingGroupNoList,omitempty"`

	// 오토스케일링그룹이름리스트
	AutoScalingGroupNameList []*string `json:"autoScalingGroupNameList,omitempty"`

	// 페이지번호
	PageNo *int32 `json:"pageNo,omitempty"`

	// 페이지사이즈
	PageSize *int32 `json:"pageSize,omitempty"`

	// 정렬리스트
	SortList *string `json:"sortList,omitempty"`
}

type GetAutoScalingGroupListResponse

type GetAutoScalingGroupListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	AutoScalingGroupList []*AutoScalingGroup `json:"autoScalingGroupList,omitempty"`
}

type GetAutoScalingPolicyListRequest

type GetAutoScalingPolicyListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 정책번호리스트
	PolicyNoList []*string `json:"policyNoList,omitempty"`
}

type GetAutoScalingPolicyListResponse

type GetAutoScalingPolicyListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	ScalingPolicyList []*ScalingPolicy `json:"scalingPolicyList,omitempty"`
}

type GetLaunchConfigurationDetailRequest

type GetLaunchConfigurationDetailRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 론치설정번호
	LaunchConfigurationNo *string `json:"launchConfigurationNo"`
}

type GetLaunchConfigurationDetailResponse

type GetLaunchConfigurationDetailResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	LaunchConfigurationList []*LaunchConfiguration `json:"launchConfigurationList,omitempty"`
}

type GetLaunchConfigurationListRequest

type GetLaunchConfigurationListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 론치설정번호리스트
	LaunchConfigurationNoList []*string `json:"launchConfigurationNoList,omitempty"`

	// 론치설정이름리스트
	LaunchConfigurationNameList []*string `json:"launchConfigurationNameList,omitempty"`

	// 페이지번호
	PageNo *int32 `json:"pageNo,omitempty"`

	// 페이지사이즈
	PageSize *int32 `json:"pageSize,omitempty"`

	// 정렬리스트
	SortList []*Sort `json:"sortList,omitempty"`
}

type GetLaunchConfigurationListResponse

type GetLaunchConfigurationListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	LaunchConfigurationList []*LaunchConfiguration `json:"launchConfigurationList,omitempty"`
}

type GetScalingProcessTypeListRequest

type GetScalingProcessTypeListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`
}

type GetScalingProcessTypeListResponse

type GetScalingProcessTypeListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	ProcessList []*Process `json:"processList,omitempty"`
}

type GetScheduledActionListRequest

type GetScheduledActionListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 스케쥴액션번호리스트
	ScheduledActionNoList []*string `json:"scheduledActionNoList,omitempty"`

	// 스케쥴액션이름리스트
	ScheduledActionNameList []*string `json:"scheduledActionNameList,omitempty"`

	// 스케쥴시작일시
	StartTime *string `json:"startTime,omitempty"`

	// 스케쥴종료일시
	EndTime *string `json:"endTime,omitempty"`

	// 페이지번호
	PageNo *int32 `json:"pageNo,omitempty"`

	// 페이지사이즈
	PageSize *int32 `json:"pageSize,omitempty"`

	// 정렬대상
	SortedBy *string `json:"sortedBy,omitempty"`

	// 정렬순서
	SortingOrder *string `json:"sortingOrder,omitempty"`
}

type GetScheduledActionListResponse

type GetScheduledActionListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	ScheduledUpdateGroupActionList []*ScheduledUpdateGroupAction `json:"scheduledUpdateGroupActionList,omitempty"`
}

type InAutoScalingGroupServerInstance

type InAutoScalingGroupServerInstance struct {

	// 서버인스턴스번호
	ServerInstanceNo *string `json:"serverInstanceNo,omitempty"`

	// 헬스상태
	HealthStatus *CommonCode `json:"healthStatus,omitempty"`

	// 라이프사이클상태
	LifecycleState *CommonCode `json:"lifecycleState,omitempty"`
}

type LaunchConfiguration

type LaunchConfiguration struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 론치설정번호
	LaunchConfigurationNo *string `json:"launchConfigurationNo,omitempty"`

	// 론치설정이름
	LaunchConfigurationName *string `json:"launchConfigurationName,omitempty"`

	// 서버이미지상품코드
	ServerImageProductCode *string `json:"serverImageProductCode,omitempty"`

	// 회원서버이미지인스턴스번호
	MemberServerImageInstanceNo *string `json:"memberServerImageInstanceNo,omitempty"`

	// 서버상품코드
	ServerProductCode *string `json:"serverProductCode,omitempty"`

	// 로그인키이름
	LoginKeyName *string `json:"loginKeyName,omitempty"`

	// 생성일시
	CreateDate *string `json:"createDate,omitempty"`

	// 론치설정상태
	LaunchConfigurationStatus *CommonCode `json:"launchConfigurationStatus,omitempty"`

	// 초기화스크립트번호
	InitScriptNo *string `json:"initScriptNo,omitempty"`

	// 볼륨암호화여부
	IsEncryptedVolume *bool `json:"isEncryptedVolume,omitempty"`
}

type Process

type Process struct {

	// 코드
	Code *string `json:"code,omitempty"`

	// 코드이름
	CodeName *string `json:"codeName,omitempty"`
}

type PutScalingPolicyRequest

type PutScalingPolicyRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 정책번호
	PolicyNo *string `json:"policyNo,omitempty"`

	// 정책이름
	PolicyName *string `json:"policyName,omitempty"`

	// 조정유형코드
	AdjustmentTypeCode *string `json:"adjustmentTypeCode"`

	// 조정값
	ScalingAdjustment *int32 `json:"scalingAdjustment"`

	// 최소조정폭
	MinAdjustmentStep *int32 `json:"minAdjustmentStep,omitempty"`

	// 쿨다운
	CoolDown *int32 `json:"coolDown,omitempty"`
}

type PutScalingPolicyResponse

type PutScalingPolicyResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	ScalingPolicyList []*ScalingPolicy `json:"scalingPolicyList,omitempty"`
}

type PutScheduledUpdateGroupActionRequest

type PutScheduledUpdateGroupActionRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 스케쥴액션번호
	ScheduledActionNo *string `json:"scheduledActionNo,omitempty"`

	// 스케쥴액션이름
	ScheduledActionName *string `json:"scheduledActionName,omitempty"`

	// 최소용량
	MinSize *int32 `json:"minSize"`

	// 최대용량
	MaxSize *int32 `json:"maxSize"`

	// 기대용량
	DesiredCapacity *int32 `json:"desiredCapacity,omitempty"`

	// 스케쥴시작일시
	StartTime *string `json:"startTime,omitempty"`

	// 스케쥴종료일시
	EndTime *string `json:"endTime,omitempty"`

	// 반복설정
	Recurrence *string `json:"recurrence,omitempty"`

	// 타임존
	TimeZone *string `json:"timeZone,omitempty"`
}

type PutScheduledUpdateGroupActionResponse

type PutScheduledUpdateGroupActionResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	ScheduledUpdateGroupActionList []*ScheduledUpdateGroupAction `json:"scheduledUpdateGroupActionList,omitempty"`
}

type ResumeProcessesRequest

type ResumeProcessesRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 스케일링프로세스코드리스트
	ScalingProcessCodeList []*string `json:"scalingProcessCodeList"`
}

type ResumeProcessesResponse

type ResumeProcessesResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	ProcessList []*Process `json:"processList,omitempty"`
}

type ScalingPolicy

type ScalingPolicy struct {

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo,omitempty"`

	// 정책번호
	PolicyNo *string `json:"policyNo,omitempty"`

	// 정책이름
	PolicyName *string `json:"policyName,omitempty"`

	// 조정유형
	AdjustmentType *CommonCode `json:"adjustmentType,omitempty"`

	// 조정값
	ScalingAdjustment *int32 `json:"scalingAdjustment,omitempty"`

	// 최소조정폭
	MinAdjustmentStep *int32 `json:"minAdjustmentStep,omitempty"`

	// 쿨다운
	CoolDown *int32 `json:"coolDown,omitempty"`
}

type ScheduledUpdateGroupAction

type ScheduledUpdateGroupAction struct {

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo,omitempty"`

	// 스케쥴액션번호
	ScheduledActionNo *string `json:"scheduledActionNo,omitempty"`

	// 스케쥴액션이름
	ScheduledActionName *string `json:"scheduledActionName,omitempty"`

	// 최소용량
	MinSize *int32 `json:"minSize,omitempty"`

	// 최대용량
	MaxSize *int32 `json:"maxSize,omitempty"`

	// 기대용량
	DesiredCapacity *int32 `json:"desiredCapacity,omitempty"`

	// 스케쥴시작일시
	StartTime *string `json:"startTime,omitempty"`

	// 스케쥴종료일시
	EndTime *string `json:"endTime,omitempty"`

	// 반복설정
	Recurrence *string `json:"recurrence,omitempty"`

	// 타임존
	TimeZone *string `json:"timeZone,omitempty"`
}

type SetDesiredCapacityRequest

type SetDesiredCapacityRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 기대용량
	DesiredCapacity *int32 `json:"desiredCapacity"`
}

type SetDesiredCapacityResponse

type SetDesiredCapacityResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	AutoScalingGroupList []*AutoScalingGroup `json:"autoScalingGroupList,omitempty"`
}

type Sort

type Sort struct {

	// 정렬대상
	SortedBy *string `json:"sortedBy,omitempty"`

	// 정렬순서
	SortingOrder *string `json:"sortingOrder,omitempty"`
}

type SuspendProcessesRequest

type SuspendProcessesRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 스케일링프로세스코드리스트
	ScalingProcessCodeList []*string `json:"scalingProcessCodeList"`
}

type SuspendProcessesResponse

type SuspendProcessesResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	ProcessList []*Process `json:"processList,omitempty"`
}

type SuspendedProcess

type SuspendedProcess struct {

	// 프로세스
	Process *CommonCode `json:"process,omitempty"`

	// 프로세스일시정지원인
	SuspensionReason *string `json:"suspensionReason,omitempty"`
}

type UpdateAutoScalingGroupRequest

type UpdateAutoScalingGroupRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 오토스케일링그룹번호
	AutoScalingGroupNo *string `json:"autoScalingGroupNo"`

	// 론치설정번호
	LaunchConfigurationNo *string `json:"launchConfigurationNo,omitempty"`

	// 서버이름Prefix
	ServerNamePrefix *string `json:"serverNamePrefix,omitempty"`

	// 최소용량
	MinSize *int32 `json:"minSize,omitempty"`

	// 최대용량
	MaxSize *int32 `json:"maxSize,omitempty"`

	// 기대용량
	DesiredCapacity *int32 `json:"desiredCapacity,omitempty"`

	// 쿨다운기본값
	DefaultCoolDown *int32 `json:"defaultCoolDown,omitempty"`

	// 헬스체크보류기간
	HealthCheckGracePeriod *int32 `json:"healthCheckGracePeriod,omitempty"`

	// 헬스체크유형코드
	HealthCheckTypeCode *string `json:"healthCheckTypeCode,omitempty"`
}

type UpdateAutoScalingGroupResponse

type UpdateAutoScalingGroupResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	AutoScalingGroupList []*AutoScalingGroup `json:"autoScalingGroupList,omitempty"`
}

type V2ApiService

type V2ApiService service

func (*V2ApiService) CreateAutoScalingGroup

func (a *V2ApiService) CreateAutoScalingGroup(createAutoScalingGroupRequest *CreateAutoScalingGroupRequest) (*CreateAutoScalingGroupResponse, error)

V2ApiService 오토스케일링그룹생성 @param createAutoScalingGroupRequest createAutoScalingGroupRequest @return *CreateAutoScalingGroupResponse

func (*V2ApiService) CreateLaunchConfiguration

func (a *V2ApiService) CreateLaunchConfiguration(createLaunchConfigurationRequest *CreateLaunchConfigurationRequest) (*CreateLaunchConfigurationResponse, error)

V2ApiService 론치설정생성 @param createLaunchConfigurationRequest createLaunchConfigurationRequest @return *CreateLaunchConfigurationResponse

func (*V2ApiService) DeleteAutoScalingGroup

func (a *V2ApiService) DeleteAutoScalingGroup(deleteAutoScalingGroupRequest *DeleteAutoScalingGroupRequest) (*DeleteAutoScalingGroupResponse, error)

V2ApiService 오토스케일링그룹삭제 @param deleteAutoScalingGroupRequest deleteAutoScalingGroupRequest @return *DeleteAutoScalingGroupResponse

func (*V2ApiService) DeleteLaunchConfiguration

func (a *V2ApiService) DeleteLaunchConfiguration(deleteLaunchConfigurationRequest *DeleteLaunchConfigurationRequest) (*DeleteLaunchConfigurationResponse, error)

V2ApiService 론치설정삭제 @param deleteLaunchConfigurationRequest deleteLaunchConfigurationRequest @return *DeleteLaunchConfigurationResponse

func (*V2ApiService) DeleteScalingPolicy

func (a *V2ApiService) DeleteScalingPolicy(deleteScalingPolicyRequest *DeleteScalingPolicyRequest) (*DeleteScalingPolicyResponse, error)

V2ApiService 스케일링정책삭제 @param deleteScalingPolicyRequest deleteScalingPolicyRequest @return *DeleteScalingPolicyResponse

func (*V2ApiService) DeleteScheduledAction

func (a *V2ApiService) DeleteScheduledAction(deleteScheduledActionRequest *DeleteScheduledActionRequest) (*DeleteScheduledActionResponse, error)

V2ApiService 스케쥴액션삭제 @param deleteScheduledActionRequest deleteScheduledActionRequest @return *DeleteScheduledActionResponse

func (*V2ApiService) ExecutePolicy

func (a *V2ApiService) ExecutePolicy(executePolicyRequest *ExecutePolicyRequest) (*ExecutePolicyResponse, error)

V2ApiService 정책실행 @param executePolicyRequest executePolicyRequest @return *ExecutePolicyResponse

func (*V2ApiService) GetAdjustmentTypeList

func (a *V2ApiService) GetAdjustmentTypeList(getAdjustmentTypeListRequest *GetAdjustmentTypeListRequest) (*GetAdjustmentTypeListResponse, error)

V2ApiService 조정유형리스트조회 @param getAdjustmentTypeListRequest getAdjustmentTypeListRequest @return *GetAdjustmentTypeListResponse

func (*V2ApiService) GetAutoScalingActivityLogList

func (a *V2ApiService) GetAutoScalingActivityLogList(getAutoScalingActivityLogListRequest *GetAutoScalingActivityLogListRequest) (*GetAutoScalingActivityLogListResponse, error)

V2ApiService 액티비티로그리스트조회 @param getAutoScalingActivityLogListRequest getAutoScalingActivityLogListRequest @return *GetAutoScalingActivityLogListResponse

func (*V2ApiService) GetAutoScalingGroupDetail

func (a *V2ApiService) GetAutoScalingGroupDetail(getAutoScalingGroupDetailRequest *GetAutoScalingGroupDetailRequest) (*GetAutoScalingGroupDetailResponse, error)

V2ApiService 오토스케일링그룹상세조회 @param getAutoScalingGroupDetailRequest getAutoScalingGroupDetailRequest @return *GetAutoScalingGroupDetailResponse

func (*V2ApiService) GetAutoScalingGroupList

func (a *V2ApiService) GetAutoScalingGroupList(getAutoScalingGroupListRequest *GetAutoScalingGroupListRequest) (*GetAutoScalingGroupListResponse, error)

V2ApiService 오토스케일링그룹리스트조회 @param getAutoScalingGroupListRequest getAutoScalingGroupListRequest @return *GetAutoScalingGroupListResponse

func (*V2ApiService) GetAutoScalingPolicyList

func (a *V2ApiService) GetAutoScalingPolicyList(getAutoScalingPolicyListRequest *GetAutoScalingPolicyListRequest) (*GetAutoScalingPolicyListResponse, error)

V2ApiService 오토스케일링정책리스트조회 @param getAutoScalingPolicyListRequest getAutoScalingPolicyListRequest @return *GetAutoScalingPolicyListResponse

func (*V2ApiService) GetLaunchConfigurationDetail

func (a *V2ApiService) GetLaunchConfigurationDetail(getLaunchConfigurationDetailRequest *GetLaunchConfigurationDetailRequest) (*GetLaunchConfigurationDetailResponse, error)

V2ApiService 론치설정상세조회 @param getLaunchConfigurationDetailRequest getLaunchConfigurationDetailRequest @return *GetLaunchConfigurationDetailResponse

func (*V2ApiService) GetLaunchConfigurationList

func (a *V2ApiService) GetLaunchConfigurationList(getLaunchConfigurationListRequest *GetLaunchConfigurationListRequest) (*GetLaunchConfigurationListResponse, error)

V2ApiService 론치설정리스트조회 @param getLaunchConfigurationListRequest getLaunchConfigurationListRequest @return *GetLaunchConfigurationListResponse

func (*V2ApiService) GetScalingProcessTypeList

func (a *V2ApiService) GetScalingProcessTypeList(getScalingProcessTypeListRequest *GetScalingProcessTypeListRequest) (*GetScalingProcessTypeListResponse, error)

V2ApiService 스케일링프로세스유형리스트조회 @param getScalingProcessTypeListRequest getScalingProcessTypeListRequest @return *GetScalingProcessTypeListResponse

func (*V2ApiService) GetScheduledActionList

func (a *V2ApiService) GetScheduledActionList(getScheduledActionListRequest *GetScheduledActionListRequest) (*GetScheduledActionListResponse, error)

V2ApiService 스케쥴액션리스트조회 @param getScheduledActionListRequest getScheduledActionListRequest @return *GetScheduledActionListResponse

func (*V2ApiService) PutScalingPolicy

func (a *V2ApiService) PutScalingPolicy(putScalingPolicyRequest *PutScalingPolicyRequest) (*PutScalingPolicyResponse, error)

V2ApiService 스케일링정책생성/수정 @param putScalingPolicyRequest putScalingPolicyRequest @return *PutScalingPolicyResponse

func (*V2ApiService) PutScheduledUpdateGroupAction

func (a *V2ApiService) PutScheduledUpdateGroupAction(putScheduledUpdateGroupActionRequest *PutScheduledUpdateGroupActionRequest) (*PutScheduledUpdateGroupActionResponse, error)

V2ApiService 스케쥴액션생성/수정 @param putScheduledUpdateGroupActionRequest putScheduledUpdateGroupActionRequest @return *PutScheduledUpdateGroupActionResponse

func (*V2ApiService) ResumeProcesses

func (a *V2ApiService) ResumeProcesses(resumeProcessesRequest *ResumeProcessesRequest) (*ResumeProcessesResponse, error)

V2ApiService 프로세스재시작 @param resumeProcessesRequest resumeProcessesRequest @return *ResumeProcessesResponse

func (*V2ApiService) SetDesiredCapacity

func (a *V2ApiService) SetDesiredCapacity(setDesiredCapacityRequest *SetDesiredCapacityRequest) (*SetDesiredCapacityResponse, error)

V2ApiService 기대용량설정 @param setDesiredCapacityRequest setDesiredCapacityRequest @return *SetDesiredCapacityResponse

func (*V2ApiService) SuspendProcesses

func (a *V2ApiService) SuspendProcesses(suspendProcessesRequest *SuspendProcessesRequest) (*SuspendProcessesResponse, error)

V2ApiService 프로세스일시정지 @param suspendProcessesRequest suspendProcessesRequest @return *SuspendProcessesResponse

func (*V2ApiService) UpdateAutoScalingGroup

func (a *V2ApiService) UpdateAutoScalingGroup(updateAutoScalingGroupRequest *UpdateAutoScalingGroupRequest) (*UpdateAutoScalingGroupResponse, error)

V2ApiService 오토스케일링그룹수정 @param updateAutoScalingGroupRequest updateAutoScalingGroupRequest @return *UpdateAutoScalingGroupResponse

Source Files

Jump to

Keyboard shortcuts

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