# StorageRoutingPreferenceProxy

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

## Definition

```typescript
interface StorageRoutingPreferenceProxy {
  isInternetEndpointsPublished: BicepValueProxy | boolean;
  isMicrosoftEndpointsPublished: BicepValueProxy | boolean;
  routingChoice: BicepValueProxy | StorageRoutingChoice;
  clearIsInternetEndpointsPublished(): void;
  clearIsMicrosoftEndpointsPublished(): void;
  clearRoutingChoice(): void;
}
```

## Properties

- `isInternetEndpointsPublished`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsInternetEndpointsPublished provisioning property.
- `isMicrosoftEndpointsPublished`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsMicrosoftEndpointsPublished provisioning property.
- `routingChoice`: `BicepValueProxy | StorageRoutingChoice` `get - set` -- Gets or sets the RoutingChoice provisioning property.

## Methods

- [clearIsInternetEndpointsPublished](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageroutingpreferenceproxy/clearisinternetendpointspublished.md) -- `method` -- Clears the IsInternetEndpointsPublished provisioning property.
    ```typescript
  clearIsInternetEndpointsPublished(): void
  ```
- [clearIsMicrosoftEndpointsPublished](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageroutingpreferenceproxy/clearismicrosoftendpointspublished.md) -- `method` -- Clears the IsMicrosoftEndpointsPublished provisioning property.
    ```typescript
  clearIsMicrosoftEndpointsPublished(): void
  ```
- [clearRoutingChoice](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageroutingpreferenceproxy/clearroutingchoice.md) -- `method` -- Clears the RoutingChoice provisioning property.
    ```typescript
  clearRoutingChoice(): void
  ```
