Interface Experiments
public interface Experiments
Resource collection API of Experiments.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Experiment resource.void
Deletes an Experiment.void
delete
(String resourceGroupName, String profileName, String experimentName, com.azure.core.util.Context context) Deletes an Experiment.void
deleteById
(String id) Deletes an Experiment.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes an Experiment.Gets an Experiment by ExperimentName.Gets an Experiment by ExperimentName.com.azure.core.http.rest.Response<Experiment>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets an Experiment by ExperimentName.com.azure.core.http.rest.Response<Experiment>
getWithResponse
(String resourceGroupName, String profileName, String experimentName, com.azure.core.util.Context context) Gets an Experiment by ExperimentName.com.azure.core.http.rest.PagedIterable<Experiment>
listByProfile
(String resourceGroupName, String profileName) Gets a list of Experiments.com.azure.core.http.rest.PagedIterable<Experiment>
listByProfile
(String resourceGroupName, String profileName, com.azure.core.util.Context context) Gets a list of Experiments.
-
Method Details
-
listByProfile
com.azure.core.http.rest.PagedIterable<Experiment> 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<Experiment> 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<Experiment> 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
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.
-
delete
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.
-
getById
Gets an Experiment by ExperimentName.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<Experiment> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets an Experiment by ExperimentName.- Parameters:
id
- the resource ID.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.
-
deleteById
Deletes an Experiment.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
Deletes an Experiment.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new Experiment resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new Experiment definition.
-