Features Interface

public interface Features extends SupportsListing

Entry point to features management API.

Method Summary

Modifier and Type Method and Description
Feature register(String resourceProviderName, String featureName)

Registers a feature in a resource provider.

Observable<Feature> registerAsync(String resourceProviderName, String featureName)

Registers a feature in a resource provider asynchronously.

ServiceFuture<Feature> registerAsync(String resourceProviderName, String featureName, ServiceCallback<Feature> callback)

Registers a feature in a resource provider asynchronously.

Inherited Members

Method Details

register

public Feature register(String resourceProviderName, String featureName)

Registers a feature in a resource provider.

Parameters:

resourceProviderName - the name of the resource provider
featureName - the name of the feature

Returns:

the registered feature

registerAsync

public Observable registerAsync(String resourceProviderName, String featureName)

Registers a feature in a resource provider asynchronously.

Parameters:

resourceProviderName - the name of the resource provider
featureName - the name of the feature

Returns:

a representation of the deferred computation of this call returning the registered feature

registerAsync

public ServiceFuture registerAsync(String resourceProviderName, String featureName, ServiceCallback callback)

Registers a feature in a resource provider asynchronously.

Parameters:

resourceProviderName - the name of the resource provider
featureName - the name of the feature
callback - the callback to call on success or failure

Returns:

a handle to cancel the request

Applies to