Share via


MockableServiceBusArmClient.GetServiceBusTopicResource Method

Definition

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

public virtual Azure.ResourceManager.ServiceBus.ServiceBusTopicResource GetServiceBusTopicResource (Azure.Core.ResourceIdentifier id);
abstract member GetServiceBusTopicResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ServiceBus.ServiceBusTopicResource
override this.GetServiceBusTopicResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ServiceBus.ServiceBusTopicResource
Public Overridable Function GetServiceBusTopicResource (id As ResourceIdentifier) As ServiceBusTopicResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ServiceBusTopicResource object.

Applies to