Interface ExperimentsClient


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

    • listByProfile

      com.azure.core.http.rest.PagedIterable<ExperimentInner> listByProfile(String resourceGroupName, String profileName)
      Gets a list of Experiments.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      Returns:
      a list of Experiments 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.
    • listByProfile

      com.azure.core.http.rest.PagedIterable<ExperimentInner> listByProfile(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Gets a list of Experiments.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      context - The context to associate with this operation.
      Returns:
      a list of Experiments 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.
    • getWithResponse

      com.azure.core.http.rest.Response<ExperimentInner> getWithResponse(String resourceGroupName, String profileName, String experimentName, com.azure.core.util.Context context)
      Gets an Experiment by ExperimentName.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      context - The context to associate with this operation.
      Returns:
      an Experiment by ExperimentName 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.
    • get

      ExperimentInner get(String resourceGroupName, String profileName, String experimentName)
      Gets an Experiment by ExperimentName.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      Returns:
      an Experiment by ExperimentName.
      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<ExperimentInner>,ExperimentInner> beginCreateOrUpdate(String resourceGroupName, String profileName, String experimentName, ExperimentInner parameters)
      Creates or updates an Experiment.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      parameters - The Experiment resource.
      Returns:
      the SyncPoller for polling of defines the properties of an Experiment.
      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<ExperimentInner>,ExperimentInner> beginCreateOrUpdate(String resourceGroupName, String profileName, String experimentName, ExperimentInner parameters, com.azure.core.util.Context context)
      Creates or updates an Experiment.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      parameters - The Experiment resource.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of defines the properties of an Experiment.
      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

      ExperimentInner createOrUpdate(String resourceGroupName, String profileName, String experimentName, ExperimentInner parameters)
      Creates or updates an Experiment.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      parameters - The Experiment resource.
      Returns:
      defines the properties of an Experiment.
      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

      ExperimentInner createOrUpdate(String resourceGroupName, String profileName, String experimentName, ExperimentInner parameters, com.azure.core.util.Context context)
      Creates or updates an Experiment.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      parameters - The Experiment resource.
      context - The context to associate with this operation.
      Returns:
      defines the properties of an Experiment.
      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<ExperimentInner>,ExperimentInner> beginUpdate(String resourceGroupName, String profileName, String experimentName, ExperimentUpdateModel parameters)
      Updates an Experiment by Experiment id

      Updates an Experiment.

      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      parameters - The Experiment Update Model.
      Returns:
      the SyncPoller for polling of defines the properties of an Experiment.
      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<ExperimentInner>,ExperimentInner> beginUpdate(String resourceGroupName, String profileName, String experimentName, ExperimentUpdateModel parameters, com.azure.core.util.Context context)
      Updates an Experiment by Experiment id

      Updates an Experiment.

      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      parameters - The Experiment Update Model.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of defines the properties of an Experiment.
      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

      ExperimentInner update(String resourceGroupName, String profileName, String experimentName, ExperimentUpdateModel parameters)
      Updates an Experiment by Experiment id

      Updates an Experiment.

      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      parameters - The Experiment Update Model.
      Returns:
      defines the properties of an Experiment.
      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

      ExperimentInner update(String resourceGroupName, String profileName, String experimentName, ExperimentUpdateModel parameters, com.azure.core.util.Context context)
      Updates an Experiment by Experiment id

      Updates an Experiment.

      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      parameters - The Experiment Update Model.
      context - The context to associate with this operation.
      Returns:
      defines the properties of an Experiment.
      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 profileName, String experimentName)
      Deletes an Experiment.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      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 profileName, String experimentName, com.azure.core.util.Context context)
      Deletes an Experiment.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      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 profileName, String experimentName)
      Deletes an Experiment.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      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 profileName, String experimentName, com.azure.core.util.Context context)
      Deletes an Experiment.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      experimentName - The Experiment identifier associated with the Experiment.
      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.