Compartilhar via


ManagedIdentity Class

Definition

Managed identity configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ManagedIdentityTypeConverter))]
public class ManagedIdentity : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ManagedIdentityTypeConverter))>]
type ManagedIdentity = class
    interface IManagedIdentity
    interface IJsonSerializable
    interface IIdentityConfiguration
    interface IValidates
Public Class ManagedIdentity
Implements IManagedIdentity, IValidates
Inheritance
ManagedIdentity
Attributes
Implements

Constructors

ManagedIdentity()

Creates an new ManagedIdentity instance.

Properties

ClientId

Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.

IdentityType

[Required] Specifies the type of identity framework.

ObjectId

Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.

ResourceId

Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagedIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagedIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IManagedIdentity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagedIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to