azure.mgmt.resource.features.v2015_12_01.operations module¶
-
class
azure.mgmt.resource.features.v2015_12_01.operations.
FeaturesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
FeaturesOperations operations.
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: - resource_provider_namespace (str) – The namespace of the resource provider for getting features.
- 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: 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: - 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: An iterator like instance of FeatureResult
Return type: Raises: CloudError
-
models
= <module 'azure.mgmt.resource.features.v2015_12_01.models' from '/usr/lib/python3.7/site-packages/azure/mgmt/resource/features/v2015_12_01/models/__init__.py'>¶
-
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