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

80 lines (79 loc) 3.32 kB
import * as pulumi from "@pulumi/pulumi"; /** * The Managed Network resource * * Uses Azure REST API version 2019-06-01-preview. In version 2.x of the Azure Native provider, it used API version 2019-06-01-preview. */ export declare class ScopeAssignment extends pulumi.CustomResource { /** * Get an existing ScopeAssignment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ScopeAssignment; /** * Returns true if the given object is an instance of ScopeAssignment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ScopeAssignment; /** * The managed network ID with scope will be assigned to. */ readonly assignedManagedNetwork: pulumi.Output<string | undefined>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: pulumi.Output<string>; /** * The geo-location where the resource lives */ readonly location: pulumi.Output<string | undefined>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * Provisioning state of the ManagedNetwork resource. */ readonly provisioningState: pulumi.Output<string>; /** * The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. */ readonly type: pulumi.Output<string>; /** * Create a ScopeAssignment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ScopeAssignmentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ScopeAssignment resource. */ export interface ScopeAssignmentArgs { /** * The managed network ID with scope will be assigned to. */ assignedManagedNetwork?: pulumi.Input<string>; /** * The geo-location where the resource lives */ location?: pulumi.Input<string>; /** * The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. */ scope: pulumi.Input<string>; /** * The name of the scope assignment to create. */ scopeAssignmentName?: pulumi.Input<string>; }