1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. container
  5. AzureNodePool
Google Cloud v8.27.1 published on Friday, Apr 25, 2025 by Pulumi

gcp.container.AzureNodePool

Explore with Pulumi AI

An Anthos node pool running on Azure.

For more information, see:

Example Usage

Basic_azure_node_pool

A basic example of a containerazure azure node pool

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",
});
const primaryAzureNodePool = new gcp.container.AzureNodePool("primary", {
    autoscaling: {
        maxNodeCount: 3,
        minNodeCount: 2,
    },
    cluster: primary.name,
    config: {
        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",
        },
        proxyConfig: {
            resourceGroupId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
            secretId: "https://my--dev-keyvault.vault.azure.net/secrets/my--dev-secret/0000000000000000000000000000000000",
        },
        rootVolume: {
            sizeGib: 32,
        },
        tags: {
            owner: "mmv2",
        },
        labels: {
            key_one: "label_one",
        },
        vmSize: "Standard_DS2_v2",
    },
    location: "us-west1",
    maxPodsConstraint: {
        maxPodsPerNode: 110,
    },
    name: "node-pool-name",
    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]),
    annotations: {
        "annotation-one": "value-one",
    },
    management: {
        autoRepair: true,
    },
    project: "my-project-name",
});
Copy
import pulumi
import pulumi_gcp as gcp

versions = gcp.container.get_azure_versions(project="my-project-name",
    location="us-west1")
basic = gcp.container.AzureClient("basic",
    application_id="12345678-1234-1234-1234-123456789111",
    location="us-west1",
    name="client-name",
    tenant_id="12345678-1234-1234-1234-123456789111",
    project="my-project-name")
primary = gcp.container.AzureCluster("primary",
    authorization={
        "admin_users": [{
            "username": "mmv2@google.com",
        }],
    },
    azure_region="westus2",
    client=basic.name.apply(lambda name: f"projects/my-project-number/locations/us-west1/azureClients/{name}"),
    control_plane={
        "ssh_config": {
            "authorized_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers",
        },
        "subnet_id": "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
        "version": versions.valid_versions[0],
    },
    fleet={
        "project": "my-project-number",
    },
    location="us-west1",
    name="name",
    networking={
        "pod_address_cidr_blocks": ["10.200.0.0/16"],
        "service_address_cidr_blocks": ["10.32.0.0/24"],
        "virtual_network_id": "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet",
    },
    resource_group_id="/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
    project="my-project-name")
primary_azure_node_pool = gcp.container.AzureNodePool("primary",
    autoscaling={
        "max_node_count": 3,
        "min_node_count": 2,
    },
    cluster=primary.name,
    config={
        "ssh_config": {
            "authorized_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers",
        },
        "proxy_config": {
            "resource_group_id": "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
            "secret_id": "https://my--dev-keyvault.vault.azure.net/secrets/my--dev-secret/0000000000000000000000000000000000",
        },
        "root_volume": {
            "size_gib": 32,
        },
        "tags": {
            "owner": "mmv2",
        },
        "labels": {
            "key_one": "label_one",
        },
        "vm_size": "Standard_DS2_v2",
    },
    location="us-west1",
    max_pods_constraint={
        "max_pods_per_node": 110,
    },
    name="node-pool-name",
    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],
    annotations={
        "annotation-one": "value-one",
    },
    management={
        "auto_repair": True,
    },
    project="my-project-name")
Copy
package main

import (
	"fmt"

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		versions, err := container.GetAzureVersions(ctx, &container.GetAzureVersionsArgs{
			Project:  pulumi.StringRef("my-project-name"),
			Location: pulumi.StringRef("us-west1"),
		}, nil)
		if err != nil {
			return err
		}
		basic, err := container.NewAzureClient(ctx, "basic", &container.AzureClientArgs{
			ApplicationId: pulumi.String("12345678-1234-1234-1234-123456789111"),
			Location:      pulumi.String("us-west1"),
			Name:          pulumi.String("client-name"),
			TenantId:      pulumi.String("12345678-1234-1234-1234-123456789111"),
			Project:       pulumi.String("my-project-name"),
		})
		if err != nil {
			return err
		}
		primary, 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"),
		})
		if err != nil {
			return err
		}
		_, err = container.NewAzureNodePool(ctx, "primary", &container.AzureNodePoolArgs{
			Autoscaling: &container.AzureNodePoolAutoscalingArgs{
				MaxNodeCount: pulumi.Int(3),
				MinNodeCount: pulumi.Int(2),
			},
			Cluster: primary.Name,
			Config: &container.AzureNodePoolConfigArgs{
				SshConfig: &container.AzureNodePoolConfigSshConfigArgs{
					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"),
				},
				ProxyConfig: &container.AzureNodePoolConfigProxyConfigArgs{
					ResourceGroupId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster"),
					SecretId:        pulumi.String("https://my--dev-keyvault.vault.azure.net/secrets/my--dev-secret/0000000000000000000000000000000000"),
				},
				RootVolume: &container.AzureNodePoolConfigRootVolumeArgs{
					SizeGib: pulumi.Int(32),
				},
				Tags: pulumi.StringMap{
					"owner": pulumi.String("mmv2"),
				},
				Labels: pulumi.StringMap{
					"key_one": pulumi.String("label_one"),
				},
				VmSize: pulumi.String("Standard_DS2_v2"),
			},
			Location: pulumi.String("us-west1"),
			MaxPodsConstraint: &container.AzureNodePoolMaxPodsConstraintArgs{
				MaxPodsPerNode: pulumi.Int(110),
			},
			Name:     pulumi.String("node-pool-name"),
			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]),
			Annotations: pulumi.StringMap{
				"annotation-one": pulumi.String("value-one"),
			},
			Management: &container.AzureNodePoolManagementArgs{
				AutoRepair: pulumi.Bool(true),
			},
			Project: pulumi.String("my-project-name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

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

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

    var primary = new Gcp.Container.AzureCluster("primary", new()
    {
        Authorization = new Gcp.Container.Inputs.AzureClusterAuthorizationArgs
        {
            AdminUsers = new[]
            {
                new Gcp.Container.Inputs.AzureClusterAuthorizationAdminUserArgs
                {
                    Username = "mmv2@google.com",
                },
            },
        },
        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",
    });

    var primaryAzureNodePool = new Gcp.Container.AzureNodePool("primary", new()
    {
        Autoscaling = new Gcp.Container.Inputs.AzureNodePoolAutoscalingArgs
        {
            MaxNodeCount = 3,
            MinNodeCount = 2,
        },
        Cluster = primary.Name,
        Config = new Gcp.Container.Inputs.AzureNodePoolConfigArgs
        {
            SshConfig = new Gcp.Container.Inputs.AzureNodePoolConfigSshConfigArgs
            {
                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",
            },
            ProxyConfig = new Gcp.Container.Inputs.AzureNodePoolConfigProxyConfigArgs
            {
                ResourceGroupId = "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
                SecretId = "https://my--dev-keyvault.vault.azure.net/secrets/my--dev-secret/0000000000000000000000000000000000",
            },
            RootVolume = new Gcp.Container.Inputs.AzureNodePoolConfigRootVolumeArgs
            {
                SizeGib = 32,
            },
            Tags = 
            {
                { "owner", "mmv2" },
            },
            Labels = 
            {
                { "key_one", "label_one" },
            },
            VmSize = "Standard_DS2_v2",
        },
        Location = "us-west1",
        MaxPodsConstraint = new Gcp.Container.Inputs.AzureNodePoolMaxPodsConstraintArgs
        {
            MaxPodsPerNode = 110,
        },
        Name = "node-pool-name",
        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]),
        Annotations = 
        {
            { "annotation-one", "value-one" },
        },
        Management = new Gcp.Container.Inputs.AzureNodePoolManagementArgs
        {
            AutoRepair = true,
        },
        Project = "my-project-name",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.container.ContainerFunctions;
import com.pulumi.gcp.container.inputs.GetAzureVersionsArgs;
import com.pulumi.gcp.container.AzureClient;
import com.pulumi.gcp.container.AzureClientArgs;
import com.pulumi.gcp.container.AzureCluster;
import com.pulumi.gcp.container.AzureClusterArgs;
import com.pulumi.gcp.container.inputs.AzureClusterAuthorizationArgs;
import com.pulumi.gcp.container.inputs.AzureClusterControlPlaneArgs;
import com.pulumi.gcp.container.inputs.AzureClusterControlPlaneSshConfigArgs;
import com.pulumi.gcp.container.inputs.AzureClusterFleetArgs;
import com.pulumi.gcp.container.inputs.AzureClusterNetworkingArgs;
import com.pulumi.gcp.container.AzureNodePool;
import com.pulumi.gcp.container.AzureNodePoolArgs;
import com.pulumi.gcp.container.inputs.AzureNodePoolAutoscalingArgs;
import com.pulumi.gcp.container.inputs.AzureNodePoolConfigArgs;
import com.pulumi.gcp.container.inputs.AzureNodePoolConfigSshConfigArgs;
import com.pulumi.gcp.container.inputs.AzureNodePoolConfigProxyConfigArgs;
import com.pulumi.gcp.container.inputs.AzureNodePoolConfigRootVolumeArgs;
import com.pulumi.gcp.container.inputs.AzureNodePoolMaxPodsConstraintArgs;
import com.pulumi.gcp.container.inputs.AzureNodePoolManagementArgs;
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.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());

        var primaryAzureNodePool = new AzureNodePool("primaryAzureNodePool", AzureNodePoolArgs.builder()
            .autoscaling(AzureNodePoolAutoscalingArgs.builder()
                .maxNodeCount(3)
                .minNodeCount(2)
                .build())
            .cluster(primary.name())
            .config(AzureNodePoolConfigArgs.builder()
                .sshConfig(AzureNodePoolConfigSshConfigArgs.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())
                .proxyConfig(AzureNodePoolConfigProxyConfigArgs.builder()
                    .resourceGroupId("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster")
                    .secretId("https://my--dev-keyvault.vault.azure.net/secrets/my--dev-secret/0000000000000000000000000000000000")
                    .build())
                .rootVolume(AzureNodePoolConfigRootVolumeArgs.builder()
                    .sizeGib(32)
                    .build())
                .tags(Map.of("owner", "mmv2"))
                .labels(Map.of("key_one", "label_one"))
                .vmSize("Standard_DS2_v2")
                .build())
            .location("us-west1")
            .maxPodsConstraint(AzureNodePoolMaxPodsConstraintArgs.builder()
                .maxPodsPerNode(110)
                .build())
            .name("node-pool-name")
            .subnetId("/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default")
            .version(versions.validVersions()[0])
            .annotations(Map.of("annotation-one", "value-one"))
            .management(AzureNodePoolManagementArgs.builder()
                .autoRepair(true)
                .build())
            .project("my-project-name")
            .build());

    }
}
Copy
resources:
  primary:
    type: gcp:container:AzureCluster
    properties:
      authorization:
        adminUsers:
          - username: mmv2@google.com
      azureRegion: westus2
      client: projects/my-project-number/locations/us-west1/azureClients/${basic.name}
      controlPlane:
        sshConfig:
          authorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers
        subnetId: /subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default
        version: ${versions.validVersions[0]}
      fleet:
        project: my-project-number
      location: us-west1
      name: name
      networking:
        podAddressCidrBlocks:
          - 10.200.0.0/16
        serviceAddressCidrBlocks:
          - 10.32.0.0/24
        virtualNetworkId: /subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet
      resourceGroupId: /subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster
      project: my-project-name
  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
  primaryAzureNodePool:
    type: gcp:container:AzureNodePool
    name: primary
    properties:
      autoscaling:
        maxNodeCount: 3
        minNodeCount: 2
      cluster: ${primary.name}
      config:
        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
        proxyConfig:
          resourceGroupId: /subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster
          secretId: https://my--dev-keyvault.vault.azure.net/secrets/my--dev-secret/0000000000000000000000000000000000
        rootVolume:
          sizeGib: 32
        tags:
          owner: mmv2
        labels:
          key_one: label_one
        vmSize: Standard_DS2_v2
      location: us-west1
      maxPodsConstraint:
        maxPodsPerNode: 110
      name: node-pool-name
      subnetId: /subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default
      version: ${versions.validVersions[0]}
      annotations:
        annotation-one: value-one
      management:
        autoRepair: true
      project: my-project-name
variables:
  versions:
    fn::invoke:
      function: gcp:container:getAzureVersions
      arguments:
        project: my-project-name
        location: us-west1
Copy

Create AzureNodePool Resource

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

Constructor syntax

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

@overload
def AzureNodePool(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  autoscaling: Optional[AzureNodePoolAutoscalingArgs] = None,
                  cluster: Optional[str] = None,
                  config: Optional[AzureNodePoolConfigArgs] = None,
                  location: Optional[str] = None,
                  max_pods_constraint: Optional[AzureNodePoolMaxPodsConstraintArgs] = None,
                  subnet_id: Optional[str] = None,
                  version: Optional[str] = None,
                  annotations: Optional[Mapping[str, str]] = None,
                  azure_availability_zone: Optional[str] = None,
                  management: Optional[AzureNodePoolManagementArgs] = None,
                  name: Optional[str] = None,
                  project: Optional[str] = None)
func NewAzureNodePool(ctx *Context, name string, args AzureNodePoolArgs, opts ...ResourceOption) (*AzureNodePool, error)
public AzureNodePool(string name, AzureNodePoolArgs args, CustomResourceOptions? opts = null)
public AzureNodePool(String name, AzureNodePoolArgs args)
public AzureNodePool(String name, AzureNodePoolArgs args, CustomResourceOptions options)
type: gcp:container:AzureNodePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AzureNodePoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AzureNodePoolArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AzureNodePoolArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AzureNodePoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AzureNodePoolArgs
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 azureNodePoolResource = new Gcp.Container.AzureNodePool("azureNodePoolResource", new()
{
    Autoscaling = new Gcp.Container.Inputs.AzureNodePoolAutoscalingArgs
    {
        MaxNodeCount = 0,
        MinNodeCount = 0,
    },
    Cluster = "string",
    Config = new Gcp.Container.Inputs.AzureNodePoolConfigArgs
    {
        SshConfig = new Gcp.Container.Inputs.AzureNodePoolConfigSshConfigArgs
        {
            AuthorizedKey = "string",
        },
        ImageType = "string",
        Labels = 
        {
            { "string", "string" },
        },
        ProxyConfig = new Gcp.Container.Inputs.AzureNodePoolConfigProxyConfigArgs
        {
            ResourceGroupId = "string",
            SecretId = "string",
        },
        RootVolume = new Gcp.Container.Inputs.AzureNodePoolConfigRootVolumeArgs
        {
            SizeGib = 0,
        },
        Tags = 
        {
            { "string", "string" },
        },
        VmSize = "string",
    },
    Location = "string",
    MaxPodsConstraint = new Gcp.Container.Inputs.AzureNodePoolMaxPodsConstraintArgs
    {
        MaxPodsPerNode = 0,
    },
    SubnetId = "string",
    Version = "string",
    Annotations = 
    {
        { "string", "string" },
    },
    AzureAvailabilityZone = "string",
    Management = new Gcp.Container.Inputs.AzureNodePoolManagementArgs
    {
        AutoRepair = false,
    },
    Name = "string",
    Project = "string",
});
Copy
example, err := container.NewAzureNodePool(ctx, "azureNodePoolResource", &container.AzureNodePoolArgs{
	Autoscaling: &container.AzureNodePoolAutoscalingArgs{
		MaxNodeCount: pulumi.Int(0),
		MinNodeCount: pulumi.Int(0),
	},
	Cluster: pulumi.String("string"),
	Config: &container.AzureNodePoolConfigArgs{
		SshConfig: &container.AzureNodePoolConfigSshConfigArgs{
			AuthorizedKey: pulumi.String("string"),
		},
		ImageType: pulumi.String("string"),
		Labels: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		ProxyConfig: &container.AzureNodePoolConfigProxyConfigArgs{
			ResourceGroupId: pulumi.String("string"),
			SecretId:        pulumi.String("string"),
		},
		RootVolume: &container.AzureNodePoolConfigRootVolumeArgs{
			SizeGib: pulumi.Int(0),
		},
		Tags: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		VmSize: pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	MaxPodsConstraint: &container.AzureNodePoolMaxPodsConstraintArgs{
		MaxPodsPerNode: pulumi.Int(0),
	},
	SubnetId: pulumi.String("string"),
	Version:  pulumi.String("string"),
	Annotations: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	AzureAvailabilityZone: pulumi.String("string"),
	Management: &container.AzureNodePoolManagementArgs{
		AutoRepair: pulumi.Bool(false),
	},
	Name:    pulumi.String("string"),
	Project: pulumi.String("string"),
})
Copy
var azureNodePoolResource = new AzureNodePool("azureNodePoolResource", AzureNodePoolArgs.builder()
    .autoscaling(AzureNodePoolAutoscalingArgs.builder()
        .maxNodeCount(0)
        .minNodeCount(0)
        .build())
    .cluster("string")
    .config(AzureNodePoolConfigArgs.builder()
        .sshConfig(AzureNodePoolConfigSshConfigArgs.builder()
            .authorizedKey("string")
            .build())
        .imageType("string")
        .labels(Map.of("string", "string"))
        .proxyConfig(AzureNodePoolConfigProxyConfigArgs.builder()
            .resourceGroupId("string")
            .secretId("string")
            .build())
        .rootVolume(AzureNodePoolConfigRootVolumeArgs.builder()
            .sizeGib(0)
            .build())
        .tags(Map.of("string", "string"))
        .vmSize("string")
        .build())
    .location("string")
    .maxPodsConstraint(AzureNodePoolMaxPodsConstraintArgs.builder()
        .maxPodsPerNode(0)
        .build())
    .subnetId("string")
    .version("string")
    .annotations(Map.of("string", "string"))
    .azureAvailabilityZone("string")
    .management(AzureNodePoolManagementArgs.builder()
        .autoRepair(false)
        .build())
    .name("string")
    .project("string")
    .build());
Copy
azure_node_pool_resource = gcp.container.AzureNodePool("azureNodePoolResource",
    autoscaling={
        "max_node_count": 0,
        "min_node_count": 0,
    },
    cluster="string",
    config={
        "ssh_config": {
            "authorized_key": "string",
        },
        "image_type": "string",
        "labels": {
            "string": "string",
        },
        "proxy_config": {
            "resource_group_id": "string",
            "secret_id": "string",
        },
        "root_volume": {
            "size_gib": 0,
        },
        "tags": {
            "string": "string",
        },
        "vm_size": "string",
    },
    location="string",
    max_pods_constraint={
        "max_pods_per_node": 0,
    },
    subnet_id="string",
    version="string",
    annotations={
        "string": "string",
    },
    azure_availability_zone="string",
    management={
        "auto_repair": False,
    },
    name="string",
    project="string")
Copy
const azureNodePoolResource = new gcp.container.AzureNodePool("azureNodePoolResource", {
    autoscaling: {
        maxNodeCount: 0,
        minNodeCount: 0,
    },
    cluster: "string",
    config: {
        sshConfig: {
            authorizedKey: "string",
        },
        imageType: "string",
        labels: {
            string: "string",
        },
        proxyConfig: {
            resourceGroupId: "string",
            secretId: "string",
        },
        rootVolume: {
            sizeGib: 0,
        },
        tags: {
            string: "string",
        },
        vmSize: "string",
    },
    location: "string",
    maxPodsConstraint: {
        maxPodsPerNode: 0,
    },
    subnetId: "string",
    version: "string",
    annotations: {
        string: "string",
    },
    azureAvailabilityZone: "string",
    management: {
        autoRepair: false,
    },
    name: "string",
    project: "string",
});
Copy
type: gcp:container:AzureNodePool
properties:
    annotations:
        string: string
    autoscaling:
        maxNodeCount: 0
        minNodeCount: 0
    azureAvailabilityZone: string
    cluster: string
    config:
        imageType: string
        labels:
            string: string
        proxyConfig:
            resourceGroupId: string
            secretId: string
        rootVolume:
            sizeGib: 0
        sshConfig:
            authorizedKey: string
        tags:
            string: string
        vmSize: string
    location: string
    management:
        autoRepair: false
    maxPodsConstraint:
        maxPodsPerNode: 0
    name: string
    project: string
    subnetId: string
    version: string
Copy

AzureNodePool Resource Properties

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

Inputs

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

The AzureNodePool resource accepts the following input properties:

Autoscaling This property is required. AzureNodePoolAutoscaling
Autoscaler configuration for this node pool.
Cluster
This property is required.
Changes to this property will trigger replacement.
string
The azureCluster for the resource
Config This property is required. AzureNodePoolConfig
The node configuration of the node pool.
Location
This property is required.
Changes to this property will trigger replacement.
string
The location for the resource
MaxPodsConstraint
This property is required.
Changes to this property will trigger replacement.
AzureNodePoolMaxPodsConstraint
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
SubnetId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
Version This property is required. string
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.
Annotations Dictionary<string, string>
Optional. Annotations on the node pool. 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.
AzureAvailabilityZone Changes to this property will trigger replacement. string
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
Management AzureNodePoolManagement
The Management configuration for this node pool.
Name Changes to this property will trigger replacement. string
The name of this resource.
Project Changes to this property will trigger replacement. string
The project for the resource
Autoscaling This property is required. AzureNodePoolAutoscalingArgs
Autoscaler configuration for this node pool.
Cluster
This property is required.
Changes to this property will trigger replacement.
string
The azureCluster for the resource
Config This property is required. AzureNodePoolConfigArgs
The node configuration of the node pool.
Location
This property is required.
Changes to this property will trigger replacement.
string
The location for the resource
MaxPodsConstraint
This property is required.
Changes to this property will trigger replacement.
AzureNodePoolMaxPodsConstraintArgs
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
SubnetId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
Version This property is required. string
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.
Annotations map[string]string
Optional. Annotations on the node pool. 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.
AzureAvailabilityZone Changes to this property will trigger replacement. string
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
Management AzureNodePoolManagementArgs
The Management configuration for this node pool.
Name Changes to this property will trigger replacement. string
The name of this resource.
Project Changes to this property will trigger replacement. string
The project for the resource
autoscaling This property is required. AzureNodePoolAutoscaling
Autoscaler configuration for this node pool.
cluster
This property is required.
Changes to this property will trigger replacement.
String
The azureCluster for the resource
config This property is required. AzureNodePoolConfig
The node configuration of the node pool.
location
This property is required.
Changes to this property will trigger replacement.
String
The location for the resource
maxPodsConstraint
This property is required.
Changes to this property will trigger replacement.
AzureNodePoolMaxPodsConstraint
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
subnetId
This property is required.
Changes to this property will trigger replacement.
String
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
version This property is required. String
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.
annotations Map<String,String>
Optional. Annotations on the node pool. 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.
azureAvailabilityZone Changes to this property will trigger replacement. String
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
management AzureNodePoolManagement
The Management configuration for this node pool.
name Changes to this property will trigger replacement. String
The name of this resource.
project Changes to this property will trigger replacement. String
The project for the resource
autoscaling This property is required. AzureNodePoolAutoscaling
Autoscaler configuration for this node pool.
cluster
This property is required.
Changes to this property will trigger replacement.
string
The azureCluster for the resource
config This property is required. AzureNodePoolConfig
The node configuration of the node pool.
location
This property is required.
Changes to this property will trigger replacement.
string
The location for the resource
maxPodsConstraint
This property is required.
Changes to this property will trigger replacement.
AzureNodePoolMaxPodsConstraint
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
subnetId
This property is required.
Changes to this property will trigger replacement.
string
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
version This property is required. string
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.
annotations {[key: string]: string}
Optional. Annotations on the node pool. 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.
azureAvailabilityZone Changes to this property will trigger replacement. string
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
management AzureNodePoolManagement
The Management configuration for this node pool.
name Changes to this property will trigger replacement. string
The name of this resource.
project Changes to this property will trigger replacement. string
The project for the resource
autoscaling This property is required. AzureNodePoolAutoscalingArgs
Autoscaler configuration for this node pool.
cluster
This property is required.
Changes to this property will trigger replacement.
str
The azureCluster for the resource
config This property is required. AzureNodePoolConfigArgs
The node configuration of the node pool.
location
This property is required.
Changes to this property will trigger replacement.
str
The location for the resource
max_pods_constraint
This property is required.
Changes to this property will trigger replacement.
AzureNodePoolMaxPodsConstraintArgs
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
subnet_id
This property is required.
Changes to this property will trigger replacement.
str
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
version This property is required. str
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.
annotations Mapping[str, str]
Optional. Annotations on the node pool. 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_availability_zone Changes to this property will trigger replacement. str
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
management AzureNodePoolManagementArgs
The Management configuration for this node pool.
name Changes to this property will trigger replacement. str
The name of this resource.
project Changes to this property will trigger replacement. str
The project for the resource
autoscaling This property is required. Property Map
Autoscaler configuration for this node pool.
cluster
This property is required.
Changes to this property will trigger replacement.
String
The azureCluster for the resource
config This property is required. Property Map
The node configuration of the node pool.
location
This property is required.
Changes to this property will trigger replacement.
String
The location for the resource
maxPodsConstraint
This property is required.
Changes to this property will trigger replacement.
Property Map
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
subnetId
This property is required.
Changes to this property will trigger replacement.
String
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
version This property is required. String
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.
annotations Map<String>
Optional. Annotations on the node pool. 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.
azureAvailabilityZone Changes to this property will trigger replacement. String
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
management Property Map
The Management configuration for this node pool.
name Changes to this property will trigger replacement. String
The name of this resource.
project Changes to this property will trigger replacement. String
The project for the resource

Outputs

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

CreateTime string
Output only. The time at which this node pool was created.
EffectiveAnnotations Dictionary<string, string>
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 pending changes to the node pool.
State string
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
Uid string
Output only. A globally unique identifier for the node pool.
UpdateTime string
Output only. The time at which this node pool was last updated.
CreateTime string
Output only. The time at which this node pool was created.
EffectiveAnnotations map[string]string
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 pending changes to the node pool.
State string
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
Uid string
Output only. A globally unique identifier for the node pool.
UpdateTime string
Output only. The time at which this node pool was last updated.
createTime String
Output only. The time at which this node pool was created.
effectiveAnnotations Map<String,String>
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 pending changes to the node pool.
state String
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid String
Output only. A globally unique identifier for the node pool.
updateTime String
Output only. The time at which this node pool was last updated.
createTime string
Output only. The time at which this node pool was created.
effectiveAnnotations {[key: string]: string}
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 pending changes to the node pool.
state string
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid string
Output only. A globally unique identifier for the node pool.
updateTime string
Output only. The time at which this node pool was last updated.
create_time str
Output only. The time at which this node pool was created.
effective_annotations Mapping[str, str]
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 pending changes to the node pool.
state str
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid str
Output only. A globally unique identifier for the node pool.
update_time str
Output only. The time at which this node pool was last updated.
createTime String
Output only. The time at which this node pool was created.
effectiveAnnotations Map<String>
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 pending changes to the node pool.
state String
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
uid String
Output only. A globally unique identifier for the node pool.
updateTime String
Output only. The time at which this node pool was last updated.

Look up Existing AzureNodePool Resource

Get an existing AzureNodePool 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?: AzureNodePoolState, opts?: CustomResourceOptions): AzureNodePool
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        annotations: Optional[Mapping[str, str]] = None,
        autoscaling: Optional[AzureNodePoolAutoscalingArgs] = None,
        azure_availability_zone: Optional[str] = None,
        cluster: Optional[str] = None,
        config: Optional[AzureNodePoolConfigArgs] = None,
        create_time: Optional[str] = None,
        effective_annotations: Optional[Mapping[str, str]] = None,
        etag: Optional[str] = None,
        location: Optional[str] = None,
        management: Optional[AzureNodePoolManagementArgs] = None,
        max_pods_constraint: Optional[AzureNodePoolMaxPodsConstraintArgs] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        reconciling: Optional[bool] = None,
        state: Optional[str] = None,
        subnet_id: Optional[str] = None,
        uid: Optional[str] = None,
        update_time: Optional[str] = None,
        version: Optional[str] = None) -> AzureNodePool
func GetAzureNodePool(ctx *Context, name string, id IDInput, state *AzureNodePoolState, opts ...ResourceOption) (*AzureNodePool, error)
public static AzureNodePool Get(string name, Input<string> id, AzureNodePoolState? state, CustomResourceOptions? opts = null)
public static AzureNodePool get(String name, Output<String> id, AzureNodePoolState state, CustomResourceOptions options)
resources:  _:    type: gcp:container:AzureNodePool    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Annotations Dictionary<string, string>
Optional. Annotations on the node pool. 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.
Autoscaling AzureNodePoolAutoscaling
Autoscaler configuration for this node pool.
AzureAvailabilityZone Changes to this property will trigger replacement. string
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
Cluster Changes to this property will trigger replacement. string
The azureCluster for the resource
Config AzureNodePoolConfig
The node configuration of the node pool.
CreateTime string
Output only. The time at which this node pool was created.
EffectiveAnnotations Dictionary<string, string>
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.
Location Changes to this property will trigger replacement. string
The location for the resource
Management AzureNodePoolManagement
The Management configuration for this node pool.
MaxPodsConstraint Changes to this property will trigger replacement. AzureNodePoolMaxPodsConstraint
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
Name Changes to this property will trigger replacement. string
The name of this resource.
Project Changes to this property will trigger replacement. string
The project for the resource
Reconciling bool
Output only. If set, there are currently pending changes to the node pool.
State string
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
SubnetId Changes to this property will trigger replacement. string
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
Uid string
Output only. A globally unique identifier for the node pool.
UpdateTime string
Output only. The time at which this node pool was last updated.
Version string
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.
Annotations map[string]string
Optional. Annotations on the node pool. 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.
Autoscaling AzureNodePoolAutoscalingArgs
Autoscaler configuration for this node pool.
AzureAvailabilityZone Changes to this property will trigger replacement. string
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
Cluster Changes to this property will trigger replacement. string
The azureCluster for the resource
Config AzureNodePoolConfigArgs
The node configuration of the node pool.
CreateTime string
Output only. The time at which this node pool was created.
EffectiveAnnotations map[string]string
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.
Location Changes to this property will trigger replacement. string
The location for the resource
Management AzureNodePoolManagementArgs
The Management configuration for this node pool.
MaxPodsConstraint Changes to this property will trigger replacement. AzureNodePoolMaxPodsConstraintArgs
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
Name Changes to this property will trigger replacement. string
The name of this resource.
Project Changes to this property will trigger replacement. string
The project for the resource
Reconciling bool
Output only. If set, there are currently pending changes to the node pool.
State string
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
SubnetId Changes to this property will trigger replacement. string
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
Uid string
Output only. A globally unique identifier for the node pool.
UpdateTime string
Output only. The time at which this node pool was last updated.
Version string
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.
annotations Map<String,String>
Optional. Annotations on the node pool. 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.
autoscaling AzureNodePoolAutoscaling
Autoscaler configuration for this node pool.
azureAvailabilityZone Changes to this property will trigger replacement. String
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
cluster Changes to this property will trigger replacement. String
The azureCluster for the resource
config AzureNodePoolConfig
The node configuration of the node pool.
createTime String
Output only. The time at which this node pool was created.
effectiveAnnotations Map<String,String>
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.
location Changes to this property will trigger replacement. String
The location for the resource
management AzureNodePoolManagement
The Management configuration for this node pool.
maxPodsConstraint Changes to this property will trigger replacement. AzureNodePoolMaxPodsConstraint
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
name Changes to this property will trigger replacement. String
The name of this resource.
project Changes to this property will trigger replacement. String
The project for the resource
reconciling Boolean
Output only. If set, there are currently pending changes to the node pool.
state String
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
subnetId Changes to this property will trigger replacement. String
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
uid String
Output only. A globally unique identifier for the node pool.
updateTime String
Output only. The time at which this node pool was last updated.
version String
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.
annotations {[key: string]: string}
Optional. Annotations on the node pool. 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.
autoscaling AzureNodePoolAutoscaling
Autoscaler configuration for this node pool.
azureAvailabilityZone Changes to this property will trigger replacement. string
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
cluster Changes to this property will trigger replacement. string
The azureCluster for the resource
config AzureNodePoolConfig
The node configuration of the node pool.
createTime string
Output only. The time at which this node pool was created.
effectiveAnnotations {[key: string]: string}
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.
location Changes to this property will trigger replacement. string
The location for the resource
management AzureNodePoolManagement
The Management configuration for this node pool.
maxPodsConstraint Changes to this property will trigger replacement. AzureNodePoolMaxPodsConstraint
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
name Changes to this property will trigger replacement. string
The name of this resource.
project Changes to this property will trigger replacement. string
The project for the resource
reconciling boolean
Output only. If set, there are currently pending changes to the node pool.
state string
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
subnetId Changes to this property will trigger replacement. string
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
uid string
Output only. A globally unique identifier for the node pool.
updateTime string
Output only. The time at which this node pool was last updated.
version string
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.
annotations Mapping[str, str]
Optional. Annotations on the node pool. 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.
autoscaling AzureNodePoolAutoscalingArgs
Autoscaler configuration for this node pool.
azure_availability_zone Changes to this property will trigger replacement. str
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
cluster Changes to this property will trigger replacement. str
The azureCluster for the resource
config AzureNodePoolConfigArgs
The node configuration of the node pool.
create_time str
Output only. The time at which this node pool was created.
effective_annotations Mapping[str, str]
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.
location Changes to this property will trigger replacement. str
The location for the resource
management AzureNodePoolManagementArgs
The Management configuration for this node pool.
max_pods_constraint Changes to this property will trigger replacement. AzureNodePoolMaxPodsConstraintArgs
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
name Changes to this property will trigger replacement. str
The name of this resource.
project Changes to this property will trigger replacement. str
The project for the resource
reconciling bool
Output only. If set, there are currently pending changes to the node pool.
state str
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
subnet_id Changes to this property will trigger replacement. str
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
uid str
Output only. A globally unique identifier for the node pool.
update_time str
Output only. The time at which this node pool was last updated.
version str
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.
annotations Map<String>
Optional. Annotations on the node pool. 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.
autoscaling Property Map
Autoscaler configuration for this node pool.
azureAvailabilityZone Changes to this property will trigger replacement. String
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.
cluster Changes to this property will trigger replacement. String
The azureCluster for the resource
config Property Map
The node configuration of the node pool.
createTime String
Output only. The time at which this node pool was created.
effectiveAnnotations Map<String>
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.
location Changes to this property will trigger replacement. String
The location for the resource
management Property Map
The Management configuration for this node pool.
maxPodsConstraint Changes to this property will trigger replacement. Property Map
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
name Changes to this property will trigger replacement. String
The name of this resource.
project Changes to this property will trigger replacement. String
The project for the resource
reconciling Boolean
Output only. If set, there are currently pending changes to the node pool.
state String
Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
subnetId Changes to this property will trigger replacement. String
The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
uid String
Output only. A globally unique identifier for the node pool.
updateTime String
Output only. The time at which this node pool was last updated.
version String
The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.

Supporting Types

AzureNodePoolAutoscaling
, AzureNodePoolAutoscalingArgs

MaxNodeCount This property is required. int
Maximum number of nodes in the node pool. Must be >= min_node_count.
MinNodeCount This property is required. int
Minimum number of nodes in the node pool. Must be >= 1 and <= max_node_count.
MaxNodeCount This property is required. int
Maximum number of nodes in the node pool. Must be >= min_node_count.
MinNodeCount This property is required. int
Minimum number of nodes in the node pool. Must be >= 1 and <= max_node_count.
maxNodeCount This property is required. Integer
Maximum number of nodes in the node pool. Must be >= min_node_count.
minNodeCount This property is required. Integer
Minimum number of nodes in the node pool. Must be >= 1 and <= max_node_count.
maxNodeCount This property is required. number
Maximum number of nodes in the node pool. Must be >= min_node_count.
minNodeCount This property is required. number
Minimum number of nodes in the node pool. Must be >= 1 and <= max_node_count.
max_node_count This property is required. int
Maximum number of nodes in the node pool. Must be >= min_node_count.
min_node_count This property is required. int
Minimum number of nodes in the node pool. Must be >= 1 and <= max_node_count.
maxNodeCount This property is required. Number
Maximum number of nodes in the node pool. Must be >= min_node_count.
minNodeCount This property is required. Number
Minimum number of nodes in the node pool. Must be >= 1 and <= max_node_count.

AzureNodePoolConfig
, AzureNodePoolConfigArgs

SshConfig This property is required. AzureNodePoolConfigSshConfig
SSH configuration for how to access the node pool machines.
ImageType Changes to this property will trigger replacement. string
The OS image type to use on node pool instances.
Labels Changes to this property will trigger replacement. Dictionary<string, string>
Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
ProxyConfig Changes to this property will trigger replacement. AzureNodePoolConfigProxyConfig
Proxy configuration for outbound HTTP(S) traffic.
RootVolume Changes to this property will trigger replacement. AzureNodePoolConfigRootVolume
Optional. Configuration related to the root volume provisioned for each node pool machine. When unspecified, it defaults to a 32-GiB Azure Disk.
Tags Changes to this property will trigger replacement. Dictionary<string, string>
Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.
VmSize Changes to this property will trigger replacement. string
Optional. The Azure VM size name. Example: Standard_DS2_v2. See (/anthos/clusters/docs/azure/reference/supported-vms) for options. When unspecified, it defaults to Standard_DS2_v2.
SshConfig This property is required. AzureNodePoolConfigSshConfig
SSH configuration for how to access the node pool machines.
ImageType Changes to this property will trigger replacement. string
The OS image type to use on node pool instances.
Labels Changes to this property will trigger replacement. map[string]string
Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
ProxyConfig Changes to this property will trigger replacement. AzureNodePoolConfigProxyConfig
Proxy configuration for outbound HTTP(S) traffic.
RootVolume Changes to this property will trigger replacement. AzureNodePoolConfigRootVolume
Optional. Configuration related to the root volume provisioned for each node pool machine. When unspecified, it defaults to a 32-GiB Azure Disk.
Tags Changes to this property will trigger replacement. map[string]string
Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.
VmSize Changes to this property will trigger replacement. string
Optional. The Azure VM size name. Example: Standard_DS2_v2. See (/anthos/clusters/docs/azure/reference/supported-vms) for options. When unspecified, it defaults to Standard_DS2_v2.
sshConfig This property is required. AzureNodePoolConfigSshConfig
SSH configuration for how to access the node pool machines.
imageType Changes to this property will trigger replacement. String
The OS image type to use on node pool instances.
labels Changes to this property will trigger replacement. Map<String,String>
Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
proxyConfig Changes to this property will trigger replacement. AzureNodePoolConfigProxyConfig
Proxy configuration for outbound HTTP(S) traffic.
rootVolume Changes to this property will trigger replacement. AzureNodePoolConfigRootVolume
Optional. Configuration related to the root volume provisioned for each node pool machine. When unspecified, it defaults to a 32-GiB Azure Disk.
tags Changes to this property will trigger replacement. Map<String,String>
Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.
vmSize Changes to this property will trigger replacement. String
Optional. The Azure VM size name. Example: Standard_DS2_v2. See (/anthos/clusters/docs/azure/reference/supported-vms) for options. When unspecified, it defaults to Standard_DS2_v2.
sshConfig This property is required. AzureNodePoolConfigSshConfig
SSH configuration for how to access the node pool machines.
imageType Changes to this property will trigger replacement. string
The OS image type to use on node pool instances.
labels Changes to this property will trigger replacement. {[key: string]: string}
Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
proxyConfig Changes to this property will trigger replacement. AzureNodePoolConfigProxyConfig
Proxy configuration for outbound HTTP(S) traffic.
rootVolume Changes to this property will trigger replacement. AzureNodePoolConfigRootVolume
Optional. Configuration related to the root volume provisioned for each node pool machine. When unspecified, it defaults to a 32-GiB Azure Disk.
tags Changes to this property will trigger replacement. {[key: string]: string}
Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.
vmSize Changes to this property will trigger replacement. string
Optional. The Azure VM size name. Example: Standard_DS2_v2. See (/anthos/clusters/docs/azure/reference/supported-vms) for options. When unspecified, it defaults to Standard_DS2_v2.
ssh_config This property is required. AzureNodePoolConfigSshConfig
SSH configuration for how to access the node pool machines.
image_type Changes to this property will trigger replacement. str
The OS image type to use on node pool instances.
labels Changes to this property will trigger replacement. Mapping[str, str]
Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
proxy_config Changes to this property will trigger replacement. AzureNodePoolConfigProxyConfig
Proxy configuration for outbound HTTP(S) traffic.
root_volume Changes to this property will trigger replacement. AzureNodePoolConfigRootVolume
Optional. Configuration related to the root volume provisioned for each node pool machine. When unspecified, it defaults to a 32-GiB Azure Disk.
tags Changes to this property will trigger replacement. Mapping[str, str]
Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.
vm_size Changes to this property will trigger replacement. str
Optional. The Azure VM size name. Example: Standard_DS2_v2. See (/anthos/clusters/docs/azure/reference/supported-vms) for options. When unspecified, it defaults to Standard_DS2_v2.
sshConfig This property is required. Property Map
SSH configuration for how to access the node pool machines.
imageType Changes to this property will trigger replacement. String
The OS image type to use on node pool instances.
labels Changes to this property will trigger replacement. Map<String>
Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
proxyConfig Changes to this property will trigger replacement. Property Map
Proxy configuration for outbound HTTP(S) traffic.
rootVolume Changes to this property will trigger replacement. Property Map
Optional. Configuration related to the root volume provisioned for each node pool machine. When unspecified, it defaults to a 32-GiB Azure Disk.
tags Changes to this property will trigger replacement. Map<String>
Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.
vmSize Changes to this property will trigger replacement. String
Optional. The Azure VM size name. Example: Standard_DS2_v2. See (/anthos/clusters/docs/azure/reference/supported-vms) for options. When unspecified, it defaults to Standard_DS2_v2.

AzureNodePoolConfigProxyConfig
, AzureNodePoolConfigProxyConfigArgs

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

AzureNodePoolConfigRootVolume
, AzureNodePoolConfigRootVolumeArgs

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

AzureNodePoolConfigSshConfig
, AzureNodePoolConfigSshConfigArgs

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

AzureNodePoolManagement
, AzureNodePoolManagementArgs

AutoRepair bool
Optional. Whether or not the nodes will be automatically repaired.
AutoRepair bool
Optional. Whether or not the nodes will be automatically repaired.
autoRepair Boolean
Optional. Whether or not the nodes will be automatically repaired.
autoRepair boolean
Optional. Whether or not the nodes will be automatically repaired.
auto_repair bool
Optional. Whether or not the nodes will be automatically repaired.
autoRepair Boolean
Optional. Whether or not the nodes will be automatically repaired.

AzureNodePoolMaxPodsConstraint
, AzureNodePoolMaxPodsConstraintArgs

MaxPodsPerNode
This property is required.
Changes to this property will trigger replacement.
int
The maximum number of pods to schedule on a single node.


MaxPodsPerNode
This property is required.
Changes to this property will trigger replacement.
int
The maximum number of pods to schedule on a single node.


maxPodsPerNode
This property is required.
Changes to this property will trigger replacement.
Integer
The maximum number of pods to schedule on a single node.


maxPodsPerNode
This property is required.
Changes to this property will trigger replacement.
number
The maximum number of pods to schedule on a single node.


max_pods_per_node
This property is required.
Changes to this property will trigger replacement.
int
The maximum number of pods to schedule on a single node.


maxPodsPerNode
This property is required.
Changes to this property will trigger replacement.
Number
The maximum number of pods to schedule on a single node.


Import

NodePool can be imported using any of these accepted formats:

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

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

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

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

$ pulumi import gcp:container/azureNodePool:AzureNodePool default projects/{{project}}/locations/{{location}}/azureClusters/{{cluster}}/azureNodePools/{{name}}
Copy
$ pulumi import gcp:container/azureNodePool:AzureNodePool default {{project}}/{{location}}/{{cluster}}/{{name}}
Copy
$ pulumi import gcp:container/azureNodePool:AzureNodePool default {{location}}/{{cluster}}/{{name}}
Copy

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

Package Details

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