Partilhar via


DatabasePrincipalProperties Class

Definition

A class representing database principal property.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.DatabasePrincipalPropertiesTypeConverter))]
public class DatabasePrincipalProperties : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.IDatabasePrincipalProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.DatabasePrincipalPropertiesTypeConverter))>]
type DatabasePrincipalProperties = class
    interface IDatabasePrincipalProperties
    interface IJsonSerializable
Public Class DatabasePrincipalProperties
Implements IDatabasePrincipalProperties
Inheritance
DatabasePrincipalProperties
Attributes
Implements

Constructors

DatabasePrincipalProperties()

Creates an new DatabasePrincipalProperties instance.

Properties

AadObjectId

The service principal object id in AAD (Azure active directory)

PrincipalId

The principal ID assigned to the database principal. It can be a user email, application ID, or security group name.

PrincipalName

The principal name

PrincipalType

Principal type.

ProvisioningState

The provisioned state of the resource.

Role

Database principal role.

TenantId

The tenant id of the principal

TenantName

The tenant name of the principal

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatabasePrincipalProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabasePrincipalProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.IDatabasePrincipalProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabasePrincipalProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to