@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.28 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the detailed information for a given agent pool.
*
* Uses Azure REST API version 2019-06-01-preview.
*
* Other available API versions: 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native containerregistry [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getAgentPool(args: GetAgentPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetAgentPoolResult>;
export interface GetAgentPoolArgs {
/**
* The name of the agent pool.
*/
agentPoolName: string;
/**
* The name of the container registry.
*/
registryName: string;
/**
* The name of the resource group to which the container registry belongs.
*/
resourceGroupName: string;
}
/**
* The agentpool that has the ARM resource and properties.
* The agentpool will have all information to create an agent pool.
*/
export interface GetAgentPoolResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The count of agent machine
*/
readonly count?: number;
/**
* The resource ID.
*/
readonly id: string;
/**
* The location of the resource. This cannot be changed after the resource is created.
*/
readonly location: string;
/**
* The name of the resource.
*/
readonly name: string;
/**
* The OS of agent machine
*/
readonly os?: string;
/**
* The provisioning state of this agent pool
*/
readonly provisioningState: string;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.containerregistry.SystemDataResponse;
/**
* The tags of the resource.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The Tier of agent machine
*/
readonly tier?: string;
/**
* The type of the resource.
*/
readonly type: string;
/**
* The Virtual Network Subnet Resource Id of the agent machine
*/
readonly virtualNetworkSubnetResourceId?: string;
}
/**
* Gets the detailed information for a given agent pool.
*
* Uses Azure REST API version 2019-06-01-preview.
*
* Other available API versions: 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native containerregistry [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getAgentPoolOutput(args: GetAgentPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAgentPoolResult>;
export interface GetAgentPoolOutputArgs {
/**
* The name of the agent pool.
*/
agentPoolName: pulumi.Input<string>;
/**
* The name of the container registry.
*/
registryName: pulumi.Input<string>;
/**
* The name of the resource group to which the container registry belongs.
*/
resourceGroupName: pulumi.Input<string>;
}