# ManagedClusterAgentPoolProfileProxy.clearSpotMaxPrice

- Module: [Aspire.Hosting.Azure.Provisioning.ContainerService](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice.md)
- Defined on: [ManagedClusterAgentPoolProfileProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/managedclusteragentpoolprofileproxy.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`

Clears the SpotMaxPrice provisioning property.

## Definition

```typescript
interface ManagedClusterAgentPoolProfileProxy {
  // ... omitted for brevity
  clearSpotMaxPrice(): void;
}
```

## Signature

```typescript
clearSpotMaxPrice(): void
```

## Defined on

- [ManagedClusterAgentPoolProfileProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/managedclusteragentpoolprofileproxy.md) -- `handle`
