Partilhar via


SubscriptionsClient Interface

public interface SubscriptionsClient

An instance of this class provides access to all the operations defined in SubscriptionsClient.

Method Summary

Modifier and Type Method and Description
abstract SBSubscriptionInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters)

Creates a topic subscription.

abstract Mono<SBSubscriptionInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters)

Creates a topic subscription.

abstract Response<SBSubscriptionInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters, Context context)

Creates a topic subscription.

abstract Mono<Response<SBSubscriptionInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters)

Creates a topic subscription.

abstract void delete(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Deletes a subscription from the specified topic.

abstract Mono<Void> deleteAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Deletes a subscription from the specified topic.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, Context context)

Deletes a subscription from the specified topic.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Deletes a subscription from the specified topic.

abstract SBSubscriptionInner get(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Returns a subscription description for the specified topic.

abstract Mono<SBSubscriptionInner> getAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Returns a subscription description for the specified topic.

abstract Response<SBSubscriptionInner> getWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, Context context)

Returns a subscription description for the specified topic.

abstract Mono<Response<SBSubscriptionInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Returns a subscription description for the specified topic.

abstract PagedIterable<SBSubscriptionInner> listByTopic(String resourceGroupName, String namespaceName, String topicName)

List all the subscriptions under a specified topic.

abstract PagedIterable<SBSubscriptionInner> listByTopic(String resourceGroupName, String namespaceName, String topicName, Integer skip, Integer top, Context context)

List all the subscriptions under a specified topic.

abstract PagedFlux<SBSubscriptionInner> listByTopicAsync(String resourceGroupName, String namespaceName, String topicName)

List all the subscriptions under a specified topic.

abstract PagedFlux<SBSubscriptionInner> listByTopicAsync(String resourceGroupName, String namespaceName, String topicName, Integer skip, Integer top)

List all the subscriptions under a specified topic.

Method Details

createOrUpdate

public abstract SBSubscriptionInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters)

Creates a topic subscription.

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.

Returns:

description of subscription resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters)

Creates a topic subscription.

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.

Returns:

description of subscription resource on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters, Context context)

Creates a topic subscription.

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.
context - The context to associate with this operation.

Returns:

description of subscription resource along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, SBSubscriptionInner parameters)

Creates a topic subscription.

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.

Returns:

description of subscription resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Deletes a subscription from the specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Deletes a subscription from the specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, Context context)

Deletes a subscription from the specified topic.

Parameters:

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.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Deletes a subscription from the specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract SBSubscriptionInner get(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Returns a subscription description for the specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.

Returns:

description of subscription resource.

getAsync

public abstract Mono getAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Returns a subscription description for the specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.

Returns:

description of subscription resource on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, Context context)

Returns a subscription description for the specified topic.

Parameters:

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.

Returns:

description of subscription resource along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

Returns a subscription description for the specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.

Returns:

description of subscription resource along with Response<T> on successful completion of Mono.

listByTopic

public abstract PagedIterable listByTopic(String resourceGroupName, String namespaceName, String topicName)

List all the subscriptions under a specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.

Returns:

the response to the List Subscriptions operation as paginated response with PagedIterable<T>.

listByTopic

public abstract PagedIterable listByTopic(String resourceGroupName, String namespaceName, String topicName, Integer skip, Integer top, Context context)

List all the subscriptions under a specified topic.

Parameters:

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.

Returns:

the response to the List Subscriptions operation as paginated response with PagedIterable<T>.

listByTopicAsync

public abstract PagedFlux listByTopicAsync(String resourceGroupName, String namespaceName, String topicName)

List all the subscriptions under a specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.

Returns:

the response to the List Subscriptions operation as paginated response with PagedFlux<T>.

listByTopicAsync

public abstract PagedFlux listByTopicAsync(String resourceGroupName, String namespaceName, String topicName, Integer skip, Integer top)

List all the subscriptions under a specified topic.

Parameters:

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.

Returns:

the response to the List Subscriptions operation as paginated response with PagedFlux<T>.

Applies to