# AgentPoolSnapshotProxy

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

Represents the AgentPoolSnapshot Azure Provisioning model.

## Definition

```typescript
interface AgentPoolSnapshotProxy {
  creationDataSourceResourceId: BicepValueProxy;
  readonly id: BicepValueProxy;
  readonly isFipsEnabled: BicepValueProxy | boolean;
  readonly kubernetesVersion: BicepValueProxy | string;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly nodeImageVersion: BicepValueProxy | string;
  readonly oSSku: BicepValueProxy | ContainerServiceOSSku;
  readonly oSType: BicepValueProxy | ContainerServiceOSType;
  snapshotType: BicepValueProxy | SnapshotType;
  readonly systemData: ContainerServiceSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_ContainerService_Generated_DictionaryOfStringProxy;
  readonly vmSize: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearCreationDataSourceResourceId(): void;
  clearLocation(): void;
  clearName(): void;
  clearSnapshotType(): void;
}
```

## Properties

- `creationDataSourceResourceId`: `BicepValueProxy` `get - set` -- Gets or sets the CreationDataSourceResourceId provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `isFipsEnabled`: `BicepValueProxy | boolean` `get` -- Gets the IsFipsEnabled provisioning property.
- `kubernetesVersion`: `BicepValueProxy | string` `get` -- Gets the KubernetesVersion provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `nodeImageVersion`: `BicepValueProxy | string` `get` -- Gets the NodeImageVersion provisioning property.
- `oSSku`: `BicepValueProxy | ContainerServiceOSSku` `get` -- Gets the OSSku provisioning property.
- `oSType`: `BicepValueProxy | ContainerServiceOSType` `get` -- Gets the OSType provisioning property.
- `snapshotType`: `BicepValueProxy | SnapshotType` `get - set` -- Gets or sets the SnapshotType provisioning property.
- `systemData`: [ContainerServiceSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/containerservicesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_ContainerService_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/aspire-hosting-azure-provisioning-containerservice-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.
- `vmSize`: `BicepValueProxy | string` `get` -- Gets the VmSize provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/agentpoolsnapshotproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearCreationDataSourceResourceId](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/agentpoolsnapshotproxy/clearcreationdatasourceresourceid.md) -- `method` -- Clears the CreationDataSourceResourceId provisioning property.
    ```typescript
  clearCreationDataSourceResourceId(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/agentpoolsnapshotproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/agentpoolsnapshotproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearSnapshotType](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/agentpoolsnapshotproxy/clearsnapshottype.md) -- `method` -- Clears the SnapshotType provisioning property.
    ```typescript
  clearSnapshotType(): void
  ```
