Show / Hide Table of Contents

Class AutoscalingPolicy

Describes an autoscaling policy for Dataproc cluster autoscaler.

Inheritance
System.Object
AutoscalingPolicy
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.Dataproc.v1beta2.Data
Assembly: Google.Apis.Dataproc.v1beta2.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
System.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
System.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
System.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

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top