public interface SubscriptionsClient
| Modifier and Type | Method and Description |
|---|---|
SBSubscriptionInner |
createOrUpdate(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName,
SBSubscriptionInner parameters)
Creates a topic subscription.
|
Mono<SBSubscriptionInner> |
createOrUpdateAsync(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName,
SBSubscriptionInner parameters)
Creates a topic subscription.
|
com.azure.core.http.rest.Response<SBSubscriptionInner> |
createOrUpdateWithResponse(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName,
SBSubscriptionInner parameters,
com.azure.core.util.Context context)
Creates a topic subscription.
|
Mono<com.azure.core.http.rest.Response<SBSubscriptionInner>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName,
SBSubscriptionInner parameters)
Creates a topic subscription.
|
void |
delete(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName)
Deletes a subscription from the specified topic.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName)
Deletes a subscription from the specified topic.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName,
com.azure.core.util.Context context)
Deletes a subscription from the specified topic.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName)
Deletes a subscription from the specified topic.
|
SBSubscriptionInner |
get(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName)
Returns a subscription description for the specified topic.
|
Mono<SBSubscriptionInner> |
getAsync(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName)
Returns a subscription description for the specified topic.
|
com.azure.core.http.rest.Response<SBSubscriptionInner> |
getWithResponse(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName,
com.azure.core.util.Context context)
Returns a subscription description for the specified topic.
|
Mono<com.azure.core.http.rest.Response<SBSubscriptionInner>> |
getWithResponseAsync(String resourceGroupName,
String namespaceName,
String topicName,
String subscriptionName)
Returns a subscription description for the specified topic.
|
com.azure.core.http.rest.PagedIterable<SBSubscriptionInner> |
listByTopic(String resourceGroupName,
String namespaceName,
String topicName)
List all the subscriptions under a specified topic.
|
com.azure.core.http.rest.PagedIterable<SBSubscriptionInner> |
listByTopic(String resourceGroupName,
String namespaceName,
String topicName,
Integer skip,
Integer top,
com.azure.core.util.Context context)
List all the subscriptions under a specified topic.
|
com.azure.core.http.rest.PagedFlux<SBSubscriptionInner> |
listByTopicAsync(String resourceGroupName,
String namespaceName,
String topicName)
List all the subscriptions under a specified topic.
|
com.azure.core.http.rest.PagedFlux<SBSubscriptionInner> |
listByTopicAsync(String resourceGroupName,
String namespaceName,
String topicName,
Integer skip,
Integer top)
List all the subscriptions under a specified topic.
|
com.azure.core.http.rest.PagedFlux<SBSubscriptionInner> listByTopicAsync(String resourceGroupName, String namespaceName, String topicName, Integer skip, Integer top)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic 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.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.com.azure.core.http.rest.PagedFlux<SBSubscriptionInner> listByTopicAsync(String resourceGroupName, String namespaceName, String topicName)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.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.com.azure.core.http.rest.PagedIterable<SBSubscriptionInner> listByTopic(String resourceGroupName, String namespaceName, String topicName)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.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.com.azure.core.http.rest.PagedIterable<SBSubscriptionInner> listByTopic(String resourceGroupName, String namespaceName, String topicName, Integer skip, Integer top, com.azure.core.util.Context context)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic 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.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.Mono<com.azure.core.http.rest.Response<SBSubscriptionInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.parameters - Parameters supplied to create a subscription resource.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.Mono<SBSubscriptionInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.parameters - Parameters supplied to create a subscription resource.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.SBSubscriptionInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.parameters - Parameters supplied to create a subscription resource.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.com.azure.core.http.rest.Response<SBSubscriptionInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters, com.azure.core.util.Context context)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.parameters - Parameters supplied to create a subscription resource.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.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.Mono<Void> deleteAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.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.void delete(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, com.azure.core.util.Context context)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<SBSubscriptionInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.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.Mono<SBSubscriptionInner> getAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.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.SBSubscriptionInner get(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.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.com.azure.core.http.rest.Response<SBSubscriptionInner> getWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, com.azure.core.util.Context context)
resourceGroupName - Name of the Resource group within the Azure subscription.namespaceName - The namespace name.topicName - The topic name.subscriptionName - The subscription name.context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.