# OperationalInsightsResourceTypeProxy

- 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 ResourceType Azure Provisioning model.

## Definition

```typescript
interface OperationalInsightsResourceTypeProxy {
  readonly namespace: string;
  readonly type: string;
  compareTo(other: OperationalInsightsResourceTypeProxy): number;
  getLastType(): string;
}
```

## Properties

- `namespace`: `string` `get` -- Gets the Namespace provisioning property.
- `type`: `string` `get` -- Gets the Type provisioning property.

## Methods

- [compareTo](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightsresourcetypeproxy/compareto.md) -- `method` -- Invokes CompareTo on the ResourceType provisioning model.
    ```typescript
  compareTo(other: OperationalInsightsResourceTypeProxy): number
  ```
- [getLastType](/reference/api/typescript/aspire.hosting.azure.provisioning.operationalinsights/operationalinsightsresourcetypeproxy/getlasttype.md) -- `method` -- Invokes GetLastType on the ResourceType provisioning model.
    ```typescript
  getLastType(): string
  ```
