# AppConfigurationSnapshotProxy

- Module: [Aspire.Hosting.Azure.Provisioning.AppConfiguration](/reference/api/typescript/aspire.hosting.azure.provisioning.appconfiguration.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the AppConfigurationSnapshot Azure Provisioning model.

## Definition

```typescript
interface AppConfigurationSnapshotProxy {
  compositionType: BicepValueProxy | SnapshotCompositionType;
  readonly createdOn: BicepValueProxy | datetimeoffset;
  readonly eTag: BicepValueProxy;
  readonly expireOn: BicepValueProxy | datetimeoffset;
  filters: Aspire_Hosting_Azure_Provisioning_AppConfiguration_Generated_ListOfSnapshotKeyValueFilterProxy;
  readonly id: BicepValueProxy;
  readonly itemsCount: BicepValueProxy | number;
  name: BicepValueProxy | string;
  parent: AppConfigurationStoreProxy;
  readonly provisioningState: BicepValueProxy | AppConfigurationProvisioningState;
  retentionPeriod: BicepValueProxy | number;
  readonly size: BicepValueProxy | number;
  readonly snapshotType: BicepValueProxy | string;
  readonly status: BicepValueProxy | AppConfigurationSnapshotStatus;
  readonly systemData: AppConfigurationSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_AppConfiguration_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearCompositionType(): void;
  clearName(): void;
  clearRetentionPeriod(): void;
}
```

## Properties

- `compositionType`: `BicepValueProxy | SnapshotCompositionType` `get - set` -- Gets or sets the CompositionType provisioning property.
- `createdOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the CreatedOn provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `expireOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the ExpireOn provisioning property.
- `filters`: [Aspire_Hosting_Azure_Provisioning_AppConfiguration_Generated_ListOfSnapshotKeyValueFilterProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appconfiguration/aspire-hosting-azure-provisioning-appconfiguration-generated-listofsnapshotkeyvaluefilterproxy.md) `get - set` -- Gets or sets the Filters provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `itemsCount`: `BicepValueProxy | number` `get` -- Gets the ItemsCount provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [AppConfigurationStoreProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appconfiguration/appconfigurationstoreproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `provisioningState`: `BicepValueProxy | AppConfigurationProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `retentionPeriod`: `BicepValueProxy | number` `get - set` -- Gets or sets the RetentionPeriod provisioning property.
- `size`: `BicepValueProxy | number` `get` -- Gets the Size provisioning property.
- `snapshotType`: `BicepValueProxy | string` `get` -- Gets the SnapshotType provisioning property.
- `status`: `BicepValueProxy | AppConfigurationSnapshotStatus` `get` -- Gets the Status provisioning property.
- `systemData`: [AppConfigurationSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appconfiguration/appconfigurationsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_AppConfiguration_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appconfiguration/aspire-hosting-azure-provisioning-appconfiguration-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.appconfiguration/appconfigurationsnapshotproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearCompositionType](/reference/api/typescript/aspire.hosting.azure.provisioning.appconfiguration/appconfigurationsnapshotproxy/clearcompositiontype.md) -- `method` -- Clears the CompositionType provisioning property.
    ```typescript
  clearCompositionType(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.appconfiguration/appconfigurationsnapshotproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearRetentionPeriod](/reference/api/typescript/aspire.hosting.azure.provisioning.appconfiguration/appconfigurationsnapshotproxy/clearretentionperiod.md) -- `method` -- Clears the RetentionPeriod provisioning property.
    ```typescript
  clearRetentionPeriod(): void
  ```
