# QueueServiceProxy

- 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 QueueService Azure Provisioning model.

## Definition

```typescript
interface QueueServiceProxy {
  corsRules: Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStorageCorsRuleProxy;
  readonly id: BicepValueProxy;
  readonly name: BicepValueProxy | string;
  parent: StorageAccountProxy;
  readonly systemData: StorageSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
}
```

## Properties

- `corsRules`: [Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStorageCorsRuleProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/aspire-hosting-azure-provisioning-storage-generated-listofstoragecorsruleproxy.md) `get - set` -- Gets or sets the CorsRules provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id 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.
- `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/queueserviceproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
