Class AzureClusterArgs.Builder

  • Enclosing class:
    AzureClusterArgs

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

      • Builder

        public Builder()
    • Method Detail

      • annotations

        public AzureClusterArgs.Builder annotations​(@Nullable
                                                    com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> annotations)
        Parameters:
        annotations - Optional. Annotations on the cluster. 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 AzureClusterArgs.Builder annotations​(java.util.Map<java.lang.String,​java.lang.String> annotations)
        Parameters:
        annotations - Optional. Annotations on the cluster. 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
      • azureRegion

        public AzureClusterArgs.Builder azureRegion​(com.pulumi.core.Output<java.lang.String> azureRegion)
        Parameters:
        azureRegion - The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call to list all supported Azure regions within a given Google Cloud region.
        Returns:
        builder
      • azureRegion

        public AzureClusterArgs.Builder azureRegion​(java.lang.String azureRegion)
        Parameters:
        azureRegion - The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call to list all supported Azure regions within a given Google Cloud region.
        Returns:
        builder
      • client

        public AzureClusterArgs.Builder client​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> client)
        Parameters:
        client - Name of the AzureClient. The `AzureClient` resource must reside on the same GCP project and region as the `AzureCluster`. `AzureClient` names are formatted as `projects/<project-number>/locations/<region>/azureClients/<client-id>`. See Resource Names (https:cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
        Returns:
        builder
      • client

        public AzureClusterArgs.Builder client​(java.lang.String client)
        Parameters:
        client - Name of the AzureClient. The `AzureClient` resource must reside on the same GCP project and region as the `AzureCluster`. `AzureClient` names are formatted as `projects/<project-number>/locations/<region>/azureClients/<client-id>`. See Resource Names (https:cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
        Returns:
        builder
      • description

        public AzureClusterArgs.Builder description​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
        Returns:
        builder
      • description

        public AzureClusterArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
        Returns:
        builder
      • location

        public AzureClusterArgs.Builder location​(com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The location for the resource
        Returns:
        builder
      • location

        public AzureClusterArgs.Builder location​(java.lang.String location)
        Parameters:
        location - The location for the resource
        Returns:
        builder
      • name

        public AzureClusterArgs.Builder name​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of this resource.
        Returns:
        builder
      • name

        public AzureClusterArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of this resource.
        Returns:
        builder
      • project

        public AzureClusterArgs.Builder project​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The number of the Fleet host project where this cluster will be registered.
        Returns:
        builder
      • project

        public AzureClusterArgs.Builder project​(java.lang.String project)
        Parameters:
        project - The number of the Fleet host project where this cluster will be registered.
        Returns:
        builder
      • resourceGroupId

        public AzureClusterArgs.Builder resourceGroupId​(com.pulumi.core.Output<java.lang.String> resourceGroupId)
        Parameters:
        resourceGroupId - The ARM ID of the resource group where the cluster resources are deployed. For example: `/subscriptions/*/resourceGroups/*`
        Returns:
        builder
      • resourceGroupId

        public AzureClusterArgs.Builder resourceGroupId​(java.lang.String resourceGroupId)
        Parameters:
        resourceGroupId - The ARM ID of the resource group where the cluster resources are deployed. For example: `/subscriptions/*/resourceGroups/*`
        Returns:
        builder