Interface ApplicationsClient


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

    • getCreatedOnBehalfOfWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>> getCreatedOnBehalfOfWithResponseAsync(String applicationId, List<Get1ItemsItem> select, List<String> expand)
      Get createdOnBehalfOf from applications.
      Parameters:
      applicationId - key: id of application.
      select - Select properties to be returned.
      expand - Expand related entities.
      Returns:
      createdOnBehalfOf from applications along with Response on successful completion of Mono.
      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.
    • getCreatedOnBehalfOfAsync

      Mono<MicrosoftGraphDirectoryObjectInner> getCreatedOnBehalfOfAsync(String applicationId)
      Get createdOnBehalfOf from applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      createdOnBehalfOf from applications on successful completion of Mono.
      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.
    • getCreatedOnBehalfOfWithResponse

      com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> getCreatedOnBehalfOfWithResponse(String applicationId, List<Get1ItemsItem> select, List<String> expand, com.azure.core.util.Context context)
      Get createdOnBehalfOf from applications.
      Parameters:
      applicationId - key: id of application.
      select - Select properties to be returned.
      expand - Expand related entities.
      context - The context to associate with this operation.
      Returns:
      createdOnBehalfOf from applications along with 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.
    • getCreatedOnBehalfOf

      MicrosoftGraphDirectoryObjectInner getCreatedOnBehalfOf(String applicationId)
      Get createdOnBehalfOf from applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      createdOnBehalfOf from applications.
      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.
    • getRefCreatedOnBehalfOfWithResponseAsync

      Mono<com.azure.core.http.rest.Response<String>> getRefCreatedOnBehalfOfWithResponseAsync(String applicationId)
      Get ref of createdOnBehalfOf from applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      ref of createdOnBehalfOf from applications along with Response on successful completion of Mono.
      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.
    • getRefCreatedOnBehalfOfAsync

      Mono<String> getRefCreatedOnBehalfOfAsync(String applicationId)
      Get ref of createdOnBehalfOf from applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      ref of createdOnBehalfOf from applications on successful completion of Mono.
      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.
    • getRefCreatedOnBehalfOfWithResponse

      com.azure.core.http.rest.Response<String> getRefCreatedOnBehalfOfWithResponse(String applicationId, com.azure.core.util.Context context)
      Get ref of createdOnBehalfOf from applications.
      Parameters:
      applicationId - key: id of application.
      context - The context to associate with this operation.
      Returns:
      ref of createdOnBehalfOf from applications along with 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.
    • getRefCreatedOnBehalfOf

      String getRefCreatedOnBehalfOf(String applicationId)
      Get ref of createdOnBehalfOf from applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      ref of createdOnBehalfOf from applications.
      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.
    • setRefCreatedOnBehalfOfWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> setRefCreatedOnBehalfOfWithResponseAsync(String applicationId, Map<String,Object> body)
      Update the ref of navigation property createdOnBehalfOf in applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property ref values.
      Returns:
      the Response on successful completion of Mono.
      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.
    • setRefCreatedOnBehalfOfAsync

      Mono<Void> setRefCreatedOnBehalfOfAsync(String applicationId, Map<String,Object> body)
      Update the ref of navigation property createdOnBehalfOf in applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property ref values.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • setRefCreatedOnBehalfOfWithResponse

      com.azure.core.http.rest.Response<Void> setRefCreatedOnBehalfOfWithResponse(String applicationId, Map<String,Object> body, com.azure.core.util.Context context)
      Update the ref of navigation property createdOnBehalfOf in applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property ref 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.
    • setRefCreatedOnBehalfOf

      void setRefCreatedOnBehalfOf(String applicationId, Map<String,Object> body)
      Update the ref of navigation property createdOnBehalfOf in applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property ref values.
      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.
    • deleteRefCreatedOnBehalfOfWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteRefCreatedOnBehalfOfWithResponseAsync(String applicationId, String ifMatch)
      Delete ref of navigation property createdOnBehalfOf for applications.
      Parameters:
      applicationId - key: id of application.
      ifMatch - ETag.
      Returns:
      the Response on successful completion of Mono.
      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.
    • deleteRefCreatedOnBehalfOfAsync

      Mono<Void> deleteRefCreatedOnBehalfOfAsync(String applicationId)
      Delete ref of navigation property createdOnBehalfOf for applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • deleteRefCreatedOnBehalfOfWithResponse

      com.azure.core.http.rest.Response<Void> deleteRefCreatedOnBehalfOfWithResponse(String applicationId, String ifMatch, com.azure.core.util.Context context)
      Delete ref of navigation property createdOnBehalfOf for applications.
      Parameters:
      applicationId - key: id of application.
      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.
    • deleteRefCreatedOnBehalfOf

      void deleteRefCreatedOnBehalfOf(String applicationId)
      Delete ref of navigation property createdOnBehalfOf for applications.
      Parameters:
      applicationId - key: id of application.
      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.
    • listExtensionPropertiesAsync

      com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionPropertyInner> listExtensionPropertiesAsync(String applicationId, Integer top, Integer skip, String search, String filter, Boolean count, List<ApplicationsOrderby> orderby, List<ApplicationsSelect> select, List<String> expand)
      Get extensionProperties from applications.
      Parameters:
      applicationId - key: id of application.
      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:
      extensionProperties from applications as paginated response with PagedFlux.
      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.
    • listExtensionPropertiesAsync

      com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionPropertyInner> listExtensionPropertiesAsync(String applicationId)
      Get extensionProperties from applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      extensionProperties from applications as paginated response with PagedFlux.
      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.
    • listExtensionProperties

      com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionPropertyInner> listExtensionProperties(String applicationId)
      Get extensionProperties from applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      extensionProperties from applications as paginated response with PagedIterable.
      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.
    • listExtensionProperties

      com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionPropertyInner> listExtensionProperties(String applicationId, Integer top, Integer skip, String search, String filter, Boolean count, List<ApplicationsOrderby> orderby, List<ApplicationsSelect> select, List<String> expand, com.azure.core.util.Context context)
      Get extensionProperties from applications.
      Parameters:
      applicationId - key: id of application.
      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:
      extensionProperties from applications as paginated response with PagedIterable.
      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.
    • createExtensionPropertiesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MicrosoftGraphExtensionPropertyInner>> createExtensionPropertiesWithResponseAsync(String applicationId, MicrosoftGraphExtensionPropertyInner body)
      Create new navigation property to extensionProperties for applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property.
      Returns:
      extensionProperty along with Response on successful completion of Mono.
      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.
    • createExtensionPropertiesAsync

      Mono<MicrosoftGraphExtensionPropertyInner> createExtensionPropertiesAsync(String applicationId, MicrosoftGraphExtensionPropertyInner body)
      Create new navigation property to extensionProperties for applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property.
      Returns:
      extensionProperty on successful completion of Mono.
      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.
    • createExtensionPropertiesWithResponse

      com.azure.core.http.rest.Response<MicrosoftGraphExtensionPropertyInner> createExtensionPropertiesWithResponse(String applicationId, MicrosoftGraphExtensionPropertyInner body, com.azure.core.util.Context context)
      Create new navigation property to extensionProperties for applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property.
      context - The context to associate with this operation.
      Returns:
      extensionProperty along with 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.
    • createExtensionProperties

      MicrosoftGraphExtensionPropertyInner createExtensionProperties(String applicationId, MicrosoftGraphExtensionPropertyInner body)
      Create new navigation property to extensionProperties for applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property.
      Returns:
      extensionProperty.
      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.
    • getExtensionPropertiesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MicrosoftGraphExtensionPropertyInner>> getExtensionPropertiesWithResponseAsync(String applicationId, String extensionPropertyId, List<ApplicationsSelect> select, List<String> expand)
      Get extensionProperties from applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      select - Select properties to be returned.
      expand - Expand related entities.
      Returns:
      extensionProperties from applications along with Response on successful completion of Mono.
      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.
    • getExtensionPropertiesAsync

      Mono<MicrosoftGraphExtensionPropertyInner> getExtensionPropertiesAsync(String applicationId, String extensionPropertyId)
      Get extensionProperties from applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      Returns:
      extensionProperties from applications on successful completion of Mono.
      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.
    • getExtensionPropertiesWithResponse

      com.azure.core.http.rest.Response<MicrosoftGraphExtensionPropertyInner> getExtensionPropertiesWithResponse(String applicationId, String extensionPropertyId, List<ApplicationsSelect> select, List<String> expand, com.azure.core.util.Context context)
      Get extensionProperties from applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      select - Select properties to be returned.
      expand - Expand related entities.
      context - The context to associate with this operation.
      Returns:
      extensionProperties from applications along with 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.
    • getExtensionProperties

      MicrosoftGraphExtensionPropertyInner getExtensionProperties(String applicationId, String extensionPropertyId)
      Get extensionProperties from applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      Returns:
      extensionProperties from applications.
      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.
    • updateExtensionPropertiesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> updateExtensionPropertiesWithResponseAsync(String applicationId, String extensionPropertyId, MicrosoftGraphExtensionPropertyInner body)
      Update the navigation property extensionProperties in applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      body - New navigation property values.
      Returns:
      the Response on successful completion of Mono.
      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.
    • updateExtensionPropertiesAsync

      Mono<Void> updateExtensionPropertiesAsync(String applicationId, String extensionPropertyId, MicrosoftGraphExtensionPropertyInner body)
      Update the navigation property extensionProperties in applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      body - New navigation property values.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • updateExtensionPropertiesWithResponse

      com.azure.core.http.rest.Response<Void> updateExtensionPropertiesWithResponse(String applicationId, String extensionPropertyId, MicrosoftGraphExtensionPropertyInner body, com.azure.core.util.Context context)
      Update the navigation property extensionProperties in applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      body - New navigation 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.
    • updateExtensionProperties

      void updateExtensionProperties(String applicationId, String extensionPropertyId, MicrosoftGraphExtensionPropertyInner body)
      Update the navigation property extensionProperties in applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      body - New navigation property values.
      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.
    • deleteExtensionPropertiesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteExtensionPropertiesWithResponseAsync(String applicationId, String extensionPropertyId, String ifMatch)
      Delete navigation property extensionProperties for applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      ifMatch - ETag.
      Returns:
      the Response on successful completion of Mono.
      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.
    • deleteExtensionPropertiesAsync

      Mono<Void> deleteExtensionPropertiesAsync(String applicationId, String extensionPropertyId)
      Delete navigation property extensionProperties for applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • deleteExtensionPropertiesWithResponse

      com.azure.core.http.rest.Response<Void> deleteExtensionPropertiesWithResponse(String applicationId, String extensionPropertyId, String ifMatch, com.azure.core.util.Context context)
      Delete navigation property extensionProperties for applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      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.
    • deleteExtensionProperties

      void deleteExtensionProperties(String applicationId, String extensionPropertyId)
      Delete navigation property extensionProperties for applications.
      Parameters:
      applicationId - key: id of application.
      extensionPropertyId - key: id of extensionProperty.
      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.
    • listHomeRealmDiscoveryPoliciesAsync

      com.azure.core.http.rest.PagedFlux<MicrosoftGraphHomeRealmDiscoveryPolicyInner> listHomeRealmDiscoveryPoliciesAsync(String applicationId, Integer top, Integer skip, String search, String filter, Boolean count, List<ApplicationsOrderby> orderby, List<ApplicationsSelect> select, List<ApplicationsExpand> expand)
      Get homeRealmDiscoveryPolicies from applications.
      Parameters:
      applicationId - key: id of application.
      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:
      homeRealmDiscoveryPolicies from applications as paginated response with PagedFlux.
      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.
    • listHomeRealmDiscoveryPoliciesAsync

      com.azure.core.http.rest.PagedFlux<MicrosoftGraphHomeRealmDiscoveryPolicyInner> listHomeRealmDiscoveryPoliciesAsync(String applicationId)
      Get homeRealmDiscoveryPolicies from applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      homeRealmDiscoveryPolicies from applications as paginated response with PagedFlux.
      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.
    • listHomeRealmDiscoveryPolicies

      com.azure.core.http.rest.PagedIterable<MicrosoftGraphHomeRealmDiscoveryPolicyInner> listHomeRealmDiscoveryPolicies(String applicationId)
      Get homeRealmDiscoveryPolicies from applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      homeRealmDiscoveryPolicies from applications as paginated response with PagedIterable.
      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.
    • listHomeRealmDiscoveryPolicies

      com.azure.core.http.rest.PagedIterable<MicrosoftGraphHomeRealmDiscoveryPolicyInner> listHomeRealmDiscoveryPolicies(String applicationId, Integer top, Integer skip, String search, String filter, Boolean count, List<ApplicationsOrderby> orderby, List<ApplicationsSelect> select, List<ApplicationsExpand> expand, com.azure.core.util.Context context)
      Get homeRealmDiscoveryPolicies from applications.
      Parameters:
      applicationId - key: id of application.
      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:
      homeRealmDiscoveryPolicies from applications as paginated response with PagedIterable.
      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.
    • listRefHomeRealmDiscoveryPoliciesAsync

      com.azure.core.http.rest.PagedFlux<String> listRefHomeRealmDiscoveryPoliciesAsync(String applicationId, Integer top, Integer skip, String search, String filter, Boolean count, List<ApplicationsOrderby> orderby)
      Get ref of homeRealmDiscoveryPolicies from applications.
      Parameters:
      applicationId - key: id of application.
      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.
      Returns:
      ref of homeRealmDiscoveryPolicies from applications as paginated response with PagedFlux.
      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.
    • listRefHomeRealmDiscoveryPoliciesAsync

      com.azure.core.http.rest.PagedFlux<String> listRefHomeRealmDiscoveryPoliciesAsync(String applicationId)
      Get ref of homeRealmDiscoveryPolicies from applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      ref of homeRealmDiscoveryPolicies from applications as paginated response with PagedFlux.
      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.
    • listRefHomeRealmDiscoveryPolicies

      com.azure.core.http.rest.PagedIterable<String> listRefHomeRealmDiscoveryPolicies(String applicationId)
      Get ref of homeRealmDiscoveryPolicies from applications.
      Parameters:
      applicationId - key: id of application.
      Returns:
      ref of homeRealmDiscoveryPolicies from applications as paginated response with PagedIterable.
      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.
    • listRefHomeRealmDiscoveryPolicies

      com.azure.core.http.rest.PagedIterable<String> listRefHomeRealmDiscoveryPolicies(String applicationId, Integer top, Integer skip, String search, String filter, Boolean count, List<ApplicationsOrderby> orderby, com.azure.core.util.Context context)
      Get ref of homeRealmDiscoveryPolicies from applications.
      Parameters:
      applicationId - key: id of application.
      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.
      context - The context to associate with this operation.
      Returns:
      ref of homeRealmDiscoveryPolicies from applications as paginated response with PagedIterable.
      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.
    • createRefHomeRealmDiscoveryPoliciesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Map<String,Object>>> createRefHomeRealmDiscoveryPoliciesWithResponseAsync(String applicationId, Map<String,Object> body)
      Create new navigation property ref to homeRealmDiscoveryPolicies for applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property ref value.
      Returns:
      dictionary of <AnyObject> along with Response on successful completion of Mono.
      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.
    • createRefHomeRealmDiscoveryPoliciesAsync

      Mono<Map<String,Object>> createRefHomeRealmDiscoveryPoliciesAsync(String applicationId, Map<String,Object> body)
      Create new navigation property ref to homeRealmDiscoveryPolicies for applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property ref value.
      Returns:
      dictionary of <AnyObject> on successful completion of Mono.
      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.
    • createRefHomeRealmDiscoveryPoliciesWithResponse

      com.azure.core.http.rest.Response<Map<String,Object>> createRefHomeRealmDiscoveryPoliciesWithResponse(String applicationId, Map<String,Object> body, com.azure.core.util.Context context)
      Create new navigation property ref to homeRealmDiscoveryPolicies for applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property ref value.
      context - The context to associate with this operation.
      Returns:
      dictionary of <AnyObject> along with 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.
    • createRefHomeRealmDiscoveryPolicies

      Map<String,Object> createRefHomeRealmDiscoveryPolicies(String applicationId, Map<String,Object> body)
      Create new navigation property ref to homeRealmDiscoveryPolicies for applications.
      Parameters:
      applicationId - key: id of application.
      body - New navigation property ref value.
      Returns:
      dictionary of <AnyObject>.
      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.
    • addKeyWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MicrosoftGraphKeyCredentialInner>> addKeyWithResponseAsync(String applicationId, ApplicationsAddKeyRequestBodyInner body)
      Invoke action addKey.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      keyCredential along with Response on successful completion of Mono.
      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.
    • addKeyAsync

      Invoke action addKey.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      keyCredential on successful completion of Mono.
      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.
    • addKeyWithResponse

      com.azure.core.http.rest.Response<MicrosoftGraphKeyCredentialInner> addKeyWithResponse(String applicationId, ApplicationsAddKeyRequestBodyInner body, com.azure.core.util.Context context)
      Invoke action addKey.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      context - The context to associate with this operation.
      Returns:
      keyCredential along with 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.
    • addKey

      Invoke action addKey.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      keyCredential.
      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.
    • addPasswordWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MicrosoftGraphPasswordCredentialInner>> addPasswordWithResponseAsync(String applicationId, ApplicationsAddPasswordRequestBodyInner body)
      Invoke action addPassword.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      passwordCredential along with Response on successful completion of Mono.
      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.
    • addPasswordAsync

      Invoke action addPassword.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      passwordCredential on successful completion of Mono.
      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.
    • addPasswordWithResponse

      com.azure.core.http.rest.Response<MicrosoftGraphPasswordCredentialInner> addPasswordWithResponse(String applicationId, ApplicationsAddPasswordRequestBodyInner body, com.azure.core.util.Context context)
      Invoke action addPassword.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      context - The context to associate with this operation.
      Returns:
      passwordCredential along with 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.
    • addPassword

      Invoke action addPassword.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      passwordCredential.
      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.
    • checkMemberGroupsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<List<String>>> checkMemberGroupsWithResponseAsync(String applicationId, ApplicationsCheckMemberGroupsRequestBody body)
      Invoke action checkMemberGroups.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of Post200ApplicationJsonItemsItem along with Response on successful completion of Mono.
      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.
    • checkMemberGroupsAsync

      Mono<List<String>> checkMemberGroupsAsync(String applicationId, ApplicationsCheckMemberGroupsRequestBody body)
      Invoke action checkMemberGroups.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of Post200ApplicationJsonItemsItem on successful completion of Mono.
      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.
    • checkMemberGroupsWithResponse

      com.azure.core.http.rest.Response<List<String>> checkMemberGroupsWithResponse(String applicationId, ApplicationsCheckMemberGroupsRequestBody body, com.azure.core.util.Context context)
      Invoke action checkMemberGroups.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      context - The context to associate with this operation.
      Returns:
      array of Post200ApplicationJsonItemsItem along with 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.
    • checkMemberGroups

      List<String> checkMemberGroups(String applicationId, ApplicationsCheckMemberGroupsRequestBody body)
      Invoke action checkMemberGroups.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of Post200ApplicationJsonItemsItem.
      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.
    • checkMemberObjectsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<List<String>>> checkMemberObjectsWithResponseAsync(String applicationId, ApplicationsCheckMemberObjectsRequestBody body)
      Invoke action checkMemberObjects.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of String along with Response on successful completion of Mono.
      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.
    • checkMemberObjectsAsync

      Mono<List<String>> checkMemberObjectsAsync(String applicationId, ApplicationsCheckMemberObjectsRequestBody body)
      Invoke action checkMemberObjects.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of String on successful completion of Mono.
      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.
    • checkMemberObjectsWithResponse

      com.azure.core.http.rest.Response<List<String>> checkMemberObjectsWithResponse(String applicationId, ApplicationsCheckMemberObjectsRequestBody body, com.azure.core.util.Context context)
      Invoke action checkMemberObjects.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      context - The context to associate with this operation.
      Returns:
      array of String along with 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.
    • checkMemberObjects

      List<String> checkMemberObjects(String applicationId, ApplicationsCheckMemberObjectsRequestBody body)
      Invoke action checkMemberObjects.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of String.
      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.
    • getMemberGroupsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<List<String>>> getMemberGroupsWithResponseAsync(String applicationId, ApplicationsGetMemberGroupsRequestBody body)
      Invoke action getMemberGroups.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of String along with Response on successful completion of Mono.
      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.
    • getMemberGroupsAsync

      Mono<List<String>> getMemberGroupsAsync(String applicationId, ApplicationsGetMemberGroupsRequestBody body)
      Invoke action getMemberGroups.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of String on successful completion of Mono.
      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.
    • getMemberGroupsWithResponse

      com.azure.core.http.rest.Response<List<String>> getMemberGroupsWithResponse(String applicationId, ApplicationsGetMemberGroupsRequestBody body, com.azure.core.util.Context context)
      Invoke action getMemberGroups.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      context - The context to associate with this operation.
      Returns:
      array of String along with 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.
    • getMemberGroups

      List<String> getMemberGroups(String applicationId, ApplicationsGetMemberGroupsRequestBody body)
      Invoke action getMemberGroups.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of String.
      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.
    • getMemberObjectsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<List<String>>> getMemberObjectsWithResponseAsync(String applicationId, ApplicationsGetMemberObjectsRequestBody body)
      Invoke action getMemberObjects.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of String along with Response on successful completion of Mono.
      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.
    • getMemberObjectsAsync

      Mono<List<String>> getMemberObjectsAsync(String applicationId, ApplicationsGetMemberObjectsRequestBody body)
      Invoke action getMemberObjects.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of String on successful completion of Mono.
      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.
    • getMemberObjectsWithResponse

      com.azure.core.http.rest.Response<List<String>> getMemberObjectsWithResponse(String applicationId, ApplicationsGetMemberObjectsRequestBody body, com.azure.core.util.Context context)
      Invoke action getMemberObjects.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      context - The context to associate with this operation.
      Returns:
      array of String along with 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.
    • getMemberObjects

      List<String> getMemberObjects(String applicationId, ApplicationsGetMemberObjectsRequestBody body)
      Invoke action getMemberObjects.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      array of String.
      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.
    • removeKeyWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> removeKeyWithResponseAsync(String applicationId, ApplicationsRemoveKeyRequestBody body)
      Invoke action removeKey.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      the Response on successful completion of Mono.
      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.
    • removeKeyAsync

      Mono<Void> removeKeyAsync(String applicationId, ApplicationsRemoveKeyRequestBody body)
      Invoke action removeKey.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • removeKeyWithResponse

      com.azure.core.http.rest.Response<Void> removeKeyWithResponse(String applicationId, ApplicationsRemoveKeyRequestBody body, com.azure.core.util.Context context)
      Invoke action removeKey.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      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.
    • removeKey

      void removeKey(String applicationId, ApplicationsRemoveKeyRequestBody body)
      Invoke action removeKey.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      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.
    • removePasswordWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> removePasswordWithResponseAsync(String applicationId, ApplicationsRemovePasswordRequestBody body)
      Invoke action removePassword.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      the Response on successful completion of Mono.
      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.
    • removePasswordAsync

      Mono<Void> removePasswordAsync(String applicationId, ApplicationsRemovePasswordRequestBody body)
      Invoke action removePassword.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • removePasswordWithResponse

      com.azure.core.http.rest.Response<Void> removePasswordWithResponse(String applicationId, ApplicationsRemovePasswordRequestBody body, com.azure.core.util.Context context)
      Invoke action removePassword.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      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.
    • removePassword

      void removePassword(String applicationId, ApplicationsRemovePasswordRequestBody body)
      Invoke action removePassword.
      Parameters:
      applicationId - key: id of application.
      body - Action parameters.
      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.
    • restoreWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>> restoreWithResponseAsync(String applicationId)
      Invoke action restore.
      Parameters:
      applicationId - key: id of application.
      Returns:
      directoryObject along with Response on successful completion of Mono.
      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.
    • restoreAsync

      Mono<MicrosoftGraphDirectoryObjectInner> restoreAsync(String applicationId)
      Invoke action restore.
      Parameters:
      applicationId - key: id of application.
      Returns:
      directoryObject on successful completion of Mono.
      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.
    • restoreWithResponse

      com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> restoreWithResponse(String applicationId, com.azure.core.util.Context context)
      Invoke action restore.
      Parameters:
      applicationId - key: id of application.
      context - The context to associate with this operation.
      Returns:
      directoryObject along with 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.
    • restore

      Invoke action restore.
      Parameters:
      applicationId - key: id of application.
      Returns:
      directoryObject.
      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.