# StorageAccountManagementPolicyProxy

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

Represents the StorageAccountManagementPolicy Azure Provisioning model.

## Definition

```typescript
interface StorageAccountManagementPolicyProxy {
  readonly id: BicepValueProxy;
  readonly lastModifiedOn: BicepValueProxy | datetimeoffset;
  readonly name: BicepValueProxy | string;
  parent: StorageAccountProxy;
  rules: Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfManagementPolicyRuleProxy;
  readonly systemData: StorageSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
}
```

## Properties

- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `lastModifiedOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the LastModifiedOn provisioning property.
- `name`: `BicepValueProxy | string` `get` -- Gets the Name provisioning property.
- `parent`: [StorageAccountProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `rules`: [Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfManagementPolicyRuleProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/aspire-hosting-azure-provisioning-storage-generated-listofmanagementpolicyruleproxy.md) `get - set` -- Gets or sets the Rules provisioning property.
- `systemData`: [StorageSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storagesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountmanagementpolicyproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
