azure.mgmt.resource.features.v2015_12_01.operations module¶
-
class
azure.mgmt.resource.features.v2015_12_01.operations.
FeatureClientOperationsMixin
[source]¶ Bases:
object
-
class
azure.mgmt.resource.features.v2015_12_01.operations.
FeaturesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
FeaturesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2015-12-01”.
-
get
(resource_provider_namespace, feature_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the preview feature with the specified name.
- Parameters
resource_provider_namespace (str) – The resource provider namespace for the feature.
feature_name (str) – The name of the feature to get.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
FeatureResult or ClientRawResponse if raw=true
- Return type
FeatureResult or ClientRawResponse
- Raises
CloudError
-
list
(resource_provider_namespace, custom_headers=None, raw=False, **operation_config)[source]¶ Gets all the preview features in a provider namespace that are available through AFEC for the subscription.
- Parameters
- Returns
An iterator like instance of FeatureResult
- Return type
- Raises
CloudError
-
list_all
(custom_headers=None, raw=False, **operation_config)[source]¶ Gets all the preview features that are available through AFEC for the subscription.
- Parameters
- Returns
An iterator like instance of FeatureResult
- Return type
- Raises
CloudError
-
register
(resource_provider_namespace, feature_name, custom_headers=None, raw=False, **operation_config)[source]¶ Registers the preview feature for the subscription.
- Parameters
resource_provider_namespace (str) – The namespace of the resource provider.
feature_name (str) – The name of the feature to register.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
FeatureResult or ClientRawResponse if raw=true
- Return type
FeatureResult or ClientRawResponse
- Raises
CloudError
-
unregister
(resource_provider_namespace, feature_name, custom_headers=None, raw=False, **operation_config)[source]¶ Unregisters the preview feature for the subscription.
- Parameters
resource_provider_namespace (str) – The namespace of the resource provider.
feature_name (str) – The name of the feature to unregister.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
FeatureResult or ClientRawResponse if raw=true
- Return type
FeatureResult or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.resource.features.v2015_12_01.models' from '/usr/lib/python3/dist-packages/azure/mgmt/resource/features/v2015_12_01/models/__init__.py'>¶