Interface FeaturesClient


public interface FeaturesClient
An instance of this class provides access to all the operations defined in FeaturesClient.
  • 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

      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.
      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

      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.
      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 Response 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.
    • getAsync

      Mono<FeatureResultInner> 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.
      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

      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.
      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 Response 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.
    • registerAsync

      Mono<FeatureResultInner> 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.
      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

      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.
      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 Response 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.
    • unregisterAsync

      Mono<FeatureResultInner> 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.
      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

      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.
      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.