Dela via


AssignmentLockSettings Class

Definition

Defines how resources deployed by a blueprint assignment are locked.

public class AssignmentLockSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Blueprint.Models.AssignmentLockSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Blueprint.Models.AssignmentLockSettings>
type AssignmentLockSettings = class
    interface IJsonModel<AssignmentLockSettings>
    interface IPersistableModel<AssignmentLockSettings>
Public Class AssignmentLockSettings
Implements IJsonModel(Of AssignmentLockSettings), IPersistableModel(Of AssignmentLockSettings)
Inheritance
AssignmentLockSettings
Implements

Constructors

AssignmentLockSettings()

Initializes a new instance of AssignmentLockSettings.

Properties

ExcludedActions

List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.

ExcludedPrincipals

List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.

Mode

Lock mode.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AssignmentLockSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AssignmentLockSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AssignmentLockSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AssignmentLockSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AssignmentLockSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to