Share via


MockableWebPubSubArmClient.GetWebPubSubResource(ResourceIdentifier) Method

Definition

Gets an object representing a WebPubSubResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a WebPubSubResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.WebPubSub.WebPubSubResource GetWebPubSubResource (Azure.Core.ResourceIdentifier id);
abstract member GetWebPubSubResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.WebPubSub.WebPubSubResource
override this.GetWebPubSubResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.WebPubSub.WebPubSubResource
Public Overridable Function GetWebPubSubResource (id As ResourceIdentifier) As WebPubSubResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a WebPubSubResource object.

Applies to