Interface DataPolicyManifestsClient
public interface DataPolicyManifestsClient
An instance of this class provides access to all the operations defined in DataPolicyManifestsClient.
-
Method Summary
Modifier and TypeMethodDescriptiongetByPolicyMode(String policyMode) Retrieves a data policy manifest.getByPolicyModeAsync(String policyMode) Retrieves a data policy manifest.com.azure.core.http.rest.Response<DataPolicyManifestInner> getByPolicyModeWithResponse(String policyMode, com.azure.core.util.Context context) Retrieves a data policy manifest.Mono<com.azure.core.http.rest.Response<DataPolicyManifestInner>> getByPolicyModeWithResponseAsync(String policyMode) Retrieves a data policy manifest.com.azure.core.http.rest.PagedIterable<DataPolicyManifestInner> list()Retrieves data policy manifests This operation retrieves a list of all the data policy manifests that match the optional given $filter.com.azure.core.http.rest.PagedIterable<DataPolicyManifestInner> Retrieves data policy manifests This operation retrieves a list of all the data policy manifests that match the optional given $filter.com.azure.core.http.rest.PagedFlux<DataPolicyManifestInner> Retrieves data policy manifests This operation retrieves a list of all the data policy manifests that match the optional given $filter.com.azure.core.http.rest.PagedFlux<DataPolicyManifestInner> Retrieves data policy manifests This operation retrieves a list of all the data policy manifests that match the optional given $filter.
-
Method Details
-
getByPolicyModeWithResponseAsync
Mono<com.azure.core.http.rest.Response<DataPolicyManifestInner>> getByPolicyModeWithResponseAsync(String policyMode) Retrieves a data policy manifest. This operation retrieves the data policy manifest with the given policy mode.- Parameters:
policyMode- The policy mode of the data policy manifest to get.- Returns:
- the data policy manifest along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByPolicyModeAsync
Retrieves a data policy manifest. This operation retrieves the data policy manifest with the given policy mode.- Parameters:
policyMode- The policy mode of the data policy manifest to get.- Returns:
- the data policy manifest on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByPolicyModeWithResponse
com.azure.core.http.rest.Response<DataPolicyManifestInner> getByPolicyModeWithResponse(String policyMode, com.azure.core.util.Context context) Retrieves a data policy manifest. This operation retrieves the data policy manifest with the given policy mode.- Parameters:
policyMode- The policy mode of the data policy manifest to get.context- The context to associate with this operation.- Returns:
- the data policy manifest along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByPolicyMode
Retrieves a data policy manifest. This operation retrieves the data policy manifest with the given policy mode.- Parameters:
policyMode- The policy mode of the data policy manifest to get.- Returns:
- the data policy manifest.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
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.- Parameters:
filter- 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.- Returns:
- list of data policy manifests as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<DataPolicyManifestInner> listAsync()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.- Returns:
- list of data policy manifests as paginated response with
PagedFlux. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DataPolicyManifestInner> 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.- Returns:
- list of data policy manifests as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DataPolicyManifestInner> list(String filter, com.azure.core.util.Context context) 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.- Parameters:
filter- 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.context- The context to associate with this operation.- Returns:
- list of data policy manifests as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-