# BlobContainerProxy

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

Represents the BlobContainer Azure Provisioning model.

## Definition

```typescript
interface BlobContainerProxy {
  defaultEncryptionScope: BicepValueProxy | string;
  readonly deletedOn: BicepValueProxy | datetimeoffset;
  enableNfsV3AllSquash: BicepValueProxy | boolean;
  enableNfsV3RootSquash: BicepValueProxy | boolean;
  readonly eTag: BicepValueProxy;
  readonly hasImmutabilityPolicy: BicepValueProxy | boolean;
  readonly hasLegalHold: BicepValueProxy | boolean;
  readonly id: BicepValueProxy;
  readonly immutabilityPolicy: BlobContainerImmutabilityPolicyProxy;
  immutableStorageWithVersioning: ImmutableStorageWithVersioningProxy;
  readonly isDeleted: BicepValueProxy | boolean;
  readonly lastModifiedOn: BicepValueProxy | datetimeoffset;
  readonly leaseDuration: BicepValueProxy | StorageLeaseDurationType;
  readonly leaseState: BicepValueProxy | StorageLeaseState;
  readonly leaseStatus: BicepValueProxy | StorageLeaseStatus;
  readonly legalHold: LegalHoldPropertiesProxy;
  metadata: Aspire_Hosting_Azure_Provisioning_Storage_Generated_DictionaryOfStringProxy;
  name: BicepValueProxy | string;
  parent: BlobServiceProxy;
  preventEncryptionScopeOverride: BicepValueProxy | boolean;
  publicAccess: BicepValueProxy | StoragePublicAccessType;
  readonly remainingRetentionDays: BicepValueProxy | number;
  readonly systemData: StorageSystemDataProxy;
  readonly version: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearDefaultEncryptionScope(): void;
  clearEnableNfsV3AllSquash(): void;
  clearEnableNfsV3RootSquash(): void;
  clearName(): void;
  clearPreventEncryptionScopeOverride(): void;
  clearPublicAccess(): void;
}
```

## Properties

- `defaultEncryptionScope`: `BicepValueProxy | string` `get - set` -- Gets or sets the DefaultEncryptionScope provisioning property.
- `deletedOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the DeletedOn provisioning property.
- `enableNfsV3AllSquash`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnableNfsV3AllSquash provisioning property.
- `enableNfsV3RootSquash`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnableNfsV3RootSquash provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `hasImmutabilityPolicy`: `BicepValueProxy | boolean` `get` -- Gets the HasImmutabilityPolicy provisioning property.
- `hasLegalHold`: `BicepValueProxy | boolean` `get` -- Gets the HasLegalHold provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `immutabilityPolicy`: [BlobContainerImmutabilityPolicyProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/blobcontainerimmutabilitypolicyproxy.md) `get` -- Gets the ImmutabilityPolicy provisioning property.
- `immutableStorageWithVersioning`: [ImmutableStorageWithVersioningProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/immutablestoragewithversioningproxy.md) `get - set` -- Gets or sets the ImmutableStorageWithVersioning provisioning property.
- `isDeleted`: `BicepValueProxy | boolean` `get` -- Gets the IsDeleted provisioning property.
- `lastModifiedOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the LastModifiedOn provisioning property.
- `leaseDuration`: `BicepValueProxy | StorageLeaseDurationType` `get` -- Gets the LeaseDuration provisioning property.
- `leaseState`: `BicepValueProxy | StorageLeaseState` `get` -- Gets the LeaseState provisioning property.
- `leaseStatus`: `BicepValueProxy | StorageLeaseStatus` `get` -- Gets the LeaseStatus provisioning property.
- `legalHold`: [LegalHoldPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/legalholdpropertiesproxy.md) `get` -- Gets the LegalHold provisioning property.
- `metadata`: [Aspire_Hosting_Azure_Provisioning_Storage_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/aspire-hosting-azure-provisioning-storage-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Metadata provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [BlobServiceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/blobserviceproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `preventEncryptionScopeOverride`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the PreventEncryptionScopeOverride provisioning property.
- `publicAccess`: `BicepValueProxy | StoragePublicAccessType` `get - set` -- Gets or sets the PublicAccess provisioning property.
- `remainingRetentionDays`: `BicepValueProxy | number` `get` -- Gets the RemainingRetentionDays provisioning property.
- `systemData`: [StorageSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storagesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `version`: `BicepValueProxy | string` `get` -- Gets the Version provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/blobcontainerproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearDefaultEncryptionScope](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/blobcontainerproxy/cleardefaultencryptionscope.md) -- `method` -- Clears the DefaultEncryptionScope provisioning property.
    ```typescript
  clearDefaultEncryptionScope(): void
  ```
- [clearEnableNfsV3AllSquash](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/blobcontainerproxy/clearenablenfsv3allsquash.md) -- `method` -- Clears the EnableNfsV3AllSquash provisioning property.
    ```typescript
  clearEnableNfsV3AllSquash(): void
  ```
- [clearEnableNfsV3RootSquash](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/blobcontainerproxy/clearenablenfsv3rootsquash.md) -- `method` -- Clears the EnableNfsV3RootSquash provisioning property.
    ```typescript
  clearEnableNfsV3RootSquash(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/blobcontainerproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPreventEncryptionScopeOverride](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/blobcontainerproxy/clearpreventencryptionscopeoverride.md) -- `method` -- Clears the PreventEncryptionScopeOverride provisioning property.
    ```typescript
  clearPreventEncryptionScopeOverride(): void
  ```
- [clearPublicAccess](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/blobcontainerproxy/clearpublicaccess.md) -- `method` -- Clears the PublicAccess provisioning property.
    ```typescript
  clearPublicAccess(): void
  ```
