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 rx.Observable<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 rx.Observable<Provider> registerAsync(String resourceProviderNamespace)

Registers provider to be used with a subscription asynchronously.

abstract com.microsoft.rest.ServiceFuture<Provider> registerAsync(String resourceProviderNamespace, ServiceCallback<Provider> callback)

Registers provider to be used with a subscription asynchronously.

abstract Provider unregister(String resourceProviderNamespace)

Unregisters provider from a subscription.

abstract rx.Observable<Provider> unregisterAsync(String resourceProviderNamespace)

Unregisters provider from a subscription asynchronously.

abstract com.microsoft.rest.ServiceFuture<Provider> unregisterAsync(String resourceProviderNamespace, ServiceCallback<Provider> callback)

Unregisters provider from a subscription asynchronously.

Method Details

getByNameAsync

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

registerAsync

public abstract ServiceFuture registerAsync(String resourceProviderNamespace, ServiceCallback callback)

Registers provider to be used with a subscription asynchronously.

Parameters:

resourceProviderNamespace - Namespace of the resource provider
callback - the callback to call on success or failure with the ProviderInner object wrapped as parameter if successful

Returns:

a handle to cancel the request

unregister

public abstract Provider unregister(String resourceProviderNamespace)

Unregisters provider from a subscription.

Parameters:

resourceProviderNamespace - Namespace of the resource provider

Returns:

the ProviderInner object wrapped in ServiceResponse if successful

unregisterAsync

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

unregisterAsync

public abstract ServiceFuture unregisterAsync(String resourceProviderNamespace, ServiceCallback callback)

Unregisters provider from a subscription asynchronously.

Parameters:

resourceProviderNamespace - namespace of the resource provider
callback - the callback to call on success or failure with the ProviderInner object wrapped as parameter if successful

Returns:

a handle to cancel the request

Applies to