Share via


IResourceIdentity Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.ResourceIdentityTypeConverter))]
public interface IResourceIdentity : Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.ResourceIdentityTypeConverter))>]
type IResourceIdentity = interface
    interface IJsonSerializable
Public Interface IResourceIdentity
Implements IJsonSerializable
Derived
Attributes
Implements

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to