# AzureWebPubSubEmulatorResource

- Kind: `class`
- Package: [Aspire.Hosting.Azure.WebPubSub](/reference/api/csharp/aspire.hosting.azure.webpubsub.md)
- Version: `17.0.0`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.WebPubSub/AzureWebPubSubEmulatorResource.cs)
- Inherits: `ContainerResource`
- Implements: `IResource`

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

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public class AzureWebPubSubEmulatorResource
    : Aspire.Hosting.ApplicationModel.ContainerResource,
      Aspire.Hosting.ApplicationModel.IResource
{
    // ...
}
```

## Constructors

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

## Properties

- [Annotations](/reference/api/csharp/aspire.hosting.azure.webpubsub/azurewebpubsubemulatorresource/properties.md#annotations) : `ResourceAnnotationCollection` `get` -- Gets the annotations associated with the resource.
- [ResourceTypeDisplayName](/reference/api/csharp/aspire.hosting.azure.webpubsub/azurewebpubsubemulatorresource/properties.md#resourcetypedisplayname) : `string` `get` -- Gets the default human-readable name of this resource's type.
