azure-native.customproviders.getAssociation
Explore with Pulumi AI
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:
- Association
Name string The name of the association.
- Scope string
The scope of the association.
- Association
Name string The name of the association.
- Scope string
The scope of the association.
- association
Name String The name of the association.
- scope String
The scope of the association.
- association
Name 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.
- association
Name 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.
- Provisioning
State string The provisioning state of the association.
- Type string
The association type.
- Target
Resource stringId The REST resource instance of the target resource for this association.
- Id string
The association id.
- Name string
The association name.
- Provisioning
State string The provisioning state of the association.
- Type string
The association type.
- Target
Resource stringId The REST resource instance of the target resource for this association.
- id String
The association id.
- name String
The association name.
- provisioning
State String The provisioning state of the association.
- type String
The association type.
- target
Resource StringId The REST resource instance of the target resource for this association.
- id string
The association id.
- name string
The association name.
- provisioning
State string The provisioning state of the association.
- type string
The association type.
- target
Resource 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.
- provisioning
State String The provisioning state of the association.
- type String
The association type.
- target
Resource 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