Udostępnij za pośrednictwem


DatabasePrincipalAssignment Class

Definition

Class representing a database principal assignment.

[Microsoft.Rest.Serialization.JsonTransformation]
public class DatabasePrincipalAssignment : Microsoft.Azure.Management.Kusto.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type DatabasePrincipalAssignment = class
    inherit ProxyResource
Public Class DatabasePrincipalAssignment
Inherits ProxyResource
Inheritance
DatabasePrincipalAssignment
Attributes

Constructors

DatabasePrincipalAssignment()

Initializes a new instance of the DatabasePrincipalAssignment class.

DatabasePrincipalAssignment(String, String, String, String, String, String, String, String, String, String, String)

Initializes a new instance of the DatabasePrincipalAssignment class.

Properties

AadObjectId

Gets the service principal object id in AAD (Azure active directory)

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
Name

Gets the name of the resource

(Inherited from Resource)
PrincipalId

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

PrincipalName

Gets the principal name

PrincipalType

Gets or sets principal type. Possible values include: 'App', 'Group', 'User'

ProvisioningState

Gets the provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'

Role

Gets or sets database principal role. Possible values include: 'Admin', 'Ingestor', 'Monitor', 'User', 'UnrestrictedViewer', 'Viewer'

TenantId

Gets or sets the tenant id of the principal

TenantName

Gets the tenant name of the principal

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to