Partilhar via


Providers Interface

Implements

public interface Providers
extends SupportsListing<Provider>, SupportsGettingByName<Provider>

Entry point to providers management API.

Method Summary

Modifier and Type Method and Description
abstract Mono<Provider> getByNameAsync(String name)

Gets the information about a provider from Azure based on the provider name.

abstract Provider register(String resourceProviderNamespace)

Registers provider to be used with a subscription.

abstract Mono<Provider> registerAsync(String resourceProviderNamespace)

Registers provider to be used with a subscription asynchronously.

abstract Provider unregister(String resourceProviderNamespace)

Unregisters provider from a subscription.

abstract Mono<Provider> unregisterAsync(String resourceProviderNamespace)

Unregisters provider from a subscription asynchronously.

Method Details

getByNameAsync

public abstract Mono getByNameAsync(String name)

Gets the information about a provider from Azure based on the provider name.

Parameters:

name - the name of the provider

Returns:

a representation of the deferred computation of this call returning the found provider, if any

register

public abstract Provider register(String resourceProviderNamespace)

Registers provider to be used with a subscription.

Parameters:

resourceProviderNamespace - namespace of the resource provider

Returns:

the registered provider

registerAsync

public abstract Mono 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

unregister

public abstract Provider unregister(String resourceProviderNamespace)

Unregisters provider from a subscription.

Parameters:

resourceProviderNamespace - Namespace of the resource provider

Returns:

the Provider if successful

unregisterAsync

public abstract Mono 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

Applies to