다음을 통해 공유


CmkIdentity Class

Definition

All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.

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

Constructors

CmkIdentity()

Initializes a new instance of CmkIdentity.

Properties

IdentityType

Values can be SystemAssigned or UserAssigned.

UserAssignedIdentityResourceId

user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CmkIdentity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CmkIdentity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CmkIdentity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CmkIdentity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CmkIdentity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to