Class AzureNodePoolArgs.Builder

  • Enclosing class:
    AzureNodePoolArgs

    public static final class AzureNodePoolArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • 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
      • 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
      • 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