1. Packages
  2. Azure Native
  3. API Docs
  4. customproviders
  5. getAssociation
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.customproviders.getAssociation

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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Get an association. Azure REST API version: 2018-09-01-preview.

    Using getAssociation

    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 getAssociation(args: GetAssociationArgs, opts?: InvokeOptions): Promise<GetAssociationResult>
    function getAssociationOutput(args: GetAssociationOutputArgs, opts?: InvokeOptions): Output<GetAssociationResult>
    def get_association(association_name: Optional[str] = None,
                        scope: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetAssociationResult
    def get_association_output(association_name: Optional[pulumi.Input[str]] = None,
                        scope: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetAssociationResult]
    func LookupAssociation(ctx *Context, args *LookupAssociationArgs, opts ...InvokeOption) (*LookupAssociationResult, error)
    func LookupAssociationOutput(ctx *Context, args *LookupAssociationOutputArgs, opts ...InvokeOption) LookupAssociationResultOutput

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

    public static class GetAssociation 
    {
        public static Task<GetAssociationResult> InvokeAsync(GetAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetAssociationResult> Invoke(GetAssociationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAssociationResult> getAssociation(GetAssociationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:customproviders:getAssociation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AssociationName string
    The name of the association.
    Scope string
    The scope of the association.
    AssociationName string
    The name of the association.
    Scope string
    The scope of the association.
    associationName String
    The name of the association.
    scope String
    The scope of the association.
    associationName string
    The name of the association.
    scope string
    The scope of the association.
    association_name str
    The name of the association.
    scope str
    The scope of the association.
    associationName String
    The name of the association.
    scope String
    The scope of the association.

    getAssociation Result

    The following output properties are available:

    Id string
    The association id.
    Name string
    The association name.
    ProvisioningState string
    The provisioning state of the association.
    Type string
    The association type.
    TargetResourceId string
    The REST resource instance of the target resource for this association.
    Id string
    The association id.
    Name string
    The association name.
    ProvisioningState string
    The provisioning state of the association.
    Type string
    The association type.
    TargetResourceId string
    The REST resource instance of the target resource for this association.
    id String
    The association id.
    name String
    The association name.
    provisioningState String
    The provisioning state of the association.
    type String
    The association type.
    targetResourceId String
    The REST resource instance of the target resource for this association.
    id string
    The association id.
    name string
    The association name.
    provisioningState string
    The provisioning state of the association.
    type string
    The association type.
    targetResourceId string
    The REST resource instance of the target resource for this association.
    id str
    The association id.
    name str
    The association name.
    provisioning_state str
    The provisioning state of the association.
    type str
    The association type.
    target_resource_id str
    The REST resource instance of the target resource for this association.
    id String
    The association id.
    name String
    The association name.
    provisioningState String
    The provisioning state of the association.
    type String
    The association type.
    targetResourceId String
    The REST resource instance of the target resource for this 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 v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi