Documentation
¶
Index ¶
- Constants
- type LockLevel
- func (LockLevel) ElementType() reflect.Type
- func (e LockLevel) ToStringOutput() pulumi.StringOutput
- func (e LockLevel) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e LockLevel) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e LockLevel) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type LookupManagementLockAtResourceGroupLevelArgs
- type LookupManagementLockAtResourceGroupLevelResult
- type LookupManagementLockAtResourceLevelArgs
- type LookupManagementLockAtResourceLevelResult
- type LookupManagementLockAtSubscriptionLevelArgs
- type LookupManagementLockAtSubscriptionLevelResult
- type LookupManagementLockByScopeArgs
- type LookupManagementLockByScopeResult
- type ManagementLockAtResourceGroupLevel
- func GetManagementLockAtResourceGroupLevel(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*ManagementLockAtResourceGroupLevel, error)
- func NewManagementLockAtResourceGroupLevel(ctx *pulumi.Context, name string, args *ManagementLockAtResourceGroupLevelArgs, ...) (*ManagementLockAtResourceGroupLevel, error)
- func (*ManagementLockAtResourceGroupLevel) ElementType() reflect.Type
- func (i *ManagementLockAtResourceGroupLevel) ToManagementLockAtResourceGroupLevelOutput() ManagementLockAtResourceGroupLevelOutput
- func (i *ManagementLockAtResourceGroupLevel) ToManagementLockAtResourceGroupLevelOutputWithContext(ctx context.Context) ManagementLockAtResourceGroupLevelOutput
- type ManagementLockAtResourceGroupLevelArgs
- type ManagementLockAtResourceGroupLevelInput
- type ManagementLockAtResourceGroupLevelOutput
- func (ManagementLockAtResourceGroupLevelOutput) ElementType() reflect.Type
- func (o ManagementLockAtResourceGroupLevelOutput) ToManagementLockAtResourceGroupLevelOutput() ManagementLockAtResourceGroupLevelOutput
- func (o ManagementLockAtResourceGroupLevelOutput) ToManagementLockAtResourceGroupLevelOutputWithContext(ctx context.Context) ManagementLockAtResourceGroupLevelOutput
- type ManagementLockAtResourceGroupLevelState
- type ManagementLockAtResourceLevel
- func (*ManagementLockAtResourceLevel) ElementType() reflect.Type
- func (i *ManagementLockAtResourceLevel) ToManagementLockAtResourceLevelOutput() ManagementLockAtResourceLevelOutput
- func (i *ManagementLockAtResourceLevel) ToManagementLockAtResourceLevelOutputWithContext(ctx context.Context) ManagementLockAtResourceLevelOutput
- type ManagementLockAtResourceLevelArgs
- type ManagementLockAtResourceLevelInput
- type ManagementLockAtResourceLevelOutput
- func (ManagementLockAtResourceLevelOutput) ElementType() reflect.Type
- func (o ManagementLockAtResourceLevelOutput) ToManagementLockAtResourceLevelOutput() ManagementLockAtResourceLevelOutput
- func (o ManagementLockAtResourceLevelOutput) ToManagementLockAtResourceLevelOutputWithContext(ctx context.Context) ManagementLockAtResourceLevelOutput
- type ManagementLockAtResourceLevelState
- type ManagementLockAtSubscriptionLevel
- func GetManagementLockAtSubscriptionLevel(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*ManagementLockAtSubscriptionLevel, error)
- func NewManagementLockAtSubscriptionLevel(ctx *pulumi.Context, name string, args *ManagementLockAtSubscriptionLevelArgs, ...) (*ManagementLockAtSubscriptionLevel, error)
- func (*ManagementLockAtSubscriptionLevel) ElementType() reflect.Type
- func (i *ManagementLockAtSubscriptionLevel) ToManagementLockAtSubscriptionLevelOutput() ManagementLockAtSubscriptionLevelOutput
- func (i *ManagementLockAtSubscriptionLevel) ToManagementLockAtSubscriptionLevelOutputWithContext(ctx context.Context) ManagementLockAtSubscriptionLevelOutput
- type ManagementLockAtSubscriptionLevelArgs
- type ManagementLockAtSubscriptionLevelInput
- type ManagementLockAtSubscriptionLevelOutput
- func (ManagementLockAtSubscriptionLevelOutput) ElementType() reflect.Type
- func (o ManagementLockAtSubscriptionLevelOutput) ToManagementLockAtSubscriptionLevelOutput() ManagementLockAtSubscriptionLevelOutput
- func (o ManagementLockAtSubscriptionLevelOutput) ToManagementLockAtSubscriptionLevelOutputWithContext(ctx context.Context) ManagementLockAtSubscriptionLevelOutput
- type ManagementLockAtSubscriptionLevelState
- type ManagementLockByScope
- type ManagementLockByScopeArgs
- type ManagementLockByScopeInput
- type ManagementLockByScopeOutput
- type ManagementLockByScopeState
- type ManagementLockOwner
- type ManagementLockOwnerArgs
- type ManagementLockOwnerArray
- type ManagementLockOwnerArrayInput
- type ManagementLockOwnerArrayOutput
- func (ManagementLockOwnerArrayOutput) ElementType() reflect.Type
- func (o ManagementLockOwnerArrayOutput) Index(i pulumi.IntInput) ManagementLockOwnerOutput
- func (o ManagementLockOwnerArrayOutput) ToManagementLockOwnerArrayOutput() ManagementLockOwnerArrayOutput
- func (o ManagementLockOwnerArrayOutput) ToManagementLockOwnerArrayOutputWithContext(ctx context.Context) ManagementLockOwnerArrayOutput
- type ManagementLockOwnerInput
- type ManagementLockOwnerOutput
- func (o ManagementLockOwnerOutput) ApplicationId() pulumi.StringPtrOutput
- func (ManagementLockOwnerOutput) ElementType() reflect.Type
- func (o ManagementLockOwnerOutput) ToManagementLockOwnerOutput() ManagementLockOwnerOutput
- func (o ManagementLockOwnerOutput) ToManagementLockOwnerOutputWithContext(ctx context.Context) ManagementLockOwnerOutput
- type ManagementLockOwnerResponse
- type ManagementLockOwnerResponseArgs
- func (ManagementLockOwnerResponseArgs) ElementType() reflect.Type
- func (i ManagementLockOwnerResponseArgs) ToManagementLockOwnerResponseOutput() ManagementLockOwnerResponseOutput
- func (i ManagementLockOwnerResponseArgs) ToManagementLockOwnerResponseOutputWithContext(ctx context.Context) ManagementLockOwnerResponseOutput
- type ManagementLockOwnerResponseArray
- func (ManagementLockOwnerResponseArray) ElementType() reflect.Type
- func (i ManagementLockOwnerResponseArray) ToManagementLockOwnerResponseArrayOutput() ManagementLockOwnerResponseArrayOutput
- func (i ManagementLockOwnerResponseArray) ToManagementLockOwnerResponseArrayOutputWithContext(ctx context.Context) ManagementLockOwnerResponseArrayOutput
- type ManagementLockOwnerResponseArrayInput
- type ManagementLockOwnerResponseArrayOutput
- func (ManagementLockOwnerResponseArrayOutput) ElementType() reflect.Type
- func (o ManagementLockOwnerResponseArrayOutput) Index(i pulumi.IntInput) ManagementLockOwnerResponseOutput
- func (o ManagementLockOwnerResponseArrayOutput) ToManagementLockOwnerResponseArrayOutput() ManagementLockOwnerResponseArrayOutput
- func (o ManagementLockOwnerResponseArrayOutput) ToManagementLockOwnerResponseArrayOutputWithContext(ctx context.Context) ManagementLockOwnerResponseArrayOutput
- type ManagementLockOwnerResponseInput
- type ManagementLockOwnerResponseOutput
- func (o ManagementLockOwnerResponseOutput) ApplicationId() pulumi.StringPtrOutput
- func (ManagementLockOwnerResponseOutput) ElementType() reflect.Type
- func (o ManagementLockOwnerResponseOutput) ToManagementLockOwnerResponseOutput() ManagementLockOwnerResponseOutput
- func (o ManagementLockOwnerResponseOutput) ToManagementLockOwnerResponseOutputWithContext(ctx context.Context) ManagementLockOwnerResponseOutput
Constants ¶
const ( LockLevelNotSpecified = LockLevel("NotSpecified") LockLevelCanNotDelete = LockLevel("CanNotDelete") LockLevelReadOnly = LockLevel("ReadOnly") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockLevel ¶ added in v0.3.1
The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it.
func (LockLevel) ElementType ¶ added in v0.3.1
func (LockLevel) ToStringOutput ¶ added in v0.3.1
func (e LockLevel) ToStringOutput() pulumi.StringOutput
func (LockLevel) ToStringOutputWithContext ¶ added in v0.3.1
func (e LockLevel) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (LockLevel) ToStringPtrOutput ¶ added in v0.3.1
func (e LockLevel) ToStringPtrOutput() pulumi.StringPtrOutput
func (LockLevel) ToStringPtrOutputWithContext ¶ added in v0.3.1
func (e LockLevel) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type LookupManagementLockAtResourceGroupLevelResult ¶
type LookupManagementLockAtResourceGroupLevelResult struct { // The resource ID of the lock. Id string `pulumi:"id"` // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level string `pulumi:"level"` // The name of the lock. Name string `pulumi:"name"` // Notes about the lock. Maximum of 512 characters. Notes *string `pulumi:"notes"` // The owners of the lock. Owners []ManagementLockOwnerResponse `pulumi:"owners"` // The resource type of the lock - Microsoft.Authorization/locks. Type string `pulumi:"type"` }
The lock information.
func LookupManagementLockAtResourceGroupLevel ¶
func LookupManagementLockAtResourceGroupLevel(ctx *pulumi.Context, args *LookupManagementLockAtResourceGroupLevelArgs, opts ...pulumi.InvokeOption) (*LookupManagementLockAtResourceGroupLevelResult, error)
type LookupManagementLockAtResourceLevelArgs ¶
type LookupManagementLockAtResourceLevelArgs struct { // The name of lock. LockName string `pulumi:"lockName"` // An extra path parameter needed in some services, like SQL Databases. ParentResourcePath string `pulumi:"parentResourcePath"` // The name of the resource group. ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the resource. ResourceName string `pulumi:"resourceName"` // The namespace of the resource provider. ResourceProviderNamespace string `pulumi:"resourceProviderNamespace"` // The type of the resource. ResourceType string `pulumi:"resourceType"` }
type LookupManagementLockAtResourceLevelResult ¶
type LookupManagementLockAtResourceLevelResult struct { // The resource ID of the lock. Id string `pulumi:"id"` // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level string `pulumi:"level"` // The name of the lock. Name string `pulumi:"name"` // Notes about the lock. Maximum of 512 characters. Notes *string `pulumi:"notes"` // The owners of the lock. Owners []ManagementLockOwnerResponse `pulumi:"owners"` // The resource type of the lock - Microsoft.Authorization/locks. Type string `pulumi:"type"` }
The lock information.
func LookupManagementLockAtResourceLevel ¶
func LookupManagementLockAtResourceLevel(ctx *pulumi.Context, args *LookupManagementLockAtResourceLevelArgs, opts ...pulumi.InvokeOption) (*LookupManagementLockAtResourceLevelResult, error)
type LookupManagementLockAtSubscriptionLevelArgs ¶
type LookupManagementLockAtSubscriptionLevelArgs struct { // The name of the lock to get. LockName string `pulumi:"lockName"` }
type LookupManagementLockAtSubscriptionLevelResult ¶
type LookupManagementLockAtSubscriptionLevelResult struct { // The resource ID of the lock. Id string `pulumi:"id"` // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level string `pulumi:"level"` // The name of the lock. Name string `pulumi:"name"` // Notes about the lock. Maximum of 512 characters. Notes *string `pulumi:"notes"` // The owners of the lock. Owners []ManagementLockOwnerResponse `pulumi:"owners"` // The resource type of the lock - Microsoft.Authorization/locks. Type string `pulumi:"type"` }
The lock information.
func LookupManagementLockAtSubscriptionLevel ¶
func LookupManagementLockAtSubscriptionLevel(ctx *pulumi.Context, args *LookupManagementLockAtSubscriptionLevelArgs, opts ...pulumi.InvokeOption) (*LookupManagementLockAtSubscriptionLevelResult, error)
type LookupManagementLockByScopeResult ¶
type LookupManagementLockByScopeResult struct { // The resource ID of the lock. Id string `pulumi:"id"` // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level string `pulumi:"level"` // The name of the lock. Name string `pulumi:"name"` // Notes about the lock. Maximum of 512 characters. Notes *string `pulumi:"notes"` // The owners of the lock. Owners []ManagementLockOwnerResponse `pulumi:"owners"` // The resource type of the lock - Microsoft.Authorization/locks. Type string `pulumi:"type"` }
The lock information.
func LookupManagementLockByScope ¶
func LookupManagementLockByScope(ctx *pulumi.Context, args *LookupManagementLockByScopeArgs, opts ...pulumi.InvokeOption) (*LookupManagementLockByScopeResult, error)
type ManagementLockAtResourceGroupLevel ¶
type ManagementLockAtResourceGroupLevel struct { pulumi.CustomResourceState // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringOutput `pulumi:"level"` // The name of the lock. Name pulumi.StringOutput `pulumi:"name"` // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrOutput `pulumi:"notes"` // The owners of the lock. Owners ManagementLockOwnerResponseArrayOutput `pulumi:"owners"` // The resource type of the lock - Microsoft.Authorization/locks. Type pulumi.StringOutput `pulumi:"type"` }
The lock information.
func GetManagementLockAtResourceGroupLevel ¶
func GetManagementLockAtResourceGroupLevel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagementLockAtResourceGroupLevelState, opts ...pulumi.ResourceOption) (*ManagementLockAtResourceGroupLevel, error)
GetManagementLockAtResourceGroupLevel gets an existing ManagementLockAtResourceGroupLevel 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 NewManagementLockAtResourceGroupLevel ¶
func NewManagementLockAtResourceGroupLevel(ctx *pulumi.Context, name string, args *ManagementLockAtResourceGroupLevelArgs, opts ...pulumi.ResourceOption) (*ManagementLockAtResourceGroupLevel, error)
NewManagementLockAtResourceGroupLevel registers a new resource with the given unique name, arguments, and options.
func (*ManagementLockAtResourceGroupLevel) ElementType ¶ added in v0.2.6
func (*ManagementLockAtResourceGroupLevel) ElementType() reflect.Type
func (*ManagementLockAtResourceGroupLevel) ToManagementLockAtResourceGroupLevelOutput ¶ added in v0.2.6
func (i *ManagementLockAtResourceGroupLevel) ToManagementLockAtResourceGroupLevelOutput() ManagementLockAtResourceGroupLevelOutput
func (*ManagementLockAtResourceGroupLevel) ToManagementLockAtResourceGroupLevelOutputWithContext ¶ added in v0.2.6
func (i *ManagementLockAtResourceGroupLevel) ToManagementLockAtResourceGroupLevelOutputWithContext(ctx context.Context) ManagementLockAtResourceGroupLevelOutput
type ManagementLockAtResourceGroupLevelArgs ¶
type ManagementLockAtResourceGroupLevelArgs struct { // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringInput // The lock name. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \, ?, /, or any control characters. LockName pulumi.StringInput // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrInput // The owners of the lock. Owners ManagementLockOwnerArrayInput // The name of the resource group to lock. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a ManagementLockAtResourceGroupLevel resource.
func (ManagementLockAtResourceGroupLevelArgs) ElementType ¶
func (ManagementLockAtResourceGroupLevelArgs) ElementType() reflect.Type
type ManagementLockAtResourceGroupLevelInput ¶ added in v0.2.6
type ManagementLockAtResourceGroupLevelInput interface { pulumi.Input ToManagementLockAtResourceGroupLevelOutput() ManagementLockAtResourceGroupLevelOutput ToManagementLockAtResourceGroupLevelOutputWithContext(ctx context.Context) ManagementLockAtResourceGroupLevelOutput }
type ManagementLockAtResourceGroupLevelOutput ¶ added in v0.2.6
type ManagementLockAtResourceGroupLevelOutput struct {
*pulumi.OutputState
}
func (ManagementLockAtResourceGroupLevelOutput) ElementType ¶ added in v0.2.6
func (ManagementLockAtResourceGroupLevelOutput) ElementType() reflect.Type
func (ManagementLockAtResourceGroupLevelOutput) ToManagementLockAtResourceGroupLevelOutput ¶ added in v0.2.6
func (o ManagementLockAtResourceGroupLevelOutput) ToManagementLockAtResourceGroupLevelOutput() ManagementLockAtResourceGroupLevelOutput
func (ManagementLockAtResourceGroupLevelOutput) ToManagementLockAtResourceGroupLevelOutputWithContext ¶ added in v0.2.6
func (o ManagementLockAtResourceGroupLevelOutput) ToManagementLockAtResourceGroupLevelOutputWithContext(ctx context.Context) ManagementLockAtResourceGroupLevelOutput
type ManagementLockAtResourceGroupLevelState ¶
type ManagementLockAtResourceGroupLevelState struct { // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringPtrInput // The name of the lock. Name pulumi.StringPtrInput // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrInput // The owners of the lock. Owners ManagementLockOwnerResponseArrayInput // The resource type of the lock - Microsoft.Authorization/locks. Type pulumi.StringPtrInput }
func (ManagementLockAtResourceGroupLevelState) ElementType ¶
func (ManagementLockAtResourceGroupLevelState) ElementType() reflect.Type
type ManagementLockAtResourceLevel ¶
type ManagementLockAtResourceLevel struct { pulumi.CustomResourceState // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringOutput `pulumi:"level"` // The name of the lock. Name pulumi.StringOutput `pulumi:"name"` // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrOutput `pulumi:"notes"` // The owners of the lock. Owners ManagementLockOwnerResponseArrayOutput `pulumi:"owners"` // The resource type of the lock - Microsoft.Authorization/locks. Type pulumi.StringOutput `pulumi:"type"` }
The lock information.
func GetManagementLockAtResourceLevel ¶
func GetManagementLockAtResourceLevel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagementLockAtResourceLevelState, opts ...pulumi.ResourceOption) (*ManagementLockAtResourceLevel, error)
GetManagementLockAtResourceLevel gets an existing ManagementLockAtResourceLevel 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 NewManagementLockAtResourceLevel ¶
func NewManagementLockAtResourceLevel(ctx *pulumi.Context, name string, args *ManagementLockAtResourceLevelArgs, opts ...pulumi.ResourceOption) (*ManagementLockAtResourceLevel, error)
NewManagementLockAtResourceLevel registers a new resource with the given unique name, arguments, and options.
func (*ManagementLockAtResourceLevel) ElementType ¶ added in v0.2.6
func (*ManagementLockAtResourceLevel) ElementType() reflect.Type
func (*ManagementLockAtResourceLevel) ToManagementLockAtResourceLevelOutput ¶ added in v0.2.6
func (i *ManagementLockAtResourceLevel) ToManagementLockAtResourceLevelOutput() ManagementLockAtResourceLevelOutput
func (*ManagementLockAtResourceLevel) ToManagementLockAtResourceLevelOutputWithContext ¶ added in v0.2.6
func (i *ManagementLockAtResourceLevel) ToManagementLockAtResourceLevelOutputWithContext(ctx context.Context) ManagementLockAtResourceLevelOutput
type ManagementLockAtResourceLevelArgs ¶
type ManagementLockAtResourceLevelArgs struct { // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringInput // The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \, ?, /, or any control characters. LockName pulumi.StringInput // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrInput // The owners of the lock. Owners ManagementLockOwnerArrayInput // The parent resource identity. ParentResourcePath pulumi.StringInput // The name of the resource group containing the resource to lock. ResourceGroupName pulumi.StringInput // The name of the resource to lock. ResourceName pulumi.StringInput // The resource provider namespace of the resource to lock. ResourceProviderNamespace pulumi.StringInput // The resource type of the resource to lock. ResourceType pulumi.StringInput }
The set of arguments for constructing a ManagementLockAtResourceLevel resource.
func (ManagementLockAtResourceLevelArgs) ElementType ¶
func (ManagementLockAtResourceLevelArgs) ElementType() reflect.Type
type ManagementLockAtResourceLevelInput ¶ added in v0.2.6
type ManagementLockAtResourceLevelInput interface { pulumi.Input ToManagementLockAtResourceLevelOutput() ManagementLockAtResourceLevelOutput ToManagementLockAtResourceLevelOutputWithContext(ctx context.Context) ManagementLockAtResourceLevelOutput }
type ManagementLockAtResourceLevelOutput ¶ added in v0.2.6
type ManagementLockAtResourceLevelOutput struct {
*pulumi.OutputState
}
func (ManagementLockAtResourceLevelOutput) ElementType ¶ added in v0.2.6
func (ManagementLockAtResourceLevelOutput) ElementType() reflect.Type
func (ManagementLockAtResourceLevelOutput) ToManagementLockAtResourceLevelOutput ¶ added in v0.2.6
func (o ManagementLockAtResourceLevelOutput) ToManagementLockAtResourceLevelOutput() ManagementLockAtResourceLevelOutput
func (ManagementLockAtResourceLevelOutput) ToManagementLockAtResourceLevelOutputWithContext ¶ added in v0.2.6
func (o ManagementLockAtResourceLevelOutput) ToManagementLockAtResourceLevelOutputWithContext(ctx context.Context) ManagementLockAtResourceLevelOutput
type ManagementLockAtResourceLevelState ¶
type ManagementLockAtResourceLevelState struct { // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringPtrInput // The name of the lock. Name pulumi.StringPtrInput // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrInput // The owners of the lock. Owners ManagementLockOwnerResponseArrayInput // The resource type of the lock - Microsoft.Authorization/locks. Type pulumi.StringPtrInput }
func (ManagementLockAtResourceLevelState) ElementType ¶
func (ManagementLockAtResourceLevelState) ElementType() reflect.Type
type ManagementLockAtSubscriptionLevel ¶
type ManagementLockAtSubscriptionLevel struct { pulumi.CustomResourceState // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringOutput `pulumi:"level"` // The name of the lock. Name pulumi.StringOutput `pulumi:"name"` // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrOutput `pulumi:"notes"` // The owners of the lock. Owners ManagementLockOwnerResponseArrayOutput `pulumi:"owners"` // The resource type of the lock - Microsoft.Authorization/locks. Type pulumi.StringOutput `pulumi:"type"` }
The lock information.
func GetManagementLockAtSubscriptionLevel ¶
func GetManagementLockAtSubscriptionLevel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagementLockAtSubscriptionLevelState, opts ...pulumi.ResourceOption) (*ManagementLockAtSubscriptionLevel, error)
GetManagementLockAtSubscriptionLevel gets an existing ManagementLockAtSubscriptionLevel 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 NewManagementLockAtSubscriptionLevel ¶
func NewManagementLockAtSubscriptionLevel(ctx *pulumi.Context, name string, args *ManagementLockAtSubscriptionLevelArgs, opts ...pulumi.ResourceOption) (*ManagementLockAtSubscriptionLevel, error)
NewManagementLockAtSubscriptionLevel registers a new resource with the given unique name, arguments, and options.
func (*ManagementLockAtSubscriptionLevel) ElementType ¶ added in v0.2.6
func (*ManagementLockAtSubscriptionLevel) ElementType() reflect.Type
func (*ManagementLockAtSubscriptionLevel) ToManagementLockAtSubscriptionLevelOutput ¶ added in v0.2.6
func (i *ManagementLockAtSubscriptionLevel) ToManagementLockAtSubscriptionLevelOutput() ManagementLockAtSubscriptionLevelOutput
func (*ManagementLockAtSubscriptionLevel) ToManagementLockAtSubscriptionLevelOutputWithContext ¶ added in v0.2.6
func (i *ManagementLockAtSubscriptionLevel) ToManagementLockAtSubscriptionLevelOutputWithContext(ctx context.Context) ManagementLockAtSubscriptionLevelOutput
type ManagementLockAtSubscriptionLevelArgs ¶
type ManagementLockAtSubscriptionLevelArgs struct { // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringInput // The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \, ?, /, or any control characters. LockName pulumi.StringInput // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrInput // The owners of the lock. Owners ManagementLockOwnerArrayInput }
The set of arguments for constructing a ManagementLockAtSubscriptionLevel resource.
func (ManagementLockAtSubscriptionLevelArgs) ElementType ¶
func (ManagementLockAtSubscriptionLevelArgs) ElementType() reflect.Type
type ManagementLockAtSubscriptionLevelInput ¶ added in v0.2.6
type ManagementLockAtSubscriptionLevelInput interface { pulumi.Input ToManagementLockAtSubscriptionLevelOutput() ManagementLockAtSubscriptionLevelOutput ToManagementLockAtSubscriptionLevelOutputWithContext(ctx context.Context) ManagementLockAtSubscriptionLevelOutput }
type ManagementLockAtSubscriptionLevelOutput ¶ added in v0.2.6
type ManagementLockAtSubscriptionLevelOutput struct {
*pulumi.OutputState
}
func (ManagementLockAtSubscriptionLevelOutput) ElementType ¶ added in v0.2.6
func (ManagementLockAtSubscriptionLevelOutput) ElementType() reflect.Type
func (ManagementLockAtSubscriptionLevelOutput) ToManagementLockAtSubscriptionLevelOutput ¶ added in v0.2.6
func (o ManagementLockAtSubscriptionLevelOutput) ToManagementLockAtSubscriptionLevelOutput() ManagementLockAtSubscriptionLevelOutput
func (ManagementLockAtSubscriptionLevelOutput) ToManagementLockAtSubscriptionLevelOutputWithContext ¶ added in v0.2.6
func (o ManagementLockAtSubscriptionLevelOutput) ToManagementLockAtSubscriptionLevelOutputWithContext(ctx context.Context) ManagementLockAtSubscriptionLevelOutput
type ManagementLockAtSubscriptionLevelState ¶
type ManagementLockAtSubscriptionLevelState struct { // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringPtrInput // The name of the lock. Name pulumi.StringPtrInput // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrInput // The owners of the lock. Owners ManagementLockOwnerResponseArrayInput // The resource type of the lock - Microsoft.Authorization/locks. Type pulumi.StringPtrInput }
func (ManagementLockAtSubscriptionLevelState) ElementType ¶
func (ManagementLockAtSubscriptionLevelState) ElementType() reflect.Type
type ManagementLockByScope ¶
type ManagementLockByScope struct { pulumi.CustomResourceState // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringOutput `pulumi:"level"` // The name of the lock. Name pulumi.StringOutput `pulumi:"name"` // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrOutput `pulumi:"notes"` // The owners of the lock. Owners ManagementLockOwnerResponseArrayOutput `pulumi:"owners"` // The resource type of the lock - Microsoft.Authorization/locks. Type pulumi.StringOutput `pulumi:"type"` }
The lock information.
func GetManagementLockByScope ¶
func GetManagementLockByScope(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagementLockByScopeState, opts ...pulumi.ResourceOption) (*ManagementLockByScope, error)
GetManagementLockByScope gets an existing ManagementLockByScope 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 NewManagementLockByScope ¶
func NewManagementLockByScope(ctx *pulumi.Context, name string, args *ManagementLockByScopeArgs, opts ...pulumi.ResourceOption) (*ManagementLockByScope, error)
NewManagementLockByScope registers a new resource with the given unique name, arguments, and options.
func (*ManagementLockByScope) ElementType ¶ added in v0.2.6
func (*ManagementLockByScope) ElementType() reflect.Type
func (*ManagementLockByScope) ToManagementLockByScopeOutput ¶ added in v0.2.6
func (i *ManagementLockByScope) ToManagementLockByScopeOutput() ManagementLockByScopeOutput
func (*ManagementLockByScope) ToManagementLockByScopeOutputWithContext ¶ added in v0.2.6
func (i *ManagementLockByScope) ToManagementLockByScopeOutputWithContext(ctx context.Context) ManagementLockByScopeOutput
type ManagementLockByScopeArgs ¶
type ManagementLockByScopeArgs struct { // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringInput // The name of lock. LockName pulumi.StringInput // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrInput // The owners of the lock. Owners ManagementLockOwnerArrayInput // The scope for the lock. When providing a scope for the assignment, use '/subscriptions/{subscriptionId}' for subscriptions, '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}' for resources. Scope pulumi.StringInput }
The set of arguments for constructing a ManagementLockByScope resource.
func (ManagementLockByScopeArgs) ElementType ¶
func (ManagementLockByScopeArgs) ElementType() reflect.Type
type ManagementLockByScopeInput ¶ added in v0.2.6
type ManagementLockByScopeInput interface { pulumi.Input ToManagementLockByScopeOutput() ManagementLockByScopeOutput ToManagementLockByScopeOutputWithContext(ctx context.Context) ManagementLockByScopeOutput }
type ManagementLockByScopeOutput ¶ added in v0.2.6
type ManagementLockByScopeOutput struct {
*pulumi.OutputState
}
func (ManagementLockByScopeOutput) ElementType ¶ added in v0.2.6
func (ManagementLockByScopeOutput) ElementType() reflect.Type
func (ManagementLockByScopeOutput) ToManagementLockByScopeOutput ¶ added in v0.2.6
func (o ManagementLockByScopeOutput) ToManagementLockByScopeOutput() ManagementLockByScopeOutput
func (ManagementLockByScopeOutput) ToManagementLockByScopeOutputWithContext ¶ added in v0.2.6
func (o ManagementLockByScopeOutput) ToManagementLockByScopeOutputWithContext(ctx context.Context) ManagementLockByScopeOutput
type ManagementLockByScopeState ¶
type ManagementLockByScopeState struct { // The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. Level pulumi.StringPtrInput // The name of the lock. Name pulumi.StringPtrInput // Notes about the lock. Maximum of 512 characters. Notes pulumi.StringPtrInput // The owners of the lock. Owners ManagementLockOwnerResponseArrayInput // The resource type of the lock - Microsoft.Authorization/locks. Type pulumi.StringPtrInput }
func (ManagementLockByScopeState) ElementType ¶
func (ManagementLockByScopeState) ElementType() reflect.Type
type ManagementLockOwner ¶
type ManagementLockOwner struct { // The application ID of the lock owner. ApplicationId *string `pulumi:"applicationId"` }
Lock owner properties.
type ManagementLockOwnerArgs ¶
type ManagementLockOwnerArgs struct { // The application ID of the lock owner. ApplicationId pulumi.StringPtrInput `pulumi:"applicationId"` }
Lock owner properties.
func (ManagementLockOwnerArgs) ElementType ¶
func (ManagementLockOwnerArgs) ElementType() reflect.Type
func (ManagementLockOwnerArgs) ToManagementLockOwnerOutput ¶
func (i ManagementLockOwnerArgs) ToManagementLockOwnerOutput() ManagementLockOwnerOutput
func (ManagementLockOwnerArgs) ToManagementLockOwnerOutputWithContext ¶
func (i ManagementLockOwnerArgs) ToManagementLockOwnerOutputWithContext(ctx context.Context) ManagementLockOwnerOutput
type ManagementLockOwnerArray ¶
type ManagementLockOwnerArray []ManagementLockOwnerInput
func (ManagementLockOwnerArray) ElementType ¶
func (ManagementLockOwnerArray) ElementType() reflect.Type
func (ManagementLockOwnerArray) ToManagementLockOwnerArrayOutput ¶
func (i ManagementLockOwnerArray) ToManagementLockOwnerArrayOutput() ManagementLockOwnerArrayOutput
func (ManagementLockOwnerArray) ToManagementLockOwnerArrayOutputWithContext ¶
func (i ManagementLockOwnerArray) ToManagementLockOwnerArrayOutputWithContext(ctx context.Context) ManagementLockOwnerArrayOutput
type ManagementLockOwnerArrayInput ¶
type ManagementLockOwnerArrayInput interface { pulumi.Input ToManagementLockOwnerArrayOutput() ManagementLockOwnerArrayOutput ToManagementLockOwnerArrayOutputWithContext(context.Context) ManagementLockOwnerArrayOutput }
ManagementLockOwnerArrayInput is an input type that accepts ManagementLockOwnerArray and ManagementLockOwnerArrayOutput values. You can construct a concrete instance of `ManagementLockOwnerArrayInput` via:
ManagementLockOwnerArray{ ManagementLockOwnerArgs{...} }
type ManagementLockOwnerArrayOutput ¶
type ManagementLockOwnerArrayOutput struct{ *pulumi.OutputState }
func (ManagementLockOwnerArrayOutput) ElementType ¶
func (ManagementLockOwnerArrayOutput) ElementType() reflect.Type
func (ManagementLockOwnerArrayOutput) Index ¶
func (o ManagementLockOwnerArrayOutput) Index(i pulumi.IntInput) ManagementLockOwnerOutput
func (ManagementLockOwnerArrayOutput) ToManagementLockOwnerArrayOutput ¶
func (o ManagementLockOwnerArrayOutput) ToManagementLockOwnerArrayOutput() ManagementLockOwnerArrayOutput
func (ManagementLockOwnerArrayOutput) ToManagementLockOwnerArrayOutputWithContext ¶
func (o ManagementLockOwnerArrayOutput) ToManagementLockOwnerArrayOutputWithContext(ctx context.Context) ManagementLockOwnerArrayOutput
type ManagementLockOwnerInput ¶
type ManagementLockOwnerInput interface { pulumi.Input ToManagementLockOwnerOutput() ManagementLockOwnerOutput ToManagementLockOwnerOutputWithContext(context.Context) ManagementLockOwnerOutput }
ManagementLockOwnerInput is an input type that accepts ManagementLockOwnerArgs and ManagementLockOwnerOutput values. You can construct a concrete instance of `ManagementLockOwnerInput` via:
ManagementLockOwnerArgs{...}
type ManagementLockOwnerOutput ¶
type ManagementLockOwnerOutput struct{ *pulumi.OutputState }
Lock owner properties.
func (ManagementLockOwnerOutput) ApplicationId ¶
func (o ManagementLockOwnerOutput) ApplicationId() pulumi.StringPtrOutput
The application ID of the lock owner.
func (ManagementLockOwnerOutput) ElementType ¶
func (ManagementLockOwnerOutput) ElementType() reflect.Type
func (ManagementLockOwnerOutput) ToManagementLockOwnerOutput ¶
func (o ManagementLockOwnerOutput) ToManagementLockOwnerOutput() ManagementLockOwnerOutput
func (ManagementLockOwnerOutput) ToManagementLockOwnerOutputWithContext ¶
func (o ManagementLockOwnerOutput) ToManagementLockOwnerOutputWithContext(ctx context.Context) ManagementLockOwnerOutput
type ManagementLockOwnerResponse ¶
type ManagementLockOwnerResponse struct { // The application ID of the lock owner. ApplicationId *string `pulumi:"applicationId"` }
Lock owner properties.
type ManagementLockOwnerResponseArgs ¶
type ManagementLockOwnerResponseArgs struct { // The application ID of the lock owner. ApplicationId pulumi.StringPtrInput `pulumi:"applicationId"` }
Lock owner properties.
func (ManagementLockOwnerResponseArgs) ElementType ¶
func (ManagementLockOwnerResponseArgs) ElementType() reflect.Type
func (ManagementLockOwnerResponseArgs) ToManagementLockOwnerResponseOutput ¶
func (i ManagementLockOwnerResponseArgs) ToManagementLockOwnerResponseOutput() ManagementLockOwnerResponseOutput
func (ManagementLockOwnerResponseArgs) ToManagementLockOwnerResponseOutputWithContext ¶
func (i ManagementLockOwnerResponseArgs) ToManagementLockOwnerResponseOutputWithContext(ctx context.Context) ManagementLockOwnerResponseOutput
type ManagementLockOwnerResponseArray ¶
type ManagementLockOwnerResponseArray []ManagementLockOwnerResponseInput
func (ManagementLockOwnerResponseArray) ElementType ¶
func (ManagementLockOwnerResponseArray) ElementType() reflect.Type
func (ManagementLockOwnerResponseArray) ToManagementLockOwnerResponseArrayOutput ¶
func (i ManagementLockOwnerResponseArray) ToManagementLockOwnerResponseArrayOutput() ManagementLockOwnerResponseArrayOutput
func (ManagementLockOwnerResponseArray) ToManagementLockOwnerResponseArrayOutputWithContext ¶
func (i ManagementLockOwnerResponseArray) ToManagementLockOwnerResponseArrayOutputWithContext(ctx context.Context) ManagementLockOwnerResponseArrayOutput
type ManagementLockOwnerResponseArrayInput ¶
type ManagementLockOwnerResponseArrayInput interface { pulumi.Input ToManagementLockOwnerResponseArrayOutput() ManagementLockOwnerResponseArrayOutput ToManagementLockOwnerResponseArrayOutputWithContext(context.Context) ManagementLockOwnerResponseArrayOutput }
ManagementLockOwnerResponseArrayInput is an input type that accepts ManagementLockOwnerResponseArray and ManagementLockOwnerResponseArrayOutput values. You can construct a concrete instance of `ManagementLockOwnerResponseArrayInput` via:
ManagementLockOwnerResponseArray{ ManagementLockOwnerResponseArgs{...} }
type ManagementLockOwnerResponseArrayOutput ¶
type ManagementLockOwnerResponseArrayOutput struct{ *pulumi.OutputState }
func (ManagementLockOwnerResponseArrayOutput) ElementType ¶
func (ManagementLockOwnerResponseArrayOutput) ElementType() reflect.Type
func (ManagementLockOwnerResponseArrayOutput) ToManagementLockOwnerResponseArrayOutput ¶
func (o ManagementLockOwnerResponseArrayOutput) ToManagementLockOwnerResponseArrayOutput() ManagementLockOwnerResponseArrayOutput
func (ManagementLockOwnerResponseArrayOutput) ToManagementLockOwnerResponseArrayOutputWithContext ¶
func (o ManagementLockOwnerResponseArrayOutput) ToManagementLockOwnerResponseArrayOutputWithContext(ctx context.Context) ManagementLockOwnerResponseArrayOutput
type ManagementLockOwnerResponseInput ¶
type ManagementLockOwnerResponseInput interface { pulumi.Input ToManagementLockOwnerResponseOutput() ManagementLockOwnerResponseOutput ToManagementLockOwnerResponseOutputWithContext(context.Context) ManagementLockOwnerResponseOutput }
ManagementLockOwnerResponseInput is an input type that accepts ManagementLockOwnerResponseArgs and ManagementLockOwnerResponseOutput values. You can construct a concrete instance of `ManagementLockOwnerResponseInput` via:
ManagementLockOwnerResponseArgs{...}
type ManagementLockOwnerResponseOutput ¶
type ManagementLockOwnerResponseOutput struct{ *pulumi.OutputState }
Lock owner properties.
func (ManagementLockOwnerResponseOutput) ApplicationId ¶
func (o ManagementLockOwnerResponseOutput) ApplicationId() pulumi.StringPtrOutput
The application ID of the lock owner.
func (ManagementLockOwnerResponseOutput) ElementType ¶
func (ManagementLockOwnerResponseOutput) ElementType() reflect.Type
func (ManagementLockOwnerResponseOutput) ToManagementLockOwnerResponseOutput ¶
func (o ManagementLockOwnerResponseOutput) ToManagementLockOwnerResponseOutput() ManagementLockOwnerResponseOutput
func (ManagementLockOwnerResponseOutput) ToManagementLockOwnerResponseOutputWithContext ¶
func (o ManagementLockOwnerResponseOutput) ToManagementLockOwnerResponseOutputWithContext(ctx context.Context) ManagementLockOwnerResponseOutput
Source Files
¶
- getManagementLockAtResourceGroupLevel.go
- getManagementLockAtResourceLevel.go
- getManagementLockAtSubscriptionLevel.go
- getManagementLockByScope.go
- init.go
- managementLockAtResourceGroupLevel.go
- managementLockAtResourceLevel.go
- managementLockAtSubscriptionLevel.go
- managementLockByScope.go
- pulumiEnums.go
- pulumiTypes.go