Delen via


CmkKekIdentity Class

Definition

The details of the identity used for CMK.

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

Constructors

CmkKekIdentity()

Initializes a new instance of CmkKekIdentity.

Properties

UserAssignedIdentity

The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned.

UseSystemAssignedIdentity

Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CmkKekIdentity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CmkKekIdentity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CmkKekIdentity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CmkKekIdentity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CmkKekIdentity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to