Show / Hide Table of Contents

    Class ResourceIdentity

    Azure Active Directory identity configuration for a resource.

    Inheritance
    Object
    ResourceIdentity
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    public class ResourceIdentity

    Constructors

    ResourceIdentity()

    Initializes a new instance of the ResourceIdentity class.

    Declaration
    public ResourceIdentity ();

    ResourceIdentity(Nullable<Guid>, String, Nullable<Guid>)

    Initializes a new instance of the ResourceIdentity class.

    Declaration
    public ResourceIdentity (Nullable<Guid> principalId = null, string type = null, Nullable<Guid> tenantId = null);
    Parameters
    Nullable<Guid> principalId

    The Azure Active Directory principal id.

    String type

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

    Nullable<Guid> tenantId

    The Azure Active Directory tenant id.

    Properties

    PrincipalId

    Gets the Azure Active Directory principal id.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="principalId")]
    public Nullable<Guid> PrincipalId { get; }
    Property Value
    Nullable<Guid>

    TenantId

    Gets the Azure Active Directory tenant id.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="tenantId")]
    public Nullable<Guid> TenantId { get; }
    Property Value
    Nullable<Guid>

    Type

    Gets or sets the identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. Possible values include: 'SystemAssigned'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="type")]
    public string Type { get; set; }
    Property Value
    String

    Back to top Azure SDK for Net