DataPolicyManifestsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:data_policy_manifests> attribute.
- Inheritance
-
builtins.objectDataPolicyManifestsOperations
Constructor
DataPolicyManifestsOperations(*args, **kwargs)
Methods
get_by_policy_mode |
Retrieves a data policy manifest. This operation retrieves the data policy manifest with the given policy mode. |
list |
Retrieves data policy manifests. This operation retrieves a list of all the data policy manifests that match the optional given $filter. Valid values for $filter are: "$filter=namespace eq '{0}'". If $filter is not provided, the unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is provided, the returned list only includes all data policy manifests that have a namespace matching the provided value. |
get_by_policy_mode
Retrieves a data policy manifest.
This operation retrieves the data policy manifest with the given policy mode.
get_by_policy_mode(policy_mode: str, **kwargs: Any) -> DataPolicyManifest
Parameters
Name | Description |
---|---|
policy_mode
Required
|
The policy mode of the data policy manifest to get. Required. |
Returns
Type | Description |
---|---|
DataPolicyManifest or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Retrieves data policy manifests.
This operation retrieves a list of all the data policy manifests that match the optional given $filter. Valid values for $filter are: "$filter=namespace eq '{0}'". If $filter is not provided, the unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is provided, the returned list only includes all data policy manifests that have a namespace matching the provided value.
list(filter: str | None = None, **kwargs: Any) -> Iterable[DataPolicyManifest]
Parameters
Name | Description |
---|---|
filter
Required
|
The filter to apply on the operation. Valid values for $filter are: "namespace eq '{value}'". If $filter is not provided, no filtering is performed. If $filter=namespace eq '{value}' is provided, the returned list only includes all data policy manifests that have a namespace matching the provided value. Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either DataPolicyManifest or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.resource.policy.v2020_09_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\resource\\policy\\v2020_09_01\\models\\__init__.py'>
Azure SDK for Python