Partager via


FeaturesClient Interface

public interface FeaturesClient

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

Method Summary

Modifier and Type Method and Description
abstract FeatureResultInner get(String resourceProviderNamespace, String featureName)

Gets the preview feature with the specified name.

abstract Mono<FeatureResultInner> getAsync(String resourceProviderNamespace, String featureName)

Gets the preview feature with the specified name.

abstract Response<FeatureResultInner> getWithResponse(String resourceProviderNamespace, String featureName, Context context)

Gets the preview feature with the specified name.

abstract Mono<Response<FeatureResultInner>> getWithResponseAsync(String resourceProviderNamespace, String featureName)

Gets the preview feature with the specified name.

abstract PagedIterable<FeatureResultInner> list(String resourceProviderNamespace)

Gets all the preview features in a provider namespace that are available through AFEC for the subscription.

abstract PagedIterable<FeatureResultInner> list(String resourceProviderNamespace, Context context)

Gets all the preview features in a provider namespace that are available through AFEC for the subscription.

abstract PagedIterable<FeatureResultInner> listAll()

Gets all the preview features that are available through AFEC for the subscription.

abstract PagedIterable<FeatureResultInner> listAll(Context context)

Gets all the preview features that are available through AFEC for the subscription.

abstract PagedFlux<FeatureResultInner> listAllAsync()

Gets all the preview features that are available through AFEC for the subscription.

abstract PagedFlux<FeatureResultInner> listAsync(String resourceProviderNamespace)

Gets all the preview features in a provider namespace that are available through AFEC for the subscription.

abstract FeatureResultInner register(String resourceProviderNamespace, String featureName)

Registers the preview feature for the subscription.

abstract Mono<FeatureResultInner> registerAsync(String resourceProviderNamespace, String featureName)

Registers the preview feature for the subscription.

abstract Response<FeatureResultInner> registerWithResponse(String resourceProviderNamespace, String featureName, Context context)

Registers the preview feature for the subscription.

abstract Mono<Response<FeatureResultInner>> registerWithResponseAsync(String resourceProviderNamespace, String featureName)

Registers the preview feature for the subscription.

abstract FeatureResultInner unregister(String resourceProviderNamespace, String featureName)

Unregisters the preview feature for the subscription.

abstract Mono<FeatureResultInner> unregisterAsync(String resourceProviderNamespace, String featureName)

Unregisters the preview feature for the subscription.

abstract Response<FeatureResultInner> unregisterWithResponse(String resourceProviderNamespace, String featureName, Context context)

Unregisters the preview feature for the subscription.

abstract Mono<Response<FeatureResultInner>> unregisterWithResponseAsync(String resourceProviderNamespace, String featureName)

Unregisters the preview feature for the subscription.

Method Details

get

public abstract FeatureResultInner get(String resourceProviderNamespace, String featureName)

Gets the preview feature with the specified name.

Parameters:

resourceProviderNamespace - The resource provider namespace for the feature.
featureName - The name of the feature to get.

Returns:

the preview feature with the specified name.

getAsync

public abstract Mono getAsync(String resourceProviderNamespace, String featureName)

Gets the preview feature with the specified name.

Parameters:

resourceProviderNamespace - The resource provider namespace for the feature.
featureName - The name of the feature to get.

Returns:

the preview feature with the specified name on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceProviderNamespace, String featureName, Context context)

Gets the preview feature with the specified name.

Parameters:

resourceProviderNamespace - The resource provider namespace for the feature.
featureName - The name of the feature to get.
context - The context to associate with this operation.

Returns:

the preview feature with the specified name along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceProviderNamespace, String featureName)

Gets the preview feature with the specified name.

Parameters:

resourceProviderNamespace - The resource provider namespace for the feature.
featureName - The name of the feature to get.

Returns:

the preview feature with the specified name along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceProviderNamespace)

Gets all the preview features in a provider namespace that are available through AFEC for the subscription.

Parameters:

resourceProviderNamespace - The namespace of the resource provider for getting features.

Returns:

all the preview features in a provider namespace that are available through AFEC for the subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceProviderNamespace, Context context)

Gets all the preview features in a provider namespace that are available through AFEC for the subscription.

Parameters:

resourceProviderNamespace - The namespace of the resource provider for getting features.
context - The context to associate with this operation.

Returns:

all the preview features in a provider namespace that are available through AFEC for the subscription as paginated response with PagedIterable<T>.

listAll

public abstract PagedIterable listAll()

Gets all the preview features that are available through AFEC for the subscription.

Returns:

all the preview features that are available through AFEC for the subscription as paginated response with PagedIterable<T>.

listAll

public abstract PagedIterable listAll(Context context)

Gets all the preview features that are available through AFEC for the subscription.

Parameters:

context - The context to associate with this operation.

Returns:

all the preview features that are available through AFEC for the subscription as paginated response with PagedIterable<T>.

listAllAsync

public abstract PagedFlux listAllAsync()

Gets all the preview features that are available through AFEC for the subscription.

Returns:

all the preview features that are available through AFEC for the subscription as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String resourceProviderNamespace)

Gets all the preview features in a provider namespace that are available through AFEC for the subscription.

Parameters:

resourceProviderNamespace - The namespace of the resource provider for getting features.

Returns:

all the preview features in a provider namespace that are available through AFEC for the subscription as paginated response with PagedFlux<T>.

register

public abstract FeatureResultInner register(String resourceProviderNamespace, String featureName)

Registers the preview feature for the subscription.

Parameters:

resourceProviderNamespace - The namespace of the resource provider.
featureName - The name of the feature to register.

Returns:

previewed feature information.

registerAsync

public abstract Mono registerAsync(String resourceProviderNamespace, String featureName)

Registers the preview feature for the subscription.

Parameters:

resourceProviderNamespace - The namespace of the resource provider.
featureName - The name of the feature to register.

Returns:

previewed feature information on successful completion of Mono.

registerWithResponse

public abstract Response registerWithResponse(String resourceProviderNamespace, String featureName, Context context)

Registers the preview feature for the subscription.

Parameters:

resourceProviderNamespace - The namespace of the resource provider.
featureName - The name of the feature to register.
context - The context to associate with this operation.

Returns:

previewed feature information along with Response<T>.

registerWithResponseAsync

public abstract Mono> registerWithResponseAsync(String resourceProviderNamespace, String featureName)

Registers the preview feature for the subscription.

Parameters:

resourceProviderNamespace - The namespace of the resource provider.
featureName - The name of the feature to register.

Returns:

previewed feature information along with Response<T> on successful completion of Mono.

unregister

public abstract FeatureResultInner unregister(String resourceProviderNamespace, String featureName)

Unregisters the preview feature for the subscription.

Parameters:

resourceProviderNamespace - The namespace of the resource provider.
featureName - The name of the feature to unregister.

Returns:

previewed feature information.

unregisterAsync

public abstract Mono unregisterAsync(String resourceProviderNamespace, String featureName)

Unregisters the preview feature for the subscription.

Parameters:

resourceProviderNamespace - The namespace of the resource provider.
featureName - The name of the feature to unregister.

Returns:

previewed feature information on successful completion of Mono.

unregisterWithResponse

public abstract Response unregisterWithResponse(String resourceProviderNamespace, String featureName, Context context)

Unregisters the preview feature for the subscription.

Parameters:

resourceProviderNamespace - The namespace of the resource provider.
featureName - The name of the feature to unregister.
context - The context to associate with this operation.

Returns:

previewed feature information along with Response<T>.

unregisterWithResponseAsync

public abstract Mono> unregisterWithResponseAsync(String resourceProviderNamespace, String featureName)

Unregisters the preview feature for the subscription.

Parameters:

resourceProviderNamespace - The namespace of the resource provider.
featureName - The name of the feature to unregister.

Returns:

previewed feature information along with Response<T> on successful completion of Mono.

Applies to