DataCollectionRuleResourceIdentity Class

Definition

Managed service identity of the resource.

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

Constructors

DataCollectionRuleResourceIdentity()

Creates an new DataCollectionRuleResourceIdentity 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 DataCollectionRuleResourceIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataCollectionRuleResourceIdentity.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataCollectionRuleResourceIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to