@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.56 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get an association.
*
* Uses Azure REST API version 2018-09-01-preview.
*/
export declare function getAssociation(args: GetAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetAssociationResult>;
export interface GetAssociationArgs {
/**
* The name of the association.
*/
associationName: string;
/**
* The scope of the association.
*/
scope: string;
}
/**
* The resource definition of this association.
*/
export interface GetAssociationResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The association id.
*/
readonly id: string;
/**
* The association name.
*/
readonly name: string;
/**
* The provisioning state of the association.
*/
readonly provisioningState: string;
/**
* The REST resource instance of the target resource for this association.
*/
readonly targetResourceId?: string;
/**
* The association type.
*/
readonly type: string;
}
/**
* Get an association.
*
* Uses Azure REST API version 2018-09-01-preview.
*/
export declare function getAssociationOutput(args: GetAssociationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAssociationResult>;
export interface GetAssociationOutputArgs {
/**
* The name of the association.
*/
associationName: pulumi.Input<string>;
/**
* The scope of the association.
*/
scope: pulumi.Input<string>;
}