Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.0 published on Wednesday, May 4, 2022 by Pulumi

getAssociation

The resource definition of this association. 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
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0