共用方式為


DenyAssignmentData Class

Definition

A class representing the DenyAssignment data model. Deny Assignment

public class DenyAssignmentData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Authorization.DenyAssignmentData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Authorization.DenyAssignmentData>
public class DenyAssignmentData : Azure.ResourceManager.Models.ResourceData
type DenyAssignmentData = class
    inherit ResourceData
    interface IJsonModel<DenyAssignmentData>
    interface IPersistableModel<DenyAssignmentData>
type DenyAssignmentData = class
    inherit ResourceData
Public Class DenyAssignmentData
Inherits ResourceData
Implements IJsonModel(Of DenyAssignmentData), IPersistableModel(Of DenyAssignmentData)
Public Class DenyAssignmentData
Inherits ResourceData
Inheritance
DenyAssignmentData
Implements

Properties

DenyAssignmentName

The display name of the deny assignment.

Description

The description of the deny assignment.

ExcludePrincipals

Array of principals to which the deny assignment does not apply.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsAppliedToChildScopes

Determines if the deny assignment applies to child scopes. Default value is false.

IsSystemProtected

Specifies whether this deny assignment was created by Azure and cannot be edited or deleted.

Name

The name of the resource.

(Inherited from ResourceData)
Permissions

An array of permissions that are denied by the deny assignment.

Principals

Array of principals to which the deny assignment applies.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Scope

The deny assignment scope.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<DenyAssignmentData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DenyAssignmentData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DenyAssignmentData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DenyAssignmentData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DenyAssignmentData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to