Share via


MockableServiceBusArmClient.GetServiceBusRuleResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ServiceBusRuleResource object.

Applies to