AzureClient

class AzureClient : KotlinCustomResource

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

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.container.AzureClient;
import com.pulumi.gcp.container.AzureClientArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var primary = new AzureClient("primary", AzureClientArgs.builder()
.applicationId("12345678-1234-1234-1234-123456789111")
.location("us-west1")
.project("my-project-name")
.tenantId("12345678-1234-1234-1234-123456789111")
.build());
}
}

Import

Client can be imported using any of these accepted formats

$ pulumi import gcp:container/azureClient:AzureClient default projects/{{project}}/locations/{{location}}/azureClients/{{name}}
$ pulumi import gcp:container/azureClient:AzureClient default {{project}}/{{location}}/{{name}}
$ pulumi import gcp:container/azureClient:AzureClient default {{location}}/{{name}}

Properties

Link copied to clipboard
val applicationId: Output<String>

The Azure Active Directory Application ID.

Link copied to clipboard
val certificate: Output<String>

Output only. The PEM encoded x509 certificate.

Link copied to clipboard
val createTime: Output<String>

Output only. The time at which this resource was created.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The location for the resource

Link copied to clipboard
val name: Output<String>

The name of this resource.

Link copied to clipboard
val project: Output<String>

The project for the resource

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tenantId: Output<String>

The Azure Active Directory Tenant ID.

Link copied to clipboard
val uid: Output<String>

Output only. A globally unique identifier for the client.

Link copied to clipboard
val urn: Output<String>