# VpnLinkConnectionSharedKeyPropertiesProxy

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

Represents the VpnLinkConnectionSharedKeyProperties Azure Provisioning model.

## Definition

```typescript
interface VpnLinkConnectionSharedKeyPropertiesProxy {
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  sharedKey: BicepValueProxy | string;
  sharedKeyLength: BicepValueProxy | number;
  clearSharedKey(): void;
  clearSharedKeyLength(): void;
}
```

## Properties

- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `sharedKey`: `BicepValueProxy | string` `get - set` -- Gets or sets the SharedKey provisioning property.
- `sharedKeyLength`: `BicepValueProxy | number` `get - set` -- Gets or sets the SharedKeyLength provisioning property.

## Methods

- [clearSharedKey](/reference/api/typescript/aspire.hosting.azure.provisioning.network/vpnlinkconnectionsharedkeypropertiesproxy/clearsharedkey.md) -- `method` -- Clears the SharedKey provisioning property.
    ```typescript
  clearSharedKey(): void
  ```
- [clearSharedKeyLength](/reference/api/typescript/aspire.hosting.azure.provisioning.network/vpnlinkconnectionsharedkeypropertiesproxy/clearsharedkeylength.md) -- `method` -- Clears the SharedKeyLength provisioning property.
    ```typescript
  clearSharedKeyLength(): void
  ```
