azure.mgmt.resource.features.v2015_12_01.operations module¶
-
class
azure.mgmt.resource.features.v2015_12_01.operations.
FeatureClientOperationsMixin
[source]¶ Bases:
azure.mgmt.resource.features.v2015_12_01._vendor.FeatureClientMixinABC
-
list_operations
(**kwargs: Any) → Iterable[azure.mgmt.resource.features.v2015_12_01.models._models_py3.Operation][source]¶ Lists all of the available Microsoft.Features REST API operations.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Operation or the result of cls(response)
- Return type
- Raises
-
-
class
azure.mgmt.resource.features.v2015_12_01.operations.
FeaturesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
FeatureClient
’sfeatures
attribute.-
get
(resource_provider_namespace: str, feature_name: str, **kwargs: Any) → azure.mgmt.resource.features.v2015_12_01.models._models_py3.FeatureResult[source]¶ Gets the preview feature with the specified name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
FeatureResult or the result of cls(response)
- Return type
- Raises
-
list
(resource_provider_namespace: str, **kwargs: Any) → Iterable[azure.mgmt.resource.features.v2015_12_01.models._models_py3.FeatureResult][source]¶ Gets all the preview features in a provider namespace that are available through AFEC for the subscription.
- Parameters
resource_provider_namespace (str) – The namespace of the resource provider for getting features. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either FeatureResult or the result of cls(response)
- Return type
- Raises
-
list_all
(**kwargs: Any) → Iterable[azure.mgmt.resource.features.v2015_12_01.models._models_py3.FeatureResult][source]¶ Gets all the preview features that are available through AFEC for the subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either FeatureResult or the result of cls(response)
- Return type
- Raises
-
register
(resource_provider_namespace: str, feature_name: str, **kwargs: Any) → azure.mgmt.resource.features.v2015_12_01.models._models_py3.FeatureResult[source]¶ Registers the preview feature for the subscription.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
FeatureResult or the result of cls(response)
- Return type
- Raises
-
unregister
(resource_provider_namespace: str, feature_name: str, **kwargs: Any) → azure.mgmt.resource.features.v2015_12_01.models._models_py3.FeatureResult[source]¶ Unregisters the preview feature for the subscription.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
FeatureResult or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.resource.features.v2015_12_01.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-resource/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/resource/features/v2015_12_01/models/__init__.py'>¶
-