Sdílet prostřednictvím


GalleryInVmAccessControlRulesRole Class

Definition

The properties of an Access Control Rule Role.

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

Constructors

GalleryInVmAccessControlRulesRole(String, IEnumerable<String>)

Initializes a new instance of GalleryInVmAccessControlRulesRole.

Properties

Name

The name of the role.

Privileges

A list of privileges needed by this role.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<GalleryInVmAccessControlRulesRole>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GalleryInVmAccessControlRulesRole>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GalleryInVmAccessControlRulesRole>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryInVmAccessControlRulesRole>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GalleryInVmAccessControlRulesRole>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to