Share via


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: 2022-10-01-preview
  • Resource: ServiceBusNamespaceResource
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: 2022-10-01-preview
  • Resource: ServiceBusNamespaceResource
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. MockingTo mock this method, please mock GetMigrationConfigurationResource(ResourceIdentifier) instead.

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

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

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: 2022-10-01-preview
  • Resource: ServiceBusNamespaceResource
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: 2022-10-01-preview
  • Resource: ServiceBusNamespaceResource
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. MockingTo mock this method, please mock GetServiceBusNamespaceAuthorizationRuleResource(ResourceIdentifier) instead.

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

GetServiceBusNamespaces(ResourceGroupResource)

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

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: 2022-10-01-preview
  • Resource: ServiceBusNamespaceResource
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: 2022-10-01-preview
  • Resource: ServiceBusNamespaceResource
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. MockingTo mock this method, please mock GetServiceBusNetworkRuleSetResource(ResourceIdentifier) instead.

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

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

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

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

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

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

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

Applies to