Share via


ManagedIdentityCredential Class

Definition

Credential for user managed identity

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ManagedIdentityCredentialTypeConverter))]
public class ManagedIdentityCredential : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IManagedIdentityCredential, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ManagedIdentityCredentialTypeConverter))>]
type ManagedIdentityCredential = class
    interface IManagedIdentityCredential
    interface IJsonSerializable
    interface IDataReferenceCredential
    interface IValidates
Public Class ManagedIdentityCredential
Implements IManagedIdentityCredential, IValidates
Inheritance
ManagedIdentityCredential
Attributes
Implements

Constructors

ManagedIdentityCredential()

Creates an new ManagedIdentityCredential instance.

Properties

CredentialType

[Required] Credential type used to authentication with storage.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagedIdentityCredential.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagedIdentityCredential.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IManagedIdentityCredential.

FromJsonString(String)

Creates a new instance of ManagedIdentityCredential, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagedIdentityCredential into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to