# KeyVaultResourceTypeProxy

- Module: [Aspire.Hosting.Azure.Provisioning.KeyVault](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault.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 KeyVaultResourceTypeProxy {
  readonly namespace: string;
  readonly type: string;
  compareTo(other: KeyVaultResourceTypeProxy): 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.keyvault/keyvaultresourcetypeproxy/compareto.md) -- `method` -- Invokes CompareTo on the ResourceType provisioning model.
    ```typescript
  compareTo(other: KeyVaultResourceTypeProxy): number
  ```
- [getLastType](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultresourcetypeproxy/getlasttype.md) -- `method` -- Invokes GetLastType on the ResourceType provisioning model.
    ```typescript
  getLastType(): string
  ```
