Interface Features
-
- All Superinterfaces:
SupportsListing<Feature>
public interface Features extends SupportsListing<Feature>
Entry point to features management API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Featureregister(String resourceProviderName, String featureName)Registers a feature in a resource provider.rx.Observable<Feature>registerAsync(String resourceProviderName, String featureName)Registers a feature in a resource provider asynchronously.com.microsoft.rest.ServiceFuture<Feature>registerAsync(String resourceProviderName, String featureName, com.microsoft.rest.ServiceCallback<Feature> callback)Registers a feature in a resource provider asynchronously.-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing
list, listAsync
-
-
-
-
Method Detail
-
register
Feature register(String resourceProviderName, String featureName)
Registers a feature in a resource provider.- Parameters:
resourceProviderName- the name of the resource providerfeatureName- the name of the feature- Returns:
- the registered feature
-
registerAsync
rx.Observable<Feature> registerAsync(String resourceProviderName, String featureName)
Registers a feature in a resource provider asynchronously.- Parameters:
resourceProviderName- the name of the resource providerfeatureName- the name of the feature- Returns:
- a representation of the deferred computation of this call returning the registered feature
-
registerAsync
com.microsoft.rest.ServiceFuture<Feature> registerAsync(String resourceProviderName, String featureName, com.microsoft.rest.ServiceCallback<Feature> callback)
Registers a feature in a resource provider asynchronously.- Parameters:
resourceProviderName- the name of the resource providerfeatureName- the name of the featurecallback- the callback to call on success or failure- Returns:
- a handle to cancel the request
-
-