# KustoClusterPrincipalAssignmentProxy

- Module: [Aspire.Hosting.Azure.Provisioning.Kusto](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the KustoClusterPrincipalAssignment Azure Provisioning model.

## Definition

```typescript
interface KustoClusterPrincipalAssignmentProxy {
  readonly aadObjectId: BicepValueProxy | guid;
  clusterPrincipalId: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: KustoClusterProxy;
  readonly principalName: BicepValueProxy | string;
  principalType: BicepValueProxy | KustoPrincipalAssignmentType;
  readonly provisioningState: BicepValueProxy | KustoProvisioningState;
  role: BicepValueProxy | KustoClusterPrincipalRole;
  readonly systemData: KustoSystemDataProxy;
  tenantId: BicepValueProxy | guid;
  readonly tenantName: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearClusterPrincipalId(): void;
  clearName(): void;
  clearPrincipalType(): void;
  clearRole(): void;
  clearTenantId(): void;
}
```

## Properties

- `aadObjectId`: `BicepValueProxy | guid` `get` -- Gets the AadObjectId provisioning property.
- `clusterPrincipalId`: `BicepValueProxy | string` `get - set` -- Gets or sets the ClusterPrincipalId provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [KustoClusterProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoclusterproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `principalName`: `BicepValueProxy | string` `get` -- Gets the PrincipalName provisioning property.
- `principalType`: `BicepValueProxy | KustoPrincipalAssignmentType` `get - set` -- Gets or sets the PrincipalType provisioning property.
- `provisioningState`: `BicepValueProxy | KustoProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `role`: `BicepValueProxy | KustoClusterPrincipalRole` `get - set` -- Gets or sets the Role provisioning property.
- `systemData`: [KustoSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustosystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tenantId`: `BicepValueProxy | guid` `get - set` -- Gets or sets the TenantId provisioning property.
- `tenantName`: `BicepValueProxy | string` `get` -- Gets the TenantName provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoclusterprincipalassignmentproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearClusterPrincipalId](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoclusterprincipalassignmentproxy/clearclusterprincipalid.md) -- `method` -- Clears the ClusterPrincipalId provisioning property.
    ```typescript
  clearClusterPrincipalId(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoclusterprincipalassignmentproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPrincipalType](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoclusterprincipalassignmentproxy/clearprincipaltype.md) -- `method` -- Clears the PrincipalType provisioning property.
    ```typescript
  clearPrincipalType(): void
  ```
- [clearRole](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoclusterprincipalassignmentproxy/clearrole.md) -- `method` -- Clears the Role provisioning property.
    ```typescript
  clearRole(): void
  ```
- [clearTenantId](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoclusterprincipalassignmentproxy/cleartenantid.md) -- `method` -- Clears the TenantId provisioning property.
    ```typescript
  clearTenantId(): void
  ```
