This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native.customproviders.getAssociation
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
Get an association.
Uses 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)
public static Output<GetAssociationResult> getAssociation(GetAssociationArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:customproviders:getAssociation
  arguments:
    # arguments dictionaryThe 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.
- TargetResource stringId 
- 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.
- TargetResource stringId 
- 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.
- targetResource StringId 
- 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.
- targetResource stringId 
- 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_ strid 
- 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.
- targetResource StringId 
- The REST resource instance of the target resource for this association.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi