1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. container
  5. AzureCluster
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

gcp.container.AzureCluster

Explore with Pulumi AI

An Anthos cluster running on Azure.

For more information, see:

Example Usage

Basic_azure_cluster

A basic example of a containerazure azure cluster

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const versions = gcp.container.getAzureVersions({
    project: "my-project-name",
    location: "us-west1",
});
const basic = new gcp.container.AzureClient("basic", {
    applicationId: "12345678-1234-1234-1234-123456789111",
    location: "us-west1",
    name: "client-name",
    tenantId: "12345678-1234-1234-1234-123456789111",
    project: "my-project-name",
});
const primary = new gcp.container.AzureCluster("primary", {
    authorization: {
        adminUsers: [{
            username: "mmv2@google.com",
        }],
        adminGroups: [{
            group: "group@domain.com",
        }],
    },
    azureRegion: "westus2",
    client: pulumi.interpolate`projects/my-project-number/locations/us-west1/azureClients/${basic.name}`,
    controlPlane: {
        sshConfig: {
            authorizedKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers",
        },
        subnetId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
        version: versions.then(versions => versions.validVersions?.[0]),
    },
    fleet: {
        project: "my-project-number",
    },
    location: "us-west1",
    name: "name",
    networking: {
        podAddressCidrBlocks: ["10.200.0.0/16"],
        serviceAddressCidrBlocks: ["10.32.0.0/24"],
        virtualNetworkId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet",
    },
    resourceGroupId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
    project: "my-project-name",
});
Copy
import pulumi
import pulumi_gcp as gcp

versions = gcp.container.get_azure_versions(project="my-project-name",
    location="us-west1")
basic = gcp.container.AzureClient("basic",
    application_id="12345678-1234-1234-1234-123456789111",
    location="us-west1",
    name="client-name",
    tenant_id="12345678-1234-1234-1234-123456789111",
    project="my-project-name")
primary = gcp.container.AzureCluster("primary",
    authorization={
        "admin_users": [{
            "username": "mmv2@google.com",
        }],
        "admin_groups": [{
            "group": "group@domain.com",
        }],
    },
    azure_region="westus2",
    client=basic.name.apply(lambda name: f"projects/my-project-number/locations/us-west1/azureClients/{name}"),
    control_plane={
        "ssh_config": {
            "authorized_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers",
        },
        "subnet_id": "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
        "version": versions.valid_versions[0],
    },
    fleet={
        "project": "my-project-number",
    },
    location="us-west1",
    name="name",
    networking={
        "pod_address_cidr_blocks": ["10.200.0.0/16"],
        "service_address_cidr_blocks": ["10.32.0.0/24"],
        "virtual_network_id": "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet",
    },
    resource_group_id="/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
    project="my-project-name")
Copy
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/container"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		versions, err := container.GetAzureVersions(ctx, &container.GetAzureVersionsArgs{
			Project:  pulumi.StringRef("my-project-name"),
			Location: pulumi.StringRef("us-west1"),
		}, nil)
		if err != nil {
			return err
		}
		basic, err := container.NewAzureClient(ctx, "basic", &container.AzureClientArgs{
			ApplicationId: pulumi.String("12345678-1234-1234-1234-123456789111"),
			Location:      pulumi.String("us-west1"),
			Name:          pulumi.String("client-name"),
			TenantId:      pulumi.String("12345678-1234-1234-1234-123456789111"),
			Project:       pulumi.String("my-project-name"),
		})
		if err != nil {
			return err
		}
		_, err = container.NewAzureCluster(ctx, "primary", &container.AzureClusterArgs{
			Authorization: &container.AzureClusterAuthorizationArgs{
				AdminUsers: container.AzureClusterAuthorizationAdminUserArray{
					&container.AzureClusterAuthorizationAdminUserArgs{
						Username: pulumi.String("mmv2@google.com"),
					},
				},
				AdminGroups: container.AzureClusterAuthorizationAdminGroupArray{
					&container.AzureClusterAuthorizationAdminGroupArgs{
						Group: pulumi.String("group@domain.com"),
					},
				},
			},
			AzureRegion: pulumi.String("westus2"),
			Client: basic.Name.ApplyT(func(name string) (string, error) {
				return fmt.Sprintf("projects/my-project-number/locations/us-west1/azureClients/%v", name), nil
			}).(pulumi.StringOutput),
			ControlPlane: &container.AzureClusterControlPlaneArgs{
				SshConfig: &container.AzureClusterControlPlaneSshConfigArgs{
					AuthorizedKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers"),
				},
				SubnetId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default"),
				Version:  pulumi.String(versions.ValidVersions[0]),
			},
			Fleet: &container.AzureClusterFleetArgs{
				Project: pulumi.String("my-project-number"),
			},
			Location: pulumi.String("us-west1"),
			Name:     pulumi.String("name"),
			Networking: &container.AzureClusterNetworkingArgs{
				PodAddressCidrBlocks: pulumi.StringArray{
					pulumi.String("10.200.0.0/16"),
				},
				ServiceAddressCidrBlocks: pulumi.StringArray{
					pulumi.String("10.32.0.0/24"),
				},
				VirtualNetworkId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet"),
			},
			ResourceGroupId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster"),
			Project:         pulumi.String("my-project-name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var versions = Gcp.Container.GetAzureVersions.Invoke(new()
    {
        Project = "my-project-name",
        Location = "us-west1",
    });

    var basic = new Gcp.Container.AzureClient("basic", new()
    {
        ApplicationId = "12345678-1234-1234-1234-123456789111",
        Location = "us-west1",
        Name = "client-name",
        TenantId = "12345678-1234-1234-1234-123456789111",
        Project = "my-project-name",
    });

    var primary = new Gcp.Container.AzureCluster("primary", new()
    {
        Authorization = new Gcp.Container.Inputs.AzureClusterAuthorizationArgs
        {
            AdminUsers = new[]
            {
                new Gcp.Container.Inputs.AzureClusterAuthorizationAdminUserArgs
                {
                    Username = "mmv2@google.com",
                },
            },
            AdminGroups = new[]
            {
                new Gcp.Container.Inputs.AzureClusterAuthorizationAdminGroupArgs
                {
                    Group = "group@domain.com",
                },
            },
        },
        AzureRegion = "westus2",
        Client = basic.Name.Apply(name => $"projects/my-project-number/locations/us-west1/azureClients/{name}"),
        ControlPlane = new Gcp.Container.Inputs.AzureClusterControlPlaneArgs
        {
            SshConfig = new Gcp.Container.Inputs.AzureClusterControlPlaneSshConfigArgs
            {
                AuthorizedKey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers",
            },
            SubnetId = "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
            Version = versions.Apply(getAzureVersionsResult => getAzureVersionsResult.ValidVersions[0]),
        },
        Fleet = new Gcp.Container.Inputs.AzureClusterFleetArgs
        {
            Project = "my-project-number",
        },
        Location = "us-west1",
        Name = "name",
        Networking = new Gcp.Container.Inputs.AzureClusterNetworkingArgs
        {
            PodAddressCidrBlocks = new[]
            {
                "10.200.0.0/16",
            },
            ServiceAddressCidrBlocks = new[]
            {
                "10.32.0.0/24",
            },
            VirtualNetworkId = "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet",
        },
        ResourceGroupId = "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
        Project = "my-project-name",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.container.ContainerFunctions;
import com.pulumi.gcp.container.inputs.GetAzureVersionsArgs;
import com.pulumi.gcp.container.AzureClient;
import com.pulumi.gcp.container.AzureClientArgs;
import com.pulumi.gcp.container.AzureCluster;
import com.pulumi.gcp.container.AzureClusterArgs;
import com.pulumi.gcp.container.inputs.AzureClusterAuthorizationArgs;
import com.pulumi.gcp.container.inputs.AzureClusterControlPlaneArgs;
import com.pulumi.gcp.container.inputs.AzureClusterControlPlaneSshConfigArgs;
import com.pulumi.gcp.container.inputs.AzureClusterFleetArgs;
import com.pulumi.gcp.container.inputs.AzureClusterNetworkingArgs;
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) {
        final var versions = ContainerFunctions.getAzureVersions(GetAzureVersionsArgs.builder()
            .project("my-project-name")
            .location("us-west1")
            .build());

        var basic = new AzureClient("basic", AzureClientArgs.builder()
            .applicationId("12345678-1234-1234-1234-123456789111")
            .location("us-west1")
            .name("client-name")
            .tenantId("12345678-1234-1234-1234-123456789111")
            .project("my-project-name")
            .build());

        var primary = new AzureCluster("primary", AzureClusterArgs.builder()
            .authorization(AzureClusterAuthorizationArgs.builder()
                .adminUsers(AzureClusterAuthorizationAdminUserArgs.builder()
                    .username("mmv2@google.com")
                    .build())
                .adminGroups(AzureClusterAuthorizationAdminGroupArgs.builder()
                    .group("group@domain.com")
                    .build())
                .build())
            .azureRegion("westus2")
            .client(basic.name().applyValue(name -> String.format("projects/my-project-number/locations/us-west1/azureClients/%s", name)))
            .controlPlane(AzureClusterControlPlaneArgs.builder()
                .sshConfig(AzureClusterControlPlaneSshConfigArgs.builder()
                    .authorizedKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers")
                    .build())
                .subnetId("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default")
                .version(versions.applyValue(getAzureVersionsResult -> getAzureVersionsResult.validVersions()[0]))
                .build())
            .fleet(AzureClusterFleetArgs.builder()
                .project("my-project-number")
                .build())
            .location("us-west1")
            .name("name")
            .networking(AzureClusterNetworkingArgs.builder()
                .podAddressCidrBlocks("10.200.0.0/16")
                .serviceAddressCidrBlocks("10.32.0.0/24")
                .virtualNetworkId("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet")
                .build())
            .resourceGroupId("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster")
            .project("my-project-name")
            .build());

    }
}
Copy
resources:
  primary:
    type: gcp:container:AzureCluster
    properties:
      authorization:
        adminUsers:
          - username: mmv2@google.com
        adminGroups:
          - group: group@domain.com
      azureRegion: westus2
      client: projects/my-project-number/locations/us-west1/azureClients/${basic.name}
      controlPlane:
        sshConfig:
          authorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers
        subnetId: /subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default
        version: ${versions.validVersions[0]}
      fleet:
        project: my-project-number
      location: us-west1
      name: name
      networking:
        podAddressCidrBlocks:
          - 10.200.0.0/16
        serviceAddressCidrBlocks:
          - 10.32.0.0/24
        virtualNetworkId: /subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet
      resourceGroupId: /subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster
      project: my-project-name
  basic:
    type: gcp:container:AzureClient
    properties:
      applicationId: 12345678-1234-1234-1234-123456789111
      location: us-west1
      name: client-name
      tenantId: 12345678-1234-1234-1234-123456789111
      project: my-project-name
variables:
  versions:
    fn::invoke:
      function: gcp:container:getAzureVersions
      arguments:
        project: my-project-name
        location: us-west1
Copy

Beta_basic_enum_azure_cluster

A basic example of a containerazure azure cluster with lowercase enums (beta)

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const versions = gcp.container.getAzureVersions({
    project: "my-project-name",
    location: "us-west1",
});
const basic = new gcp.container.AzureClient("basic", {
    applicationId: "12345678-1234-1234-1234-123456789111",
    location: "us-west1",
    name: "client-name",
    tenantId: "12345678-1234-1234-1234-123456789111",
    project: "my-project-name",
});
const primary = new gcp.container.AzureCluster("primary", {
    authorization: {
        adminUsers: [{
            username: "mmv2@google.com",
        }],
    },
    azureRegion: "westus2",
    client: pulumi.interpolate`projects/my-project-number/locations/us-west1/azureClients/${basic.name}`,
    controlPlane: {
        sshConfig: {
            authorizedKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers",
        },
        subnetId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
        version: versions.then(versions => versions.validVersions?.[0]),
    },
    fleet: {
        project: "my-project-number",
    },
    location: "us-west1",
    name: "name",
    networking: {
        podAddressCidrBlocks: ["10.200.0.0/16"],
        serviceAddressCidrBlocks: ["10.32.0.0/24"],
        virtualNetworkId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet",
    },
    resourceGroupId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
    project: "my-project-name",
    loggingConfig: {
        componentConfig: {
            enableComponents: [
                "system_components",
                "workloads",
            ],
        },
    },
});
Copy
import pulumi
import pulumi_gcp as gcp

versions = gcp.container.get_azure_versions(project="my-project-name",
    location="us-west1")
basic = gcp.container.AzureClient("basic",
    application_id="12345678-1234-1234-1234-123456789111",
    location="us-west1",
    name="client-name",
    tenant_id="12345678-1234-1234-1234-123456789111",
    project="my-project-name")
primary = gcp.container.AzureCluster("primary",
    authorization={
        "admin_users": [{
            "username": "mmv2@google.com",
        }],
    },
    azure_region="westus2",
    client=basic.name.apply(lambda name: f"projects/my-project-number/locations/us-west1/azureClients/{name}"),
    control_plane={
        "ssh_config": {
            "authorized_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers",
        },
        "subnet_id": "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
        "version": versions.valid_versions[0],
    },
    fleet={
        "project": "my-project-number",
    },
    location="us-west1",
    name="name",
    networking={
        "pod_address_cidr_blocks": ["10.200.0.0/16"],
        "service_address_cidr_blocks": ["10.32.0.0/24"],
        "virtual_network_id": "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet",
    },
    resource_group_id="/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
    project="my-project-name",
    logging_config={
        "component_config": {
            "enable_components": [
                "system_components",
                "workloads",
            ],
        },
    })
Copy
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/container"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		versions, err := container.GetAzureVersions(ctx, &container.GetAzureVersionsArgs{
			Project:  pulumi.StringRef("my-project-name"),
			Location: pulumi.StringRef("us-west1"),
		}, nil)
		if err != nil {
			return err
		}
		basic, err := container.NewAzureClient(ctx, "basic", &container.AzureClientArgs{
			ApplicationId: pulumi.String("12345678-1234-1234-1234-123456789111"),
			Location:      pulumi.String("us-west1"),
			Name:          pulumi.String("client-name"),
			TenantId:      pulumi.String("12345678-1234-1234-1234-123456789111"),
			Project:       pulumi.String("my-project-name"),
		})
		if err != nil {
			return err
		}
		_, err = container.NewAzureCluster(ctx, "primary", &container.AzureClusterArgs{
			Authorization: &container.AzureClusterAuthorizationArgs{
				AdminUsers: container.AzureClusterAuthorizationAdminUserArray{
					&container.AzureClusterAuthorizationAdminUserArgs{
						Username: pulumi.String("mmv2@google.com"),
					},
				},
			},
			AzureRegion: pulumi.String("westus2"),
			Client: basic.Name.ApplyT(func(name string) (string, error) {
				return fmt.Sprintf("projects/my-project-number/locations/us-west1/azureClients/%v", name), nil
			}).(pulumi.StringOutput),
			ControlPlane: &container.AzureClusterControlPlaneArgs{
				SshConfig: &container.AzureClusterControlPlaneSshConfigArgs{
					AuthorizedKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers"),
				},
				SubnetId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default"),
				Version:  pulumi.String(versions.ValidVersions[0]),
			},
			Fleet: &container.AzureClusterFleetArgs{
				Project: pulumi.String("my-project-number"),
			},
			Location: pulumi.String("us-west1"),
			Name:     pulumi.String("name"),
			Networking: &container.AzureClusterNetworkingArgs{
				PodAddressCidrBlocks: pulumi.StringArray{
					pulumi.String("10.200.0.0/16"),
				},
				ServiceAddressCidrBlocks: pulumi.StringArray{
					pulumi.String("10.32.0.0/24"),
				},
				VirtualNetworkId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet"),
			},
			ResourceGroupId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster"),
			Project:         pulumi.String("my-project-name"),
			LoggingConfig: &container.AzureClusterLoggingConfigArgs{
				ComponentConfig: &container.AzureClusterLoggingConfigComponentConfigArgs{
					EnableComponents: pulumi.StringArray{
						pulumi.String("system_components"),
						pulumi.String("workloads"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var versions = Gcp.Container.GetAzureVersions.Invoke(new()
    {
        Project = "my-project-name",
        Location = "us-west1",
    });

    var basic = new Gcp.Container.AzureClient("basic", new()
    {
        ApplicationId = "12345678-1234-1234-1234-123456789111",
        Location = "us-west1",
        Name = "client-name",
        TenantId = "12345678-1234-1234-1234-123456789111",
        Project = "my-project-name",
    });

    var primary = new Gcp.Container.AzureCluster("primary", new()
    {
        Authorization = new Gcp.Container.Inputs.AzureClusterAuthorizationArgs
        {
            AdminUsers = new[]
            {
                new Gcp.Container.Inputs.AzureClusterAuthorizationAdminUserArgs
                {
                    Username = "mmv2@google.com",
                },
            },
        },
        AzureRegion = "westus2",
        Client = basic.Name.Apply(name => $"projects/my-project-number/locations/us-west1/azureClients/{name}"),
        ControlPlane = new Gcp.Container.Inputs.AzureClusterControlPlaneArgs
        {
            SshConfig = new Gcp.Container.Inputs.AzureClusterControlPlaneSshConfigArgs
            {
                AuthorizedKey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers",
            },
            SubnetId = "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
            Version = versions.Apply(getAzureVersionsResult => getAzureVersionsResult.ValidVersions[0]),
        },
        Fleet = new Gcp.Container.Inputs.AzureClusterFleetArgs
        {
            Project = "my-project-number",
        },
        Location = "us-west1",
        Name = "name",
        Networking = new Gcp.Container.Inputs.AzureClusterNetworkingArgs
        {
            PodAddressCidrBlocks = new[]
            {
                "10.200.0.0/16",
            },
            ServiceAddressCidrBlocks = new[]
            {
                "10.32.0.0/24",
            },
            VirtualNetworkId = "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet",
        },
        ResourceGroupId = "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
        Project = "my-project-name",
        LoggingConfig = new Gcp.Container.Inputs.AzureClusterLoggingConfigArgs
        {
            ComponentConfig = new Gcp.Container.Inputs.AzureClusterLoggingConfigComponentConfigArgs
            {
                EnableComponents = new[]
                {
                    "system_components",
                    "workloads",
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.container.ContainerFunctions;
import com.pulumi.gcp.container.inputs.GetAzureVersionsArgs;
import com.pulumi.gcp.container.AzureClient;
import com.pulumi.gcp.container.AzureClientArgs;
import com.pulumi.gcp.container.AzureCluster;
import com.pulumi.gcp.container.AzureClusterArgs;
import com.pulumi.gcp.container.inputs.AzureClusterAuthorizationArgs;
import com.pulumi.gcp.container.inputs.AzureClusterControlPlaneArgs;
import com.pulumi.gcp.container.inputs.AzureClusterControlPlaneSshConfigArgs;
import com.pulumi.gcp.container.inputs.AzureClusterFleetArgs;
import com.pulumi.gcp.container.inputs.AzureClusterNetworkingArgs;
import com.pulumi.gcp.container.inputs.AzureClusterLoggingConfigArgs;
import com.pulumi.gcp.container.inputs.AzureClusterLoggingConfigComponentConfigArgs;
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) {
        final var versions = ContainerFunctions.getAzureVersions(GetAzureVersionsArgs.builder()
            .project("my-project-name")
            .location("us-west1")
            .build());

        var basic = new AzureClient("basic", AzureClientArgs.builder()
            .applicationId("12345678-1234-1234-1234-123456789111")
            .location("us-west1")
            .name("client-name")
            .tenantId("12345678-1234-1234-1234-123456789111")
            .project("my-project-name")
            .build());

        var primary = new AzureCluster("primary", AzureClusterArgs.builder()
            .authorization(AzureClusterAuthorizationArgs.builder()
                .adminUsers(AzureClusterAuthorizationAdminUserArgs.builder()
                    .username("mmv2@google.com")
                    .build())
                .build())
            .azureRegion("westus2")
            .client(basic.name().applyValue(name -> String.format("projects/my-project-number/locations/us-west1/azureClients/%s", name)))
            .controlPlane(AzureClusterControlPlaneArgs.builder()
                .sshConfig(AzureClusterControlPlaneSshConfigArgs.builder()
                    .authorizedKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers")
                    .build())
                .subnetId("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default")
                .version(versions.applyValue(getAzureVersionsResult -> getAzureVersionsResult.validVersions()[0]))
                .build())
            .fleet(AzureClusterFleetArgs.builder()
                .project("my-project-number")
                .build())
            .location("us-west1")
            .name("name")
            .networking(AzureClusterNetworkingArgs.builder()
                .podAddressCidrBlocks("10.200.0.0/16")
                .serviceAddressCidrBlocks("10.32.0.0/24")
                .virtualNetworkId("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet")
                .build())
            .resourceGroupId("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster")
            .project("my-project-name")
            .loggingConfig(AzureClusterLoggingConfigArgs.builder()
                .componentConfig(AzureClusterLoggingConfigComponentConfigArgs.builder()
                    .enableComponents(                    
                        "system_components",
                        "workloads")
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  primary:
    type: gcp:container:AzureCluster
    properties:
      authorization:
        adminUsers:
          - username: mmv2@google.com
      azureRegion: westus2
      client: projects/my-project-number/locations/us-west1/azureClients/${basic.name}
      controlPlane:
        sshConfig:
          authorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers
        subnetId: /subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default
        version: ${versions.validVersions[0]}
      fleet:
        project: my-project-number
      location: us-west1
      name: name
      networking:
        podAddressCidrBlocks:
          - 10.200.0.0/16
        serviceAddressCidrBlocks:
          - 10.32.0.0/24
        virtualNetworkId: /subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet
      resourceGroupId: /subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster
      project: my-project-name
      loggingConfig:
        componentConfig:
          enableComponents:
            - system_components
            - workloads
  basic:
    type: gcp:container:AzureClient
    properties:
      applicationId: 12345678-1234-1234-1234-123456789111
      location: us-west1
      name: client-name
      tenantId: 12345678-1234-1234-1234-123456789111
      project: my-project-name
variables:
  versions:
    fn::invoke:
      function: gcp:container:getAzureVersions
      arguments:
        project: my-project-name
        location: us-west1
Copy

Create AzureCluster Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AzureCluster(name: string, args: AzureClusterArgs, opts?: CustomResourceOptions);
@overload
def AzureCluster(resource_name: str,
                 args: AzureClusterArgs,
                 opts: Optional[ResourceOptions] = None)

@overload
def AzureCluster(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 fleet: Optional[AzureClusterFleetArgs] = None,
                 authorization: Optional[AzureClusterAuthorizationArgs] = None,
                 azure_region: Optional[str] = None,
                 resource_group_id: Optional[str] = None,
                 networking: Optional[AzureClusterNetworkingArgs] = None,
                 control_plane: Optional[AzureClusterControlPlaneArgs] = None,
                 location: Optional[str] = None,
                 description: Optional[str] = None,
                 annotations: Optional[Mapping[str, str]] = None,
                 logging_config: Optional[AzureClusterLoggingConfigArgs] = None,
                 name: Optional[str] = None,
                 client: Optional[str] = None,
                 project: Optional[str] = None,
                 azure_services_authentication: Optional[AzureClusterAzureServicesAuthenticationArgs] = None)
func NewAzureCluster(ctx *Context, name string, args AzureClusterArgs, opts ...ResourceOption) (*AzureCluster, error)
public AzureCluster(string name, AzureClusterArgs args, CustomResourceOptions? opts = null)
public AzureCluster(String name, AzureClusterArgs args)
public AzureCluster(String name, AzureClusterArgs args, CustomResourceOptions options)
type: gcp:container:AzureCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AzureClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AzureClusterArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AzureClusterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AzureClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AzureClusterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var azureClusterResource = new Gcp.Container.AzureCluster("azureClusterResource", new()
{
    Fleet = new Gcp.Container.Inputs.AzureClusterFleetArgs
    {
        Membership = "string",
        Project = "string",
    },
    Authorization = new Gcp.Container.Inputs.AzureClusterAuthorizationArgs
    {
        AdminUsers = new[]
        {
            new Gcp.Container.Inputs.AzureClusterAuthorizationAdminUserArgs
            {
                Username = "string",
            },
        },
        AdminGroups = new[]
        {
            new Gcp.Container.Inputs.AzureClusterAuthorizationAdminGroupArgs
            {
                Group = "string",
            },
        },
    },
    AzureRegion = "string",
    ResourceGroupId = "string",
    Networking = new Gcp.Container.Inputs.AzureClusterNetworkingArgs
    {
        PodAddressCidrBlocks = new[]
        {
            "string",
        },
        ServiceAddressCidrBlocks = new[]
        {
            "string",
        },
        VirtualNetworkId = "string",
    },
    ControlPlane = new Gcp.Container.Inputs.AzureClusterControlPlaneArgs
    {
        SshConfig = new Gcp.Container.Inputs.AzureClusterControlPlaneSshConfigArgs
        {
            AuthorizedKey = "string",
        },
        SubnetId = "string",
        Version = "string",
        DatabaseEncryption = new Gcp.Container.Inputs.AzureClusterControlPlaneDatabaseEncryptionArgs
        {
            KeyId = "string",
        },
        MainVolume = new Gcp.Container.Inputs.AzureClusterControlPlaneMainVolumeArgs
        {
            SizeGib = 0,
        },
        ProxyConfig = new Gcp.Container.Inputs.AzureClusterControlPlaneProxyConfigArgs
        {
            ResourceGroupId = "string",
            SecretId = "string",
        },
        ReplicaPlacements = new[]
        {
            new Gcp.Container.Inputs.AzureClusterControlPlaneReplicaPlacementArgs
            {
                AzureAvailabilityZone = "string",
                SubnetId = "string",
            },
        },
        RootVolume = new Gcp.Container.Inputs.AzureClusterControlPlaneRootVolumeArgs
        {
            SizeGib = 0,
        },
        Tags = 
        {
            { "string", "string" },
        },
        VmSize = "string",
    },
    Location = "string",
    Description = "string",
    Annotations = 
    {
        { "string", "string" },
    },
    LoggingConfig = new Gcp.Container.Inputs.AzureClusterLoggingConfigArgs
    {
        ComponentConfig = new Gcp.Container.Inputs.AzureClusterLoggingConfigComponentConfigArgs
        {
            EnableComponents = new[]
            {
                "string",
            },
        },
    },
    Name = "string",
    Client = "string",
    Project = "string",
    AzureServicesAuthentication = new Gcp.Container.Inputs.AzureClusterAzureServicesAuthenticationArgs
    {
        ApplicationId = "string",
        TenantId = "string",
    },
});
Copy
example, err := container.NewAzureCluster(ctx, "azureClusterResource", &container.AzureClusterArgs{
	Fleet: &container.AzureClusterFleetArgs{
		Membership: pulumi.String("string"),
		Project:    pulumi.String("string"),
	},
	Authorization: &container.AzureClusterAuthorizationArgs{
		AdminUsers: container.AzureClusterAuthorizationAdminUserArray{
			&container.AzureClusterAuthorizationAdminUserArgs{
				Username: pulumi.String("string"),
			},
		},
		AdminGroups: container.AzureClusterAuthorizationAdminGroupArray{
			&container.AzureClusterAuthorizationAdminGroupArgs{
				Group: pulumi.String("string"),
			},
		},
	},
	AzureRegion:     pulumi.String("string"),
	ResourceGroupId: pulumi.String("string"),
	Networking: &container.AzureClusterNetworkingArgs{
		PodAddressCidrBlocks: pulumi.StringArray{
			pulumi.String("string"),
		},
		ServiceAddressCidrBlocks: pulumi.StringArray{
			pulumi.String("string"),
		},
		VirtualNetworkId: pulumi.String("string"),
	},
	ControlPlane: &container.AzureClusterControlPlaneArgs{
		SshConfig: &container.AzureClusterControlPlaneSshConfigArgs{
			AuthorizedKey: pulumi.String("string"),
		},
		SubnetId: pulumi.String("string"),
		Version:  pulumi.String("string"),
		DatabaseEncryption: &container.AzureClusterControlPlaneDatabaseEncryptionArgs{
			KeyId: pulumi.String("string"),
		},
		MainVolume: &container.AzureClusterControlPlaneMainVolumeArgs{
			SizeGib: pulumi.Int(0),
		},
		ProxyConfig: &container.AzureClusterControlPlaneProxyConfigArgs{
			ResourceGroupId: pulumi.String("string"),
			SecretId:        pulumi.String("string"),
		},
		ReplicaPlacements: container.AzureClusterControlPlaneReplicaPlacementArray{
			&container.AzureClusterControlPlaneReplicaPlacementArgs{
				AzureAvailabilityZone: pulumi.String("string"),
				SubnetId:              pulumi.String("string"),
			},
		},
		RootVolume: &container.AzureClusterControlPlaneRootVolumeArgs{
			SizeGib: pulumi.Int(0),
		},
		Tags: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		VmSize: pulumi.String("string"),
	},
	Location:    pulumi.String("string"),
	Description: pulumi.String("string"),
	Annotations: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	LoggingConfig: &container.AzureClusterLoggingConfigArgs{
		ComponentConfig: &container.AzureClusterLoggingConfigComponentConfigArgs{
			EnableComponents: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Name:    pulumi.String("string"),
	Client:  pulumi.String("string"),
	Project: pulumi.String("string"),
	AzureServicesAuthentication: &container.AzureClusterAzureServicesAuthenticationArgs{
		ApplicationId: pulumi.String("string"),
		TenantId:      pulumi.String("string"),
	},
})
Copy
var azureClusterResource = new AzureCluster("azureClusterResource", AzureClusterArgs.builder()
    .fleet(AzureClusterFleetArgs.builder()
        .membership("string")
        .project("string")
        .build())
    .authorization(AzureClusterAuthorizationArgs.builder()
        .adminUsers(AzureClusterAuthorizationAdminUserArgs.builder()
            .username("string")
            .build())
        .adminGroups(AzureClusterAuthorizationAdminGroupArgs.builder()
            .group("string")
            .build())
        .build())
    .azureRegion("string")
    .resourceGroupId("string")
    .networking(AzureClusterNetworkingArgs.builder()
        .podAddressCidrBlocks("string")
        .serviceAddressCidrBlocks("string")
        .virtualNetworkId("string")
        .build())
    .controlPlane(AzureClusterControlPlaneArgs.builder()
        .sshConfig(AzureClusterControlPlaneSshConfigArgs.builder()
            .authorizedKey("string")
            .build())
        .subnetId("string")
        .version("string")
        .databaseEncryption(AzureClusterControlPlaneDatabaseEncryptionArgs.builder()
            .keyId("string")
            .build())
        .mainVolume(AzureClusterControlPlaneMainVolumeArgs.builder()
            .sizeGib(0)
            .build())
        .proxyConfig(AzureClusterControlPlaneProxyConfigArgs.builder()
            .resourceGroupId("string")
            .secretId("string")
            .build())
        .replicaPlacements(AzureClusterControlPlaneReplicaPlacementArgs.builder()
            .azureAvailabilityZone("string")
            .subnetId("string")
            .build())
        .rootVolume(AzureClusterControlPlaneRootVolumeArgs.builder()
            .sizeGib(0)
            .build())
        .tags(Map.of("string", "string"))
        .vmSize("string")
        .build())
    .location("string")
    .description("string")
    .annotations(Map.of("string", "string"))
    .loggingConfig(AzureClusterLoggingConfigArgs.builder()
        .componentConfig(AzureClusterLoggingConfigComponentConfigArgs.builder()
            .enableComponents("string")
            .build())
        .build())
    .name("string")
    .client("string")
    .project("string")
    .azureServicesAuthentication(AzureClusterAzureServicesAuthenticationArgs.builder()
        .applicationId("string")
        .tenantId("string")
        .build())
    .build());
Copy
azure_cluster_resource = gcp.container.AzureCluster("azureClusterResource",
    fleet={
        "membership": "string",
        "project": "string",
    },
    authorization={
        "admin_users": [{
            "username": "string",
        }],
        "admin_groups": [{
            "group": "string",
        }],
    },
    azure_region="string",
    resource_group_id="string",
    networking={
        "pod_address_cidr_blocks": ["string"],
        "service_address_cidr_blocks": ["string"],
        "virtual_network_id": "string",
    },
    control_plane={
        "ssh_config": {
            "authorized_key": "string",
        },
        "subnet_id": "string",
        "version": "string",
        "database_encryption": {
            "key_id": "string",
        },
        "main_volume": {
            "size_gib": 0,
        },
        "proxy_config": {
            "resource_group_id": "string",
            "secret_id": "string",
        },
        "replica_placements": [{
            "azure_availability_zone": "string",
            "subnet_id": "string",
        }],
        "root_volume": {
            "size_gib": 0,
        },
        "tags": {
            "string": "string",
        },
        "vm_size": "string",
    },
    location="string",
    description="string",
    annotations={
        "string": "string",
    },
    logging_config={
        "component_config": {
            "enable_components": ["string"],
        },
    },
    name="string",
    client="string",
    project="string",
    azure_services_authentication={
        "application_id": "string",
        "tenant_id": "string",
    })
Copy
const azureClusterResource = new gcp.container.AzureCluster("azureClusterResource", {
    fleet: {
        membership: "string",
        project: "string",
    },
    authorization: {
        adminUsers: [{
            username: "string",
        }],
        adminGroups: [{
            group: "string",
        }],
    },
    azureRegion: "string",
    resourceGroupId: "string",
    networking: {
        podAddressCidrBlocks: ["string"],
        serviceAddressCidrBlocks: ["string"],
        virtualNetworkId: "string",
    },
    controlPlane: {
        sshConfig: {
            authorizedKey: "string",
        },
        subnetId: "string",
        version: "string",
        databaseEncryption: {
            keyId: "string",
        },
        mainVolume: {
            sizeGib: 0,
        },
        proxyConfig: {
            resourceGroupId: "string",
            secretId: "string",
        },
        replicaPlacements: [{
            azureAvailabilityZone: "string",
            subnetId: "string",
        }],
        rootVolume: {
            sizeGib: 0,
        },
        tags: {
            string: "string",
        },
        vmSize: "string",
    },
    location: "string",
    description: "string",
    annotations: {
        string: "string",
    },
    loggingConfig: {
        componentConfig: {
            enableComponents: ["string"],
        },
    },
    name: "string",
    client: "string",
    project: "string",
    azureServicesAuthentication: {
        applicationId: "string",
        tenantId: "string",
    },
});
Copy
type: gcp:container:AzureCluster
properties:
    annotations:
        string: string
    authorization:
        adminGroups:
            - group: string
        adminUsers:
            - username: string
    azureRegion: string
    azureServicesAuthentication:
        applicationId: string
        tenantId: string
    client: string
    controlPlane:
        databaseEncryption:
            keyId: string
        mainVolume:
            sizeGib: 0
        proxyConfig:
            resourceGroupId: string
            secretId: string
        replicaPlacements:
            - azureAvailabilityZone: string
              subnetId: string
        rootVolume:
            sizeGib: 0
        sshConfig:
            authorizedKey: string
        subnetId: string
        tags:
            string: string
        version: string
        vmSize: string
    description: string
    fleet:
        membership: string
        project: string
    location: string
    loggingConfig:
        componentConfig:
            enableComponents:
                - string
    name: string
    networking:
        podAddressCidrBlocks:
            - string
        serviceAddressCidrBlocks:
            - string
        virtualNetworkId: string
    project: string
    resourceGroupId: string
Copy

AzureCluster Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AzureCluster resource accepts the following input properties:

Authorization This property is required. AzureClusterAuthorization
Configuration related to the cluster RBAC settings.
AzureRegion
This property is required.
Changes to this property will trigger replacement.
string
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.
ControlPlane This property is required. AzureClusterControlPlane
Configuration related to the cluster control plane.
Fleet
This property is required.
Changes to this property will trigger replacement.
AzureClusterFleet
Fleet configuration.
Location
This property is required.
Changes to this property will trigger replacement.
string
The location for the resource
Networking
This property is required.
Changes to this property will trigger replacement.
AzureClusterNetworking
Cluster-wide networking configuration.
ResourceGroupId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
Annotations Changes to this property will trigger replacement. Dictionary<string, string>
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.
AzureServicesAuthentication AzureClusterAzureServicesAuthentication
Azure authentication configuration for management of Azure resources
Client string
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.
Description string
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
LoggingConfig AzureClusterLoggingConfig
Logging configuration.
Name Changes to this property will trigger replacement. string
The name of this resource.
Project Changes to this property will trigger replacement. string
The project for the resource
Authorization This property is required. AzureClusterAuthorizationArgs
Configuration related to the cluster RBAC settings.
AzureRegion
This property is required.
Changes to this property will trigger replacement.
string
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.
ControlPlane This property is required. AzureClusterControlPlaneArgs
Configuration related to the cluster control plane.
Fleet
This property is required.
Changes to this property will trigger replacement.
AzureClusterFleetArgs
Fleet configuration.
Location
This property is required.
Changes to this property will trigger replacement.
string
The location for the resource
Networking
This property is required.
Changes to this property will trigger replacement.
AzureClusterNetworkingArgs
Cluster-wide networking configuration.
ResourceGroupId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
Annotations Changes to this property will trigger replacement. map[string]string
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.
AzureServicesAuthentication AzureClusterAzureServicesAuthenticationArgs
Azure authentication configuration for management of Azure resources
Client string
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.
Description string
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
LoggingConfig AzureClusterLoggingConfigArgs
Logging configuration.
Name Changes to this property will trigger replacement. string
The name of this resource.
Project Changes to this property will trigger replacement. string
The project for the resource
authorization This property is required. AzureClusterAuthorization
Configuration related to the cluster RBAC settings.
azureRegion
This property is required.
Changes to this property will trigger replacement.
String
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.
controlPlane This property is required. AzureClusterControlPlane
Configuration related to the cluster control plane.
fleet
This property is required.
Changes to this property will trigger replacement.
AzureClusterFleet
Fleet configuration.
location
This property is required.
Changes to this property will trigger replacement.
String
The location for the resource
networking
This property is required.
Changes to this property will trigger replacement.
AzureClusterNetworking
Cluster-wide networking configuration.
resourceGroupId
This property is required.
Changes to this property will trigger replacement.
String
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
annotations Changes to this property will trigger replacement. Map<String,String>
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.
azureServicesAuthentication AzureClusterAzureServicesAuthentication
Azure authentication configuration for management of Azure resources
client String
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.
description String
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
loggingConfig AzureClusterLoggingConfig
Logging configuration.
name Changes to this property will trigger replacement. String
The name of this resource.
project Changes to this property will trigger replacement. String
The project for the resource
authorization This property is required. AzureClusterAuthorization
Configuration related to the cluster RBAC settings.
azureRegion
This property is required.
Changes to this property will trigger replacement.
string
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.
controlPlane This property is required. AzureClusterControlPlane
Configuration related to the cluster control plane.
fleet
This property is required.
Changes to this property will trigger replacement.
AzureClusterFleet
Fleet configuration.
location
This property is required.
Changes to this property will trigger replacement.
string
The location for the resource
networking
This property is required.
Changes to this property will trigger replacement.
AzureClusterNetworking
Cluster-wide networking configuration.
resourceGroupId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
annotations Changes to this property will trigger replacement. {[key: string]: string}
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.
azureServicesAuthentication AzureClusterAzureServicesAuthentication
Azure authentication configuration for management of Azure resources
client string
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.
description string
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
loggingConfig AzureClusterLoggingConfig
Logging configuration.
name Changes to this property will trigger replacement. string
The name of this resource.
project Changes to this property will trigger replacement. string
The project for the resource
authorization This property is required. AzureClusterAuthorizationArgs
Configuration related to the cluster RBAC settings.
azure_region
This property is required.
Changes to this property will trigger replacement.
str
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.
control_plane This property is required. AzureClusterControlPlaneArgs
Configuration related to the cluster control plane.
fleet
This property is required.
Changes to this property will trigger replacement.
AzureClusterFleetArgs
Fleet configuration.
location
This property is required.
Changes to this property will trigger replacement.
str
The location for the resource
networking
This property is required.
Changes to this property will trigger replacement.
AzureClusterNetworkingArgs
Cluster-wide networking configuration.
resource_group_id
This property is required.
Changes to this property will trigger replacement.
str
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
annotations Changes to this property will trigger replacement. Mapping[str, str]
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.
azure_services_authentication AzureClusterAzureServicesAuthenticationArgs
Azure authentication configuration for management of Azure resources
client str
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.
description str
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
logging_config AzureClusterLoggingConfigArgs
Logging configuration.
name Changes to this property will trigger replacement. str
The name of this resource.
project Changes to this property will trigger replacement. str
The project for the resource
authorization This property is required. Property Map
Configuration related to the cluster RBAC settings.
azureRegion
This property is required.
Changes to this property will trigger replacement.
String
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.
controlPlane This property is required. Property Map
Configuration related to the cluster control plane.
fleet
This property is required.
Changes to this property will trigger replacement.
Property Map
Fleet configuration.
location
This property is required.
Changes to this property will trigger replacement.
String
The location for the resource
networking
This property is required.
Changes to this property will trigger replacement.
Property Map
Cluster-wide networking configuration.
resourceGroupId
This property is required.
Changes to this property will trigger replacement.
String
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
annotations Changes to this property will trigger replacement. Map<String>
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.
azureServicesAuthentication Property Map
Azure authentication configuration for management of Azure resources
client String
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.
description String
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
loggingConfig Property Map
Logging configuration.
name Changes to this property will trigger replacement. String
The name of this resource.
project Changes to this property will trigger replacement. String
The project for the resource

Outputs

All input properties are implicitly available as output properties. Additionally, the AzureCluster resource produces the following output properties:

CreateTime string
Output only. The time at which this cluster was created.
EffectiveAnnotations Dictionary<string, string>
Endpoint string
Output only. The endpoint of the cluster's API server.
Etag string
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Id string
The provider-assigned unique ID for this managed resource.
Reconciling bool
Output only. If set, there are currently changes in flight to the cluster.
State string
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
Uid string
Output only. A globally unique identifier for the cluster.
UpdateTime string
Output only. The time at which this cluster was last updated.
WorkloadIdentityConfigs List<AzureClusterWorkloadIdentityConfig>
Output only. Workload Identity settings.
CreateTime string
Output only. The time at which this cluster was created.
EffectiveAnnotations map[string]string
Endpoint string
Output only. The endpoint of the cluster's API server.
Etag string
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Id string
The provider-assigned unique ID for this managed resource.
Reconciling bool
Output only. If set, there are currently changes in flight to the cluster.
State string
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
Uid string
Output only. A globally unique identifier for the cluster.
UpdateTime string
Output only. The time at which this cluster was last updated.
WorkloadIdentityConfigs []AzureClusterWorkloadIdentityConfig
Output only. Workload Identity settings.
createTime String
Output only. The time at which this cluster was created.
effectiveAnnotations Map<String,String>
endpoint String
Output only. The endpoint of the cluster's API server.
etag String
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
id String
The provider-assigned unique ID for this managed resource.
reconciling Boolean
Output only. If set, there are currently changes in flight to the cluster.
state String
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid String
Output only. A globally unique identifier for the cluster.
updateTime String
Output only. The time at which this cluster was last updated.
workloadIdentityConfigs List<AzureClusterWorkloadIdentityConfig>
Output only. Workload Identity settings.
createTime string
Output only. The time at which this cluster was created.
effectiveAnnotations {[key: string]: string}
endpoint string
Output only. The endpoint of the cluster's API server.
etag string
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
id string
The provider-assigned unique ID for this managed resource.
reconciling boolean
Output only. If set, there are currently changes in flight to the cluster.
state string
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid string
Output only. A globally unique identifier for the cluster.
updateTime string
Output only. The time at which this cluster was last updated.
workloadIdentityConfigs AzureClusterWorkloadIdentityConfig[]
Output only. Workload Identity settings.
create_time str
Output only. The time at which this cluster was created.
effective_annotations Mapping[str, str]
endpoint str
Output only. The endpoint of the cluster's API server.
etag str
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
id str
The provider-assigned unique ID for this managed resource.
reconciling bool
Output only. If set, there are currently changes in flight to the cluster.
state str
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid str
Output only. A globally unique identifier for the cluster.
update_time str
Output only. The time at which this cluster was last updated.
workload_identity_configs Sequence[AzureClusterWorkloadIdentityConfig]
Output only. Workload Identity settings.
createTime String
Output only. The time at which this cluster was created.
effectiveAnnotations Map<String>
endpoint String
Output only. The endpoint of the cluster's API server.
etag String
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
id String
The provider-assigned unique ID for this managed resource.
reconciling Boolean
Output only. If set, there are currently changes in flight to the cluster.
state String
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid String
Output only. A globally unique identifier for the cluster.
updateTime String
Output only. The time at which this cluster was last updated.
workloadIdentityConfigs List<Property Map>
Output only. Workload Identity settings.

Look up Existing AzureCluster Resource

Get an existing AzureCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AzureClusterState, opts?: CustomResourceOptions): AzureCluster
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        annotations: Optional[Mapping[str, str]] = None,
        authorization: Optional[AzureClusterAuthorizationArgs] = None,
        azure_region: Optional[str] = None,
        azure_services_authentication: Optional[AzureClusterAzureServicesAuthenticationArgs] = None,
        client: Optional[str] = None,
        control_plane: Optional[AzureClusterControlPlaneArgs] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        effective_annotations: Optional[Mapping[str, str]] = None,
        endpoint: Optional[str] = None,
        etag: Optional[str] = None,
        fleet: Optional[AzureClusterFleetArgs] = None,
        location: Optional[str] = None,
        logging_config: Optional[AzureClusterLoggingConfigArgs] = None,
        name: Optional[str] = None,
        networking: Optional[AzureClusterNetworkingArgs] = None,
        project: Optional[str] = None,
        reconciling: Optional[bool] = None,
        resource_group_id: Optional[str] = None,
        state: Optional[str] = None,
        uid: Optional[str] = None,
        update_time: Optional[str] = None,
        workload_identity_configs: Optional[Sequence[AzureClusterWorkloadIdentityConfigArgs]] = None) -> AzureCluster
func GetAzureCluster(ctx *Context, name string, id IDInput, state *AzureClusterState, opts ...ResourceOption) (*AzureCluster, error)
public static AzureCluster Get(string name, Input<string> id, AzureClusterState? state, CustomResourceOptions? opts = null)
public static AzureCluster get(String name, Output<String> id, AzureClusterState state, CustomResourceOptions options)
resources:  _:    type: gcp:container:AzureCluster    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Annotations Changes to this property will trigger replacement. Dictionary<string, string>
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.
Authorization AzureClusterAuthorization
Configuration related to the cluster RBAC settings.
AzureRegion Changes to this property will trigger replacement. string
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.
AzureServicesAuthentication AzureClusterAzureServicesAuthentication
Azure authentication configuration for management of Azure resources
Client string
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.
ControlPlane AzureClusterControlPlane
Configuration related to the cluster control plane.
CreateTime string
Output only. The time at which this cluster was created.
Description string
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
EffectiveAnnotations Changes to this property will trigger replacement. Dictionary<string, string>
Endpoint string
Output only. The endpoint of the cluster's API server.
Etag string
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Fleet Changes to this property will trigger replacement. AzureClusterFleet
Fleet configuration.
Location Changes to this property will trigger replacement. string
The location for the resource
LoggingConfig AzureClusterLoggingConfig
Logging configuration.
Name Changes to this property will trigger replacement. string
The name of this resource.
Networking Changes to this property will trigger replacement. AzureClusterNetworking
Cluster-wide networking configuration.
Project Changes to this property will trigger replacement. string
The project for the resource
Reconciling bool
Output only. If set, there are currently changes in flight to the cluster.
ResourceGroupId Changes to this property will trigger replacement. string
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
State string
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
Uid string
Output only. A globally unique identifier for the cluster.
UpdateTime string
Output only. The time at which this cluster was last updated.
WorkloadIdentityConfigs List<AzureClusterWorkloadIdentityConfig>
Output only. Workload Identity settings.
Annotations Changes to this property will trigger replacement. map[string]string
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.
Authorization AzureClusterAuthorizationArgs
Configuration related to the cluster RBAC settings.
AzureRegion Changes to this property will trigger replacement. string
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.
AzureServicesAuthentication AzureClusterAzureServicesAuthenticationArgs
Azure authentication configuration for management of Azure resources
Client string
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.
ControlPlane AzureClusterControlPlaneArgs
Configuration related to the cluster control plane.
CreateTime string
Output only. The time at which this cluster was created.
Description string
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
EffectiveAnnotations Changes to this property will trigger replacement. map[string]string
Endpoint string
Output only. The endpoint of the cluster's API server.
Etag string
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Fleet Changes to this property will trigger replacement. AzureClusterFleetArgs
Fleet configuration.
Location Changes to this property will trigger replacement. string
The location for the resource
LoggingConfig AzureClusterLoggingConfigArgs
Logging configuration.
Name Changes to this property will trigger replacement. string
The name of this resource.
Networking Changes to this property will trigger replacement. AzureClusterNetworkingArgs
Cluster-wide networking configuration.
Project Changes to this property will trigger replacement. string
The project for the resource
Reconciling bool
Output only. If set, there are currently changes in flight to the cluster.
ResourceGroupId Changes to this property will trigger replacement. string
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
State string
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
Uid string
Output only. A globally unique identifier for the cluster.
UpdateTime string
Output only. The time at which this cluster was last updated.
WorkloadIdentityConfigs []AzureClusterWorkloadIdentityConfigArgs
Output only. Workload Identity settings.
annotations Changes to this property will trigger replacement. Map<String,String>
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.
authorization AzureClusterAuthorization
Configuration related to the cluster RBAC settings.
azureRegion Changes to this property will trigger replacement. String
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.
azureServicesAuthentication AzureClusterAzureServicesAuthentication
Azure authentication configuration for management of Azure resources
client String
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.
controlPlane AzureClusterControlPlane
Configuration related to the cluster control plane.
createTime String
Output only. The time at which this cluster was created.
description String
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
effectiveAnnotations Changes to this property will trigger replacement. Map<String,String>
endpoint String
Output only. The endpoint of the cluster's API server.
etag String
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
fleet Changes to this property will trigger replacement. AzureClusterFleet
Fleet configuration.
location Changes to this property will trigger replacement. String
The location for the resource
loggingConfig AzureClusterLoggingConfig
Logging configuration.
name Changes to this property will trigger replacement. String
The name of this resource.
networking Changes to this property will trigger replacement. AzureClusterNetworking
Cluster-wide networking configuration.
project Changes to this property will trigger replacement. String
The project for the resource
reconciling Boolean
Output only. If set, there are currently changes in flight to the cluster.
resourceGroupId Changes to this property will trigger replacement. String
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
state String
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid String
Output only. A globally unique identifier for the cluster.
updateTime String
Output only. The time at which this cluster was last updated.
workloadIdentityConfigs List<AzureClusterWorkloadIdentityConfig>
Output only. Workload Identity settings.
annotations Changes to this property will trigger replacement. {[key: string]: string}
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.
authorization AzureClusterAuthorization
Configuration related to the cluster RBAC settings.
azureRegion Changes to this property will trigger replacement. string
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.
azureServicesAuthentication AzureClusterAzureServicesAuthentication
Azure authentication configuration for management of Azure resources
client string
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.
controlPlane AzureClusterControlPlane
Configuration related to the cluster control plane.
createTime string
Output only. The time at which this cluster was created.
description string
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
effectiveAnnotations Changes to this property will trigger replacement. {[key: string]: string}
endpoint string
Output only. The endpoint of the cluster's API server.
etag string
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
fleet Changes to this property will trigger replacement. AzureClusterFleet
Fleet configuration.
location Changes to this property will trigger replacement. string
The location for the resource
loggingConfig AzureClusterLoggingConfig
Logging configuration.
name Changes to this property will trigger replacement. string
The name of this resource.
networking Changes to this property will trigger replacement. AzureClusterNetworking
Cluster-wide networking configuration.
project Changes to this property will trigger replacement. string
The project for the resource
reconciling boolean
Output only. If set, there are currently changes in flight to the cluster.
resourceGroupId Changes to this property will trigger replacement. string
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
state string
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid string
Output only. A globally unique identifier for the cluster.
updateTime string
Output only. The time at which this cluster was last updated.
workloadIdentityConfigs AzureClusterWorkloadIdentityConfig[]
Output only. Workload Identity settings.
annotations Changes to this property will trigger replacement. Mapping[str, str]
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.
authorization AzureClusterAuthorizationArgs
Configuration related to the cluster RBAC settings.
azure_region Changes to this property will trigger replacement. str
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.
azure_services_authentication AzureClusterAzureServicesAuthenticationArgs
Azure authentication configuration for management of Azure resources
client str
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.
control_plane AzureClusterControlPlaneArgs
Configuration related to the cluster control plane.
create_time str
Output only. The time at which this cluster was created.
description str
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
effective_annotations Changes to this property will trigger replacement. Mapping[str, str]
endpoint str
Output only. The endpoint of the cluster's API server.
etag str
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
fleet Changes to this property will trigger replacement. AzureClusterFleetArgs
Fleet configuration.
location Changes to this property will trigger replacement. str
The location for the resource
logging_config AzureClusterLoggingConfigArgs
Logging configuration.
name Changes to this property will trigger replacement. str
The name of this resource.
networking Changes to this property will trigger replacement. AzureClusterNetworkingArgs
Cluster-wide networking configuration.
project Changes to this property will trigger replacement. str
The project for the resource
reconciling bool
Output only. If set, there are currently changes in flight to the cluster.
resource_group_id Changes to this property will trigger replacement. str
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
state str
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid str
Output only. A globally unique identifier for the cluster.
update_time str
Output only. The time at which this cluster was last updated.
workload_identity_configs Sequence[AzureClusterWorkloadIdentityConfigArgs]
Output only. Workload Identity settings.
annotations Changes to this property will trigger replacement. Map<String>
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.
authorization Property Map
Configuration related to the cluster RBAC settings.
azureRegion Changes to this property will trigger replacement. String
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.
azureServicesAuthentication Property Map
Azure authentication configuration for management of Azure resources
client String
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.
controlPlane Property Map
Configuration related to the cluster control plane.
createTime String
Output only. The time at which this cluster was created.
description String
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
effectiveAnnotations Changes to this property will trigger replacement. Map<String>
endpoint String
Output only. The endpoint of the cluster's API server.
etag String
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
fleet Changes to this property will trigger replacement. Property Map
Fleet configuration.
location Changes to this property will trigger replacement. String
The location for the resource
loggingConfig Property Map
Logging configuration.
name Changes to this property will trigger replacement. String
The name of this resource.
networking Changes to this property will trigger replacement. Property Map
Cluster-wide networking configuration.
project Changes to this property will trigger replacement. String
The project for the resource
reconciling Boolean
Output only. If set, there are currently changes in flight to the cluster.
resourceGroupId Changes to this property will trigger replacement. String
The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/*/resourceGroups/*
state String
Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid String
Output only. A globally unique identifier for the cluster.
updateTime String
Output only. The time at which this cluster was last updated.
workloadIdentityConfigs List<Property Map>
Output only. Workload Identity settings.

Supporting Types

AzureClusterAuthorization
, AzureClusterAuthorizationArgs

AdminUsers This property is required. List<AzureClusterAuthorizationAdminUser>
Users that can perform operations as a cluster admin. A new ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the users. Up to ten admin users can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
AdminGroups List<AzureClusterAuthorizationAdminGroup>
Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the groups. Up to ten admin groups can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
AdminUsers This property is required. []AzureClusterAuthorizationAdminUser
Users that can perform operations as a cluster admin. A new ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the users. Up to ten admin users can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
AdminGroups []AzureClusterAuthorizationAdminGroup
Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the groups. Up to ten admin groups can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
adminUsers This property is required. List<AzureClusterAuthorizationAdminUser>
Users that can perform operations as a cluster admin. A new ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the users. Up to ten admin users can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
adminGroups List<AzureClusterAuthorizationAdminGroup>
Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the groups. Up to ten admin groups can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
adminUsers This property is required. AzureClusterAuthorizationAdminUser[]
Users that can perform operations as a cluster admin. A new ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the users. Up to ten admin users can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
adminGroups AzureClusterAuthorizationAdminGroup[]
Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the groups. Up to ten admin groups can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
admin_users This property is required. Sequence[AzureClusterAuthorizationAdminUser]
Users that can perform operations as a cluster admin. A new ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the users. Up to ten admin users can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
admin_groups Sequence[AzureClusterAuthorizationAdminGroup]
Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the groups. Up to ten admin groups can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
adminUsers This property is required. List<Property Map>
Users that can perform operations as a cluster admin. A new ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the users. Up to ten admin users can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
adminGroups List<Property Map>
Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the groups. Up to ten admin groups can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles

AzureClusterAuthorizationAdminGroup
, AzureClusterAuthorizationAdminGroupArgs

Group This property is required. string
The name of the group, e.g. my-group@domain.com.
Group This property is required. string
The name of the group, e.g. my-group@domain.com.
group This property is required. String
The name of the group, e.g. my-group@domain.com.
group This property is required. string
The name of the group, e.g. my-group@domain.com.
group This property is required. str
The name of the group, e.g. my-group@domain.com.
group This property is required. String
The name of the group, e.g. my-group@domain.com.

AzureClusterAuthorizationAdminUser
, AzureClusterAuthorizationAdminUserArgs

Username This property is required. string
The name of the user, e.g. my-gcp-id@gmail.com.
Username This property is required. string
The name of the user, e.g. my-gcp-id@gmail.com.
username This property is required. String
The name of the user, e.g. my-gcp-id@gmail.com.
username This property is required. string
The name of the user, e.g. my-gcp-id@gmail.com.
username This property is required. str
The name of the user, e.g. my-gcp-id@gmail.com.
username This property is required. String
The name of the user, e.g. my-gcp-id@gmail.com.

AzureClusterAzureServicesAuthentication
, AzureClusterAzureServicesAuthenticationArgs

ApplicationId This property is required. string
The Azure Active Directory Application ID for Authentication configuration.
TenantId This property is required. string
The Azure Active Directory Tenant ID for Authentication configuration.
ApplicationId This property is required. string
The Azure Active Directory Application ID for Authentication configuration.
TenantId This property is required. string
The Azure Active Directory Tenant ID for Authentication configuration.
applicationId This property is required. String
The Azure Active Directory Application ID for Authentication configuration.
tenantId This property is required. String
The Azure Active Directory Tenant ID for Authentication configuration.
applicationId This property is required. string
The Azure Active Directory Application ID for Authentication configuration.
tenantId This property is required. string
The Azure Active Directory Tenant ID for Authentication configuration.
application_id This property is required. str
The Azure Active Directory Application ID for Authentication configuration.
tenant_id This property is required. str
The Azure Active Directory Tenant ID for Authentication configuration.
applicationId This property is required. String
The Azure Active Directory Application ID for Authentication configuration.
tenantId This property is required. String
The Azure Active Directory Tenant ID for Authentication configuration.

AzureClusterControlPlane
, AzureClusterControlPlaneArgs

SshConfig This property is required. AzureClusterControlPlaneSshConfig
SSH configuration for how to access the underlying control plane machines.
SubnetId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the subnet where the control plane VMs are deployed. Example: /subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default.
Version This property is required. string
The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig.
DatabaseEncryption Changes to this property will trigger replacement. AzureClusterControlPlaneDatabaseEncryption
Optional. Configuration related to application-layer secrets encryption.
MainVolume Changes to this property will trigger replacement. AzureClusterControlPlaneMainVolume
Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. When unspecified, it defaults to a 8-GiB Azure Disk.
ProxyConfig Changes to this property will trigger replacement. AzureClusterControlPlaneProxyConfig
Proxy configuration for outbound HTTP(S) traffic.
ReplicaPlacements Changes to this property will trigger replacement. List<AzureClusterControlPlaneReplicaPlacement>
Configuration for where to place the control plane replicas. Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.
RootVolume Changes to this property will trigger replacement. AzureClusterControlPlaneRootVolume
Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
Tags Changes to this property will trigger replacement. Dictionary<string, string>
Optional. A set of tags to apply to all underlying control plane Azure resources.
VmSize string
Optional. The Azure VM size name. Example: Standard_DS2_v2. For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions. When unspecified, it defaults to Standard_DS2_v2.
SshConfig This property is required. AzureClusterControlPlaneSshConfig
SSH configuration for how to access the underlying control plane machines.
SubnetId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the subnet where the control plane VMs are deployed. Example: /subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default.
Version This property is required. string
The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig.
DatabaseEncryption Changes to this property will trigger replacement. AzureClusterControlPlaneDatabaseEncryption
Optional. Configuration related to application-layer secrets encryption.
MainVolume Changes to this property will trigger replacement. AzureClusterControlPlaneMainVolume
Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. When unspecified, it defaults to a 8-GiB Azure Disk.
ProxyConfig Changes to this property will trigger replacement. AzureClusterControlPlaneProxyConfig
Proxy configuration for outbound HTTP(S) traffic.
ReplicaPlacements Changes to this property will trigger replacement. []AzureClusterControlPlaneReplicaPlacement
Configuration for where to place the control plane replicas. Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.
RootVolume Changes to this property will trigger replacement. AzureClusterControlPlaneRootVolume
Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
Tags Changes to this property will trigger replacement. map[string]string
Optional. A set of tags to apply to all underlying control plane Azure resources.
VmSize string
Optional. The Azure VM size name. Example: Standard_DS2_v2. For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions. When unspecified, it defaults to Standard_DS2_v2.
sshConfig This property is required. AzureClusterControlPlaneSshConfig
SSH configuration for how to access the underlying control plane machines.
subnetId
This property is required.
Changes to this property will trigger replacement.
String
The ARM ID of the subnet where the control plane VMs are deployed. Example: /subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default.
version This property is required. String
The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig.
databaseEncryption Changes to this property will trigger replacement. AzureClusterControlPlaneDatabaseEncryption
Optional. Configuration related to application-layer secrets encryption.
mainVolume Changes to this property will trigger replacement. AzureClusterControlPlaneMainVolume
Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. When unspecified, it defaults to a 8-GiB Azure Disk.
proxyConfig Changes to this property will trigger replacement. AzureClusterControlPlaneProxyConfig
Proxy configuration for outbound HTTP(S) traffic.
replicaPlacements Changes to this property will trigger replacement. List<AzureClusterControlPlaneReplicaPlacement>
Configuration for where to place the control plane replicas. Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.
rootVolume Changes to this property will trigger replacement. AzureClusterControlPlaneRootVolume
Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
tags Changes to this property will trigger replacement. Map<String,String>
Optional. A set of tags to apply to all underlying control plane Azure resources.
vmSize String
Optional. The Azure VM size name. Example: Standard_DS2_v2. For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions. When unspecified, it defaults to Standard_DS2_v2.
sshConfig This property is required. AzureClusterControlPlaneSshConfig
SSH configuration for how to access the underlying control plane machines.
subnetId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the subnet where the control plane VMs are deployed. Example: /subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default.
version This property is required. string
The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig.
databaseEncryption Changes to this property will trigger replacement. AzureClusterControlPlaneDatabaseEncryption
Optional. Configuration related to application-layer secrets encryption.
mainVolume Changes to this property will trigger replacement. AzureClusterControlPlaneMainVolume
Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. When unspecified, it defaults to a 8-GiB Azure Disk.
proxyConfig Changes to this property will trigger replacement. AzureClusterControlPlaneProxyConfig
Proxy configuration for outbound HTTP(S) traffic.
replicaPlacements Changes to this property will trigger replacement. AzureClusterControlPlaneReplicaPlacement[]
Configuration for where to place the control plane replicas. Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.
rootVolume Changes to this property will trigger replacement. AzureClusterControlPlaneRootVolume
Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
tags Changes to this property will trigger replacement. {[key: string]: string}
Optional. A set of tags to apply to all underlying control plane Azure resources.
vmSize string
Optional. The Azure VM size name. Example: Standard_DS2_v2. For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions. When unspecified, it defaults to Standard_DS2_v2.
ssh_config This property is required. AzureClusterControlPlaneSshConfig
SSH configuration for how to access the underlying control plane machines.
subnet_id
This property is required.
Changes to this property will trigger replacement.
str
The ARM ID of the subnet where the control plane VMs are deployed. Example: /subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default.
version This property is required. str
The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig.
database_encryption Changes to this property will trigger replacement. AzureClusterControlPlaneDatabaseEncryption
Optional. Configuration related to application-layer secrets encryption.
main_volume Changes to this property will trigger replacement. AzureClusterControlPlaneMainVolume
Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. When unspecified, it defaults to a 8-GiB Azure Disk.
proxy_config Changes to this property will trigger replacement. AzureClusterControlPlaneProxyConfig
Proxy configuration for outbound HTTP(S) traffic.
replica_placements Changes to this property will trigger replacement. Sequence[AzureClusterControlPlaneReplicaPlacement]
Configuration for where to place the control plane replicas. Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.
root_volume Changes to this property will trigger replacement. AzureClusterControlPlaneRootVolume
Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
tags Changes to this property will trigger replacement. Mapping[str, str]
Optional. A set of tags to apply to all underlying control plane Azure resources.
vm_size str
Optional. The Azure VM size name. Example: Standard_DS2_v2. For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions. When unspecified, it defaults to Standard_DS2_v2.
sshConfig This property is required. Property Map
SSH configuration for how to access the underlying control plane machines.
subnetId
This property is required.
Changes to this property will trigger replacement.
String
The ARM ID of the subnet where the control plane VMs are deployed. Example: /subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default.
version This property is required. String
The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig.
databaseEncryption Changes to this property will trigger replacement. Property Map
Optional. Configuration related to application-layer secrets encryption.
mainVolume Changes to this property will trigger replacement. Property Map
Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. When unspecified, it defaults to a 8-GiB Azure Disk.
proxyConfig Changes to this property will trigger replacement. Property Map
Proxy configuration for outbound HTTP(S) traffic.
replicaPlacements Changes to this property will trigger replacement. List<Property Map>
Configuration for where to place the control plane replicas. Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.
rootVolume Changes to this property will trigger replacement. Property Map
Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
tags Changes to this property will trigger replacement. Map<String>
Optional. A set of tags to apply to all underlying control plane Azure resources.
vmSize String
Optional. The Azure VM size name. Example: Standard_DS2_v2. For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions. When unspecified, it defaults to Standard_DS2_v2.

AzureClusterControlPlaneDatabaseEncryption
, AzureClusterControlPlaneDatabaseEncryptionArgs

KeyId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the Azure Key Vault key to encrypt / decrypt data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.
KeyId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the Azure Key Vault key to encrypt / decrypt data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.
keyId
This property is required.
Changes to this property will trigger replacement.
String
The ARM ID of the Azure Key Vault key to encrypt / decrypt data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.
keyId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the Azure Key Vault key to encrypt / decrypt data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.
key_id
This property is required.
Changes to this property will trigger replacement.
str
The ARM ID of the Azure Key Vault key to encrypt / decrypt data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.
keyId
This property is required.
Changes to this property will trigger replacement.
String
The ARM ID of the Azure Key Vault key to encrypt / decrypt data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.

AzureClusterControlPlaneMainVolume
, AzureClusterControlPlaneMainVolumeArgs

SizeGib Changes to this property will trigger replacement. int
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.
SizeGib Changes to this property will trigger replacement. int
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.
sizeGib Changes to this property will trigger replacement. Integer
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.
sizeGib Changes to this property will trigger replacement. number
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.
size_gib Changes to this property will trigger replacement. int
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.
sizeGib Changes to this property will trigger replacement. Number
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.

AzureClusterControlPlaneProxyConfig
, AzureClusterControlPlaneProxyConfigArgs

ResourceGroupId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>
SecretId
This property is required.
Changes to this property will trigger replacement.
string
The URL the of the proxy setting secret with its version. Secret ids are formatted as https:<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>.
ResourceGroupId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>
SecretId
This property is required.
Changes to this property will trigger replacement.
string
The URL the of the proxy setting secret with its version. Secret ids are formatted as https:<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>.
resourceGroupId
This property is required.
Changes to this property will trigger replacement.
String
The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>
secretId
This property is required.
Changes to this property will trigger replacement.
String
The URL the of the proxy setting secret with its version. Secret ids are formatted as https:<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>.
resourceGroupId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>
secretId
This property is required.
Changes to this property will trigger replacement.
string
The URL the of the proxy setting secret with its version. Secret ids are formatted as https:<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>.
resource_group_id
This property is required.
Changes to this property will trigger replacement.
str
The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>
secret_id
This property is required.
Changes to this property will trigger replacement.
str
The URL the of the proxy setting secret with its version. Secret ids are formatted as https:<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>.
resourceGroupId
This property is required.
Changes to this property will trigger replacement.
String
The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>
secretId
This property is required.
Changes to this property will trigger replacement.
String
The URL the of the proxy setting secret with its version. Secret ids are formatted as https:<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>.

AzureClusterControlPlaneReplicaPlacement
, AzureClusterControlPlaneReplicaPlacementArgs

AzureAvailabilityZone
This property is required.
Changes to this property will trigger replacement.
string
For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
SubnetId
This property is required.
Changes to this property will trigger replacement.
string
For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.
AzureAvailabilityZone
This property is required.
Changes to this property will trigger replacement.
string
For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
SubnetId
This property is required.
Changes to this property will trigger replacement.
string
For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.
azureAvailabilityZone
This property is required.
Changes to this property will trigger replacement.
String
For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
subnetId
This property is required.
Changes to this property will trigger replacement.
String
For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.
azureAvailabilityZone
This property is required.
Changes to this property will trigger replacement.
string
For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
subnetId
This property is required.
Changes to this property will trigger replacement.
string
For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.
azure_availability_zone
This property is required.
Changes to this property will trigger replacement.
str
For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
subnet_id
This property is required.
Changes to this property will trigger replacement.
str
For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.
azureAvailabilityZone
This property is required.
Changes to this property will trigger replacement.
String
For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
subnetId
This property is required.
Changes to this property will trigger replacement.
String
For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.

AzureClusterControlPlaneRootVolume
, AzureClusterControlPlaneRootVolumeArgs

SizeGib Changes to this property will trigger replacement. int
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.
SizeGib Changes to this property will trigger replacement. int
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.
sizeGib Changes to this property will trigger replacement. Integer
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.
sizeGib Changes to this property will trigger replacement. number
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.
size_gib Changes to this property will trigger replacement. int
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.
sizeGib Changes to this property will trigger replacement. Number
Optional. The size of the disk, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.

AzureClusterControlPlaneSshConfig
, AzureClusterControlPlaneSshConfigArgs

AuthorizedKey This property is required. string
The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.
AuthorizedKey This property is required. string
The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.
authorizedKey This property is required. String
The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.
authorizedKey This property is required. string
The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.
authorized_key This property is required. str
The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.
authorizedKey This property is required. String
The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.

AzureClusterFleet
, AzureClusterFleetArgs

Membership string
The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as projects//locations/global/membership/.
Project Changes to this property will trigger replacement. string
The number of the Fleet host project where this cluster will be registered.
Membership string
The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as projects//locations/global/membership/.
Project Changes to this property will trigger replacement. string
The number of the Fleet host project where this cluster will be registered.
membership String
The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as projects//locations/global/membership/.
project Changes to this property will trigger replacement. String
The number of the Fleet host project where this cluster will be registered.
membership string
The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as projects//locations/global/membership/.
project Changes to this property will trigger replacement. string
The number of the Fleet host project where this cluster will be registered.
membership str
The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as projects//locations/global/membership/.
project Changes to this property will trigger replacement. str
The number of the Fleet host project where this cluster will be registered.
membership String
The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as projects//locations/global/membership/.
project Changes to this property will trigger replacement. String
The number of the Fleet host project where this cluster will be registered.

AzureClusterLoggingConfig
, AzureClusterLoggingConfigArgs

ComponentConfig AzureClusterLoggingConfigComponentConfig
Configuration of the logging components.
ComponentConfig AzureClusterLoggingConfigComponentConfig
Configuration of the logging components.
componentConfig AzureClusterLoggingConfigComponentConfig
Configuration of the logging components.
componentConfig AzureClusterLoggingConfigComponentConfig
Configuration of the logging components.
component_config AzureClusterLoggingConfigComponentConfig
Configuration of the logging components.
componentConfig Property Map
Configuration of the logging components.

AzureClusterLoggingConfigComponentConfig
, AzureClusterLoggingConfigComponentConfigArgs

EnableComponents List<string>
Components of the logging configuration to be enabled.
EnableComponents []string
Components of the logging configuration to be enabled.
enableComponents List<String>
Components of the logging configuration to be enabled.
enableComponents string[]
Components of the logging configuration to be enabled.
enable_components Sequence[str]
Components of the logging configuration to be enabled.
enableComponents List<String>
Components of the logging configuration to be enabled.

AzureClusterNetworking
, AzureClusterNetworkingArgs

PodAddressCidrBlocks
This property is required.
Changes to this property will trigger replacement.
List<string>
The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
ServiceAddressCidrBlocks
This property is required.
Changes to this property will trigger replacement.
List<string>
The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.
VirtualNetworkId
This property is required.
Changes to this property will trigger replacement.
string
The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/* This field cannot be changed after creation.


PodAddressCidrBlocks
This property is required.
Changes to this property will trigger replacement.
[]string
The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
ServiceAddressCidrBlocks
This property is required.
Changes to this property will trigger replacement.
[]string
The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.
VirtualNetworkId
This property is required.
Changes to this property will trigger replacement.
string
The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/* This field cannot be changed after creation.


podAddressCidrBlocks
This property is required.
Changes to this property will trigger replacement.
List<String>
The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
serviceAddressCidrBlocks
This property is required.
Changes to this property will trigger replacement.
List<String>
The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.
virtualNetworkId
This property is required.
Changes to this property will trigger replacement.
String
The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/* This field cannot be changed after creation.


podAddressCidrBlocks
This property is required.
Changes to this property will trigger replacement.
string[]
The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
serviceAddressCidrBlocks
This property is required.
Changes to this property will trigger replacement.
string[]
The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.
virtualNetworkId
This property is required.
Changes to this property will trigger replacement.
string
The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/* This field cannot be changed after creation.


pod_address_cidr_blocks
This property is required.
Changes to this property will trigger replacement.
Sequence[str]
The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
service_address_cidr_blocks
This property is required.
Changes to this property will trigger replacement.
Sequence[str]
The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.
virtual_network_id
This property is required.
Changes to this property will trigger replacement.
str
The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/* This field cannot be changed after creation.


podAddressCidrBlocks
This property is required.
Changes to this property will trigger replacement.
List<String>
The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
serviceAddressCidrBlocks
This property is required.
Changes to this property will trigger replacement.
List<String>
The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.
virtualNetworkId
This property is required.
Changes to this property will trigger replacement.
String
The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/* This field cannot be changed after creation.


AzureClusterWorkloadIdentityConfig
, AzureClusterWorkloadIdentityConfigArgs

IdentityProvider string
The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool.
IssuerUri string
The OIDC issuer URL for this cluster.
WorkloadPool string
The Workload Identity Pool associated to the cluster.
IdentityProvider string
The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool.
IssuerUri string
The OIDC issuer URL for this cluster.
WorkloadPool string
The Workload Identity Pool associated to the cluster.
identityProvider String
The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool.
issuerUri String
The OIDC issuer URL for this cluster.
workloadPool String
The Workload Identity Pool associated to the cluster.
identityProvider string
The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool.
issuerUri string
The OIDC issuer URL for this cluster.
workloadPool string
The Workload Identity Pool associated to the cluster.
identity_provider str
The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool.
issuer_uri str
The OIDC issuer URL for this cluster.
workload_pool str
The Workload Identity Pool associated to the cluster.
identityProvider String
The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool.
issuerUri String
The OIDC issuer URL for this cluster.
workloadPool String
The Workload Identity Pool associated to the cluster.

Import

Cluster can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/azureClusters/{{name}}

  • {{project}}/{{location}}/{{name}}

  • {{location}}/{{name}}

When using the pulumi import command, Cluster can be imported using one of the formats above. For example:

$ pulumi import gcp:container/azureCluster:AzureCluster default projects/{{project}}/locations/{{location}}/azureClusters/{{name}}
Copy
$ pulumi import gcp:container/azureCluster:AzureCluster default {{project}}/{{location}}/{{name}}
Copy
$ pulumi import gcp:container/azureCluster:AzureCluster default {{location}}/{{name}}
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.