Class AutoscalingPolicy
Describes an autoscaling policy for Dataproc cluster autoscaler.
Implements
Inherited Members
Namespace: Google.Apis.Dataproc.v1.Data
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class AutoscalingPolicy : IDirectResponseSchema
Properties
BasicAlgorithm
Declaration
[JsonProperty("basicAlgorithm")]
public virtual BasicAutoscalingAlgorithm BasicAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
BasicAutoscalingAlgorithm |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Name
Output only. The "resource name" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
SecondaryWorkerConfig
Optional. Describes how the autoscaler will operate for secondary workers.
Declaration
[JsonProperty("secondaryWorkerConfig")]
public virtual InstanceGroupAutoscalingPolicyConfig SecondaryWorkerConfig { get; set; }
Property Value
Type | Description |
---|---|
InstanceGroupAutoscalingPolicyConfig |
WorkerConfig
Required. Describes how the autoscaler will operate for primary workers.
Declaration
[JsonProperty("workerConfig")]
public virtual InstanceGroupAutoscalingPolicyConfig WorkerConfig { get; set; }
Property Value
Type | Description |
---|---|
InstanceGroupAutoscalingPolicyConfig |