Class AutoscalerArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class AutoscalerArgs : ResourceArgs
Constructors
View SourceAutoscalerArgs()
Declaration
public AutoscalerArgs()
Properties
View SourceAutoscalingPolicy
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%. Structure is documented below.
Declaration
public Input<AutoscalerAutoscalingPolicyArgs> AutoscalingPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<AutoscalerAutoscalingPolicyArgs> |
Description
An optional description of this resource.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
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
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Target
Fraction of backend capacity utilization (set in HTTP(s) load balancing configuration) that autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8.
Declaration
public Input<string> Target { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Zone
URL of the zone where the instance group resides.
Declaration
public Input<string> Zone { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |