# AzureWebPubSubEmulatorResource Properties

- Package: [Aspire.Hosting.Azure.WebPubSub](/reference/api/csharp/aspire.hosting.azure.webpubsub.md)
- Type: [AzureWebPubSubEmulatorResource](/reference/api/csharp/aspire.hosting.azure.webpubsub/azurewebpubsubemulatorresource.md)
- Kind: `Properties`
- Members: `2`

Wraps an [AzureWebPubSubResource](/reference/api/csharp/aspire.hosting.azure.webpubsub/azurewebpubsubresource.md) in a type that exposes container extension methods.

<a id="annotations"></a>

## Annotations

- Name: `Annotations`
- Modifiers: `override` `get`
- Returns: `ResourceAnnotationCollection`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.WebPubSub/AzureWebPubSubEmulatorResource.cs#L20)

Gets the annotations associated with the resource.

```csharp
public override ResourceAnnotationCollection Annotations { get; }
```

<a id="resourcetypedisplayname"></a>

## ResourceTypeDisplayName

- Name: `ResourceTypeDisplayName`
- Modifiers: `override` `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.WebPubSub/AzureWebPubSubEmulatorResource.cs#L15)

Gets the default human-readable name of this resource's type.

```csharp
public override string ResourceTypeDisplayName { get; }
```

## Remarks

Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use `ResourceBuilderExtensions.WithResourceTypeDisplayName` to override the label for an instance.
