Skip to content

googleContainerAzureClient

AzureClient resources hold client authentication information needed by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When an AzureCluster is created, an AzureClient resource needs to be provided and all operations on Azure resources associated to that cluster will authenticate to Azure services using the given client.AzureClient resources are immutable and cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant.

For more information, see:

Example Usage - basic_azure_client

A basic example of a containerazure azure client

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.containerAzureClient.ContainerAzureClient(this, "primary", {
  application_id: "12345678-1234-1234-1234-123456789111",
  location: "us-west1",
  name: "client-name",
  project: "my-project-name",
  tenant_id: "12345678-1234-1234-1234-123456789111",
});

Argument Reference

The following arguments are supported:

  • applicationId - (Required) The Azure Active Directory Application ID.

  • location - (Required) The location for the resource

  • name - (Required) The name of this resource.

  • tenantId - (Required) The Azure Active Directory Tenant ID.


  • project - (Optional) The project for the resource

Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

  • id - an identifier for the resource with format projects/{{project}}/locations/{{location}}/azureClients/{{name}}

  • certificate - Output only. The PEM encoded x509 certificate.

  • createTime - Output only. The time at which this resource was created.

  • uid - Output only. A globally unique identifier for the client.

Timeouts

This resource provides the following Timeouts configuration options:

  • create - Default is 20 minutes.
  • delete - Default is 20 minutes.

Import

Client can be imported using any of these accepted formats:

$ terraform import google_container_azure_client.default projects/{{project}}/locations/{{location}}/azureClients/{{name}}
$ terraform import google_container_azure_client.default {{project}}/{{location}}/{{name}}
$ terraform import google_container_azure_client.default {{location}}/{{name}}