# ManagedHsmProxy

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

Represents the ManagedHsm Azure Provisioning model.

## Definition

```typescript
interface ManagedHsmProxy {
  readonly id: BicepValueProxy;
  identity: KeyVaultManagedServiceIdentityProxy;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  properties: ManagedHsmPropertiesProxy;
  sku: ManagedHsmSkuProxy;
  readonly systemData: KeyVaultSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_KeyVault_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearLocation(): void;
  clearName(): void;
}
```

## Properties

- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `identity`: [KeyVaultManagedServiceIdentityProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultmanagedserviceidentityproxy.md) `get - set` -- Gets or sets the Identity 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.
- `properties`: [ManagedHsmPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/managedhsmpropertiesproxy.md) `get - set` -- Gets or sets the Properties provisioning property.
- `sku`: [ManagedHsmSkuProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/managedhsmskuproxy.md) `get - set` -- Gets or sets the Sku provisioning property.
- `systemData`: [KeyVaultSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_KeyVault_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/aspire-hosting-azure-provisioning-keyvault-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/managedhsmproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/managedhsmproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/managedhsmproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
