---
title: \@builder.io/qwik-city/middleware/azure-swa API Reference
---

# [API](/api) &rsaquo; @builder.io/qwik-city/middleware/azure-swa

## createQwikCity

```typescript
export declare function createQwikCity(
  opts: QwikCityAzureOptions,
): AzureFunction;
```

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

opts

</td><td>

[QwikCityAzureOptions](#qwikcityazureoptions)

</td><td>

</td></tr>
</tbody></table>
**Returns:**

AzureFunction

[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik-city/src/middleware/azure-swa/index.ts)

## PlatformAzure

```typescript
export interface PlatformAzure extends Partial<Context>
```

**Extends:** Partial&lt;Context&gt;

[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik-city/src/middleware/azure-swa/index.ts)

## QwikCityAzureOptions

```typescript
export interface QwikCityAzureOptions extends ServerRenderOptions
```

**Extends:** ServerRenderOptions

[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik-city/src/middleware/azure-swa/index.ts)
