你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Features Interface
Implements
public interface Features
extends SupportsListing<Feature>
Entry point to features management API.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Feature |
register(String resourceProviderName, String featureName)
Registers a feature in a resource provider. |
abstract Mono<Feature> |
registerAsync(String resourceProviderName, String featureName)
Registers a feature in a resource provider asynchronously. |
Method Details
register
public abstract 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 abstract Mono
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