Package com.pulumi.gcp.container
Class AzureNodePoolArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.container.AzureNodePoolArgs.Builder
-
- Enclosing class:
- AzureNodePoolArgs
public static final class AzureNodePoolArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(AzureNodePoolArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AzureNodePoolArgs defaults)
-
-
Method Detail
-
annotations
public AzureNodePoolArgs.Builder annotations(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> annotations)
- Parameters:
annotations
- Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.- Returns:
- builder
-
annotations
public AzureNodePoolArgs.Builder annotations(java.util.Map<java.lang.String,java.lang.String> annotations)
- Parameters:
annotations
- Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.- Returns:
- builder
-
autoscaling
public AzureNodePoolArgs.Builder autoscaling(com.pulumi.core.Output<AzureNodePoolAutoscalingArgs> autoscaling)
- Parameters:
autoscaling
- Autoscaler configuration for this node pool.- Returns:
- builder
-
autoscaling
public AzureNodePoolArgs.Builder autoscaling(AzureNodePoolAutoscalingArgs autoscaling)
- Parameters:
autoscaling
- Autoscaler configuration for this node pool.- Returns:
- builder
-
azureAvailabilityZone
public AzureNodePoolArgs.Builder azureAvailabilityZone(@Nullable com.pulumi.core.Output<java.lang.String> azureAvailabilityZone)
- Parameters:
azureAvailabilityZone
- Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to `1`.- Returns:
- builder
-
azureAvailabilityZone
public AzureNodePoolArgs.Builder azureAvailabilityZone(java.lang.String azureAvailabilityZone)
- Parameters:
azureAvailabilityZone
- Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to `1`.- Returns:
- builder
-
cluster
public AzureNodePoolArgs.Builder cluster(com.pulumi.core.Output<java.lang.String> cluster)
- Parameters:
cluster
- The azureCluster for the resource- Returns:
- builder
-
cluster
public AzureNodePoolArgs.Builder cluster(java.lang.String cluster)
- Parameters:
cluster
- The azureCluster for the resource- Returns:
- builder
-
config
public AzureNodePoolArgs.Builder config(com.pulumi.core.Output<AzureNodePoolConfigArgs> config)
- Parameters:
config
- The node configuration of the node pool.- Returns:
- builder
-
config
public AzureNodePoolArgs.Builder config(AzureNodePoolConfigArgs config)
- Parameters:
config
- The node configuration of the node pool.- Returns:
- builder
-
location
public AzureNodePoolArgs.Builder location(com.pulumi.core.Output<java.lang.String> location)
- Parameters:
location
- The location for the resource- Returns:
- builder
-
location
public AzureNodePoolArgs.Builder location(java.lang.String location)
- Parameters:
location
- The location for the resource- Returns:
- builder
-
management
public AzureNodePoolArgs.Builder management(@Nullable com.pulumi.core.Output<AzureNodePoolManagementArgs> management)
- Parameters:
management
- The Management configuration for this node pool.- Returns:
- builder
-
management
public AzureNodePoolArgs.Builder management(AzureNodePoolManagementArgs management)
- Parameters:
management
- The Management configuration for this node pool.- Returns:
- builder
-
maxPodsConstraint
public AzureNodePoolArgs.Builder maxPodsConstraint(com.pulumi.core.Output<AzureNodePoolMaxPodsConstraintArgs> maxPodsConstraint)
- Parameters:
maxPodsConstraint
- The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.- Returns:
- builder
-
maxPodsConstraint
public AzureNodePoolArgs.Builder maxPodsConstraint(AzureNodePoolMaxPodsConstraintArgs maxPodsConstraint)
- Parameters:
maxPodsConstraint
- The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.- Returns:
- builder
-
name
public AzureNodePoolArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of this resource.- Returns:
- builder
-
name
public AzureNodePoolArgs.Builder name(java.lang.String name)
- Parameters:
name
- The name of this resource.- Returns:
- builder
-
project
public AzureNodePoolArgs.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
- Parameters:
project
- The project for the resource- Returns:
- builder
-
project
public AzureNodePoolArgs.Builder project(java.lang.String project)
- Parameters:
project
- The project for the resource- Returns:
- builder
-
subnetId
public AzureNodePoolArgs.Builder subnetId(com.pulumi.core.Output<java.lang.String> subnetId)
- Parameters:
subnetId
- The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.- Returns:
- builder
-
subnetId
public AzureNodePoolArgs.Builder subnetId(java.lang.String subnetId)
- Parameters:
subnetId
- The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.- Returns:
- builder
-
version
public AzureNodePoolArgs.Builder version(com.pulumi.core.Output<java.lang.String> version)
- Parameters:
version
- The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this node pool.- Returns:
- builder
-
version
public AzureNodePoolArgs.Builder version(java.lang.String version)
- Parameters:
version
- The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this node pool.- Returns:
- builder
-
build
public AzureNodePoolArgs build()
-
-