1. Packages
  2. Azure Classic
  3. API Docs
  4. containerservice
  5. RegistryAgentPool

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.containerservice.RegistryAgentPool

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Manages an Azure Container Registry Agent Pool.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example",
        location: "West Europ",
    });
    const exampleRegistry = new azure.containerservice.Registry("example", {
        name: "example",
        resourceGroupName: example.name,
        location: example.location,
        sku: "Premium",
    });
    const exampleRegistryAgentPool = new azure.containerservice.RegistryAgentPool("example", {
        name: "example",
        resourceGroupName: example.name,
        location: example.location,
        containerRegistryName: exampleRegistry.name,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example",
        location="West Europ")
    example_registry = azure.containerservice.Registry("example",
        name="example",
        resource_group_name=example.name,
        location=example.location,
        sku="Premium")
    example_registry_agent_pool = azure.containerservice.RegistryAgentPool("example",
        name="example",
        resource_group_name=example.name,
        location=example.location,
        container_registry_name=example_registry.name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/containerservice"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example"),
    			Location: pulumi.String("West Europ"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleRegistry, err := containerservice.NewRegistry(ctx, "example", &containerservice.RegistryArgs{
    			Name:              pulumi.String("example"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			Sku:               pulumi.String("Premium"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = containerservice.NewRegistryAgentPool(ctx, "example", &containerservice.RegistryAgentPoolArgs{
    			Name:                  pulumi.String("example"),
    			ResourceGroupName:     example.Name,
    			Location:              example.Location,
    			ContainerRegistryName: exampleRegistry.Name,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example",
            Location = "West Europ",
        });
    
        var exampleRegistry = new Azure.ContainerService.Registry("example", new()
        {
            Name = "example",
            ResourceGroupName = example.Name,
            Location = example.Location,
            Sku = "Premium",
        });
    
        var exampleRegistryAgentPool = new Azure.ContainerService.RegistryAgentPool("example", new()
        {
            Name = "example",
            ResourceGroupName = example.Name,
            Location = example.Location,
            ContainerRegistryName = exampleRegistry.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.containerservice.Registry;
    import com.pulumi.azure.containerservice.RegistryArgs;
    import com.pulumi.azure.containerservice.RegistryAgentPool;
    import com.pulumi.azure.containerservice.RegistryAgentPoolArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example")
                .location("West Europ")
                .build());
    
            var exampleRegistry = new Registry("exampleRegistry", RegistryArgs.builder()
                .name("example")
                .resourceGroupName(example.name())
                .location(example.location())
                .sku("Premium")
                .build());
    
            var exampleRegistryAgentPool = new RegistryAgentPool("exampleRegistryAgentPool", RegistryAgentPoolArgs.builder()
                .name("example")
                .resourceGroupName(example.name())
                .location(example.location())
                .containerRegistryName(exampleRegistry.name())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example
          location: West Europ
      exampleRegistry:
        type: azure:containerservice:Registry
        name: example
        properties:
          name: example
          resourceGroupName: ${example.name}
          location: ${example.location}
          sku: Premium
      exampleRegistryAgentPool:
        type: azure:containerservice:RegistryAgentPool
        name: example
        properties:
          name: example
          resourceGroupName: ${example.name}
          location: ${example.location}
          containerRegistryName: ${exampleRegistry.name}
    

    Create RegistryAgentPool Resource

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

    Constructor syntax

    new RegistryAgentPool(name: string, args: RegistryAgentPoolArgs, opts?: CustomResourceOptions);
    @overload
    def RegistryAgentPool(resource_name: str,
                          args: RegistryAgentPoolArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def RegistryAgentPool(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          container_registry_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          instance_count: Optional[int] = None,
                          location: Optional[str] = None,
                          name: Optional[str] = None,
                          tags: Optional[Mapping[str, str]] = None,
                          tier: Optional[str] = None,
                          virtual_network_subnet_id: Optional[str] = None)
    func NewRegistryAgentPool(ctx *Context, name string, args RegistryAgentPoolArgs, opts ...ResourceOption) (*RegistryAgentPool, error)
    public RegistryAgentPool(string name, RegistryAgentPoolArgs args, CustomResourceOptions? opts = null)
    public RegistryAgentPool(String name, RegistryAgentPoolArgs args)
    public RegistryAgentPool(String name, RegistryAgentPoolArgs args, CustomResourceOptions options)
    
    type: azure:containerservice:RegistryAgentPool
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RegistryAgentPoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RegistryAgentPoolArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RegistryAgentPoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RegistryAgentPoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RegistryAgentPoolArgs
    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 registryAgentPoolResource = new Azure.ContainerService.RegistryAgentPool("registryAgentPoolResource", new()
    {
        ContainerRegistryName = "string",
        ResourceGroupName = "string",
        InstanceCount = 0,
        Location = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Tier = "string",
        VirtualNetworkSubnetId = "string",
    });
    
    example, err := containerservice.NewRegistryAgentPool(ctx, "registryAgentPoolResource", &containerservice.RegistryAgentPoolArgs{
    	ContainerRegistryName: pulumi.String("string"),
    	ResourceGroupName:     pulumi.String("string"),
    	InstanceCount:         pulumi.Int(0),
    	Location:              pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Tier:                   pulumi.String("string"),
    	VirtualNetworkSubnetId: pulumi.String("string"),
    })
    
    var registryAgentPoolResource = new RegistryAgentPool("registryAgentPoolResource", RegistryAgentPoolArgs.builder()
        .containerRegistryName("string")
        .resourceGroupName("string")
        .instanceCount(0)
        .location("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .tier("string")
        .virtualNetworkSubnetId("string")
        .build());
    
    registry_agent_pool_resource = azure.containerservice.RegistryAgentPool("registryAgentPoolResource",
        container_registry_name="string",
        resource_group_name="string",
        instance_count=0,
        location="string",
        name="string",
        tags={
            "string": "string",
        },
        tier="string",
        virtual_network_subnet_id="string")
    
    const registryAgentPoolResource = new azure.containerservice.RegistryAgentPool("registryAgentPoolResource", {
        containerRegistryName: "string",
        resourceGroupName: "string",
        instanceCount: 0,
        location: "string",
        name: "string",
        tags: {
            string: "string",
        },
        tier: "string",
        virtualNetworkSubnetId: "string",
    });
    
    type: azure:containerservice:RegistryAgentPool
    properties:
        containerRegistryName: string
        instanceCount: 0
        location: string
        name: string
        resourceGroupName: string
        tags:
            string: string
        tier: string
        virtualNetworkSubnetId: string
    

    RegistryAgentPool 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 RegistryAgentPool resource accepts the following input properties:

    ContainerRegistryName string
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    ResourceGroupName string
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    InstanceCount int
    VMSS instance count. Defaults to 1.
    Location string
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    Name string
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    Tier string
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    VirtualNetworkSubnetId string
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.
    ContainerRegistryName string
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    ResourceGroupName string
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    InstanceCount int
    VMSS instance count. Defaults to 1.
    Location string
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    Name string
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    Tier string
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    VirtualNetworkSubnetId string
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.
    containerRegistryName String
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    resourceGroupName String
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    instanceCount Integer
    VMSS instance count. Defaults to 1.
    location String
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    name String
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    tier String
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    virtualNetworkSubnetId String
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.
    containerRegistryName string
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    resourceGroupName string
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    instanceCount number
    VMSS instance count. Defaults to 1.
    location string
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    name string
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    tier string
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    virtualNetworkSubnetId string
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.
    container_registry_name str
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    resource_group_name str
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    instance_count int
    VMSS instance count. Defaults to 1.
    location str
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    name str
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    tier str
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    virtual_network_subnet_id str
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.
    containerRegistryName String
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    resourceGroupName String
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    instanceCount Number
    VMSS instance count. Defaults to 1.
    location String
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    name String
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    tier String
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    virtualNetworkSubnetId String
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RegistryAgentPool Resource

    Get an existing RegistryAgentPool 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?: RegistryAgentPoolState, opts?: CustomResourceOptions): RegistryAgentPool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            container_registry_name: Optional[str] = None,
            instance_count: Optional[int] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tier: Optional[str] = None,
            virtual_network_subnet_id: Optional[str] = None) -> RegistryAgentPool
    func GetRegistryAgentPool(ctx *Context, name string, id IDInput, state *RegistryAgentPoolState, opts ...ResourceOption) (*RegistryAgentPool, error)
    public static RegistryAgentPool Get(string name, Input<string> id, RegistryAgentPoolState? state, CustomResourceOptions? opts = null)
    public static RegistryAgentPool get(String name, Output<String> id, RegistryAgentPoolState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ContainerRegistryName string
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    InstanceCount int
    VMSS instance count. Defaults to 1.
    Location string
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    Name string
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    ResourceGroupName string
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    Tier string
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    VirtualNetworkSubnetId string
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.
    ContainerRegistryName string
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    InstanceCount int
    VMSS instance count. Defaults to 1.
    Location string
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    Name string
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    ResourceGroupName string
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    Tier string
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    VirtualNetworkSubnetId string
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.
    containerRegistryName String
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    instanceCount Integer
    VMSS instance count. Defaults to 1.
    location String
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    name String
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    resourceGroupName String
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    tier String
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    virtualNetworkSubnetId String
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.
    containerRegistryName string
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    instanceCount number
    VMSS instance count. Defaults to 1.
    location string
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    name string
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    resourceGroupName string
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    tier string
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    virtualNetworkSubnetId string
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.
    container_registry_name str
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    instance_count int
    VMSS instance count. Defaults to 1.
    location str
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    name str
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    resource_group_name str
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    tier str
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    virtual_network_subnet_id str
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.
    containerRegistryName String
    Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created.
    instanceCount Number
    VMSS instance count. Defaults to 1.
    location String
    The Azure Region where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    name String
    The name which should be used for this Azure Container Registry Agent Pool. Changing this forces a new Azure Container Registry Agent Pool to be created.
    resourceGroupName String
    The name of the Resource Group where the Azure Container Registry Agent Pool should exist. Changing this forces a new Azure Container Registry Agent Pool to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Azure Container Registry Agent Pool.
    tier String
    Sets the VM your agent pool will run on. Valid values are: S1 (2 vCPUs, 3 GiB RAM), S2 (4 vCPUs, 8 GiB RAM), S3 (8 vCPUs, 16 GiB RAM) or I6 (64 vCPUs, 216 GiB RAM, Isolated). Defaults to S1. Changing this forces a new Azure Container Registry Agent Pool to be created.
    virtualNetworkSubnetId String
    The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created.

    Import

    Azure Container Registry Agent Pool can be imported using the resource id, e.g.

    $ pulumi import azure:containerservice/registryAgentPool:RegistryAgentPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.ContainerRegistry/registries/registry1/agentPools/agentpool1
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi