1. Packages
  2. Azure Native
  3. API Docs
  4. containerregistry
  5. getAgentPool
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.containerregistry.getAgentPool

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Gets the detailed information for a given agent pool. Azure REST API version: 2019-06-01-preview.

    Using getAgentPool

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAgentPool(args: GetAgentPoolArgs, opts?: InvokeOptions): Promise<GetAgentPoolResult>
    function getAgentPoolOutput(args: GetAgentPoolOutputArgs, opts?: InvokeOptions): Output<GetAgentPoolResult>
    def get_agent_pool(agent_pool_name: Optional[str] = None,
                       registry_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetAgentPoolResult
    def get_agent_pool_output(agent_pool_name: Optional[pulumi.Input[str]] = None,
                       registry_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetAgentPoolResult]
    func LookupAgentPool(ctx *Context, args *LookupAgentPoolArgs, opts ...InvokeOption) (*LookupAgentPoolResult, error)
    func LookupAgentPoolOutput(ctx *Context, args *LookupAgentPoolOutputArgs, opts ...InvokeOption) LookupAgentPoolResultOutput

    > Note: This function is named LookupAgentPool in the Go SDK.

    public static class GetAgentPool 
    {
        public static Task<GetAgentPoolResult> InvokeAsync(GetAgentPoolArgs args, InvokeOptions? opts = null)
        public static Output<GetAgentPoolResult> Invoke(GetAgentPoolInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAgentPoolResult> getAgentPool(GetAgentPoolArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:containerregistry:getAgentPool
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AgentPoolName string
    The name of the agent pool.
    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group to which the container registry belongs.
    AgentPoolName string
    The name of the agent pool.
    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group to which the container registry belongs.
    agentPoolName String
    The name of the agent pool.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group to which the container registry belongs.
    agentPoolName string
    The name of the agent pool.
    registryName string
    The name of the container registry.
    resourceGroupName string
    The name of the resource group to which the container registry belongs.
    agent_pool_name str
    The name of the agent pool.
    registry_name str
    The name of the container registry.
    resource_group_name str
    The name of the resource group to which the container registry belongs.
    agentPoolName String
    The name of the agent pool.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group to which the container registry belongs.

    getAgentPool Result

    The following output properties are available:

    Id string
    The resource ID.
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    Name string
    The name of the resource.
    ProvisioningState string
    The provisioning state of this agent pool
    SystemData Pulumi.AzureNative.ContainerRegistry.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    Count int
    The count of agent machine
    Os string
    The OS of agent machine
    Tags Dictionary<string, string>
    The tags of the resource.
    Tier string
    The Tier of agent machine
    VirtualNetworkSubnetResourceId string
    The Virtual Network Subnet Resource Id of the agent machine
    Id string
    The resource ID.
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    Name string
    The name of the resource.
    ProvisioningState string
    The provisioning state of this agent pool
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    Count int
    The count of agent machine
    Os string
    The OS of agent machine
    Tags map[string]string
    The tags of the resource.
    Tier string
    The Tier of agent machine
    VirtualNetworkSubnetResourceId string
    The Virtual Network Subnet Resource Id of the agent machine
    id String
    The resource ID.
    location String
    The location of the resource. This cannot be changed after the resource is created.
    name String
    The name of the resource.
    provisioningState String
    The provisioning state of this agent pool
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.
    count Integer
    The count of agent machine
    os String
    The OS of agent machine
    tags Map<String,String>
    The tags of the resource.
    tier String
    The Tier of agent machine
    virtualNetworkSubnetResourceId String
    The Virtual Network Subnet Resource Id of the agent machine
    id string
    The resource ID.
    location string
    The location of the resource. This cannot be changed after the resource is created.
    name string
    The name of the resource.
    provisioningState string
    The provisioning state of this agent pool
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource.
    count number
    The count of agent machine
    os string
    The OS of agent machine
    tags {[key: string]: string}
    The tags of the resource.
    tier string
    The Tier of agent machine
    virtualNetworkSubnetResourceId string
    The Virtual Network Subnet Resource Id of the agent machine
    id str
    The resource ID.
    location str
    The location of the resource. This cannot be changed after the resource is created.
    name str
    The name of the resource.
    provisioning_state str
    The provisioning state of this agent pool
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource.
    count int
    The count of agent machine
    os str
    The OS of agent machine
    tags Mapping[str, str]
    The tags of the resource.
    tier str
    The Tier of agent machine
    virtual_network_subnet_resource_id str
    The Virtual Network Subnet Resource Id of the agent machine
    id String
    The resource ID.
    location String
    The location of the resource. This cannot be changed after the resource is created.
    name String
    The name of the resource.
    provisioningState String
    The provisioning state of this agent pool
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.
    count Number
    The count of agent machine
    os String
    The OS of agent machine
    tags Map<String>
    The tags of the resource.
    tier String
    The Tier of agent machine
    virtualNetworkSubnetResourceId String
    The Virtual Network Subnet Resource Id of the agent machine

    Supporting Types

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource modification (UTC).
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource modification (UTC).
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource modification (UTC).
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource modification (UTC).
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource modification (UTC).
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource modification (UTC).
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi