你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedIdentityCredential Class

Definition

Credential for user managed identity.

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

Properties

ManagedIdentityType

ManagedIdentityCredential identity type.

UserManagedIdentityClientId

ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null.

UserManagedIdentityPrincipalId

PrincipalId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null.

UserManagedIdentityResourceId

Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null.

UserManagedIdentityTenantId

TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null.

Explicit Interface Implementations

IJsonModel<DataReferenceCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from DataReferenceCredential)
IJsonModel<DataReferenceCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DataReferenceCredential)
IJsonModel<ManagedIdentityCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedIdentityCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataReferenceCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DataReferenceCredential)
IPersistableModel<DataReferenceCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DataReferenceCredential)
IPersistableModel<DataReferenceCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DataReferenceCredential)
IPersistableModel<ManagedIdentityCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedIdentityCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedIdentityCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to