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

71 lines (70 loc) 2.13 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get the specified scope assignment. * * Uses Azure REST API version 2019-06-01-preview. */ export declare function getScopeAssignment(args: GetScopeAssignmentArgs, opts?: pulumi.InvokeOptions): Promise<GetScopeAssignmentResult>; export interface GetScopeAssignmentArgs { /** * The base resource of the scope assignment. */ scope: string; /** * The name of the scope assignment to get. */ scopeAssignmentName: string; } /** * The Managed Network resource */ export interface GetScopeAssignmentResult { /** * The managed network ID with scope will be assigned to. */ readonly assignedManagedNetwork?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The geo-location where the resource lives */ readonly location?: string; /** * The name of the resource */ readonly name: string; /** * Provisioning state of the ManagedNetwork resource. */ readonly provisioningState: string; /** * The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. */ readonly type: string; } /** * Get the specified scope assignment. * * Uses Azure REST API version 2019-06-01-preview. */ export declare function getScopeAssignmentOutput(args: GetScopeAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScopeAssignmentResult>; export interface GetScopeAssignmentOutputArgs { /** * The base resource of the scope assignment. */ scope: pulumi.Input<string>; /** * The name of the scope assignment to get. */ scopeAssignmentName: pulumi.Input<string>; }