Azure Client Args
data class AzureClientArgs(val applicationId: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val tenantId: Output<String>? = null) : ConvertibleToJava<AzureClientArgs>
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());
}
}
Content copied to clipboard
Import
Client can be imported using any of these accepted formats
$ pulumi import gcp:container/azureClient:AzureClient default projects/{{project}}/locations/{{location}}/azureClients/{{name}}
Content copied to clipboard
$ pulumi import gcp:container/azureClient:AzureClient default {{project}}/{{location}}/{{name}}
Content copied to clipboard
$ pulumi import gcp:container/azureClient:AzureClient default {{location}}/{{name}}
Content copied to clipboard