Versions in this module Expand all Collapse all v37 v37.0.0 Mar 23, 2021 Changes in this version + type Action struct + Type ActionTypeEnum + Value *int + func (m Action) String() string + type ActionTypeEnum string + const ActionTypeChangeCountBy + func GetActionTypeEnumValues() []ActionTypeEnum + type AutoScalingClient struct + func NewAutoScalingClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AutoScalingClient, err error) + func NewAutoScalingClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AutoScalingClient, err error) + func (client *AutoScalingClient) ConfigurationProvider() *common.ConfigurationProvider + func (client *AutoScalingClient) SetRegion(region string) + func (client AutoScalingClient) ChangeAutoScalingConfigurationCompartment(ctx context.Context, request ChangeAutoScalingConfigurationCompartmentRequest) (response ChangeAutoScalingConfigurationCompartmentResponse, err error) + func (client AutoScalingClient) CreateAutoScalingConfiguration(ctx context.Context, request CreateAutoScalingConfigurationRequest) (response CreateAutoScalingConfigurationResponse, err error) + func (client AutoScalingClient) CreateAutoScalingPolicy(ctx context.Context, request CreateAutoScalingPolicyRequest) (response CreateAutoScalingPolicyResponse, err error) + func (client AutoScalingClient) DeleteAutoScalingConfiguration(ctx context.Context, request DeleteAutoScalingConfigurationRequest) (response DeleteAutoScalingConfigurationResponse, err error) + func (client AutoScalingClient) DeleteAutoScalingPolicy(ctx context.Context, request DeleteAutoScalingPolicyRequest) (response DeleteAutoScalingPolicyResponse, err error) + func (client AutoScalingClient) GetAutoScalingConfiguration(ctx context.Context, request GetAutoScalingConfigurationRequest) (response GetAutoScalingConfigurationResponse, err error) + func (client AutoScalingClient) GetAutoScalingPolicy(ctx context.Context, request GetAutoScalingPolicyRequest) (response GetAutoScalingPolicyResponse, err error) + func (client AutoScalingClient) ListAutoScalingConfigurations(ctx context.Context, request ListAutoScalingConfigurationsRequest) (response ListAutoScalingConfigurationsResponse, err error) + func (client AutoScalingClient) ListAutoScalingPolicies(ctx context.Context, request ListAutoScalingPoliciesRequest) (response ListAutoScalingPoliciesResponse, err error) + func (client AutoScalingClient) UpdateAutoScalingConfiguration(ctx context.Context, request UpdateAutoScalingConfigurationRequest) (response UpdateAutoScalingConfigurationResponse, err error) + func (client AutoScalingClient) UpdateAutoScalingPolicy(ctx context.Context, request UpdateAutoScalingPolicyRequest) (response UpdateAutoScalingPolicyResponse, err error) + type AutoScalingConfiguration struct + CompartmentId *string + CoolDownInSeconds *int + DefinedTags map[string]map[string]interface{} + DisplayName *string + FreeformTags map[string]string + Id *string + IsEnabled *bool + MaxResourceCount *int + MinResourceCount *int + Policies []AutoScalingPolicy + Resource Resource + TimeCreated *common.SDKTime + func (m *AutoScalingConfiguration) UnmarshalJSON(data []byte) (e error) + func (m AutoScalingConfiguration) String() string + type AutoScalingConfigurationSummary struct + CompartmentId *string + CoolDownInSeconds *int + DefinedTags map[string]map[string]interface{} + DisplayName *string + FreeformTags map[string]string + Id *string + IsEnabled *bool + Resource Resource + TimeCreated *common.SDKTime + func (m *AutoScalingConfigurationSummary) UnmarshalJSON(data []byte) (e error) + func (m AutoScalingConfigurationSummary) String() string + type AutoScalingPolicy interface + GetCapacity func() *Capacity + GetDisplayName func() *string + GetId func() *string + GetIsEnabled func() *bool + GetTimeCreated func() *common.SDKTime + type AutoScalingPolicySummary struct + DisplayName *string + Id *string + IsEnabled *bool + PolicyType *string + func (m AutoScalingPolicySummary) String() string + type Capacity struct + Initial *int + Max *int + Min *int + func (m Capacity) String() string + type ChangeAutoScalingCompartmentDetails struct + CompartmentId *string + func (m ChangeAutoScalingCompartmentDetails) String() string + type ChangeAutoScalingConfigurationCompartmentRequest struct + AutoScalingConfigurationId *string + ChangeCompartmentDetails ChangeAutoScalingCompartmentDetails + IfMatch *string + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + func (request ChangeAutoScalingConfigurationCompartmentRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ChangeAutoScalingConfigurationCompartmentRequest) RetryPolicy() *common.RetryPolicy + func (request ChangeAutoScalingConfigurationCompartmentRequest) String() string + type ChangeAutoScalingConfigurationCompartmentResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response ChangeAutoScalingConfigurationCompartmentResponse) HTTPResponse() *http.Response + func (response ChangeAutoScalingConfigurationCompartmentResponse) String() string + type Condition struct + Action *Action + DisplayName *string + Id *string + Metric *Metric + func (m Condition) String() string + type CreateAutoScalingConfigurationDetails struct + CompartmentId *string + CoolDownInSeconds *int + DefinedTags map[string]map[string]interface{} + DisplayName *string + FreeformTags map[string]string + IsEnabled *bool + Policies []CreateAutoScalingPolicyDetails + Resource Resource + func (m *CreateAutoScalingConfigurationDetails) UnmarshalJSON(data []byte) (e error) + func (m CreateAutoScalingConfigurationDetails) String() string + type CreateAutoScalingConfigurationRequest struct + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + func (request CreateAutoScalingConfigurationRequest) HTTPRequest(method, path string) (http.Request, error) + func (request CreateAutoScalingConfigurationRequest) RetryPolicy() *common.RetryPolicy + func (request CreateAutoScalingConfigurationRequest) String() string + type CreateAutoScalingConfigurationResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response CreateAutoScalingConfigurationResponse) HTTPResponse() *http.Response + func (response CreateAutoScalingConfigurationResponse) String() string + type CreateAutoScalingPolicyDetails interface + GetCapacity func() *Capacity + GetDisplayName func() *string + GetIsEnabled func() *bool + type CreateAutoScalingPolicyRequest struct + AutoScalingConfigurationId *string + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + func (request CreateAutoScalingPolicyRequest) HTTPRequest(method, path string) (http.Request, error) + func (request CreateAutoScalingPolicyRequest) RetryPolicy() *common.RetryPolicy + func (request CreateAutoScalingPolicyRequest) String() string + type CreateAutoScalingPolicyResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response CreateAutoScalingPolicyResponse) HTTPResponse() *http.Response + func (response CreateAutoScalingPolicyResponse) String() string + type CreateConditionDetails struct + Action *Action + DisplayName *string + Metric *Metric + func (m CreateConditionDetails) String() string + type CreateScheduledPolicyDetails struct + Capacity *Capacity + DisplayName *string + ExecutionSchedule ExecutionSchedule + IsEnabled *bool + func (m *CreateScheduledPolicyDetails) UnmarshalJSON(data []byte) (e error) + func (m CreateScheduledPolicyDetails) GetCapacity() *Capacity + func (m CreateScheduledPolicyDetails) GetDisplayName() *string + func (m CreateScheduledPolicyDetails) GetIsEnabled() *bool + func (m CreateScheduledPolicyDetails) MarshalJSON() (buff []byte, e error) + func (m CreateScheduledPolicyDetails) String() string + type CreateThresholdPolicyDetails struct + Capacity *Capacity + DisplayName *string + IsEnabled *bool + Rules []CreateConditionDetails + func (m CreateThresholdPolicyDetails) GetCapacity() *Capacity + func (m CreateThresholdPolicyDetails) GetDisplayName() *string + func (m CreateThresholdPolicyDetails) GetIsEnabled() *bool + func (m CreateThresholdPolicyDetails) MarshalJSON() (buff []byte, e error) + func (m CreateThresholdPolicyDetails) String() string + type CronExecutionSchedule struct + Expression *string + Timezone ExecutionScheduleTimezoneEnum + func (m CronExecutionSchedule) GetTimezone() ExecutionScheduleTimezoneEnum + func (m CronExecutionSchedule) MarshalJSON() (buff []byte, e error) + func (m CronExecutionSchedule) String() string + type DeleteAutoScalingConfigurationRequest struct + AutoScalingConfigurationId *string + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request DeleteAutoScalingConfigurationRequest) HTTPRequest(method, path string) (http.Request, error) + func (request DeleteAutoScalingConfigurationRequest) RetryPolicy() *common.RetryPolicy + func (request DeleteAutoScalingConfigurationRequest) String() string + type DeleteAutoScalingConfigurationResponse struct + OpcRequestId *string + RawResponse *http.Response + func (response DeleteAutoScalingConfigurationResponse) HTTPResponse() *http.Response + func (response DeleteAutoScalingConfigurationResponse) String() string + type DeleteAutoScalingPolicyRequest struct + AutoScalingConfigurationId *string + AutoScalingPolicyId *string + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request DeleteAutoScalingPolicyRequest) HTTPRequest(method, path string) (http.Request, error) + func (request DeleteAutoScalingPolicyRequest) RetryPolicy() *common.RetryPolicy + func (request DeleteAutoScalingPolicyRequest) String() string + type DeleteAutoScalingPolicyResponse struct + OpcRequestId *string + RawResponse *http.Response + func (response DeleteAutoScalingPolicyResponse) HTTPResponse() *http.Response + func (response DeleteAutoScalingPolicyResponse) String() string + type ExecutionSchedule interface + GetTimezone func() ExecutionScheduleTimezoneEnum + type ExecutionScheduleTimezoneEnum string + const ExecutionScheduleTimezoneUtc + func GetExecutionScheduleTimezoneEnumValues() []ExecutionScheduleTimezoneEnum + type GetAutoScalingConfigurationRequest struct + AutoScalingConfigurationId *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request GetAutoScalingConfigurationRequest) HTTPRequest(method, path string) (http.Request, error) + func (request GetAutoScalingConfigurationRequest) RetryPolicy() *common.RetryPolicy + func (request GetAutoScalingConfigurationRequest) String() string + type GetAutoScalingConfigurationResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response GetAutoScalingConfigurationResponse) HTTPResponse() *http.Response + func (response GetAutoScalingConfigurationResponse) String() string + type GetAutoScalingPolicyRequest struct + AutoScalingConfigurationId *string + AutoScalingPolicyId *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request GetAutoScalingPolicyRequest) HTTPRequest(method, path string) (http.Request, error) + func (request GetAutoScalingPolicyRequest) RetryPolicy() *common.RetryPolicy + func (request GetAutoScalingPolicyRequest) String() string + type GetAutoScalingPolicyResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response GetAutoScalingPolicyResponse) HTTPResponse() *http.Response + func (response GetAutoScalingPolicyResponse) String() string + type InstancePoolResource struct + Id *string + func (m InstancePoolResource) GetId() *string + func (m InstancePoolResource) MarshalJSON() (buff []byte, e error) + func (m InstancePoolResource) String() string + type ListAutoScalingConfigurationsRequest struct + CompartmentId *string + DisplayName *string + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SortBy ListAutoScalingConfigurationsSortByEnum + SortOrder ListAutoScalingConfigurationsSortOrderEnum + func (request ListAutoScalingConfigurationsRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListAutoScalingConfigurationsRequest) RetryPolicy() *common.RetryPolicy + func (request ListAutoScalingConfigurationsRequest) String() string + type ListAutoScalingConfigurationsResponse struct + Items []AutoScalingConfigurationSummary + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListAutoScalingConfigurationsResponse) HTTPResponse() *http.Response + func (response ListAutoScalingConfigurationsResponse) String() string + type ListAutoScalingConfigurationsSortByEnum string + const ListAutoScalingConfigurationsSortByDisplayname + const ListAutoScalingConfigurationsSortByTimecreated + func GetListAutoScalingConfigurationsSortByEnumValues() []ListAutoScalingConfigurationsSortByEnum + type ListAutoScalingConfigurationsSortOrderEnum string + const ListAutoScalingConfigurationsSortOrderAsc + const ListAutoScalingConfigurationsSortOrderDesc + func GetListAutoScalingConfigurationsSortOrderEnumValues() []ListAutoScalingConfigurationsSortOrderEnum + type ListAutoScalingPoliciesRequest struct + AutoScalingConfigurationId *string + DisplayName *string + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SortBy ListAutoScalingPoliciesSortByEnum + SortOrder ListAutoScalingPoliciesSortOrderEnum + func (request ListAutoScalingPoliciesRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListAutoScalingPoliciesRequest) RetryPolicy() *common.RetryPolicy + func (request ListAutoScalingPoliciesRequest) String() string + type ListAutoScalingPoliciesResponse struct + Items []AutoScalingPolicySummary + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListAutoScalingPoliciesResponse) HTTPResponse() *http.Response + func (response ListAutoScalingPoliciesResponse) String() string + type ListAutoScalingPoliciesSortByEnum string + const ListAutoScalingPoliciesSortByDisplayname + const ListAutoScalingPoliciesSortByTimecreated + func GetListAutoScalingPoliciesSortByEnumValues() []ListAutoScalingPoliciesSortByEnum + type ListAutoScalingPoliciesSortOrderEnum string + const ListAutoScalingPoliciesSortOrderAsc + const ListAutoScalingPoliciesSortOrderDesc + func GetListAutoScalingPoliciesSortOrderEnumValues() []ListAutoScalingPoliciesSortOrderEnum + type Metric struct + MetricType MetricMetricTypeEnum + Threshold *Threshold + func (m Metric) String() string + type MetricMetricTypeEnum string + const MetricMetricTypeCpuUtilization + const MetricMetricTypeMemoryUtilization + func GetMetricMetricTypeEnumValues() []MetricMetricTypeEnum + type Resource interface + GetId func() *string + type ScheduledPolicy struct + Capacity *Capacity + DisplayName *string + ExecutionSchedule ExecutionSchedule + Id *string + IsEnabled *bool + TimeCreated *common.SDKTime + func (m *ScheduledPolicy) UnmarshalJSON(data []byte) (e error) + func (m ScheduledPolicy) GetCapacity() *Capacity + func (m ScheduledPolicy) GetDisplayName() *string + func (m ScheduledPolicy) GetId() *string + func (m ScheduledPolicy) GetIsEnabled() *bool + func (m ScheduledPolicy) GetTimeCreated() *common.SDKTime + func (m ScheduledPolicy) MarshalJSON() (buff []byte, e error) + func (m ScheduledPolicy) String() string + type Threshold struct + Operator ThresholdOperatorEnum + Value *int + func (m Threshold) String() string + type ThresholdOperatorEnum string + const ThresholdOperatorGt + const ThresholdOperatorGte + const ThresholdOperatorLt + const ThresholdOperatorLte + func GetThresholdOperatorEnumValues() []ThresholdOperatorEnum + type ThresholdPolicy struct + Capacity *Capacity + DisplayName *string + Id *string + IsEnabled *bool + Rules []Condition + TimeCreated *common.SDKTime + func (m ThresholdPolicy) GetCapacity() *Capacity + func (m ThresholdPolicy) GetDisplayName() *string + func (m ThresholdPolicy) GetId() *string + func (m ThresholdPolicy) GetIsEnabled() *bool + func (m ThresholdPolicy) GetTimeCreated() *common.SDKTime + func (m ThresholdPolicy) MarshalJSON() (buff []byte, e error) + func (m ThresholdPolicy) String() string + type UpdateAutoScalingConfigurationDetails struct + CoolDownInSeconds *int + DefinedTags map[string]map[string]interface{} + DisplayName *string + FreeformTags map[string]string + IsEnabled *bool + func (m UpdateAutoScalingConfigurationDetails) String() string + type UpdateAutoScalingConfigurationRequest struct + AutoScalingConfigurationId *string + IfMatch *string + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + func (request UpdateAutoScalingConfigurationRequest) HTTPRequest(method, path string) (http.Request, error) + func (request UpdateAutoScalingConfigurationRequest) RetryPolicy() *common.RetryPolicy + func (request UpdateAutoScalingConfigurationRequest) String() string + type UpdateAutoScalingConfigurationResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response UpdateAutoScalingConfigurationResponse) HTTPResponse() *http.Response + func (response UpdateAutoScalingConfigurationResponse) String() string + type UpdateAutoScalingPolicyDetails interface + GetCapacity func() *Capacity + GetDisplayName func() *string + GetIsEnabled func() *bool + type UpdateAutoScalingPolicyRequest struct + AutoScalingConfigurationId *string + AutoScalingPolicyId *string + IfMatch *string + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + func (request UpdateAutoScalingPolicyRequest) HTTPRequest(method, path string) (http.Request, error) + func (request UpdateAutoScalingPolicyRequest) RetryPolicy() *common.RetryPolicy + func (request UpdateAutoScalingPolicyRequest) String() string + type UpdateAutoScalingPolicyResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response UpdateAutoScalingPolicyResponse) HTTPResponse() *http.Response + func (response UpdateAutoScalingPolicyResponse) String() string + type UpdateConditionDetails struct + Action *Action + DisplayName *string + Metric *Metric + func (m UpdateConditionDetails) String() string + type UpdateScheduledPolicyDetails struct + Capacity *Capacity + DisplayName *string + ExecutionSchedule ExecutionSchedule + IsEnabled *bool + func (m *UpdateScheduledPolicyDetails) UnmarshalJSON(data []byte) (e error) + func (m UpdateScheduledPolicyDetails) GetCapacity() *Capacity + func (m UpdateScheduledPolicyDetails) GetDisplayName() *string + func (m UpdateScheduledPolicyDetails) GetIsEnabled() *bool + func (m UpdateScheduledPolicyDetails) MarshalJSON() (buff []byte, e error) + func (m UpdateScheduledPolicyDetails) String() string + type UpdateThresholdPolicyDetails struct + Capacity *Capacity + DisplayName *string + IsEnabled *bool + Rules []UpdateConditionDetails + func (m UpdateThresholdPolicyDetails) GetCapacity() *Capacity + func (m UpdateThresholdPolicyDetails) GetDisplayName() *string + func (m UpdateThresholdPolicyDetails) GetIsEnabled() *bool + func (m UpdateThresholdPolicyDetails) MarshalJSON() (buff []byte, e error) + func (m UpdateThresholdPolicyDetails) String() string Other modules containing this package github.com/oracle/oci-go-sdk github.com/oracle/oci-go-sdk/v25 github.com/oracle/oci-go-sdk/v26 github.com/oracle/oci-go-sdk/v27 github.com/oracle/oci-go-sdk/v28 github.com/oracle/oci-go-sdk/v29 github.com/oracle/oci-go-sdk/v30 github.com/oracle/oci-go-sdk/v31 github.com/oracle/oci-go-sdk/v32 github.com/oracle/oci-go-sdk/v33 github.com/oracle/oci-go-sdk/v34 github.com/oracle/oci-go-sdk/v35 github.com/oracle/oci-go-sdk/v36 github.com/oracle/oci-go-sdk/v38 github.com/oracle/oci-go-sdk/v39 github.com/oracle/oci-go-sdk/v40 github.com/oracle/oci-go-sdk/v41 github.com/oracle/oci-go-sdk/v42 github.com/oracle/oci-go-sdk/v43 github.com/oracle/oci-go-sdk/v44 github.com/oracle/oci-go-sdk/v45 github.com/oracle/oci-go-sdk/v46 github.com/oracle/oci-go-sdk/v47 github.com/oracle/oci-go-sdk/v48 github.com/oracle/oci-go-sdk/v49 github.com/oracle/oci-go-sdk/v50 github.com/oracle/oci-go-sdk/v51 github.com/oracle/oci-go-sdk/v52 github.com/oracle/oci-go-sdk/v53 github.com/oracle/oci-go-sdk/v54 github.com/oracle/oci-go-sdk/v55 github.com/oracle/oci-go-sdk/v56 github.com/oracle/oci-go-sdk/v57 github.com/oracle/oci-go-sdk/v58 github.com/oracle/oci-go-sdk/v59 github.com/oracle/oci-go-sdk/v60 github.com/oracle/oci-go-sdk/v61 github.com/oracle/oci-go-sdk/v62 github.com/oracle/oci-go-sdk/v63 github.com/oracle/oci-go-sdk/v64 github.com/oracle/oci-go-sdk/v65