Dela via


ClusterPrincipalAssignment Class

Definition

Class representing a cluster principal assignment.

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

Constructors

ClusterPrincipalAssignment()

Initializes a new instance of the ClusterPrincipalAssignment class.

ClusterPrincipalAssignment(String, String, String, String, String, String, String, String, String, String, String)

Initializes a new instance of the ClusterPrincipalAssignment 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 cluster 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 cluster principal role. Possible values include: 'AllDatabasesAdmin', 'AllDatabasesViewer'

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