@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.13 kB
TypeScript
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>;
}