managementresource

package
v0.19.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll Package managementresource exports types, functions, subpackages for provisioning managementresource resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-azurerm) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-azure` repo](https://github.com/pulumi/pulumi-azure/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-azurerm` repo](https://github.com/terraform-providers/terraform-provider-azurerm/issues).

Index

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.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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL