Providers Interface
public interface Providers extends SupportsListing,SupportsGettingByName
Entry point to providers management API.
Method Summary
Modifier and Type | Method and Description |
---|---|
Observable<Provider> |
getByNameAsync(String name)
Gets the information about a provider from Azure based on the provider name. |
Provider |
register(String resourceProviderNamespace)
Registers provider to be used with a subscription. |
Observable<Provider> |
registerAsync(String resourceProviderNamespace)
Registers provider to be used with a subscription asynchronously. |
ServiceFuture<Provider> |
registerAsync(String resourceProviderNamespace, ServiceCallback<Provider> callback)
Registers provider to be used with a subscription asynchronously. |
Provider |
unregister(String resourceProviderNamespace)
Unregisters provider from a subscription. |
Observable<Provider> |
unregisterAsync(String resourceProviderNamespace)
Unregisters provider from a subscription asynchronously. |
ServiceFuture<Provider> |
unregisterAsync(String resourceProviderNamespace, ServiceCallback<Provider> callback)
Unregisters provider from a subscription asynchronously. |
Inherited Members
Method Details
getByNameAsync
public Observable
Gets the information about a provider from Azure based on the provider name.
Parameters:
Returns:
register
public Provider register(String resourceProviderNamespace)
Registers provider to be used with a subscription.
Parameters:
Returns:
registerAsync
public Observable
Registers provider to be used with a subscription asynchronously.
Parameters:
Returns:
registerAsync
public ServiceFuture
Registers provider to be used with a subscription asynchronously.
Parameters:
Returns:
unregister
public Provider unregister(String resourceProviderNamespace)
Unregisters provider from a subscription.
Parameters:
Returns:
unregisterAsync
public Observable
Unregisters provider from a subscription asynchronously.
Parameters:
Returns:
unregisterAsync
public ServiceFuture
Unregisters provider from a subscription asynchronously.
Parameters:
Returns:
Applies to
Azure SDK for Java