Share via


MockableServiceBusArmClient.GetServiceBusSubscriptionResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ServiceBusSubscriptionResource object.

Applies to