# WebPubSubUserAssignedIdentityProxy

- Module: [Aspire.Hosting.Azure.Provisioning.WebPubSub](/reference/api/typescript/aspire.hosting.azure.provisioning.webpubsub.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the UserAssignedIdentity Azure Provisioning model.

## Definition

```typescript
interface WebPubSubUserAssignedIdentityProxy {
  readonly clientId: BicepValueProxy | guid;
  readonly id: BicepValueProxy;
  isolationScope: BicepValueProxy | IsolationScope;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly principalId: BicepValueProxy | guid;
  readonly systemData: WebPubSubSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_WebPubSub_Generated_DictionaryOfStringProxy;
  readonly tenantId: BicepValueProxy | guid;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearIsolationScope(): void;
  clearLocation(): void;
  clearName(): void;
}
```

## Properties

- `clientId`: `BicepValueProxy | guid` `get` -- Gets the ClientId provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `isolationScope`: `BicepValueProxy | IsolationScope` `get - set` -- Gets or sets the IsolationScope provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `principalId`: `BicepValueProxy | guid` `get` -- Gets the PrincipalId provisioning property.
- `systemData`: [WebPubSubSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.webpubsub/webpubsubsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_WebPubSub_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.webpubsub/aspire-hosting-azure-provisioning-webpubsub-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.
- `tenantId`: `BicepValueProxy | guid` `get` -- Gets the TenantId provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.webpubsub/webpubsubuserassignedidentityproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearIsolationScope](/reference/api/typescript/aspire.hosting.azure.provisioning.webpubsub/webpubsubuserassignedidentityproxy/clearisolationscope.md) -- `method` -- Clears the IsolationScope provisioning property.
    ```typescript
  clearIsolationScope(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.webpubsub/webpubsubuserassignedidentityproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.webpubsub/webpubsubuserassignedidentityproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
