Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForComparisonOperationType() []string + func PossibleValuesForMetricStatisticType() []string + func PossibleValuesForOperationType() []string + func PossibleValuesForPredictiveAutoscalePolicyScaleMode() []string + func PossibleValuesForRecurrenceFrequency() []string + func PossibleValuesForScaleDirection() []string + func PossibleValuesForScaleRuleMetricDimensionOperationType() []string + func PossibleValuesForScaleType() []string + func PossibleValuesForTimeAggregationType() []string + func ValidateAutoScaleSettingID(input interface{}, key string) (warnings []string, errors []error) + type AutoScaleSettingId struct + AutoScaleSettingName string + ResourceGroupName string + SubscriptionId string + func NewAutoScaleSettingID(subscriptionId string, resourceGroupName string, autoScaleSettingName string) AutoScaleSettingId + func ParseAutoScaleSettingID(input string) (*AutoScaleSettingId, error) + func ParseAutoScaleSettingIDInsensitively(input string) (*AutoScaleSettingId, error) + func (id *AutoScaleSettingId) FromParseResult(input resourceids.ParseResult) error + func (id AutoScaleSettingId) ID() string + func (id AutoScaleSettingId) Segments() []resourceids.Segment + func (id AutoScaleSettingId) String() string + type AutoscaleAPIsClient struct + Client *resourcemanager.Client + func NewAutoscaleAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*AutoscaleAPIsClient, error) + func (c AutoscaleAPIsClient) AutoscaleSettingsUpdate(ctx context.Context, id AutoScaleSettingId, ...) (result AutoscaleSettingsUpdateOperationResponse, err error) + type AutoscaleNotification struct + Email *EmailNotification + Operation OperationType + WebHooks *[]WebhookNotification + type AutoscaleProfile struct + Capacity ScaleCapacity + FixedDate *TimeWindow + Name string + Recurrence *Recurrence + Rules []ScaleRule + type AutoscaleSetting struct + Enabled *bool + Name *string + Notifications *[]AutoscaleNotification + PredictiveAutoscalePolicy *PredictiveAutoscalePolicy + Profiles []AutoscaleProfile + TargetResourceLocation *string + TargetResourceUri *string + type AutoscaleSettingResource struct + Id *string + Location string + Name *string + Properties AutoscaleSetting + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type AutoscaleSettingResourcePatch struct + Properties *AutoscaleSetting + Tags *map[string]string + type AutoscaleSettingsUpdateOperationResponse struct + HttpResponse *http.Response + Model *AutoscaleSettingResource + OData *odata.OData + type ComparisonOperationType string + const ComparisonOperationTypeEquals + const ComparisonOperationTypeGreaterThan + const ComparisonOperationTypeGreaterThanOrEqual + const ComparisonOperationTypeLessThan + const ComparisonOperationTypeLessThanOrEqual + const ComparisonOperationTypeNotEquals + func (s *ComparisonOperationType) UnmarshalJSON(bytes []byte) error + type EmailNotification struct + CustomEmails *[]string + SendToSubscriptionAdministrator *bool + SendToSubscriptionCoAdministrators *bool + type MetricStatisticType string + const MetricStatisticTypeAverage + const MetricStatisticTypeCount + const MetricStatisticTypeMax + const MetricStatisticTypeMin + const MetricStatisticTypeSum + func (s *MetricStatisticType) UnmarshalJSON(bytes []byte) error + type MetricTrigger struct + Dimensions *[]ScaleRuleMetricDimension + DividePerInstance *bool + MetricName string + MetricNamespace *string + MetricResourceLocation *string + MetricResourceUri string + Operator ComparisonOperationType + Statistic MetricStatisticType + Threshold float64 + TimeAggregation TimeAggregationType + TimeGrain string + TimeWindow string + type OperationType string + const OperationTypeScale + func (s *OperationType) UnmarshalJSON(bytes []byte) error + type PredictiveAutoscalePolicy struct + ScaleLookAheadTime *string + ScaleMode PredictiveAutoscalePolicyScaleMode + type PredictiveAutoscalePolicyScaleMode string + const PredictiveAutoscalePolicyScaleModeDisabled + const PredictiveAutoscalePolicyScaleModeEnabled + const PredictiveAutoscalePolicyScaleModeForecastOnly + func (s *PredictiveAutoscalePolicyScaleMode) UnmarshalJSON(bytes []byte) error + type Recurrence struct + Frequency RecurrenceFrequency + Schedule RecurrentSchedule + type RecurrenceFrequency string + const RecurrenceFrequencyDay + const RecurrenceFrequencyHour + const RecurrenceFrequencyMinute + const RecurrenceFrequencyMonth + const RecurrenceFrequencyNone + const RecurrenceFrequencySecond + const RecurrenceFrequencyWeek + const RecurrenceFrequencyYear + func (s *RecurrenceFrequency) UnmarshalJSON(bytes []byte) error + type RecurrentSchedule struct + Days []string + Hours []int64 + Minutes []int64 + TimeZone string + type ScaleAction struct + Cooldown string + Direction ScaleDirection + Type ScaleType + Value *string + type ScaleCapacity struct + Default string + Maximum string + Minimum string + type ScaleDirection string + const ScaleDirectionDecrease + const ScaleDirectionIncrease + const ScaleDirectionNone + func (s *ScaleDirection) UnmarshalJSON(bytes []byte) error + type ScaleRule struct + MetricTrigger MetricTrigger + ScaleAction ScaleAction + type ScaleRuleMetricDimension struct + DimensionName string + Operator ScaleRuleMetricDimensionOperationType + Values []string + type ScaleRuleMetricDimensionOperationType string + const ScaleRuleMetricDimensionOperationTypeEquals + const ScaleRuleMetricDimensionOperationTypeNotEquals + func (s *ScaleRuleMetricDimensionOperationType) UnmarshalJSON(bytes []byte) error + type ScaleType string + const ScaleTypeChangeCount + const ScaleTypeExactCount + const ScaleTypePercentChangeCount + const ScaleTypeServiceAllowedNextValue + func (s *ScaleType) UnmarshalJSON(bytes []byte) error + type TimeAggregationType string + const TimeAggregationTypeAverage + const TimeAggregationTypeCount + const TimeAggregationTypeLast + const TimeAggregationTypeMaximum + const TimeAggregationTypeMinimum + const TimeAggregationTypeTotal + func (s *TimeAggregationType) UnmarshalJSON(bytes []byte) error + type TimeWindow struct + End string + Start string + TimeZone *string + func (o *TimeWindow) GetEndAsTime() (*time.Time, error) + func (o *TimeWindow) GetStartAsTime() (*time.Time, error) + func (o *TimeWindow) SetEndAsTime(input time.Time) + func (o *TimeWindow) SetStartAsTime(input time.Time) + type WebhookNotification struct + Properties *map[string]string + ServiceUri *string