Interface DataPolicyManifestsClient


  • public interface DataPolicyManifestsClient
    An instance of this class provides access to all the operations defined in DataPolicyManifestsClient.
    • Method Detail

      • getByPolicyModeWithResponseAsync

        Mono<com.azure.core.http.rest.Response<DataPolicyManifestInner>> getByPolicyModeWithResponseAsync​(String policyMode)
        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 Response 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.
      • getByPolicyModeAsync

        Mono<DataPolicyManifestInner> getByPolicyModeAsync​(String policyMode)
        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.
      • getByPolicyMode

        DataPolicyManifestInner getByPolicyMode​(String policyMode)
        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.
      • getByPolicyModeWithResponse

        com.azure.core.http.rest.Response<DataPolicyManifestInner> getByPolicyModeWithResponse​(String policyMode,
                                                                                               com.azure.core.util.Context context)
        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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<DataPolicyManifestInner> listAsync​(String filter)
        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()
        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()
        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)
        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.