public interface FeaturesClient
| Modifier and Type | Method and Description |
|---|---|
FeatureResultInner |
get(String resourceProviderNamespace,
String featureName)
Gets the preview feature with the specified name.
|
Mono<FeatureResultInner> |
getAsync(String resourceProviderNamespace,
String featureName)
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> |
list(String resourceProviderNamespace)
Gets all the preview features in a provider namespace that are available through AFEC for the subscription.
|
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.
|
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> |
listAllAsync()
Gets all the preview features that are available through AFEC for the subscription.
|
com.azure.core.http.rest.PagedFlux<FeatureResultInner> |
listAsync(String resourceProviderNamespace)
Gets all the preview features in a provider namespace that are available through AFEC for the subscription.
|
FeatureResultInner |
register(String resourceProviderNamespace,
String featureName)
Registers the preview feature for the subscription.
|
Mono<FeatureResultInner> |
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.
|
FeatureResultInner |
unregister(String resourceProviderNamespace,
String featureName)
Unregisters the preview feature for the subscription.
|
Mono<FeatureResultInner> |
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.
|
com.azure.core.http.rest.PagedFlux<FeatureResultInner> listAllAsync()
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<FeatureResultInner> listAll()
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<FeatureResultInner> listAll(com.azure.core.util.Context context)
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.com.azure.core.http.rest.PagedFlux<FeatureResultInner> listAsync(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider for getting features.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<FeatureResultInner> list(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider for getting features.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<FeatureResultInner> list(String resourceProviderNamespace, com.azure.core.util.Context context)
resourceProviderNamespace - The namespace of the resource provider for getting features.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<FeatureResultInner>> getWithResponseAsync(String resourceProviderNamespace, String featureName)
resourceProviderNamespace - The resource provider namespace for the feature.featureName - The name of the feature to get.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<FeatureResultInner> getAsync(String resourceProviderNamespace, String featureName)
resourceProviderNamespace - The resource provider namespace for the feature.featureName - The name of the feature to get.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.FeatureResultInner get(String resourceProviderNamespace, String featureName)
resourceProviderNamespace - The resource provider namespace for the feature.featureName - The name of the feature to get.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<FeatureResultInner> getWithResponse(String resourceProviderNamespace, String featureName, com.azure.core.util.Context context)
resourceProviderNamespace - The resource provider namespace for the feature.featureName - The name of the feature to get.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<FeatureResultInner>> registerWithResponseAsync(String resourceProviderNamespace, String featureName)
resourceProviderNamespace - The namespace of the resource provider.featureName - The name of the feature to register.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<FeatureResultInner> registerAsync(String resourceProviderNamespace, String featureName)
resourceProviderNamespace - The namespace of the resource provider.featureName - The name of the feature to register.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.FeatureResultInner register(String resourceProviderNamespace, String featureName)
resourceProviderNamespace - The namespace of the resource provider.featureName - The name of the feature to register.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<FeatureResultInner> registerWithResponse(String resourceProviderNamespace, String featureName, com.azure.core.util.Context context)
resourceProviderNamespace - The namespace of the resource provider.featureName - The name of the feature to register.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<FeatureResultInner>> unregisterWithResponseAsync(String resourceProviderNamespace, String featureName)
resourceProviderNamespace - The namespace of the resource provider.featureName - The name of the feature to unregister.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<FeatureResultInner> unregisterAsync(String resourceProviderNamespace, String featureName)
resourceProviderNamespace - The namespace of the resource provider.featureName - The name of the feature to unregister.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.FeatureResultInner unregister(String resourceProviderNamespace, String featureName)
resourceProviderNamespace - The namespace of the resource provider.featureName - The name of the feature to unregister.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<FeatureResultInner> unregisterWithResponse(String resourceProviderNamespace, String featureName, com.azure.core.util.Context context)
resourceProviderNamespace - The namespace of the resource provider.featureName - The name of the feature to unregister.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.