# SessionContainerProxy

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

Represents the SessionContainer Azure Provisioning model.

## Definition

```typescript
interface SessionContainerProxy {
  args: Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfStringProxy;
  command: Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfStringProxy;
  env: Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfContainerAppEnvironmentVariableProxy;
  image: BicepValueProxy | string;
  name: BicepValueProxy | string;
  resources: SessionContainerResourcesProxy;
  clearImage(): void;
  clearName(): void;
}
```

## Properties

- `args`: [Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/aspire-hosting-azure-provisioning-appcontainers-generated-listofstringproxy.md) `get - set` -- Gets or sets the Args provisioning property.
- `command`: [Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/aspire-hosting-azure-provisioning-appcontainers-generated-listofstringproxy.md) `get - set` -- Gets or sets the Command provisioning property.
- `env`: [Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfContainerAppEnvironmentVariableProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/aspire-hosting-azure-provisioning-appcontainers-generated-listofcontainerappenvironmentvariableproxy.md) `get - set` -- Gets or sets the Env provisioning property.
- `image`: `BicepValueProxy | string` `get - set` -- Gets or sets the Image provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `resources`: [SessionContainerResourcesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/sessioncontainerresourcesproxy.md) `get - set` -- Gets or sets the Resources provisioning property.

## Methods

- [clearImage](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/sessioncontainerproxy/clearimage.md) -- `method` -- Clears the Image provisioning property.
    ```typescript
  clearImage(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/sessioncontainerproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
