Fork me on GitHub

Module managementresource

@pulumi/azure > managementresource

Index

managementresource/manangementLock.ts

class ManangementLock

Manages a Management Lock which is scoped to a Subscription, Resource Group or Resource.

constructor

new ManangementLock(name: string, args: ManangementLockArgs, opts?: pulumi.CustomResourceOptions)

Create a ManangementLock resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ManangementLockState): ManangementLock

Get an existing ManangementLock resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property lockLevel

public lockLevel: pulumi.Output<string>;

Specifies the Level to be used for this Lock. Possible values are CanNotDelete and ReadOnly. Changing this forces a new resource to be created.

property name

public name: pulumi.Output<string>;

Specifies the name of the Management Lock. Changing this forces a new resource to be created.

property notes

public notes: pulumi.Output<string | undefined>;

property scope

public scope: pulumi.Output<string>;

Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface ManangementLockArgs

The set of arguments for constructing a ManangementLock resource.

property lockLevel

lockLevel: pulumi.Input<string>;

Specifies the Level to be used for this Lock. Possible values are CanNotDelete and ReadOnly. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

Specifies the name of the Management Lock. Changing this forces a new resource to be created.

property notes

notes?: pulumi.Input<string>;

property scope

scope: pulumi.Input<string>;

Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created.

interface ManangementLockState

Input properties used for looking up and filtering ManangementLock resources.

property lockLevel

lockLevel?: pulumi.Input<string>;

Specifies the Level to be used for this Lock. Possible values are CanNotDelete and ReadOnly. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

Specifies the name of the Management Lock. Changing this forces a new resource to be created.

property notes

notes?: pulumi.Input<string>;

property scope

scope?: pulumi.Input<string>;

Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created.