Interface GroupLifecyclePoliciesGroupLifecyclePoliciesClient


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

      • listGroupLifecyclePolicyAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphGroupLifecyclePolicyInner> listGroupLifecyclePolicyAsync​(Integer top,
                                                                                                                  Integer skip,
                                                                                                                  String search,
                                                                                                                  String filter,
                                                                                                                  Boolean count,
                                                                                                                  List<Get5ItemsItem> orderby,
                                                                                                                  List<Get6ItemsItem> select,
                                                                                                                  List<Get7ItemsItem> expand)
        Get entities from groupLifecyclePolicies.
        Parameters:
        top - Show only the first n items.
        skip - Skip the first n items.
        search - Search items by search phrases.
        filter - Filter items by property values.
        count - Include count of items.
        orderby - Order items by property values.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        entities from groupLifecyclePolicies.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listGroupLifecyclePolicyAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphGroupLifecyclePolicyInner> listGroupLifecyclePolicyAsync()
        Get entities from groupLifecyclePolicies.
        Returns:
        entities from groupLifecyclePolicies.
        Throws:
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listGroupLifecyclePolicy

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphGroupLifecyclePolicyInner> listGroupLifecyclePolicy()
        Get entities from groupLifecyclePolicies.
        Returns:
        entities from groupLifecyclePolicies.
        Throws:
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listGroupLifecyclePolicy

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphGroupLifecyclePolicyInner> listGroupLifecyclePolicy​(Integer top,
                                                                                                                 Integer skip,
                                                                                                                 String search,
                                                                                                                 String filter,
                                                                                                                 Boolean count,
                                                                                                                 List<Get5ItemsItem> orderby,
                                                                                                                 List<Get6ItemsItem> select,
                                                                                                                 List<Get7ItemsItem> expand,
                                                                                                                 com.azure.core.util.Context context)
        Get entities from groupLifecyclePolicies.
        Parameters:
        top - Show only the first n items.
        skip - Skip the first n items.
        search - Search items by search phrases.
        filter - Filter items by property values.
        count - Include count of items.
        orderby - Order items by property values.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        entities from groupLifecyclePolicies.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getGroupLifecyclePolicyWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphGroupLifecyclePolicyInner>> getGroupLifecyclePolicyWithResponseAsync​(String groupLifecyclePolicyId,
                                                                                                                                  List<Get1ItemsItem> select,
                                                                                                                                  List<Get2ItemsItem> expand)
        Get entity from groupLifecyclePolicies by key.
        Parameters:
        groupLifecyclePolicyId - key: id of groupLifecyclePolicy.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        entity from groupLifecyclePolicies by key.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getGroupLifecyclePolicyWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphGroupLifecyclePolicyInner> getGroupLifecyclePolicyWithResponse​(String groupLifecyclePolicyId,
                                                                                                                       List<Get1ItemsItem> select,
                                                                                                                       List<Get2ItemsItem> expand,
                                                                                                                       com.azure.core.util.Context context)
        Get entity from groupLifecyclePolicies by key.
        Parameters:
        groupLifecyclePolicyId - key: id of groupLifecyclePolicy.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        entity from groupLifecyclePolicies by key.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateGroupLifecyclePolicyWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateGroupLifecyclePolicyWithResponseAsync​(String groupLifecyclePolicyId,
                                                                                                  MicrosoftGraphGroupLifecyclePolicyInner body)
        Update entity in groupLifecyclePolicies.
        Parameters:
        groupLifecyclePolicyId - key: id of groupLifecyclePolicy.
        body - New property values.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateGroupLifecyclePolicyWithResponse

        com.azure.core.http.rest.Response<Void> updateGroupLifecyclePolicyWithResponse​(String groupLifecyclePolicyId,
                                                                                       MicrosoftGraphGroupLifecyclePolicyInner body,
                                                                                       com.azure.core.util.Context context)
        Update entity in groupLifecyclePolicies.
        Parameters:
        groupLifecyclePolicyId - key: id of groupLifecyclePolicy.
        body - New property values.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteGroupLifecyclePolicyWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteGroupLifecyclePolicyWithResponseAsync​(String groupLifecyclePolicyId,
                                                                                                  String ifMatch)
        Delete entity from groupLifecyclePolicies.
        Parameters:
        groupLifecyclePolicyId - key: id of groupLifecyclePolicy.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteGroupLifecyclePolicyAsync

        Mono<Void> deleteGroupLifecyclePolicyAsync​(String groupLifecyclePolicyId,
                                                   String ifMatch)
        Delete entity from groupLifecyclePolicies.
        Parameters:
        groupLifecyclePolicyId - key: id of groupLifecyclePolicy.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteGroupLifecyclePolicyAsync

        Mono<Void> deleteGroupLifecyclePolicyAsync​(String groupLifecyclePolicyId)
        Delete entity from groupLifecyclePolicies.
        Parameters:
        groupLifecyclePolicyId - key: id of groupLifecyclePolicy.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteGroupLifecyclePolicy

        void deleteGroupLifecyclePolicy​(String groupLifecyclePolicyId)
        Delete entity from groupLifecyclePolicies.
        Parameters:
        groupLifecyclePolicyId - key: id of groupLifecyclePolicy.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteGroupLifecyclePolicyWithResponse

        com.azure.core.http.rest.Response<Void> deleteGroupLifecyclePolicyWithResponse​(String groupLifecyclePolicyId,
                                                                                       String ifMatch,
                                                                                       com.azure.core.util.Context context)
        Delete entity from groupLifecyclePolicies.
        Parameters:
        groupLifecyclePolicyId - key: id of groupLifecyclePolicy.
        ifMatch - ETag.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.