Interface PartnerRegistrationsClient


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

    • getByResourceGroup

      PartnerRegistrationInner getByResourceGroup(String resourceGroupName, String partnerRegistrationName)
      Gets a partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      Returns:
      a partner registration with the specified parameters.
      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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<PartnerRegistrationInner> getByResourceGroupWithResponse(String resourceGroupName, String partnerRegistrationName, com.azure.core.util.Context context)
      Gets a partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      context - The context to associate with this operation.
      Returns:
      a partner registration with the specified parameters 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PartnerRegistrationInner>,PartnerRegistrationInner> beginCreateOrUpdate(String resourceGroupName, String partnerRegistrationName, PartnerRegistrationInner partnerRegistrationInfo)
      Creates a new partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      partnerRegistrationInfo - PartnerRegistration information.
      Returns:
      the SyncPoller for polling of information about a partner registration.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PartnerRegistrationInner>,PartnerRegistrationInner> beginCreateOrUpdate(String resourceGroupName, String partnerRegistrationName, PartnerRegistrationInner partnerRegistrationInfo, com.azure.core.util.Context context)
      Creates a new partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      partnerRegistrationInfo - PartnerRegistration information.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of information about a partner registration.
      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.
    • createOrUpdate

      PartnerRegistrationInner createOrUpdate(String resourceGroupName, String partnerRegistrationName, PartnerRegistrationInner partnerRegistrationInfo)
      Creates a new partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      partnerRegistrationInfo - PartnerRegistration information.
      Returns:
      information about a partner registration.
      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.
    • createOrUpdate

      PartnerRegistrationInner createOrUpdate(String resourceGroupName, String partnerRegistrationName, PartnerRegistrationInner partnerRegistrationInfo, com.azure.core.util.Context context)
      Creates a new partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      partnerRegistrationInfo - PartnerRegistration information.
      context - The context to associate with this operation.
      Returns:
      information about a partner registration.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String partnerRegistrationName)
      Deletes a partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String partnerRegistrationName, com.azure.core.util.Context context)
      Deletes a partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • delete

      void delete(String resourceGroupName, String partnerRegistrationName)
      Deletes a partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      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.
    • delete

      void delete(String resourceGroupName, String partnerRegistrationName, com.azure.core.util.Context context)
      Deletes a partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      context - The context to associate with this operation.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PartnerRegistrationInner>,PartnerRegistrationInner> beginUpdate(String resourceGroupName, String partnerRegistrationName, PartnerRegistrationUpdateParameters partnerRegistrationUpdateParameters)
      Updates a partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      partnerRegistrationUpdateParameters - Partner registration update information.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PartnerRegistrationInner>,PartnerRegistrationInner> beginUpdate(String resourceGroupName, String partnerRegistrationName, PartnerRegistrationUpdateParameters partnerRegistrationUpdateParameters, com.azure.core.util.Context context)
      Updates a partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      partnerRegistrationUpdateParameters - Partner registration update information.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • update

      PartnerRegistrationInner update(String resourceGroupName, String partnerRegistrationName, PartnerRegistrationUpdateParameters partnerRegistrationUpdateParameters)
      Updates a partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      partnerRegistrationUpdateParameters - Partner registration update information.
      Returns:
      the 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.
    • update

      PartnerRegistrationInner update(String resourceGroupName, String partnerRegistrationName, PartnerRegistrationUpdateParameters partnerRegistrationUpdateParameters, com.azure.core.util.Context context)
      Updates a partner registration with the specified parameters.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      partnerRegistrationName - Name of the partner registration.
      partnerRegistrationUpdateParameters - Partner registration update information.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • list

      com.azure.core.http.rest.PagedIterable<PartnerRegistrationInner> list()
      List all the partner registrations under an Azure subscription.
      Returns:
      result of the List Partner Registrations operation 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<PartnerRegistrationInner> list(String filter, Integer top, com.azure.core.util.Context context)
      List all the partner registrations under an Azure subscription.
      Parameters:
      filter - The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'.
      top - The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.
      context - The context to associate with this operation.
      Returns:
      result of the List Partner Registrations operation 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<PartnerRegistrationInner> listByResourceGroup(String resourceGroupName)
      List all the partner registrations under a resource group.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      Returns:
      result of the List Partner Registrations operation 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<PartnerRegistrationInner> listByResourceGroup(String resourceGroupName, String filter, Integer top, com.azure.core.util.Context context)
      List all the partner registrations under a resource group.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription.
      filter - The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'.
      top - The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.
      context - The context to associate with this operation.
      Returns:
      result of the List Partner Registrations operation 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.