Documentation ¶
Index ¶
- type ManangementLock
- func (r *ManangementLock) ID() *pulumi.IDOutput
- func (r *ManangementLock) LockLevel() *pulumi.StringOutput
- func (r *ManangementLock) Name() *pulumi.StringOutput
- func (r *ManangementLock) Notes() *pulumi.StringOutput
- func (r *ManangementLock) Scope() *pulumi.StringOutput
- func (r *ManangementLock) URN() *pulumi.URNOutput
- type ManangementLockArgs
- type ManangementLockState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManangementLock ¶
type ManangementLock struct {
// contains filtered or unexported fields
}
Manages a Management Lock which is scoped to a Subscription, Resource Group or Resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/management_lock_legacy.html.markdown.
func GetManangementLock ¶
func GetManangementLock(ctx *pulumi.Context, name string, id pulumi.ID, state *ManangementLockState, opts ...pulumi.ResourceOpt) (*ManangementLock, error)
GetManangementLock gets an existing ManangementLock resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewManangementLock ¶
func NewManangementLock(ctx *pulumi.Context, name string, args *ManangementLockArgs, opts ...pulumi.ResourceOpt) (*ManangementLock, error)
NewManangementLock registers a new resource with the given unique name, arguments, and options.
func (*ManangementLock) ID ¶
func (r *ManangementLock) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ManangementLock) LockLevel ¶
func (r *ManangementLock) LockLevel() *pulumi.StringOutput
Specifies the Level to be used for this Lock. Possible values are `CanNotDelete` and `ReadOnly`. Changing this forces a new resource to be created.
func (*ManangementLock) Name ¶
func (r *ManangementLock) Name() *pulumi.StringOutput
Specifies the name of the Management Lock. Changing this forces a new resource to be created.
func (*ManangementLock) Notes ¶
func (r *ManangementLock) Notes() *pulumi.StringOutput
Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created.
func (*ManangementLock) Scope ¶
func (r *ManangementLock) Scope() *pulumi.StringOutput
Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created.
func (*ManangementLock) URN ¶
func (r *ManangementLock) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ManangementLockArgs ¶
type ManangementLockArgs struct { // Specifies the Level to be used for this Lock. Possible values are `CanNotDelete` and `ReadOnly`. Changing this forces a new resource to be created. LockLevel interface{} // Specifies the name of the Management Lock. Changing this forces a new resource to be created. Name interface{} // Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created. Notes interface{} // Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created. Scope interface{} }
The set of arguments for constructing a ManangementLock resource.
type ManangementLockState ¶
type ManangementLockState struct { // Specifies the Level to be used for this Lock. Possible values are `CanNotDelete` and `ReadOnly`. Changing this forces a new resource to be created. LockLevel interface{} // Specifies the name of the Management Lock. Changing this forces a new resource to be created. Name interface{} // Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created. Notes interface{} // Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created. Scope interface{} }
Input properties used for looking up and filtering ManangementLock resources.