azure.mgmt.resource.features.v2015_12_01.operations package¶
-
class
azure.mgmt.resource.features.v2015_12_01.operations.
FeatureClientOperationsMixin
[source]¶ -
list_operations
(**kwargs: Any) → Iterable[‘models.OperationListResult’][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 OperationListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
-
class
azure.mgmt.resource.features.v2015_12_01.operations.
FeaturesOperations
(client, config, serializer, deserializer)[source]¶ FeaturesOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
get
(resource_provider_namespace: str, feature_name: str, **kwargs: Any) → ’models.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
~azure.core.exceptions.HttpResponseError
-
list
(resource_provider_namespace: str, **kwargs: Any) → Iterable[‘models.FeatureOperationsListResult’][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.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either FeatureOperationsListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.FeatureOperationsListResult’][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 FeatureOperationsListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
register
(resource_provider_namespace: str, feature_name: str, **kwargs: Any) → ’models.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
~azure.core.exceptions.HttpResponseError
-
unregister
(resource_provider_namespace: str, feature_name: str, **kwargs: Any) → ’models.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
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.resource.features.v2015_12_01.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\features\\v2015_12_01\\models\\__init__.py'>¶