Features interface
Interface representing a Features.
Methods
get(string, string, Features |
Gets the preview feature with the specified name. |
list(string, Features |
Gets all the preview features in a provider namespace that are available through AFEC for the subscription. |
list |
Gets all the preview features that are available through AFEC for the subscription. |
register(string, string, Features |
Registers the preview feature for the subscription. |
unregister(string, string, Features |
Unregisters the preview feature for the subscription. |
Method Details
get(string, string, FeaturesGetOptionalParams)
Gets the preview feature with the specified name.
function get(resourceProviderNamespace: string, featureName: string, options?: FeaturesGetOptionalParams): Promise<FeatureResult>
Parameters
- resourceProviderNamespace
-
string
The resource provider namespace for the feature.
- featureName
-
string
The name of the feature to get.
- options
- FeaturesGetOptionalParams
The options parameters.
Returns
Promise<FeatureResult>
list(string, FeaturesListOptionalParams)
Gets all the preview features in a provider namespace that are available through AFEC for the subscription.
function list(resourceProviderNamespace: string, options?: FeaturesListOptionalParams): PagedAsyncIterableIterator<FeatureResult, FeatureResult[], PageSettings>
Parameters
- resourceProviderNamespace
-
string
The namespace of the resource provider for getting features.
- options
- FeaturesListOptionalParams
The options parameters.
Returns
listAll(FeaturesListAllOptionalParams)
Gets all the preview features that are available through AFEC for the subscription.
function listAll(options?: FeaturesListAllOptionalParams): PagedAsyncIterableIterator<FeatureResult, FeatureResult[], PageSettings>
Parameters
- options
- FeaturesListAllOptionalParams
The options parameters.
Returns
register(string, string, FeaturesRegisterOptionalParams)
Registers the preview feature for the subscription.
function register(resourceProviderNamespace: string, featureName: string, options?: FeaturesRegisterOptionalParams): Promise<FeatureResult>
Parameters
- resourceProviderNamespace
-
string
The namespace of the resource provider.
- featureName
-
string
The name of the feature to register.
- options
- FeaturesRegisterOptionalParams
The options parameters.
Returns
Promise<FeatureResult>
unregister(string, string, FeaturesUnregisterOptionalParams)
Unregisters the preview feature for the subscription.
function unregister(resourceProviderNamespace: string, featureName: string, options?: FeaturesUnregisterOptionalParams): Promise<FeatureResult>
Parameters
- resourceProviderNamespace
-
string
The namespace of the resource provider.
- featureName
-
string
The name of the feature to unregister.
- options
- FeaturesUnregisterOptionalParams
The options parameters.
Returns
Promise<FeatureResult>