Поделиться через


ServiceBusExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.ServiceBus.

public static class ServiceBusExtensions
type ServiceBusExtensions = class
Public Module ServiceBusExtensions
Inheritance
ServiceBusExtensions

Methods

CheckServiceBusNamespaceNameAvailability(SubscriptionResource, ServiceBusNameAvailabilityContent, CancellationToken)

Check the give namespace name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameAvailability
  • Operation Id: Namespaces_CheckNameAvailability
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusNamespaceResource
<item>MockingTo mock this method, please mock CheckServiceBusNamespaceNameAvailability(ServiceBusNameAvailabilityContent, CancellationToken) instead.</item>
CheckServiceBusNamespaceNameAvailabilityAsync(SubscriptionResource, ServiceBusNameAvailabilityContent, CancellationToken)

Check the give namespace name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameAvailability
  • Operation Id: Namespaces_CheckNameAvailability
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusNamespaceResource
<item>MockingTo mock this method, please mock CheckServiceBusNamespaceNameAvailability(ServiceBusNameAvailabilityContent, CancellationToken) instead.</item>
GetMigrationConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a MigrationConfigurationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, MigrationConfigurationName) to create a MigrationConfigurationResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetMigrationConfigurationResource(ResourceIdentifier) instead.</item>

GetServiceBusDisasterRecoveryAuthorizationRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceBusDisasterRecoveryAuthorizationRuleResource 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 ServiceBusDisasterRecoveryAuthorizationRuleResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetServiceBusDisasterRecoveryAuthorizationRuleResource(ResourceIdentifier) instead.</item>

GetServiceBusDisasterRecoveryResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceBusDisasterRecoveryResource 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 ServiceBusDisasterRecoveryResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetServiceBusDisasterRecoveryResource(ResourceIdentifier) instead.</item>

GetServiceBusNamespace(ResourceGroupResource, String, CancellationToken)

Gets a description for the specified namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}
  • Operation Id: Namespaces_Get
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusNamespaceResource
<item>MockingTo mock this method, please mock GetServiceBusNamespace(String, CancellationToken) instead.</item>
GetServiceBusNamespaceAsync(ResourceGroupResource, String, CancellationToken)

Gets a description for the specified namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}
  • Operation Id: Namespaces_Get
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusNamespaceResource
<item>MockingTo mock this method, please mock GetServiceBusNamespaceAsync(String, CancellationToken) instead.</item>
GetServiceBusNamespaceAuthorizationRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceBusNamespaceAuthorizationRuleResource 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 ServiceBusNamespaceAuthorizationRuleResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetServiceBusNamespaceAuthorizationRuleResource(ResourceIdentifier) instead.</item>

GetServiceBusNamespaceResource(ArmClient, ResourceIdentifier)

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. <item>MockingTo mock this method, please mock GetServiceBusNamespaceResource(ResourceIdentifier) instead.</item>

GetServiceBusNamespaces(ResourceGroupResource)

Gets a collection of ServiceBusNamespaceResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetServiceBusNamespaces() instead.</item>

GetServiceBusNamespaces(SubscriptionResource, CancellationToken)

Gets all the available namespaces within the subscription, irrespective of the resource groups.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/namespaces
  • Operation Id: Namespaces_List
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusNamespaceResource
<item>MockingTo mock this method, please mock GetServiceBusNamespaces(CancellationToken) instead.</item>
GetServiceBusNamespacesAsync(SubscriptionResource, CancellationToken)

Gets all the available namespaces within the subscription, irrespective of the resource groups.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/namespaces
  • Operation Id: Namespaces_List
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusNamespaceResource
<item>MockingTo mock this method, please mock GetServiceBusNamespaces(CancellationToken) instead.</item>
GetServiceBusNetworkRuleSetResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceBusNetworkRuleSetResource 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 ServiceBusNetworkRuleSetResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetServiceBusNetworkRuleSetResource(ResourceIdentifier) instead.</item>

GetServiceBusPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceBusPrivateEndpointConnectionResource 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 ServiceBusPrivateEndpointConnectionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetServiceBusPrivateEndpointConnectionResource(ResourceIdentifier) instead.</item>

GetServiceBusQueueAuthorizationRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceBusQueueAuthorizationRuleResource 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 ServiceBusQueueAuthorizationRuleResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetServiceBusQueueAuthorizationRuleResource(ResourceIdentifier) instead.</item>

GetServiceBusQueueResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceBusQueueResource 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 ServiceBusQueueResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetServiceBusQueueResource(ResourceIdentifier) instead.</item>

GetServiceBusRuleResource(ArmClient, ResourceIdentifier)

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. <item>MockingTo mock this method, please mock GetServiceBusRuleResource(ResourceIdentifier) instead.</item>

GetServiceBusSubscriptionResource(ArmClient, ResourceIdentifier)

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. <item>MockingTo mock this method, please mock GetServiceBusSubscriptionResource(ResourceIdentifier) instead.</item>

GetServiceBusTopicAuthorizationRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceBusTopicAuthorizationRuleResource 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 ServiceBusTopicAuthorizationRuleResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetServiceBusTopicAuthorizationRuleResource(ResourceIdentifier) instead.</item>

GetServiceBusTopicResource(ArmClient, ResourceIdentifier)

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. <item>MockingTo mock this method, please mock GetServiceBusTopicResource(ResourceIdentifier) instead.</item>

Applies to