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",
});
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=gcp.container.AzureClusterAuthorizationArgs(
admin_users=[gcp.container.AzureClusterAuthorizationAdminUserArgs(
username="mmv2@google.com",
)],
admin_groups=[gcp.container.AzureClusterAuthorizationAdminGroupArgs(
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=gcp.container.AzureClusterControlPlaneArgs(
ssh_config=gcp.container.AzureClusterControlPlaneSshConfigArgs(
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=gcp.container.AzureClusterFleetArgs(
project="my-project-number",
),
location="us-west1",
name="name",
networking=gcp.container.AzureClusterNetworkingArgs(
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")
package main
import (
"fmt"
"github.com/pulumi/pulumi-gcp/sdk/v7/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
})
}
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",
});
});
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());
}
}
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
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",
],
},
},
});
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=gcp.container.AzureClusterAuthorizationArgs(
admin_users=[gcp.container.AzureClusterAuthorizationAdminUserArgs(
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=gcp.container.AzureClusterControlPlaneArgs(
ssh_config=gcp.container.AzureClusterControlPlaneSshConfigArgs(
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=gcp.container.AzureClusterFleetArgs(
project="my-project-number",
),
location="us-west1",
name="name",
networking=gcp.container.AzureClusterNetworkingArgs(
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=gcp.container.AzureClusterLoggingConfigArgs(
component_config=gcp.container.AzureClusterLoggingConfigComponentConfigArgs(
enable_components=[
"system_components",
"workloads",
],
),
))
package main
import (
"fmt"
"github.com/pulumi/pulumi-gcp/sdk/v7/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
})
}
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",
},
},
},
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args AzureClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args AzureClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AzureClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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"),
},
})
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());
azure_cluster_resource = gcp.container.AzureCluster("azureClusterResource",
fleet=gcp.container.AzureClusterFleetArgs(
membership="string",
project="string",
),
authorization=gcp.container.AzureClusterAuthorizationArgs(
admin_users=[gcp.container.AzureClusterAuthorizationAdminUserArgs(
username="string",
)],
admin_groups=[gcp.container.AzureClusterAuthorizationAdminGroupArgs(
group="string",
)],
),
azure_region="string",
resource_group_id="string",
networking=gcp.container.AzureClusterNetworkingArgs(
pod_address_cidr_blocks=["string"],
service_address_cidr_blocks=["string"],
virtual_network_id="string",
),
control_plane=gcp.container.AzureClusterControlPlaneArgs(
ssh_config=gcp.container.AzureClusterControlPlaneSshConfigArgs(
authorized_key="string",
),
subnet_id="string",
version="string",
database_encryption=gcp.container.AzureClusterControlPlaneDatabaseEncryptionArgs(
key_id="string",
),
main_volume=gcp.container.AzureClusterControlPlaneMainVolumeArgs(
size_gib=0,
),
proxy_config=gcp.container.AzureClusterControlPlaneProxyConfigArgs(
resource_group_id="string",
secret_id="string",
),
replica_placements=[gcp.container.AzureClusterControlPlaneReplicaPlacementArgs(
azure_availability_zone="string",
subnet_id="string",
)],
root_volume=gcp.container.AzureClusterControlPlaneRootVolumeArgs(
size_gib=0,
),
tags={
"string": "string",
},
vm_size="string",
),
location="string",
description="string",
annotations={
"string": "string",
},
logging_config=gcp.container.AzureClusterLoggingConfigArgs(
component_config=gcp.container.AzureClusterLoggingConfigComponentConfigArgs(
enable_components=["string"],
),
),
name="string",
client="string",
project="string",
azure_services_authentication=gcp.container.AzureClusterAzureServicesAuthenticationArgs(
application_id="string",
tenant_id="string",
))
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",
},
});
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
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
The AzureCluster resource accepts the following input properties:
- Azure
Cluster Authorization - Configuration related to the cluster RBAC settings.
- Azure
Region 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.
- Control
Plane AzureCluster Control Plane - Configuration related to the cluster control plane.
- Fleet
Azure
Cluster Fleet - Fleet configuration.
- Location string
- The location for the resource
- Networking
Azure
Cluster Networking - Cluster-wide networking configuration.
- Resource
Group stringId - The ARM ID of the resource group where the cluster resources are deployed. For example:
/subscriptions/*/resourceGroups/*
- Annotations 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. - Azure
Services AzureAuthentication Cluster Azure Services Authentication - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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.
- Logging
Config AzureCluster Logging Config - Logging configuration.
- Name string
- The name of this resource.
- Project string
- The project for the resource
- Azure
Cluster Authorization Args - Configuration related to the cluster RBAC settings.
- Azure
Region 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.
- Control
Plane AzureCluster Control Plane Args - Configuration related to the cluster control plane.
- Fleet
Azure
Cluster Fleet Args - Fleet configuration.
- Location string
- The location for the resource
- Networking
Azure
Cluster Networking Args - Cluster-wide networking configuration.
- Resource
Group stringId - The ARM ID of the resource group where the cluster resources are deployed. For example:
/subscriptions/*/resourceGroups/*
- Annotations 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. - Azure
Services AzureAuthentication Cluster Azure Services Authentication Args - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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.
- Logging
Config AzureCluster Logging Config Args - Logging configuration.
- Name string
- The name of this resource.
- Project string
- The project for the resource
- Azure
Cluster Authorization - Configuration related to the cluster RBAC settings.
- azure
Region 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.
- control
Plane AzureCluster Control Plane - Configuration related to the cluster control plane.
- fleet
Azure
Cluster Fleet - Fleet configuration.
- location String
- The location for the resource
- networking
Azure
Cluster Networking - Cluster-wide networking configuration.
- resource
Group StringId - The ARM ID of the resource group where the cluster resources are deployed. For example:
/subscriptions/*/resourceGroups/*
- annotations 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. - azure
Services AzureAuthentication Cluster Azure Services Authentication - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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.
- logging
Config AzureCluster Logging Config - Logging configuration.
- name String
- The name of this resource.
- project String
- The project for the resource
- Azure
Cluster Authorization - Configuration related to the cluster RBAC settings.
- azure
Region 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.
- control
Plane AzureCluster Control Plane - Configuration related to the cluster control plane.
- fleet
Azure
Cluster Fleet - Fleet configuration.
- location string
- The location for the resource
- networking
Azure
Cluster Networking - Cluster-wide networking configuration.
- resource
Group stringId - The ARM ID of the resource group where the cluster resources are deployed. For example:
/subscriptions/*/resourceGroups/*
- annotations {[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. - azure
Services AzureAuthentication Cluster Azure Services Authentication - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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.
- logging
Config AzureCluster Logging Config - Logging configuration.
- name string
- The name of this resource.
- project string
- The project for the resource
- Azure
Cluster Authorization Args - Configuration related to the cluster RBAC settings.
- azure_
region 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 AzureCluster Control Plane Args - Configuration related to the cluster control plane.
- fleet
Azure
Cluster Fleet Args - Fleet configuration.
- location str
- The location for the resource
- networking
Azure
Cluster Networking Args - Cluster-wide networking configuration.
- resource_
group_ strid - The ARM ID of the resource group where the cluster resources are deployed. For example:
/subscriptions/*/resourceGroups/*
- annotations 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_ Azureauthentication Cluster Azure Services Authentication Args - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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 AzureCluster Logging Config Args - Logging configuration.
- name str
- The name of this resource.
- project str
- The project for the resource
- Property Map
- Configuration related to the cluster RBAC settings.
- azure
Region 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.
- control
Plane Property Map - Configuration related to the cluster control plane.
- fleet Property Map
- Fleet configuration.
- location String
- The location for the resource
- networking Property Map
- Cluster-wide networking configuration.
- resource
Group StringId - The ARM ID of the resource group where the cluster resources are deployed. For example:
/subscriptions/*/resourceGroups/*
- annotations 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. - azure
Services Property MapAuthentication - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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.
- logging
Config Property Map - Logging configuration.
- name String
- The name of this resource.
- project 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:
- Create
Time string - Output only. The time at which this cluster was created.
- Effective
Annotations Dictionary<string, object> - 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.
- Update
Time string - Output only. The time at which this cluster was last updated.
- Workload
Identity List<AzureConfigs Cluster Workload Identity Config> - Output only. Workload Identity settings.
- Create
Time string - Output only. The time at which this cluster was created.
- Effective
Annotations map[string]interface{} - 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.
- Update
Time string - Output only. The time at which this cluster was last updated.
- Workload
Identity []AzureConfigs Cluster Workload Identity Config - Output only. Workload Identity settings.
- create
Time String - Output only. The time at which this cluster was created.
- effective
Annotations Map<String,Object> - 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.
- update
Time String - Output only. The time at which this cluster was last updated.
- workload
Identity List<AzureConfigs Cluster Workload Identity Config> - Output only. Workload Identity settings.
- create
Time string - Output only. The time at which this cluster was created.
- effective
Annotations {[key: string]: any} - 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.
- update
Time string - Output only. The time at which this cluster was last updated.
- workload
Identity AzureConfigs Cluster Workload Identity Config[] - Output only. Workload Identity settings.
- create_
time str - Output only. The time at which this cluster was created.
- effective_
annotations Mapping[str, Any] - 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_ Sequence[Azureconfigs Cluster Workload Identity Config] - Output only. Workload Identity settings.
- create
Time String - Output only. The time at which this cluster was created.
- effective
Annotations Map<Any> - 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.
- update
Time String - Output only. The time at which this cluster was last updated.
- workload
Identity List<Property Map>Configs - 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, Any]] = 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Annotations 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. - Azure
Cluster Authorization - Configuration related to the cluster RBAC settings.
- Azure
Region 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.
- Azure
Services AzureAuthentication Cluster Azure Services Authentication - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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 AzureCluster Control Plane - Configuration related to the cluster control plane.
- Create
Time 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.
- Effective
Annotations Dictionary<string, object> - 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
Azure
Cluster Fleet - Fleet configuration.
- Location string
- The location for the resource
- Logging
Config AzureCluster Logging Config - Logging configuration.
- Name string
- The name of this resource.
- Networking
Azure
Cluster Networking - Cluster-wide networking configuration.
- Project string
- The project for the resource
- Reconciling bool
- Output only. If set, there are currently changes in flight to the cluster.
- Resource
Group stringId - 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.
- Update
Time string - Output only. The time at which this cluster was last updated.
- Workload
Identity List<AzureConfigs Cluster Workload Identity Config> - Output only. Workload Identity settings.
- Annotations 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. - Azure
Cluster Authorization Args - Configuration related to the cluster RBAC settings.
- Azure
Region 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.
- Azure
Services AzureAuthentication Cluster Azure Services Authentication Args - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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 AzureCluster Control Plane Args - Configuration related to the cluster control plane.
- Create
Time 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.
- Effective
Annotations map[string]interface{} - 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
Azure
Cluster Fleet Args - Fleet configuration.
- Location string
- The location for the resource
- Logging
Config AzureCluster Logging Config Args - Logging configuration.
- Name string
- The name of this resource.
- Networking
Azure
Cluster Networking Args - Cluster-wide networking configuration.
- Project string
- The project for the resource
- Reconciling bool
- Output only. If set, there are currently changes in flight to the cluster.
- Resource
Group stringId - 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.
- Update
Time string - Output only. The time at which this cluster was last updated.
- Workload
Identity []AzureConfigs Cluster Workload Identity Config Args - Output only. Workload Identity settings.
- annotations 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. - Azure
Cluster Authorization - Configuration related to the cluster RBAC settings.
- azure
Region 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.
- azure
Services AzureAuthentication Cluster Azure Services Authentication - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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 AzureCluster Control Plane - Configuration related to the cluster control plane.
- create
Time 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.
- effective
Annotations Map<String,Object> - 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
Azure
Cluster Fleet - Fleet configuration.
- location String
- The location for the resource
- logging
Config AzureCluster Logging Config - Logging configuration.
- name String
- The name of this resource.
- networking
Azure
Cluster Networking - Cluster-wide networking configuration.
- project String
- The project for the resource
- reconciling Boolean
- Output only. If set, there are currently changes in flight to the cluster.
- resource
Group StringId - 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.
- update
Time String - Output only. The time at which this cluster was last updated.
- workload
Identity List<AzureConfigs Cluster Workload Identity Config> - Output only. Workload Identity settings.
- annotations {[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. - Azure
Cluster Authorization - Configuration related to the cluster RBAC settings.
- azure
Region 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.
- azure
Services AzureAuthentication Cluster Azure Services Authentication - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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 AzureCluster Control Plane - Configuration related to the cluster control plane.
- create
Time 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.
- effective
Annotations {[key: string]: any} - 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
Azure
Cluster Fleet - Fleet configuration.
- location string
- The location for the resource
- logging
Config AzureCluster Logging Config - Logging configuration.
- name string
- The name of this resource.
- networking
Azure
Cluster Networking - Cluster-wide networking configuration.
- project string
- The project for the resource
- reconciling boolean
- Output only. If set, there are currently changes in flight to the cluster.
- resource
Group stringId - 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.
- update
Time string - Output only. The time at which this cluster was last updated.
- workload
Identity AzureConfigs Cluster Workload Identity Config[] - Output only. Workload Identity settings.
- annotations 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
Cluster Authorization Args - Configuration related to the cluster RBAC settings.
- azure_
region 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_ Azureauthentication Cluster Azure Services Authentication Args - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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 AzureCluster Control Plane Args - 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 Mapping[str, Any] - 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
Azure
Cluster Fleet Args - Fleet configuration.
- location str
- The location for the resource
- logging_
config AzureCluster Logging Config Args - Logging configuration.
- name str
- The name of this resource.
- networking
Azure
Cluster Networking Args - Cluster-wide networking configuration.
- project str
- The project for the resource
- reconciling bool
- Output only. If set, there are currently changes in flight to the cluster.
- resource_
group_ strid - 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_ Sequence[Azureconfigs Cluster Workload Identity Config Args] - Output only. Workload Identity settings.
- annotations 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. - Property Map
- Configuration related to the cluster RBAC settings.
- azure
Region 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.
- azure
Services Property MapAuthentication - 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 theAzureCluster
.AzureClient
names are formatted asprojects/<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 Property Map - Configuration related to the cluster control plane.
- create
Time 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.
- effective
Annotations Map<Any> - 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 Property Map
- Fleet configuration.
- location String
- The location for the resource
- logging
Config Property Map - Logging configuration.
- name String
- The name of this resource.
- networking Property Map
- Cluster-wide networking configuration.
- project String
- The project for the resource
- reconciling Boolean
- Output only. If set, there are currently changes in flight to the cluster.
- resource
Group StringId - 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.
- update
Time String - Output only. The time at which this cluster was last updated.
- workload
Identity List<Property Map>Configs - Output only. Workload Identity settings.
Supporting Types
AzureClusterAuthorization, AzureClusterAuthorizationArgs
- Admin
Users List<AzureCluster Authorization Admin User> - 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 List<AzureCluster Authorization Admin Group> - 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 []AzureCluster Authorization Admin User - 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 []AzureCluster Authorization Admin Group - 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 List<AzureCluster Authorization Admin User> - 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 List<AzureCluster Authorization Admin Group> - 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 AzureCluster Authorization Admin User[] - 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 AzureCluster Authorization Admin Group[] - 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 Sequence[AzureCluster Authorization Admin User] - 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[AzureCluster Authorization Admin Group] - 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 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
- admin
Groups 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 string
- The name of the group, e.g.
my-group@domain.com
.
- Group string
- The name of the group, e.g.
my-group@domain.com
.
- group String
- The name of the group, e.g.
my-group@domain.com
.
- group string
- The name of the group, e.g.
my-group@domain.com
.
- group str
- The name of the group, e.g.
my-group@domain.com
.
- group String
- The name of the group, e.g.
my-group@domain.com
.
AzureClusterAuthorizationAdminUser, AzureClusterAuthorizationAdminUserArgs
- Username string
- The name of the user, e.g.
my-gcp-id@gmail.com
.
- Username string
- The name of the user, e.g.
my-gcp-id@gmail.com
.
- username String
- The name of the user, e.g.
my-gcp-id@gmail.com
.
- username string
- The name of the user, e.g.
my-gcp-id@gmail.com
.
- username str
- The name of the user, e.g.
my-gcp-id@gmail.com
.
- username String
- The name of the user, e.g.
my-gcp-id@gmail.com
.
AzureClusterAzureServicesAuthentication, AzureClusterAzureServicesAuthenticationArgs
- Application
Id string - The Azure Active Directory Application ID for Authentication configuration.
- Tenant
Id string - The Azure Active Directory Tenant ID for Authentication configuration.
- Application
Id string - The Azure Active Directory Application ID for Authentication configuration.
- Tenant
Id string - The Azure Active Directory Tenant ID for Authentication configuration.
- application
Id String - The Azure Active Directory Application ID for Authentication configuration.
- tenant
Id String - The Azure Active Directory Tenant ID for Authentication configuration.
- application
Id string - The Azure Active Directory Application ID for Authentication configuration.
- tenant
Id string - The Azure Active Directory Tenant ID for Authentication configuration.
- application_
id str - The Azure Active Directory Application ID for Authentication configuration.
- tenant_
id str - The Azure Active Directory Tenant ID for Authentication configuration.
- application
Id String - The Azure Active Directory Application ID for Authentication configuration.
- tenant
Id String - The Azure Active Directory Tenant ID for Authentication configuration.
AzureClusterControlPlane, AzureClusterControlPlaneArgs
- Ssh
Config AzureCluster Control Plane Ssh Config - SSH configuration for how to access the underlying control plane machines.
- Subnet
Id string - The ARM ID of the subnet where the control plane VMs are deployed. Example:
/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default
. - Version 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. - Database
Encryption AzureCluster Control Plane Database Encryption - Optional. Configuration related to application-layer secrets encryption.
- Main
Volume AzureCluster Control Plane Main Volume - 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 AzureCluster Control Plane Proxy Config - Proxy configuration for outbound HTTP(S) traffic.
- Replica
Placements List<AzureCluster Control Plane Replica Placement> - 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 AzureCluster Control Plane Root Volume - Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
- Dictionary<string, string>
- Optional. A set of tags to apply to all underlying control plane Azure resources.
- Vm
Size 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 toStandard_DS2_v2
.
- Ssh
Config AzureCluster Control Plane Ssh Config - SSH configuration for how to access the underlying control plane machines.
- Subnet
Id string - The ARM ID of the subnet where the control plane VMs are deployed. Example:
/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default
. - Version 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. - Database
Encryption AzureCluster Control Plane Database Encryption - Optional. Configuration related to application-layer secrets encryption.
- Main
Volume AzureCluster Control Plane Main Volume - 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 AzureCluster Control Plane Proxy Config - Proxy configuration for outbound HTTP(S) traffic.
- Replica
Placements []AzureCluster Control Plane Replica Placement - 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 AzureCluster Control Plane Root Volume - Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
- map[string]string
- Optional. A set of tags to apply to all underlying control plane Azure resources.
- Vm
Size 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 toStandard_DS2_v2
.
- ssh
Config AzureCluster Control Plane Ssh Config - SSH configuration for how to access the underlying control plane machines.
- subnet
Id String - The ARM ID of the subnet where the control plane VMs are deployed. Example:
/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default
. - version 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. - database
Encryption AzureCluster Control Plane Database Encryption - Optional. Configuration related to application-layer secrets encryption.
- main
Volume AzureCluster Control Plane Main Volume - 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 AzureCluster Control Plane Proxy Config - Proxy configuration for outbound HTTP(S) traffic.
- replica
Placements List<AzureCluster Control Plane Replica Placement> - 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 AzureCluster Control Plane Root Volume - Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
- Map<String,String>
- Optional. A set of tags to apply to all underlying control plane Azure resources.
- vm
Size 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 toStandard_DS2_v2
.
- ssh
Config AzureCluster Control Plane Ssh Config - SSH configuration for how to access the underlying control plane machines.
- subnet
Id string - The ARM ID of the subnet where the control plane VMs are deployed. Example:
/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default
. - version 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. - database
Encryption AzureCluster Control Plane Database Encryption - Optional. Configuration related to application-layer secrets encryption.
- main
Volume AzureCluster Control Plane Main Volume - 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 AzureCluster Control Plane Proxy Config - Proxy configuration for outbound HTTP(S) traffic.
- replica
Placements AzureCluster Control Plane Replica Placement[] - 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 AzureCluster Control Plane Root Volume - Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
- {[key: string]: string}
- Optional. A set of tags to apply to all underlying control plane Azure resources.
- vm
Size 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 toStandard_DS2_v2
.
- ssh_
config AzureCluster Control Plane Ssh Config - SSH configuration for how to access the underlying control plane machines.
- subnet_
id str - The ARM ID of the subnet where the control plane VMs are deployed. Example:
/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default
. - version 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 AzureCluster Control Plane Database Encryption - Optional. Configuration related to application-layer secrets encryption.
- main_
volume AzureCluster Control Plane Main Volume - 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 AzureCluster Control Plane Proxy Config - Proxy configuration for outbound HTTP(S) traffic.
- replica_
placements Sequence[AzureCluster Control Plane Replica Placement] - 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 AzureCluster Control Plane Root Volume - Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
- 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 toStandard_DS2_v2
.
- ssh
Config Property Map - SSH configuration for how to access the underlying control plane machines.
- subnet
Id String - The ARM ID of the subnet where the control plane VMs are deployed. Example:
/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default
. - version 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. - database
Encryption Property Map - Optional. Configuration related to application-layer secrets encryption.
- main
Volume 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.
- proxy
Config Property Map - Proxy configuration for outbound HTTP(S) traffic.
- replica
Placements 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.
- root
Volume Property Map - Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
- Map<String>
- Optional. A set of tags to apply to all underlying control plane Azure resources.
- vm
Size 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 toStandard_DS2_v2
.
AzureClusterControlPlaneDatabaseEncryption, AzureClusterControlPlaneDatabaseEncryptionArgs
- Key
Id 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 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 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 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 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.
- key
Id 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
- Size
Gib int - 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 int - 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 Integer - 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 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 int - 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 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
- Resource
Group stringId - 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 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 stringId - 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 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 StringId - 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 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 stringId - 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 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_ strid - 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 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>
.
- resource
Group StringId - 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 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
- Azure
Availability stringZone - For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
- Subnet
Id 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 stringZone - For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
- Subnet
Id 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 StringZone - For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
- subnet
Id 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 stringZone - For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
- subnet
Id 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_ strzone - For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
- subnet_
id 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.
- azure
Availability StringZone - For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
- subnet
Id 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
- Size
Gib int - 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 int - 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 Integer - 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 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 int - 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 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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 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 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 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 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 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 String
- The number of the Fleet host project where this cluster will be registered.
AzureClusterLoggingConfig, AzureClusterLoggingConfigArgs
- Component
Config AzureCluster Logging Config Component Config - Configuration of the logging components.
- Component
Config AzureCluster Logging Config Component Config - Configuration of the logging components.
- component
Config AzureCluster Logging Config Component Config - Configuration of the logging components.
- component
Config AzureCluster Logging Config Component Config - Configuration of the logging components.
- component_
config AzureCluster Logging Config Component Config - Configuration of the logging components.
- component
Config Property Map - Configuration of the logging components.
AzureClusterLoggingConfigComponentConfig, AzureClusterLoggingConfigComponentConfigArgs
- Enable
Components List<string> - Components of the logging configuration to be enabled.
- Enable
Components []string - Components of the logging configuration to be enabled.
- enable
Components List<String> - Components of the logging configuration to be enabled.
- enable
Components string[] - Components of the logging configuration to be enabled.
- enable_
components Sequence[str] - Components of the logging configuration to be enabled.
- enable
Components List<String> - Components of the logging configuration to be enabled.
AzureClusterNetworking, AzureClusterNetworkingArgs
- Pod
Address List<string>Cidr Blocks - 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 List<string>Cidr Blocks - 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 stringId - 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 []stringCidr Blocks - 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 []stringCidr Blocks - 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 stringId - 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 List<String>Cidr Blocks - 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 List<String>Cidr Blocks - 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 StringId - 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 string[]Cidr Blocks - 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 string[]Cidr Blocks - 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 stringId - 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_ Sequence[str]cidr_ blocks - 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_ Sequence[str]cidr_ blocks - 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_ strid - 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 List<String>Cidr Blocks - 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 List<String>Cidr Blocks - 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 StringId - 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
- Identity
Provider string - The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool.
- Issuer
Uri string - The OIDC issuer URL for this cluster.
- Workload
Pool string - The Workload Identity Pool associated to the cluster.
- Identity
Provider string - The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool.
- Issuer
Uri string - The OIDC issuer URL for this cluster.
- Workload
Pool string - The Workload Identity Pool associated to the cluster.
- identity
Provider String - The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool.
- issuer
Uri String - The OIDC issuer URL for this cluster.
- workload
Pool String - The Workload Identity Pool associated to the cluster.
- identity
Provider string - The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool.
- issuer
Uri string - The OIDC issuer URL for this cluster.
- workload
Pool 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.
- identity
Provider String - The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool.
- issuer
Uri String - The OIDC issuer URL for this cluster.
- workload
Pool 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}}
$ pulumi import gcp:container/azureCluster:AzureCluster default {{project}}/{{location}}/{{name}}
$ pulumi import gcp:container/azureCluster:AzureCluster default {{location}}/{{name}}
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.