Table of Contents

Struct ManagementLockLevel

Namespace
Azure.ResourceManager.Resources.Models
Assembly
Azure.ResourceManager.dll

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.

public readonly struct ManagementLockLevel : IEquatable<ManagementLockLevel>
Implements
Inherited Members

Constructors

ManagementLockLevel(string)

Initializes a new instance of ManagementLockLevel.

public ManagementLockLevel(string value)

Parameters

value string

Exceptions

ArgumentNullException

value is null.

Properties

CanNotDelete

CanNotDelete.

public static ManagementLockLevel CanNotDelete { get; }

Property Value

ManagementLockLevel

NotSpecified

NotSpecified.

public static ManagementLockLevel NotSpecified { get; }

Property Value

ManagementLockLevel

ReadOnly

ReadOnly.

public static ManagementLockLevel ReadOnly { get; }

Property Value

ManagementLockLevel

Methods

Equals(ManagementLockLevel)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ManagementLockLevel other)

Parameters

other ManagementLockLevel

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

operator ==(ManagementLockLevel, ManagementLockLevel)

Determines if two ManagementLockLevel values are the same.

public static bool operator ==(ManagementLockLevel left, ManagementLockLevel right)

Parameters

left ManagementLockLevel
right ManagementLockLevel

Returns

bool

implicit operator ManagementLockLevel(string)

Converts a string to a ManagementLockLevel.

public static implicit operator ManagementLockLevel(string value)

Parameters

value string

Returns

ManagementLockLevel

operator !=(ManagementLockLevel, ManagementLockLevel)

Determines if two ManagementLockLevel values are not the same.

public static bool operator !=(ManagementLockLevel left, ManagementLockLevel right)

Parameters

left ManagementLockLevel
right ManagementLockLevel

Returns

bool