Interface QueuesClient
public interface QueuesClient
An instance of this class provides access to all the operations defined in QueuesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String namespaceName, String queueName, SBQueueInner parameters) Creates or updates a Service Bus queue.createOrUpdateAsync(String resourceGroupName, String namespaceName, String queueName, SBQueueInner parameters) Creates or updates a Service Bus queue.createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for a queue.createOrUpdateAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for a queue.com.azure.core.http.rest.Response<SBAuthorizationRuleInner> createOrUpdateAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, SBAuthorizationRuleInner parameters, com.azure.core.util.Context context) Creates an authorization rule for a queue.Mono<com.azure.core.http.rest.Response<SBAuthorizationRuleInner>> createOrUpdateAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for a queue.com.azure.core.http.rest.Response<SBQueueInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String queueName, SBQueueInner parameters, com.azure.core.util.Context context) Creates or updates a Service Bus queue.Mono<com.azure.core.http.rest.Response<SBQueueInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, SBQueueInner parameters) Creates or updates a Service Bus queue.voidDeletes a queue from the specified namespace in a resource group.deleteAsync(String resourceGroupName, String namespaceName, String queueName) Deletes a queue from the specified namespace in a resource group.voiddeleteAuthorizationRule(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Deletes a queue authorization rule.deleteAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Deletes a queue authorization rule.com.azure.core.http.rest.Response<Void> deleteAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, com.azure.core.util.Context context) Deletes a queue authorization rule.deleteAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Deletes a queue authorization rule.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String queueName, com.azure.core.util.Context context) Deletes a queue from the specified namespace in a resource group.deleteWithResponseAsync(String resourceGroupName, String namespaceName, String queueName) Deletes a queue from the specified namespace in a resource group.Returns a description for the specified queue.Returns a description for the specified queue.getAuthorizationRule(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Gets an authorization rule for a queue by rule name.getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Gets an authorization rule for a queue by rule name.com.azure.core.http.rest.Response<SBAuthorizationRuleInner> getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, com.azure.core.util.Context context) Gets an authorization rule for a queue by rule name.Mono<com.azure.core.http.rest.Response<SBAuthorizationRuleInner>> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Gets an authorization rule for a queue by rule name.com.azure.core.http.rest.Response<SBQueueInner> getWithResponse(String resourceGroupName, String namespaceName, String queueName, com.azure.core.util.Context context) Returns a description for the specified queue.Mono<com.azure.core.http.rest.Response<SBQueueInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String queueName) Returns a description for the specified queue.com.azure.core.http.rest.PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String queueName) Gets all authorization rules for a queue.com.azure.core.http.rest.PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String queueName, com.azure.core.util.Context context) Gets all authorization rules for a queue.com.azure.core.http.rest.PagedFlux<SBAuthorizationRuleInner> listAuthorizationRulesAsync(String resourceGroupName, String namespaceName, String queueName) Gets all authorization rules for a queue.com.azure.core.http.rest.PagedIterable<SBQueueInner> listByNamespace(String resourceGroupName, String namespaceName) Gets the queues within a namespace.com.azure.core.http.rest.PagedIterable<SBQueueInner> listByNamespace(String resourceGroupName, String namespaceName, Integer skip, Integer top, com.azure.core.util.Context context) Gets the queues within a namespace.com.azure.core.http.rest.PagedFlux<SBQueueInner> listByNamespaceAsync(String resourceGroupName, String namespaceName) Gets the queues within a namespace.com.azure.core.http.rest.PagedFlux<SBQueueInner> listByNamespaceAsync(String resourceGroupName, String namespaceName, Integer skip, Integer top) Gets the queues within a namespace.listKeys(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Primary and secondary connection strings to the queue.listKeysAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Primary and secondary connection strings to the queue.com.azure.core.http.rest.Response<AccessKeysInner> listKeysWithResponse(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, com.azure.core.util.Context context) Primary and secondary connection strings to the queue.Mono<com.azure.core.http.rest.Response<AccessKeysInner>> listKeysWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Primary and secondary connection strings to the queue.regenerateKeys(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates the primary or secondary connection strings to the queue.regenerateKeysAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates the primary or secondary connection strings to the queue.com.azure.core.http.rest.Response<AccessKeysInner> regenerateKeysWithResponse(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, RegenerateAccessKeyParameters parameters, com.azure.core.util.Context context) Regenerates the primary or secondary connection strings to the queue.Mono<com.azure.core.http.rest.Response<AccessKeysInner>> regenerateKeysWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates the primary or secondary connection strings to the queue.
-
Method Details
-
listAuthorizationRulesAsync
com.azure.core.http.rest.PagedFlux<SBAuthorizationRuleInner> listAuthorizationRulesAsync(String resourceGroupName, String namespaceName, String queueName) Gets all authorization rules for a queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.- Returns:
- all authorization rules for a queue as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAuthorizationRules
com.azure.core.http.rest.PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String queueName) Gets all authorization rules for a queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.- Returns:
- all authorization rules for a queue as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAuthorizationRules
com.azure.core.http.rest.PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String queueName, com.azure.core.util.Context context) Gets all authorization rules for a queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.context- The context to associate with this operation.- Returns:
- all authorization rules for a queue as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAuthorizationRuleWithResponseAsync
Mono<com.azure.core.http.rest.Response<SBAuthorizationRuleInner>> createOrUpdateAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for a queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.parameters- The shared access authorization rule.- Returns:
- description of a namespace authorization rule along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAuthorizationRuleAsync
Mono<SBAuthorizationRuleInner> createOrUpdateAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for a queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.parameters- The shared access authorization rule.- Returns:
- description of a namespace authorization rule on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAuthorizationRuleWithResponse
com.azure.core.http.rest.Response<SBAuthorizationRuleInner> createOrUpdateAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, SBAuthorizationRuleInner parameters, com.azure.core.util.Context context) Creates an authorization rule for a queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.parameters- The shared access authorization rule.context- The context to associate with this operation.- Returns:
- description of a namespace authorization rule along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAuthorizationRule
SBAuthorizationRuleInner createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for a queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.parameters- The shared access authorization rule.- Returns:
- description of a namespace authorization rule.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAuthorizationRuleWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Deletes a queue authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAuthorizationRuleAsync
Mono<Void> deleteAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Deletes a queue authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAuthorizationRuleWithResponse
com.azure.core.http.rest.Response<Void> deleteAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, com.azure.core.util.Context context) Deletes a queue authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAuthorizationRule
void deleteAuthorizationRule(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Deletes a queue authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAuthorizationRuleWithResponseAsync
Mono<com.azure.core.http.rest.Response<SBAuthorizationRuleInner>> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Gets an authorization rule for a queue by rule name.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.- Returns:
- an authorization rule for a queue by rule name along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAuthorizationRuleAsync
Mono<SBAuthorizationRuleInner> getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Gets an authorization rule for a queue by rule name.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.- Returns:
- an authorization rule for a queue by rule name on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAuthorizationRuleWithResponse
com.azure.core.http.rest.Response<SBAuthorizationRuleInner> getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, com.azure.core.util.Context context) Gets an authorization rule for a queue by rule name.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.context- The context to associate with this operation.- Returns:
- an authorization rule for a queue by rule name along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAuthorizationRule
SBAuthorizationRuleInner getAuthorizationRule(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Gets an authorization rule for a queue by rule name.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.- Returns:
- an authorization rule for a queue by rule name.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKeysWithResponseAsync
Mono<com.azure.core.http.rest.Response<AccessKeysInner>> listKeysWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Primary and secondary connection strings to the queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.- Returns:
- namespace/ServiceBus Connection String along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKeysAsync
Mono<AccessKeysInner> listKeysAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Primary and secondary connection strings to the queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.- Returns:
- namespace/ServiceBus Connection String on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKeysWithResponse
com.azure.core.http.rest.Response<AccessKeysInner> listKeysWithResponse(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, com.azure.core.util.Context context) Primary and secondary connection strings to the queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.context- The context to associate with this operation.- Returns:
- namespace/ServiceBus Connection String along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKeys
AccessKeysInner listKeys(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) Primary and secondary connection strings to the queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.- Returns:
- namespace/ServiceBus Connection String.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateKeysWithResponseAsync
Mono<com.azure.core.http.rest.Response<AccessKeysInner>> regenerateKeysWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates the primary or secondary connection strings to the queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.parameters- Parameters supplied to regenerate the authorization rule.- Returns:
- namespace/ServiceBus Connection String along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateKeysAsync
Mono<AccessKeysInner> regenerateKeysAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates the primary or secondary connection strings to the queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.parameters- Parameters supplied to regenerate the authorization rule.- Returns:
- namespace/ServiceBus Connection String on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateKeysWithResponse
com.azure.core.http.rest.Response<AccessKeysInner> regenerateKeysWithResponse(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, RegenerateAccessKeyParameters parameters, com.azure.core.util.Context context) Regenerates the primary or secondary connection strings to the queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.parameters- Parameters supplied to regenerate the authorization rule.context- The context to associate with this operation.- Returns:
- namespace/ServiceBus Connection String along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateKeys
AccessKeysInner regenerateKeys(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates the primary or secondary connection strings to the queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.authorizationRuleName- The authorization rule name.parameters- Parameters supplied to regenerate the authorization rule.- Returns:
- namespace/ServiceBus Connection String.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByNamespaceAsync
com.azure.core.http.rest.PagedFlux<SBQueueInner> listByNamespaceAsync(String resourceGroupName, String namespaceName, Integer skip, Integer top) Gets the queues within a namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.skip- Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.top- May be used to limit the number of results to the most recent N usageDetails.- Returns:
- the queues within a namespace as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByNamespaceAsync
com.azure.core.http.rest.PagedFlux<SBQueueInner> listByNamespaceAsync(String resourceGroupName, String namespaceName) Gets the queues within a namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.- Returns:
- the queues within a namespace as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByNamespace
com.azure.core.http.rest.PagedIterable<SBQueueInner> listByNamespace(String resourceGroupName, String namespaceName) Gets the queues within a namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.- Returns:
- the queues within a namespace as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByNamespace
com.azure.core.http.rest.PagedIterable<SBQueueInner> listByNamespace(String resourceGroupName, String namespaceName, Integer skip, Integer top, com.azure.core.util.Context context) Gets the queues within a namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.skip- Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.top- May be used to limit the number of results to the most recent N usageDetails.context- The context to associate with this operation.- Returns:
- the queues within a namespace as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<SBQueueInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String queueName, SBQueueInner parameters) Creates or updates a Service Bus queue. This operation is idempotent.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.parameters- Parameters supplied to create or update a queue resource.- Returns:
- description of queue Resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<SBQueueInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, String queueName, SBQueueInner parameters) Creates or updates a Service Bus queue. This operation is idempotent.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.parameters- Parameters supplied to create or update a queue resource.- Returns:
- description of queue Resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<SBQueueInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String queueName, SBQueueInner parameters, com.azure.core.util.Context context) Creates or updates a Service Bus queue. This operation is idempotent.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.parameters- Parameters supplied to create or update a queue resource.context- The context to associate with this operation.- Returns:
- description of queue Resource along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
SBQueueInner createOrUpdate(String resourceGroupName, String namespaceName, String queueName, SBQueueInner parameters) Creates or updates a Service Bus queue. This operation is idempotent.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.parameters- Parameters supplied to create or update a queue resource.- Returns:
- description of queue Resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String namespaceName, String queueName) Deletes a queue from the specified namespace in a resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes a queue from the specified namespace in a resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String queueName, com.azure.core.util.Context context) Deletes a queue from the specified namespace in a resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a queue from the specified namespace in a resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<SBQueueInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String queueName) Returns a description for the specified queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.- Returns:
- description of queue Resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Returns a description for the specified queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.- Returns:
- description of queue Resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<SBQueueInner> getWithResponse(String resourceGroupName, String namespaceName, String queueName, com.azure.core.util.Context context) Returns a description for the specified queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.context- The context to associate with this operation.- Returns:
- description of queue Resource along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Returns a description for the specified queue.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.queueName- The queue name.- Returns:
- description of queue Resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-