Interface TopicsClient
public interface TopicsClient
An instance of this class provides access to all the operations defined in TopicsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters) Creates a topic in the specified namespace.createOrUpdateAsync(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters) Creates a topic in the specified namespace.createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for the specified topic.createOrUpdateAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for the specified topic.com.azure.core.http.rest.Response<SBAuthorizationRuleInner> createOrUpdateAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters, com.azure.core.util.Context context) Creates an authorization rule for the specified topic.Mono<com.azure.core.http.rest.Response<SBAuthorizationRuleInner>> createOrUpdateAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for the specified topic.com.azure.core.http.rest.Response<SBTopicInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters, com.azure.core.util.Context context) Creates a topic in the specified namespace.Mono<com.azure.core.http.rest.Response<SBTopicInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters) Creates a topic in the specified namespace.voidDeletes a topic from the specified namespace and resource group.deleteAsync(String resourceGroupName, String namespaceName, String topicName) Deletes a topic from the specified namespace and resource group.voiddeleteAuthorizationRule(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Deletes a topic authorization rule.deleteAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Deletes a topic authorization rule.com.azure.core.http.rest.Response<Void> deleteAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, com.azure.core.util.Context context) Deletes a topic authorization rule.deleteAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Deletes a topic authorization rule.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String topicName, com.azure.core.util.Context context) Deletes a topic from the specified namespace and resource group.deleteWithResponseAsync(String resourceGroupName, String namespaceName, String topicName) Deletes a topic from the specified namespace and resource group.Returns a description for the specified topic.Returns a description for the specified topic.getAuthorizationRule(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Returns the specified authorization rule.getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Returns the specified authorization rule.com.azure.core.http.rest.Response<SBAuthorizationRuleInner> getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, com.azure.core.util.Context context) Returns the specified authorization rule.Mono<com.azure.core.http.rest.Response<SBAuthorizationRuleInner>> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Returns the specified authorization rule.com.azure.core.http.rest.Response<SBTopicInner> getWithResponse(String resourceGroupName, String namespaceName, String topicName, com.azure.core.util.Context context) Returns a description for the specified topic.Mono<com.azure.core.http.rest.Response<SBTopicInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String topicName) Returns a description for the specified topic.com.azure.core.http.rest.PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String topicName) Gets authorization rules for a topic.com.azure.core.http.rest.PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String topicName, com.azure.core.util.Context context) Gets authorization rules for a topic.com.azure.core.http.rest.PagedFlux<SBAuthorizationRuleInner> listAuthorizationRulesAsync(String resourceGroupName, String namespaceName, String topicName) Gets authorization rules for a topic.com.azure.core.http.rest.PagedIterable<SBTopicInner> listByNamespace(String resourceGroupName, String namespaceName) Gets all the topics in a namespace.com.azure.core.http.rest.PagedIterable<SBTopicInner> listByNamespace(String resourceGroupName, String namespaceName, Integer skip, Integer top, com.azure.core.util.Context context) Gets all the topics in a namespace.com.azure.core.http.rest.PagedFlux<SBTopicInner> listByNamespaceAsync(String resourceGroupName, String namespaceName) Gets all the topics in a namespace.com.azure.core.http.rest.PagedFlux<SBTopicInner> listByNamespaceAsync(String resourceGroupName, String namespaceName, Integer skip, Integer top) Gets all the topics in a namespace.listKeys(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Gets the primary and secondary connection strings for the topic.listKeysAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Gets the primary and secondary connection strings for the topic.com.azure.core.http.rest.Response<AccessKeysInner> listKeysWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, com.azure.core.util.Context context) Gets the primary and secondary connection strings for the topic.Mono<com.azure.core.http.rest.Response<AccessKeysInner>> listKeysWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Gets the primary and secondary connection strings for the topic.regenerateKeys(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates primary or secondary connection strings for the topic.regenerateKeysAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates primary or secondary connection strings for the topic.com.azure.core.http.rest.Response<AccessKeysInner> regenerateKeysWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters, com.azure.core.util.Context context) Regenerates primary or secondary connection strings for the topic.Mono<com.azure.core.http.rest.Response<AccessKeysInner>> regenerateKeysWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates primary or secondary connection strings for the topic.
-
Method Details
-
listAuthorizationRulesAsync
com.azure.core.http.rest.PagedFlux<SBAuthorizationRuleInner> listAuthorizationRulesAsync(String resourceGroupName, String namespaceName, String topicName) Gets authorization rules for a topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.- Returns:
- authorization rules for a topic 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 topicName) Gets authorization rules for a topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.- Returns:
- authorization rules for a topic 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 topicName, com.azure.core.util.Context context) Gets authorization rules for a topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.context- The context to associate with this operation.- Returns:
- authorization rules for a topic 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 topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for the specified topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for the specified topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters, com.azure.core.util.Context context) Creates an authorization rule for the specified topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates an authorization rule for the specified topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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.
-
getAuthorizationRuleWithResponseAsync
Mono<com.azure.core.http.rest.Response<SBAuthorizationRuleInner>> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Returns the specified authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.authorizationRuleName- The authorization rule name.- 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.
-
getAuthorizationRuleAsync
Mono<SBAuthorizationRuleInner> getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Returns the specified authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.authorizationRuleName- The authorization rule name.- 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.
-
getAuthorizationRuleWithResponse
com.azure.core.http.rest.Response<SBAuthorizationRuleInner> getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, com.azure.core.util.Context context) Returns the specified authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.authorizationRuleName- The authorization rule name.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.
-
getAuthorizationRule
SBAuthorizationRuleInner getAuthorizationRule(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Returns the specified authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.authorizationRuleName- The authorization rule name.- 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 topicName, String authorizationRuleName) Deletes a topic authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topicName, String authorizationRuleName) Deletes a topic authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topicName, String authorizationRuleName, com.azure.core.util.Context context) Deletes a topic authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topicName, String authorizationRuleName) Deletes a topic authorization rule.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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.
-
listKeysWithResponseAsync
Mono<com.azure.core.http.rest.Response<AccessKeysInner>> listKeysWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) Gets the primary and secondary connection strings for the topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.authorizationRuleName- The authorization rule name.- Returns:
- the primary and secondary connection strings for the topic 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 topicName, String authorizationRuleName) Gets the primary and secondary connection strings for the topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.authorizationRuleName- The authorization rule name.- Returns:
- the primary and secondary connection strings for the topic 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 topicName, String authorizationRuleName, com.azure.core.util.Context context) Gets the primary and secondary connection strings for the topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.authorizationRuleName- The authorization rule name.context- The context to associate with this operation.- Returns:
- the primary and secondary connection strings for the topic 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 topicName, String authorizationRuleName) Gets the primary and secondary connection strings for the topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.authorizationRuleName- The authorization rule name.- Returns:
- the primary and secondary connection strings for the topic.
- 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 topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates primary or secondary connection strings for the topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates primary or secondary connection strings for the topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters, com.azure.core.util.Context context) Regenerates primary or secondary connection strings for the topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates primary or secondary connection strings for the topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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<SBTopicInner> listByNamespaceAsync(String resourceGroupName, String namespaceName, Integer skip, Integer top) Gets all the topics in 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:
- all the topics in 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<SBTopicInner> listByNamespaceAsync(String resourceGroupName, String namespaceName) Gets all the topics in a namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.- Returns:
- all the topics in 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<SBTopicInner> listByNamespace(String resourceGroupName, String namespaceName) Gets all the topics in a namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.- Returns:
- all the topics in 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<SBTopicInner> listByNamespace(String resourceGroupName, String namespaceName, Integer skip, Integer top, com.azure.core.util.Context context) Gets all the topics in 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:
- all the topics in 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<SBTopicInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters) Creates a topic in the specified namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.parameters- Parameters supplied to create a topic resource.- Returns:
- description of topic 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<SBTopicInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters) Creates a topic in the specified namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.parameters- Parameters supplied to create a topic resource.- Returns:
- description of topic 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<SBTopicInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters, com.azure.core.util.Context context) Creates a topic in the specified namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.parameters- Parameters supplied to create a topic resource.context- The context to associate with this operation.- Returns:
- description of topic 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
SBTopicInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters) Creates a topic in the specified namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.parameters- Parameters supplied to create a topic resource.- Returns:
- description of topic 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 topicName) Deletes a topic from the specified namespace and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topic from the specified namespace and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topicName, com.azure.core.util.Context context) Deletes a topic from the specified namespace and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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 topic from the specified namespace and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic 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<SBTopicInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String topicName) Returns a description for the specified topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.- Returns:
- description of topic 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 topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.- Returns:
- description of topic 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<SBTopicInner> getWithResponse(String resourceGroupName, String namespaceName, String topicName, com.azure.core.util.Context context) Returns a description for the specified topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.context- The context to associate with this operation.- Returns:
- description of topic 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 topic.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.topicName- The topic name.- Returns:
- description of topic 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.
-