google_api_compute v0.6.0 GoogleApi.Compute.V1.Model.Autoscaler View Source
Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine instances in managed instance groups according to an autoscaling policy that you define. For more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==)
Attributes
- autoscalingPolicy (AutoscalingPolicy): The configuration parameters for the autoscaling algorithm. You can define one or more of the policies for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. Defaults to:
null
. - creationTimestamp (String.t): [Output Only] Creation timestamp in RFC3339 text format. Defaults to:
null
. - description (String.t): An optional description of this resource. Provide this property when you create the resource. Defaults to:
null
. - id (String.t): [Output Only] The unique identifier for the resource. This identifier is defined by the server. Defaults to:
null
. - kind (String.t): [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. Defaults to:
null
. - name (String.t): Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Defaults to:
null
. - region (String.t): [Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope). Defaults to:
null
. - selfLink (String.t): [Output Only] Server-defined URL for the resource. Defaults to:
null
. status (String.t): [Output Only] The status of the autoscaler configuration. Defaults to:
null
.- Enum - one of [ACTIVE, DELETING, ERROR, PENDING]
- statusDetails ([AutoscalerStatusDetails]): [Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for examples of status messages you might encounter. Defaults to:
null
. - target (String.t): URL of the managed instance group that this autoscaler will scale. Defaults to:
null
. - zone (String.t): [Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope). Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Compute.V1.Model.Autoscaler{
autoscalingPolicy: GoogleApi.Compute.V1.Model.AutoscalingPolicy.t(),
creationTimestamp: any(),
description: any(),
id: any(),
kind: any(),
name: any(),
region: any(),
selfLink: any(),
status: any(),
statusDetails: [GoogleApi.Compute.V1.Model.AutoscalerStatusDetails.t()],
target: any(),
zone: any()
}
t() :: %GoogleApi.Compute.V1.Model.Autoscaler{ autoscalingPolicy: GoogleApi.Compute.V1.Model.AutoscalingPolicy.t(), creationTimestamp: any(), description: any(), id: any(), kind: any(), name: any(), region: any(), selfLink: any(), status: any(), statusDetails: [GoogleApi.Compute.V1.Model.AutoscalerStatusDetails.t()], target: any(), zone: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.