共用方式為


EventSubscriptionIdentity Class

Definition

The identity information with the event subscription.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.EventSubscriptionIdentityTypeConverter))]
public class EventSubscriptionIdentity : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IEventSubscriptionIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.EventSubscriptionIdentityTypeConverter))>]
type EventSubscriptionIdentity = class
    interface IEventSubscriptionIdentity
    interface IJsonSerializable
Public Class EventSubscriptionIdentity
Implements IEventSubscriptionIdentity
Inheritance
EventSubscriptionIdentity
Attributes
Implements

Constructors

EventSubscriptionIdentity()

Creates an new EventSubscriptionIdentity instance.

Properties

Type

The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity.

UserAssignedIdentity

The user identity associated with the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventSubscriptionIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventSubscriptionIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IEventSubscriptionIdentity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventSubscriptionIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to