Share via


ResourceIdentity Class

Definition

Azure Active Directory identity configuration for a resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.ResourceIdentityTypeConverter))]
public class ResourceIdentity : Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IResourceIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.ResourceIdentityTypeConverter))>]
type ResourceIdentity = class
    interface IResourceIdentity
    interface IJsonSerializable
Public Class ResourceIdentity
Implements IResourceIdentity
Inheritance
ResourceIdentity
Attributes
Implements

Constructors

ResourceIdentity()

Creates an new ResourceIdentity instance.

Properties

PrincipalId

The Azure Active Directory principal id.

TenantId

The Azure Active Directory tenant id.

Type

The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IResourceIdentity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to