# KeyVaultPropertiesProxy

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

## Definition

```typescript
interface KeyVaultPropertiesProxy {
  accessPolicies: Aspire_Hosting_Azure_Provisioning_KeyVault_Generated_ListOfKeyVaultAccessPolicyProxy;
  createMode: BicepValueProxy | KeyVaultCreateMode;
  enabledForDeployment: BicepValueProxy | boolean;
  enabledForDiskEncryption: BicepValueProxy | boolean;
  enabledForTemplateDeployment: BicepValueProxy | boolean;
  enablePurgeProtection: BicepValueProxy | boolean;
  enableRbacAuthorization: BicepValueProxy | boolean;
  enableSoftDelete: BicepValueProxy | boolean;
  readonly hsmPoolResourceId: BicepValueProxy | string;
  networkRuleSet: KeyVaultNetworkRuleSetProxy;
  readonly privateEndpointConnections: Aspire_Hosting_Azure_Provisioning_KeyVault_Generated_ListOfKeyVaultPrivateEndpointConnectionItemDataProxy;
  provisioningState: BicepValueProxy | KeyVaultProvisioningState;
  publicNetworkAccess: BicepValueProxy | string;
  sku: KeyVaultSkuProxy;
  softDeleteRetentionInDays: BicepValueProxy | number;
  tenantId: BicepValueProxy | guid;
  vaultUri: BicepValueProxy | uri;
  clearCreateMode(): void;
  clearEnabledForDeployment(): void;
  clearEnabledForDiskEncryption(): void;
  clearEnabledForTemplateDeployment(): void;
  clearEnablePurgeProtection(): void;
  clearEnableRbacAuthorization(): void;
  clearEnableSoftDelete(): void;
  clearProvisioningState(): void;
  clearPublicNetworkAccess(): void;
  clearSoftDeleteRetentionInDays(): void;
  clearTenantId(): void;
  clearVaultUri(): void;
}
```

## Properties

- `accessPolicies`: [Aspire_Hosting_Azure_Provisioning_KeyVault_Generated_ListOfKeyVaultAccessPolicyProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/aspire-hosting-azure-provisioning-keyvault-generated-listofkeyvaultaccesspolicyproxy.md) `get - set` -- Gets or sets the AccessPolicies provisioning property.
- `createMode`: `BicepValueProxy | KeyVaultCreateMode` `get - set` -- Gets or sets the CreateMode provisioning property.
- `enabledForDeployment`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnabledForDeployment provisioning property.
- `enabledForDiskEncryption`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnabledForDiskEncryption provisioning property.
- `enabledForTemplateDeployment`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnabledForTemplateDeployment provisioning property.
- `enablePurgeProtection`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnablePurgeProtection provisioning property.
- `enableRbacAuthorization`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnableRbacAuthorization provisioning property.
- `enableSoftDelete`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnableSoftDelete provisioning property.
- `hsmPoolResourceId`: `BicepValueProxy | string` `get` -- Gets the HsmPoolResourceId provisioning property.
- `networkRuleSet`: [KeyVaultNetworkRuleSetProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultnetworkrulesetproxy.md) `get - set` -- Gets or sets the NetworkRuleSet provisioning property.
- `privateEndpointConnections`: [Aspire_Hosting_Azure_Provisioning_KeyVault_Generated_ListOfKeyVaultPrivateEndpointConnectionItemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/aspire-hosting-azure-provisioning-keyvault-generated-listofkeyvaultprivateendpointconnectionitemdataproxy.md) `get` -- Gets the PrivateEndpointConnections provisioning property.
- `provisioningState`: `BicepValueProxy | KeyVaultProvisioningState` `get - set` -- Gets or sets the ProvisioningState provisioning property.
- `publicNetworkAccess`: `BicepValueProxy | string` `get - set` -- Gets or sets the PublicNetworkAccess provisioning property.
- `sku`: [KeyVaultSkuProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultskuproxy.md) `get - set` -- Gets or sets the Sku provisioning property.
- `softDeleteRetentionInDays`: `BicepValueProxy | number` `get - set` -- Gets or sets the SoftDeleteRetentionInDays provisioning property.
- `tenantId`: `BicepValueProxy | guid` `get - set` -- Gets or sets the TenantId provisioning property.
- `vaultUri`: `BicepValueProxy | uri` `get - set` -- Gets or sets the VaultUri provisioning property.

## Methods

- [clearCreateMode](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/clearcreatemode.md) -- `method` -- Clears the CreateMode provisioning property.
    ```typescript
  clearCreateMode(): void
  ```
- [clearEnabledForDeployment](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/clearenabledfordeployment.md) -- `method` -- Clears the EnabledForDeployment provisioning property.
    ```typescript
  clearEnabledForDeployment(): void
  ```
- [clearEnabledForDiskEncryption](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/clearenabledfordiskencryption.md) -- `method` -- Clears the EnabledForDiskEncryption provisioning property.
    ```typescript
  clearEnabledForDiskEncryption(): void
  ```
- [clearEnabledForTemplateDeployment](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/clearenabledfortemplatedeployment.md) -- `method` -- Clears the EnabledForTemplateDeployment provisioning property.
    ```typescript
  clearEnabledForTemplateDeployment(): void
  ```
- [clearEnablePurgeProtection](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/clearenablepurgeprotection.md) -- `method` -- Clears the EnablePurgeProtection provisioning property.
    ```typescript
  clearEnablePurgeProtection(): void
  ```
- [clearEnableRbacAuthorization](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/clearenablerbacauthorization.md) -- `method` -- Clears the EnableRbacAuthorization provisioning property.
    ```typescript
  clearEnableRbacAuthorization(): void
  ```
- [clearEnableSoftDelete](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/clearenablesoftdelete.md) -- `method` -- Clears the EnableSoftDelete provisioning property.
    ```typescript
  clearEnableSoftDelete(): void
  ```
- [clearProvisioningState](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/clearprovisioningstate.md) -- `method` -- Clears the ProvisioningState provisioning property.
    ```typescript
  clearProvisioningState(): void
  ```
- [clearPublicNetworkAccess](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/clearpublicnetworkaccess.md) -- `method` -- Clears the PublicNetworkAccess provisioning property.
    ```typescript
  clearPublicNetworkAccess(): void
  ```
- [clearSoftDeleteRetentionInDays](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/clearsoftdeleteretentionindays.md) -- `method` -- Clears the SoftDeleteRetentionInDays provisioning property.
    ```typescript
  clearSoftDeleteRetentionInDays(): void
  ```
- [clearTenantId](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/cleartenantid.md) -- `method` -- Clears the TenantId provisioning property.
    ```typescript
  clearTenantId(): void
  ```
- [clearVaultUri](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/keyvaultpropertiesproxy/clearvaulturi.md) -- `method` -- Clears the VaultUri provisioning property.
    ```typescript
  clearVaultUri(): void
  ```
