UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

63 lines (62 loc) 1.56 kB
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>; }