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

Identity Class

Definition

Properties to configure User Assigned Identities for Bring your Own Keys

[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.IdentityTypeConverter))]
public class Identity : Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.IIdentity
[<Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.IdentityTypeConverter))>]
type Identity = class
    interface IIdentity
    interface IJsonSerializable
Public Class Identity
Implements IIdentity
Inheritance
Identity
Attributes
Implements

Constructors

Identity()

Creates an new Identity instance.

Properties

PrincipalId

ObjectId from the KeyVault

TenantId

TenantId from the KeyVault

Type

Type of managed service identity.

UserAssignedIdentity

Properties for User Assigned Identities

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Identity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Identity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.IIdentity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Identity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to