Interface Providers

All Superinterfaces:
SupportsGettingByName<Provider>, SupportsListing<Provider>

public interface Providers extends SupportsListing<Provider>, SupportsGettingByName<Provider>
Entry point to providers management API.
  • Method Details

    • unregister

      Provider unregister(String resourceProviderNamespace)
      Unregisters provider from a subscription.
      Parameters:
      resourceProviderNamespace - Namespace of the resource provider
      Returns:
      the Provider if successful
    • unregisterAsync

      Mono<Provider> unregisterAsync(String resourceProviderNamespace)
      Unregisters provider from a subscription asynchronously.
      Parameters:
      resourceProviderNamespace - Namespace of the resource provider
      Returns:
      a representation of the deferred computation of this call returning the unregistered Provider if successful
    • register

      Provider register(String resourceProviderNamespace)
      Registers provider to be used with a subscription.
      Parameters:
      resourceProviderNamespace - namespace of the resource provider
      Returns:
      the registered provider
    • registerAsync

      Mono<Provider> registerAsync(String resourceProviderNamespace)
      Registers provider to be used with a subscription asynchronously.
      Parameters:
      resourceProviderNamespace - Namespace of the resource provider
      Returns:
      a representation of the deferred computation of this call returning the registered provider if successful
    • getByNameAsync

      Mono<Provider> getByNameAsync(String name)
      Gets the information about a provider from Azure based on the provider name.
      Specified by:
      getByNameAsync in interface SupportsGettingByName<Provider>
      Parameters:
      name - the name of the provider
      Returns:
      a representation of the deferred computation of this call returning the found provider, if any