# StorageRoutingPreferenceProxy

- 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 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
  ```
