ExperimentsOperations Class
ExperimentsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectExperimentsOperations
Constructor
ExperimentsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| begin_create |
Creates an Experiment. |
| begin_delete |
Deletes an Experiment. |
| get |
Gets information about an Experiment. |
| list_by_workspace |
Gets a list of Experiments within the specified Workspace. |
begin_create
Creates an Experiment.
begin_create(resource_group_name: str, workspace_name: str, experiment_name: str, **kwargs: Any) -> LROPoller[_models.Experiment]
Parameters
- workspace_name
- str
The name of the workspace. Workspace names can only contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- experiment_name
- str
The name of the experiment. Experiment names can only contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either Experiment or the result of cls(response)
Return type
Exceptions
begin_delete
Deletes an Experiment.
begin_delete(resource_group_name: str, workspace_name: str, experiment_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
- workspace_name
- str
The name of the workspace. Workspace names can only contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- experiment_name
- str
The name of the experiment. Experiment names can only contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either None or the result of cls(response)
Return type
Exceptions
get
Gets information about an Experiment.
get(resource_group_name: str, workspace_name: str, experiment_name: str, **kwargs: Any) -> _models.Experiment
Parameters
- workspace_name
- str
The name of the workspace. Workspace names can only contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- experiment_name
- str
The name of the experiment. Experiment names can only contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Experiment, or the result of cls(response)
Return type
Exceptions
list_by_workspace
Gets a list of Experiments within the specified Workspace.
list_by_workspace(resource_group_name: str, workspace_name: str, experiments_list_by_workspace_options: Optional[_models.ExperimentsListByWorkspaceOptions] = None, **kwargs: Any) -> Iterable[_models.ExperimentListResult]
Parameters
- workspace_name
- str
The name of the workspace. Workspace names can only contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
- experiments_list_by_workspace_options
- <xref:batch_ai.models.ExperimentsListByWorkspaceOptions>
Parameter group.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ExperimentListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.batchai.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\batchai\\models\\__init__.py'>
Feedback
Submit and view feedback for