# OperationalInsightsClusterProxy

- Module: [Aspire.Hosting.Azure.Provisioning.OperationalInsights](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the OperationalInsightsCluster Azure Provisioning model.

## Definition

```typescript
interface OperationalInsightsClusterProxy {
  associatedWorkspaces: Aspire_Hosting_Azure_Provisioning_OperationalInsights_Generated_ListOfOperationalInsightsClusterAssociatedWorkspaceProxy;
  billingType: BicepValueProxy | OperationalInsightsBillingType;
  capacityReservationProperties: OperationalInsightsCapacityReservationPropertiesProxy;
  readonly clusterId: BicepValueProxy | guid;
  readonly createdOn: BicepValueProxy | datetimeoffset;
  readonly id: BicepValueProxy;
  identity: OperationalInsightsManagedServiceIdentityProxy;
  isAvailabilityZonesEnabled: BicepValueProxy | boolean;
  isDoubleEncryptionEnabled: BicepValueProxy | boolean;
  keyVaultProperties: OperationalInsightsKeyVaultPropertiesProxy;
  readonly lastModifiedOn: BicepValueProxy | datetimeoffset;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly provisioningState: BicepValueProxy | OperationalInsightsClusterEntityStatus;
  replication: OperationalInsightsClusterReplicationPropertiesProxy;
  sku: OperationalInsightsClusterSkuProxy;
  readonly systemData: OperationalInsightsSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_OperationalInsights_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearBillingType(): void;
  clearIsAvailabilityZonesEnabled(): void;
  clearIsDoubleEncryptionEnabled(): void;
  clearLocation(): void;
  clearName(): void;
}
```

## Properties

- `associatedWorkspaces`: [Aspire_Hosting_Azure_Provisioning_OperationalInsights_Generated_ListOfOperationalInsightsClusterAssociatedWorkspaceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/aspire-hosting-azure-provisioning-operationalinsights-generated-listofoperationalinsightsclusterassociatedworkspaceproxy.md) `get - set` -- Gets or sets the AssociatedWorkspaces provisioning property.
- `billingType`: `BicepValueProxy | OperationalInsightsBillingType` `get - set` -- Gets or sets the BillingType provisioning property.
- `capacityReservationProperties`: [OperationalInsightsCapacityReservationPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightscapacityreservationpropertiesproxy.md) `get - set` -- Gets or sets the CapacityReservationProperties provisioning property.
- `clusterId`: `BicepValueProxy | guid` `get` -- Gets the ClusterId provisioning property.
- `createdOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the CreatedOn provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `identity`: [OperationalInsightsManagedServiceIdentityProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightsmanagedserviceidentityproxy.md) `get - set` -- Gets or sets the Identity provisioning property.
- `isAvailabilityZonesEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsAvailabilityZonesEnabled provisioning property.
- `isDoubleEncryptionEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsDoubleEncryptionEnabled provisioning property.
- `keyVaultProperties`: [OperationalInsightsKeyVaultPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightskeyvaultpropertiesproxy.md) `get - set` -- Gets or sets the KeyVaultProperties provisioning property.
- `lastModifiedOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the LastModifiedOn provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `provisioningState`: `BicepValueProxy | OperationalInsightsClusterEntityStatus` `get` -- Gets the ProvisioningState provisioning property.
- `replication`: [OperationalInsightsClusterReplicationPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightsclusterreplicationpropertiesproxy.md) `get - set` -- Gets or sets the Replication provisioning property.
- `sku`: [OperationalInsightsClusterSkuProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightsclusterskuproxy.md) `get - set` -- Gets or sets the Sku provisioning property.
- `systemData`: [OperationalInsightsSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightssystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_OperationalInsights_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/aspire-hosting-azure-provisioning-operationalinsights-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightsclusterproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearBillingType](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightsclusterproxy/clearbillingtype.md) -- `method` -- Clears the BillingType provisioning property.
    ```typescript
  clearBillingType(): void
  ```
- [clearIsAvailabilityZonesEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightsclusterproxy/clearisavailabilityzonesenabled.md) -- `method` -- Clears the IsAvailabilityZonesEnabled provisioning property.
    ```typescript
  clearIsAvailabilityZonesEnabled(): void
  ```
- [clearIsDoubleEncryptionEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightsclusterproxy/clearisdoubleencryptionenabled.md) -- `method` -- Clears the IsDoubleEncryptionEnabled provisioning property.
    ```typescript
  clearIsDoubleEncryptionEnabled(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightsclusterproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightsclusterproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
