Interface FeaturesClient
public interface FeaturesClient
An instance of this class provides access to all the operations defined in FeaturesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets the preview feature with the specified name.Gets the preview feature with the specified name.com.azure.core.http.rest.Response<FeatureResultInner> getWithResponse(String resourceProviderNamespace, String featureName, com.azure.core.util.Context context) Gets the preview feature with the specified name.Mono<com.azure.core.http.rest.Response<FeatureResultInner>> getWithResponseAsync(String resourceProviderNamespace, String featureName) Gets the preview feature with the specified name.com.azure.core.http.rest.PagedIterable<FeatureResultInner> Gets all the preview features in a provider namespace that are available through AFEC for the subscription.com.azure.core.http.rest.PagedIterable<FeatureResultInner> Gets all the preview features in a provider namespace that are available through AFEC for the subscription.com.azure.core.http.rest.PagedIterable<FeatureResultInner> listAll()Gets all the preview features that are available through AFEC for the subscription.com.azure.core.http.rest.PagedIterable<FeatureResultInner> listAll(com.azure.core.util.Context context) Gets all the preview features that are available through AFEC for the subscription.com.azure.core.http.rest.PagedFlux<FeatureResultInner> Gets all the preview features that are available through AFEC for the subscription.com.azure.core.http.rest.PagedFlux<FeatureResultInner> Gets all the preview features in a provider namespace that are available through AFEC for the subscription.Registers the preview feature for the subscription.registerAsync(String resourceProviderNamespace, String featureName) Registers the preview feature for the subscription.com.azure.core.http.rest.Response<FeatureResultInner> registerWithResponse(String resourceProviderNamespace, String featureName, com.azure.core.util.Context context) Registers the preview feature for the subscription.Mono<com.azure.core.http.rest.Response<FeatureResultInner>> registerWithResponseAsync(String resourceProviderNamespace, String featureName) Registers the preview feature for the subscription.unregister(String resourceProviderNamespace, String featureName) Unregisters the preview feature for the subscription.unregisterAsync(String resourceProviderNamespace, String featureName) Unregisters the preview feature for the subscription.com.azure.core.http.rest.Response<FeatureResultInner> unregisterWithResponse(String resourceProviderNamespace, String featureName, com.azure.core.util.Context context) Unregisters the preview feature for the subscription.Mono<com.azure.core.http.rest.Response<FeatureResultInner>> unregisterWithResponseAsync(String resourceProviderNamespace, String featureName) Unregisters the preview feature for the subscription.
-
Method Details
-
listAllAsync
com.azure.core.http.rest.PagedFlux<FeatureResultInner> 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. - Throws:
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.
-
listAll
com.azure.core.http.rest.PagedIterable<FeatureResultInner> 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. - Throws:
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.
-
listAll
com.azure.core.http.rest.PagedIterable<FeatureResultInner> listAll(com.azure.core.util.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. - 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.
-
listAsync
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. - 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.
-
list
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. - 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.
-
list
com.azure.core.http.rest.PagedIterable<FeatureResultInner> list(String resourceProviderNamespace, com.azure.core.util.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. - 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<FeatureResultInner>> 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
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
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. - 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<FeatureResultInner> getWithResponse(String resourceProviderNamespace, String featureName, com.azure.core.util.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. - 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
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.
- 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.
-
registerWithResponseAsync
Mono<com.azure.core.http.rest.Response<FeatureResultInner>> 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
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.
-
registerAsync
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. - 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.
-
registerWithResponse
com.azure.core.http.rest.Response<FeatureResultInner> registerWithResponse(String resourceProviderNamespace, String featureName, com.azure.core.util.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. - 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.
-
register
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.
- 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.
-
unregisterWithResponseAsync
Mono<com.azure.core.http.rest.Response<FeatureResultInner>> 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
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.
-
unregisterAsync
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. - 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.
-
unregisterWithResponse
com.azure.core.http.rest.Response<FeatureResultInner> unregisterWithResponse(String resourceProviderNamespace, String featureName, com.azure.core.util.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. - 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.
-
unregister
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.
- 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.
-