共用方式為


MockableServiceBusArmClient.GetServiceBusNamespaceResource Method

Definition

Gets an object representing a ServiceBusNamespaceResource 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 ServiceBusNamespaceResourceResourceIdentifier from its components.

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ServiceBusNamespaceResource object.

Applies to