# GeoBackupPolicyProxy

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

Represents the GeoBackupPolicy Azure Provisioning model.

## Definition

```typescript
interface GeoBackupPolicyProxy {
  geoBackupPolicyState: BicepValueProxy | GeoBackupPolicyState;
  readonly id: BicepValueProxy;
  readonly kind: BicepValueProxy | string;
  readonly location: BicepValueProxy;
  readonly name: BicepValueProxy | string;
  parent: SqlDatabaseProxy;
  state: BicepValueProxy | GeoBackupPolicyState;
  readonly storageType: BicepValueProxy | string;
  readonly systemData: SqlSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearGeoBackupPolicyState(): void;
  clearState(): void;
}
```

## Properties

- `geoBackupPolicyState`: `BicepValueProxy | GeoBackupPolicyState` `get - set` -- Gets or sets the GeoBackupPolicyState provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `kind`: `BicepValueProxy | string` `get` -- Gets the Kind provisioning property.
- `location`: `BicepValueProxy` `get` -- Gets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get` -- Gets the Name provisioning property.
- `parent`: [SqlDatabaseProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqldatabaseproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `state`: `BicepValueProxy | GeoBackupPolicyState` `get - set` -- Gets or sets the State provisioning property.
- `storageType`: `BicepValueProxy | string` `get` -- Gets the StorageType provisioning property.
- `systemData`: [SqlSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/geobackuppolicyproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearGeoBackupPolicyState](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/geobackuppolicyproxy/cleargeobackuppolicystate.md) -- `method` -- Clears the GeoBackupPolicyState provisioning property.
    ```typescript
  clearGeoBackupPolicyState(): void
  ```
- [clearState](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/geobackuppolicyproxy/clearstate.md) -- `method` -- Clears the State provisioning property.
    ```typescript
  clearState(): void
  ```
