Documentation
¶
Index ¶
- func CacheExpires(r *http.Response) time.Time
- func NewConfiguration(apiKeys ...*ncloud.APIKey) *ncloud.Configuration
- type APIClient
- type APIResponse
- type ActivityLog
- type AdjustmentType
- type AutoScalingGroup
- type CommonCode
- type CreateAutoScalingGroupRequest
- type CreateAutoScalingGroupResponse
- type CreateLaunchConfigurationRequest
- type CreateLaunchConfigurationResponse
- type DeleteAutoScalingGroupRequest
- type DeleteAutoScalingGroupResponse
- type DeleteLaunchConfigurationRequest
- type DeleteLaunchConfigurationResponse
- type DeleteScalingPolicyRequest
- type DeleteScalingPolicyResponse
- type DeleteScheduledActionRequest
- type DeleteScheduledActionResponse
- type ExecutePolicyRequest
- type ExecutePolicyResponse
- type GetAdjustmentTypeListRequest
- type GetAdjustmentTypeListResponse
- type GetAutoScalingActivityLogListRequest
- type GetAutoScalingActivityLogListResponse
- type GetAutoScalingGroupDetailRequest
- type GetAutoScalingGroupDetailResponse
- type GetAutoScalingGroupListRequest
- type GetAutoScalingGroupListResponse
- type GetAutoScalingPolicyListRequest
- type GetAutoScalingPolicyListResponse
- type GetLaunchConfigurationDetailRequest
- type GetLaunchConfigurationDetailResponse
- type GetLaunchConfigurationListRequest
- type GetLaunchConfigurationListResponse
- type GetScalingProcessTypeListRequest
- type GetScalingProcessTypeListResponse
- type GetScheduledActionListRequest
- type GetScheduledActionListResponse
- type InAutoScalingGroupServerInstance
- type LaunchConfiguration
- type Process
- type PutScalingPolicyRequest
- type PutScalingPolicyResponse
- type PutScheduledUpdateGroupActionRequest
- type PutScheduledUpdateGroupActionResponse
- type ResumeProcessesRequest
- type ResumeProcessesResponse
- type ScalingPolicy
- type ScheduledUpdateGroupAction
- type SetDesiredCapacityRequest
- type SetDesiredCapacityResponse
- type Sort
- type SuspendProcessesRequest
- type SuspendProcessesResponse
- type SuspendedProcess
- type UpdateAutoScalingGroupRequest
- type UpdateAutoScalingGroupResponse
- type V2ApiService
- func (a *V2ApiService) CreateAutoScalingGroup(createAutoScalingGroupRequest *CreateAutoScalingGroupRequest) (*CreateAutoScalingGroupResponse, error)
- func (a *V2ApiService) CreateLaunchConfiguration(createLaunchConfigurationRequest *CreateLaunchConfigurationRequest) (*CreateLaunchConfigurationResponse, error)
- func (a *V2ApiService) DeleteAutoScalingGroup(deleteAutoScalingGroupRequest *DeleteAutoScalingGroupRequest) (*DeleteAutoScalingGroupResponse, error)
- func (a *V2ApiService) DeleteLaunchConfiguration(deleteLaunchConfigurationRequest *DeleteLaunchConfigurationRequest) (*DeleteLaunchConfigurationResponse, error)
- func (a *V2ApiService) DeleteScalingPolicy(deleteScalingPolicyRequest *DeleteScalingPolicyRequest) (*DeleteScalingPolicyResponse, error)
- func (a *V2ApiService) DeleteScheduledAction(deleteScheduledActionRequest *DeleteScheduledActionRequest) (*DeleteScheduledActionResponse, error)
- func (a *V2ApiService) ExecutePolicy(executePolicyRequest *ExecutePolicyRequest) (*ExecutePolicyResponse, error)
- func (a *V2ApiService) GetAdjustmentTypeList(getAdjustmentTypeListRequest *GetAdjustmentTypeListRequest) (*GetAdjustmentTypeListResponse, error)
- func (a *V2ApiService) GetAutoScalingActivityLogList(getAutoScalingActivityLogListRequest *GetAutoScalingActivityLogListRequest) (*GetAutoScalingActivityLogListResponse, error)
- func (a *V2ApiService) GetAutoScalingGroupDetail(getAutoScalingGroupDetailRequest *GetAutoScalingGroupDetailRequest) (*GetAutoScalingGroupDetailResponse, error)
- func (a *V2ApiService) GetAutoScalingGroupList(getAutoScalingGroupListRequest *GetAutoScalingGroupListRequest) (*GetAutoScalingGroupListResponse, error)
- func (a *V2ApiService) GetAutoScalingPolicyList(getAutoScalingPolicyListRequest *GetAutoScalingPolicyListRequest) (*GetAutoScalingPolicyListResponse, error)
- func (a *V2ApiService) GetLaunchConfigurationDetail(getLaunchConfigurationDetailRequest *GetLaunchConfigurationDetailRequest) (*GetLaunchConfigurationDetailResponse, error)
- func (a *V2ApiService) GetLaunchConfigurationList(getLaunchConfigurationListRequest *GetLaunchConfigurationListRequest) (*GetLaunchConfigurationListResponse, error)
- func (a *V2ApiService) GetScalingProcessTypeList(getScalingProcessTypeListRequest *GetScalingProcessTypeListRequest) (*GetScalingProcessTypeListResponse, error)
- func (a *V2ApiService) GetScheduledActionList(getScheduledActionListRequest *GetScheduledActionListRequest) (*GetScheduledActionListResponse, error)
- func (a *V2ApiService) PutScalingPolicy(putScalingPolicyRequest *PutScalingPolicyRequest) (*PutScalingPolicyResponse, error)
- func (a *V2ApiService) PutScheduledUpdateGroupAction(putScheduledUpdateGroupActionRequest *PutScheduledUpdateGroupActionRequest) (*PutScheduledUpdateGroupActionResponse, error)
- func (a *V2ApiService) ResumeProcesses(resumeProcessesRequest *ResumeProcessesRequest) (*ResumeProcessesResponse, error)
- func (a *V2ApiService) SetDesiredCapacity(setDesiredCapacityRequest *SetDesiredCapacityRequest) (*SetDesiredCapacityResponse, error)
- func (a *V2ApiService) SuspendProcesses(suspendProcessesRequest *SuspendProcessesRequest) (*SuspendProcessesResponse, error)
- func (a *V2ApiService) UpdateAutoScalingGroup(updateAutoScalingGroupRequest *UpdateAutoScalingGroupRequest) (*UpdateAutoScalingGroupResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheExpires ¶
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 ¶
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 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 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 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 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 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 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 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 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 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 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 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 ResumeProcessesResponse ¶
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 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 SuspendProcessesRequest ¶
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
¶
- activity_log.go
- adjustment_type.go
- api_client.go
- api_response.go
- auto_scaling_group.go
- common_code.go
- configuration.go
- create_auto_scaling_group_request.go
- create_auto_scaling_group_response.go
- create_launch_configuration_request.go
- create_launch_configuration_response.go
- delete_auto_scaling_group_request.go
- delete_auto_scaling_group_response.go
- delete_launch_configuration_request.go
- delete_launch_configuration_response.go
- delete_scaling_policy_request.go
- delete_scaling_policy_response.go
- delete_scheduled_action_request.go
- delete_scheduled_action_response.go
- execute_policy_request.go
- execute_policy_response.go
- get_adjustment_type_list_request.go
- get_adjustment_type_list_response.go
- get_auto_scaling_activity_log_list_request.go
- get_auto_scaling_activity_log_list_response.go
- get_auto_scaling_group_detail_request.go
- get_auto_scaling_group_detail_response.go
- get_auto_scaling_group_list_request.go
- get_auto_scaling_group_list_response.go
- get_auto_scaling_policy_list_request.go
- get_auto_scaling_policy_list_response.go
- get_launch_configuration_detail_request.go
- get_launch_configuration_detail_response.go
- get_launch_configuration_list_request.go
- get_launch_configuration_list_response.go
- get_scaling_process_type_list_request.go
- get_scaling_process_type_list_response.go
- get_scheduled_action_list_request.go
- get_scheduled_action_list_response.go
- in_auto_scaling_group_server_instance.go
- launch_configuration.go
- process.go
- put_scaling_policy_request.go
- put_scaling_policy_response.go
- put_scheduled_update_group_action_request.go
- put_scheduled_update_group_action_response.go
- resume_processes_request.go
- resume_processes_response.go
- scaling_policy.go
- scheduled_update_group_action.go
- set_desired_capacity_request.go
- set_desired_capacity_response.go
- sort.go
- suspend_processes_request.go
- suspend_processes_response.go
- suspended_process.go
- update_auto_scaling_group_request.go
- update_auto_scaling_group_response.go
- v2_api.go