Class ContainerAzureCluster.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_azure_cluster.ContainerAzureCluster.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAzureCluster>
- Enclosing class:
- ContainerAzureCluster
@Stability(Stable) public static final class ContainerAzureCluster.Builder extends Object implements software.amazon.jsii.Builder<ContainerAzureCluster>
A fluent builder forContainerAzureCluster.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAzureCluster.Builderannotations(Map<String,String> annotations)Optional.ContainerAzureCluster.Builderauthorization(ContainerAzureClusterAuthorization authorization)authorization block.ContainerAzureCluster.BuilderazureRegion(String azureRegion)The Azure region where the cluster runs.ContainerAzureCluster.BuilderazureServicesAuthentication(ContainerAzureClusterAzureServicesAuthentication azureServicesAuthentication)azure_services_authentication block.ContainerAzureClusterbuild()ContainerAzureCluster.Builderclient(String client)Name of the AzureClient.ContainerAzureCluster.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ContainerAzureCluster.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ContainerAzureCluster.BuildercontrolPlane(ContainerAzureClusterControlPlane controlPlane)control_plane block.ContainerAzureCluster.Buildercount(com.hashicorp.cdktf.TerraformCount count)ContainerAzureCluster.Buildercount(Number count)static ContainerAzureCluster.Buildercreate(software.constructs.Construct scope, String id)ContainerAzureCluster.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ContainerAzureCluster.Builderdescription(String description)Optional.ContainerAzureCluster.Builderfleet(ContainerAzureClusterFleet fleet)fleet block.ContainerAzureCluster.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ContainerAzureCluster.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#id ContainerAzureCluster#id}.ContainerAzureCluster.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ContainerAzureCluster.Builderlocation(String location)The location for the resource.ContainerAzureCluster.Buildername(String name)The name of this resource.ContainerAzureCluster.Buildernetworking(ContainerAzureClusterNetworking networking)networking block.ContainerAzureCluster.Builderproject(String project)The project for the resource.ContainerAzureCluster.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ContainerAzureCluster.Builderprovisioners(List<? extends Object> provisioners)ContainerAzureCluster.BuilderresourceGroupId(String resourceGroupId)The ARM ID of the resource group where the cluster resources are deployed.ContainerAzureCluster.Buildertimeouts(ContainerAzureClusterTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ContainerAzureCluster.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
ContainerAzureCluster.Builder.
-
connection
@Stability(Experimental) public ContainerAzureCluster.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ContainerAzureCluster.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ContainerAzureCluster.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ContainerAzureCluster.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ContainerAzureCluster.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ContainerAzureCluster.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ContainerAzureCluster.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ContainerAzureCluster.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ContainerAzureCluster.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
authorization
@Stability(Stable) public ContainerAzureCluster.Builder authorization(ContainerAzureClusterAuthorization authorization)
authorization block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#authorization ContainerAzureCluster#authorization}
- Parameters:
authorization- authorization block. This parameter is required.- Returns:
this
-
azureRegion
@Stability(Stable) public ContainerAzureCluster.Builder azureRegion(String 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#azure_region ContainerAzureCluster#azure_region}
- Parameters:
azureRegion- The Azure region where the cluster runs. This parameter is required.- Returns:
this
-
controlPlane
@Stability(Stable) public ContainerAzureCluster.Builder controlPlane(ContainerAzureClusterControlPlane controlPlane)
control_plane block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#control_plane ContainerAzureCluster#control_plane}
- Parameters:
controlPlane- control_plane block. This parameter is required.- Returns:
this
-
fleet
@Stability(Stable) public ContainerAzureCluster.Builder fleet(ContainerAzureClusterFleet fleet)
fleet block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#fleet ContainerAzureCluster#fleet}
- Parameters:
fleet- fleet block. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public ContainerAzureCluster.Builder location(String location)
The location for the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#location ContainerAzureCluster#location}
- Parameters:
location- The location for the resource. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public ContainerAzureCluster.Builder name(String name)
The name of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#name ContainerAzureCluster#name}
- Parameters:
name- The name of this resource. This parameter is required.- Returns:
this
-
networking
@Stability(Stable) public ContainerAzureCluster.Builder networking(ContainerAzureClusterNetworking networking)
networking block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#networking ContainerAzureCluster#networking}
- Parameters:
networking- networking block. This parameter is required.- Returns:
this
-
resourceGroupId
@Stability(Stable) public ContainerAzureCluster.Builder resourceGroupId(String resourceGroupId)
The ARM ID of the resource group where the cluster resources are deployed. For example:/subscriptions/* /resourceGroups/*.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#resource_group_id ContainerAzureCluster#resource_group_id} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.
- Parameters:
resourceGroupId- The ARM ID of the resource group where the cluster resources are deployed. For example:/subscriptions/* /resourceGroups/*. This parameter is required.- Returns:
this
-
annotations
@Stability(Stable) public ContainerAzureCluster.Builder annotations(Map<String,String> 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#annotations ContainerAzureCluster#annotations}
- Parameters:
annotations- Optional. This parameter is required.- Returns:
this
-
azureServicesAuthentication
@Stability(Stable) public ContainerAzureCluster.Builder azureServicesAuthentication(ContainerAzureClusterAzureServicesAuthentication azureServicesAuthentication)
azure_services_authentication block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#azure_services_authentication ContainerAzureCluster#azure_services_authentication}
- Parameters:
azureServicesAuthentication- azure_services_authentication block. This parameter is required.- Returns:
this
-
client
@Stability(Stable) public ContainerAzureCluster.Builder client(String 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/
/locations/ /azureClients/ `. See Resource Names (https:cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#client ContainerAzureCluster#client} - Parameters:
client- Name of the AzureClient. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public ContainerAzureCluster.Builder description(String description)
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#description ContainerAzureCluster#description}
- Parameters:
description- Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ContainerAzureCluster.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#id ContainerAzureCluster#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#id ContainerAzureCluster#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public ContainerAzureCluster.Builder project(String project)
The project for the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#project ContainerAzureCluster#project}
- Parameters:
project- The project for the resource. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public ContainerAzureCluster.Builder timeouts(ContainerAzureClusterTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#timeouts ContainerAzureCluster#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ContainerAzureCluster build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAzureCluster>- Returns:
- a newly built instance of
ContainerAzureCluster.
-
-