Partager via


DataCollectionEndpointResourceIdentity Class

Definition

Managed service identity of the resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.DataCollectionEndpointResourceIdentityTypeConverter))]
public class DataCollectionEndpointResourceIdentity : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionEndpointResourceIdentity, Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.DataCollectionEndpointResourceIdentityTypeConverter))>]
type DataCollectionEndpointResourceIdentity = class
    interface IDataCollectionEndpointResourceIdentity
    interface IJsonSerializable
    interface IManagedServiceIdentity
    interface IValidates
Public Class DataCollectionEndpointResourceIdentity
Implements IDataCollectionEndpointResourceIdentity, IValidates
Inheritance
DataCollectionEndpointResourceIdentity
Attributes
Implements

Constructors

DataCollectionEndpointResourceIdentity()

Creates an new DataCollectionEndpointResourceIdentity instance.

Properties

PrincipalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

TenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

Type

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

UserAssignedIdentity

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataCollectionEndpointResourceIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataCollectionEndpointResourceIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionEndpointResourceIdentity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataCollectionEndpointResourceIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to