Udostępnij za pośrednictwem


DatabasePrincipalProperties Class

Definition

A class representing database principal property.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Synapse.Models.Api20210601Preview.DatabasePrincipalPropertiesTypeConverter))]
public class DatabasePrincipalProperties : Microsoft.Azure.PowerShell.Cmdlets.Synapse.Models.Api20210601Preview.IDatabasePrincipalProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Synapse.Models.Api20210601Preview.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

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.Synapse.Models.Api20210601Preview.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