1. Packages
  2. Azure Native
  3. API Docs
  4. cdn
  5. getProfileAgent
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.10.1 published on Friday, Nov 7, 2025 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.10.1 published on Friday, Nov 7, 2025 by Pulumi

    Gets an agent link (web agent association) within a CDN profile.

    Uses Azure REST API version 2025-09-01-preview.

    Using getProfileAgent

    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 getProfileAgent(args: GetProfileAgentArgs, opts?: InvokeOptions): Promise<GetProfileAgentResult>
    function getProfileAgentOutput(args: GetProfileAgentOutputArgs, opts?: InvokeOptions): Output<GetProfileAgentResult>
    def get_profile_agent(agent_name: Optional[str] = None,
                          profile_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetProfileAgentResult
    def get_profile_agent_output(agent_name: Optional[pulumi.Input[str]] = None,
                          profile_name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetProfileAgentResult]
    func LookupProfileAgent(ctx *Context, args *LookupProfileAgentArgs, opts ...InvokeOption) (*LookupProfileAgentResult, error)
    func LookupProfileAgentOutput(ctx *Context, args *LookupProfileAgentOutputArgs, opts ...InvokeOption) LookupProfileAgentResultOutput

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

    public static class GetProfileAgent 
    {
        public static Task<GetProfileAgentResult> InvokeAsync(GetProfileAgentArgs args, InvokeOptions? opts = null)
        public static Output<GetProfileAgentResult> Invoke(GetProfileAgentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProfileAgentResult> getProfileAgent(GetProfileAgentArgs args, InvokeOptions options)
    public static Output<GetProfileAgentResult> getProfileAgent(GetProfileAgentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:cdn:getProfileAgent
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AgentName string
    Name of the web agent association.
    ProfileName string
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AgentName string
    Name of the web agent association.
    ProfileName string
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    agentName String
    Name of the web agent association.
    profileName String
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    agentName string
    Name of the web agent association.
    profileName string
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    agent_name str
    Name of the web agent association.
    profile_name str
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    agentName String
    Name of the web agent association.
    profileName String
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getProfileAgent Result

    The following output properties are available:

    AzureApiVersion string
    The Azure API version of the resource.
    CustomDomains List<Pulumi.AzureNative.Cdn.Outputs.ResourceReferenceResponse>
    List of custom domains associated with this agent link.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning status of the profile agent association.
    SystemData Pulumi.AzureNative.Cdn.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    WebAgent Pulumi.AzureNative.Cdn.Outputs.ResourceReferenceResponse
    Reference to the web agent resource.
    AzureApiVersion string
    The Azure API version of the resource.
    CustomDomains []ResourceReferenceResponse
    List of custom domains associated with this agent link.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning status of the profile agent association.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    WebAgent ResourceReferenceResponse
    Reference to the web agent resource.
    azureApiVersion String
    The Azure API version of the resource.
    customDomains List<ResourceReferenceResponse>
    List of custom domains associated with this agent link.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    provisioningState String
    Provisioning status of the profile agent association.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    webAgent ResourceReferenceResponse
    Reference to the web agent resource.
    azureApiVersion string
    The Azure API version of the resource.
    customDomains ResourceReferenceResponse[]
    List of custom domains associated with this agent link.
    id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name string
    The name of the resource
    provisioningState string
    Provisioning status of the profile agent association.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    webAgent ResourceReferenceResponse
    Reference to the web agent resource.
    azure_api_version str
    The Azure API version of the resource.
    custom_domains Sequence[ResourceReferenceResponse]
    List of custom domains associated with this agent link.
    id str
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name str
    The name of the resource
    provisioning_state str
    Provisioning status of the profile agent association.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    web_agent ResourceReferenceResponse
    Reference to the web agent resource.
    azureApiVersion String
    The Azure API version of the resource.
    customDomains List<Property Map>
    List of custom domains associated with this agent link.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    provisioningState String
    Provisioning status of the profile agent association.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    webAgent Property Map
    Reference to the web agent resource.

    Supporting Types

    ResourceReferenceResponse

    Id string
    Resource ID.
    Id string
    Resource ID.
    id String
    Resource ID.
    id string
    Resource ID.
    id str
    Resource ID.
    id String
    Resource ID.

    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 last 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 last 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 last 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 last 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 last 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 last 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 v2 docs if using the v2 version of this package.
    Azure Native v3.10.1 published on Friday, Nov 7, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate