managementresource

class pulumi_azure.managementresource.ManangementLock(resource_name, opts=None, lock_level=None, name=None, notes=None, scope=None, __name__=None, __opts__=None)

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

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • lock_level (pulumi.Input[str]) – Specifies the Level to be used for this Lock. Possible values are CanNotDelete and ReadOnly. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – Specifies the name of the Management Lock. Changing this forces a new resource to be created.
  • notes (pulumi.Input[str]) – Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created.
  • scope (pulumi.Input[str]) – Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created.
lock_level = None

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

name = None

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

notes = None

Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created.

scope = None

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

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str