import * as pulumi from "@pulumi/pulumi"; /** * Manages an Azure Container Registry Agent Pool. * * ## Example Usage * * ```typescript * 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, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.ContainerRegistry` - 2019-06-01-preview * * ## Import * * Azure Container Registry Agent Pool can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:containerservice/registryAgentPool:RegistryAgentPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.ContainerRegistry/registries/registry1/agentPools/agentpool1 * ``` */ export declare class RegistryAgentPool extends pulumi.CustomResource { /** * Get an existing RegistryAgentPool resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RegistryAgentPoolState, opts?: pulumi.CustomResourceOptions): RegistryAgentPool; /** * Returns true if the given object is an instance of RegistryAgentPool. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RegistryAgentPool; /** * Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created. */ readonly containerRegistryName: pulumi.Output; /** * VMSS instance count. Defaults to `1`. */ readonly instanceCount: pulumi.Output; /** * 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. */ readonly location: pulumi.Output; /** * 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. */ readonly name: pulumi.Output; /** * 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. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags which should be assigned to the Azure Container Registry Agent Pool. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * 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. */ readonly tier: pulumi.Output; /** * 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. */ readonly virtualNetworkSubnetId: pulumi.Output; /** * Create a RegistryAgentPool resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RegistryAgentPoolArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RegistryAgentPool resources. */ export interface RegistryAgentPoolState { /** * Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created. */ containerRegistryName?: pulumi.Input; /** * VMSS instance count. Defaults to `1`. */ instanceCount?: pulumi.Input; /** * 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. */ location?: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * 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. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Azure Container Registry Agent Pool. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * 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. */ tier?: pulumi.Input; /** * 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. */ virtualNetworkSubnetId?: pulumi.Input; } /** * The set of arguments for constructing a RegistryAgentPool resource. */ export interface RegistryAgentPoolArgs { /** * Name of Azure Container Registry to create an Agent Pool for. Changing this forces a new Azure Container Registry Agent Pool to be created. */ containerRegistryName: pulumi.Input; /** * VMSS instance count. Defaults to `1`. */ instanceCount?: pulumi.Input; /** * 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. */ location?: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * 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. */ resourceGroupName: pulumi.Input; /** * A mapping of tags which should be assigned to the Azure Container Registry Agent Pool. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * 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. */ tier?: pulumi.Input; /** * 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. */ virtualNetworkSubnetId?: pulumi.Input; }