Share via


KustoDatabasePrincipalAssignmentData Class

Definition

A class representing the KustoDatabasePrincipalAssignment data model.

public class KustoDatabasePrincipalAssignmentData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Kusto.KustoDatabasePrincipalAssignmentData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Kusto.KustoDatabasePrincipalAssignmentData>
type KustoDatabasePrincipalAssignmentData = class
    inherit ResourceData
    interface IJsonModel<KustoDatabasePrincipalAssignmentData>
    interface IPersistableModel<KustoDatabasePrincipalAssignmentData>
Public Class KustoDatabasePrincipalAssignmentData
Inherits ResourceData
Implements IJsonModel(Of KustoDatabasePrincipalAssignmentData), IPersistableModel(Of KustoDatabasePrincipalAssignmentData)
Inheritance
KustoDatabasePrincipalAssignmentData
Implements

Constructors

KustoDatabasePrincipalAssignmentData()

Initializes a new instance of KustoDatabasePrincipalAssignmentData.

Properties

AadObjectId

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

DatabasePrincipalId

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

Id

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

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
PrincipalName

The principal name.

PrincipalType

Principal type.

ProvisioningState

The provisioned state of the resource.

ResourceType

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

(Inherited from ResourceData)
Role

Database principal role.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TenantId

The tenant id of the principal.

TenantName

The tenant name of the principal.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KustoDatabasePrincipalAssignmentData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<KustoDatabasePrincipalAssignmentData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KustoDatabasePrincipalAssignmentData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KustoDatabasePrincipalAssignmentData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<KustoDatabasePrincipalAssignmentData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to