1. Packages
  2. Packages
  3. Azure Native
  4. API Docs
  5. insights
  6. getDataCollectionRuleAssociation
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 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.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Definition of generic ARM proxy resource. API Version: 2019-11-01-preview.

    Using getDataCollectionRuleAssociation

    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 getDataCollectionRuleAssociation(args: GetDataCollectionRuleAssociationArgs, opts?: InvokeOptions): Promise<GetDataCollectionRuleAssociationResult>
    function getDataCollectionRuleAssociationOutput(args: GetDataCollectionRuleAssociationOutputArgs, opts?: InvokeOptions): Output<GetDataCollectionRuleAssociationResult>
    def get_data_collection_rule_association(association_name: Optional[str] = None,
                                             resource_uri: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetDataCollectionRuleAssociationResult
    def get_data_collection_rule_association_output(association_name: Optional[pulumi.Input[str]] = None,
                                             resource_uri: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetDataCollectionRuleAssociationResult]
    func LookupDataCollectionRuleAssociation(ctx *Context, args *LookupDataCollectionRuleAssociationArgs, opts ...InvokeOption) (*LookupDataCollectionRuleAssociationResult, error)
    func LookupDataCollectionRuleAssociationOutput(ctx *Context, args *LookupDataCollectionRuleAssociationOutputArgs, opts ...InvokeOption) LookupDataCollectionRuleAssociationResultOutput

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

    public static class GetDataCollectionRuleAssociation 
    {
        public static Task<GetDataCollectionRuleAssociationResult> InvokeAsync(GetDataCollectionRuleAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetDataCollectionRuleAssociationResult> Invoke(GetDataCollectionRuleAssociationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDataCollectionRuleAssociationResult> getDataCollectionRuleAssociation(GetDataCollectionRuleAssociationArgs args, InvokeOptions options)
    public static Output<GetDataCollectionRuleAssociationResult> getDataCollectionRuleAssociation(GetDataCollectionRuleAssociationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:insights:getDataCollectionRuleAssociation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AssociationName string
    The name of the association. The name is case insensitive.
    ResourceUri string
    The identifier of the resource.
    AssociationName string
    The name of the association. The name is case insensitive.
    ResourceUri string
    The identifier of the resource.
    associationName String
    The name of the association. The name is case insensitive.
    resourceUri String
    The identifier of the resource.
    associationName string
    The name of the association. The name is case insensitive.
    resourceUri string
    The identifier of the resource.
    association_name str
    The name of the association. The name is case insensitive.
    resource_uri str
    The identifier of the resource.
    associationName String
    The name of the association. The name is case insensitive.
    resourceUri String
    The identifier of the resource.

    getDataCollectionRuleAssociation Result

    The following output properties are available:

    Etag string
    Resource entity tag (ETag).
    Id string
    Fully qualified ID of the resource.
    Name string
    The name of the resource.
    ProvisioningState string
    The resource provisioning state.
    Type string
    The type of the resource.
    DataCollectionRuleId string
    The resource ID of the data collection rule that is to be associated.
    Description string
    Description of the association.
    Etag string
    Resource entity tag (ETag).
    Id string
    Fully qualified ID of the resource.
    Name string
    The name of the resource.
    ProvisioningState string
    The resource provisioning state.
    Type string
    The type of the resource.
    DataCollectionRuleId string
    The resource ID of the data collection rule that is to be associated.
    Description string
    Description of the association.
    etag String
    Resource entity tag (ETag).
    id String
    Fully qualified ID of the resource.
    name String
    The name of the resource.
    provisioningState String
    The resource provisioning state.
    type String
    The type of the resource.
    dataCollectionRuleId String
    The resource ID of the data collection rule that is to be associated.
    description String
    Description of the association.
    etag string
    Resource entity tag (ETag).
    id string
    Fully qualified ID of the resource.
    name string
    The name of the resource.
    provisioningState string
    The resource provisioning state.
    type string
    The type of the resource.
    dataCollectionRuleId string
    The resource ID of the data collection rule that is to be associated.
    description string
    Description of the association.
    etag str
    Resource entity tag (ETag).
    id str
    Fully qualified ID of the resource.
    name str
    The name of the resource.
    provisioning_state str
    The resource provisioning state.
    type str
    The type of the resource.
    data_collection_rule_id str
    The resource ID of the data collection rule that is to be associated.
    description str
    Description of the association.
    etag String
    Resource entity tag (ETag).
    id String
    Fully qualified ID of the resource.
    name String
    The name of the resource.
    provisioningState String
    The resource provisioning state.
    type String
    The type of the resource.
    dataCollectionRuleId String
    The resource ID of the data collection rule that is to be associated.
    description String
    Description of the association.

    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.
    Viewing docs for Azure Native v1.103.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.