DatabasePrincipalAssignment interface

Class representing a database principal assignment.

Extends

Properties

aadObjectId

The service principal object id in AAD (Azure active directory) NOTE: This property will not be serialized. It can only be populated by the server.

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 NOTE: This property will not be serialized. It can only be populated by the server.

principalType

Principal type.

provisioningState

The provisioned state of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

role

Database principal role.

tenantId

The tenant id of the principal

tenantName

The tenant name of the principal NOTE: This property will not be serialized. It can only be populated by the server.

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

aadObjectId

The service principal object id in AAD (Azure active directory) NOTE: This property will not be serialized. It can only be populated by the server.

aadObjectId?: string

Property Value

string

principalId

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

principalId?: string

Property Value

string

principalName

The principal name NOTE: This property will not be serialized. It can only be populated by the server.

principalName?: string

Property Value

string

principalType

Principal type.

principalType?: string

Property Value

string

provisioningState

The provisioned state of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

role

Database principal role.

role?: string

Property Value

string

tenantId

The tenant id of the principal

tenantId?: string

Property Value

string

tenantName

The tenant name of the principal NOTE: This property will not be serialized. It can only be populated by the server.

tenantName?: string

Property Value

string

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ProxyResource.name

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ProxyResource.type