Show / Hide Table of Contents

Class AutoscalingPolicyCustomMetricUtilization

Custom utilization metric policy.

Inheritance
System.Object
AutoscalingPolicyCustomMetricUtilization
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class AutoscalingPolicyCustomMetricUtilization : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Metric

The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values.

The metric must have a value type of INT64 or DOUBLE.

Declaration
[JsonProperty("metric")]
public virtual string Metric { get; set; }
Property Value
Type Description
System.String

UtilizationTarget

The target value of the metric that autoscaler should maintain. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric.

For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.

Declaration
[JsonProperty("utilizationTarget")]
public virtual double? UtilizationTarget { get; set; }
Property Value
Type Description
System.Nullable<System.Double>

UtilizationTargetType

Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.

Declaration
[JsonProperty("utilizationTargetType")]
public virtual string UtilizationTargetType { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
Back to top