diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_py3.py index 0d6a3b6d3f9b..423ad0cbcc97 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class Cluster(Resource): diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/experiment_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/experiment_py3.py index 99b7142ba505..495105a0cb91 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/experiment_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/experiment_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .proxy_resource import ProxyResource +from .proxy_resource_py3 import ProxyResource class Experiment(ProxyResource): diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_py3.py index bf2486163701..705a59d3ec45 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class FileServer(Resource): diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_create_parameters.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_create_parameters.py index f5b1d8e6c987..812e1dc98b2c 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_create_parameters.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_create_parameters.py @@ -18,7 +18,7 @@ class JobCreateParameters(Model): All required parameters must be populated in order to send to Azure. :param scheduling_priority: Scheduling priority associated with the job. - Scheduling priority associated with the job. Possible values include: + Scheduling priority associated with the job. Possible values include: 'low', 'normal', 'high'. Default value: "normal" . :type scheduling_priority: str or ~azure.mgmt.batchai.models.JobPriority :param cluster: Required. Specifies the Id of the cluster on which this diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_create_parameters_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_create_parameters_py3.py index 1d90aa79445d..423b976ed4cf 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_create_parameters_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_create_parameters_py3.py @@ -18,7 +18,7 @@ class JobCreateParameters(Model): All required parameters must be populated in order to send to Azure. :param scheduling_priority: Scheduling priority associated with the job. - Scheduling priority associated with the job. Possible values include: + Scheduling priority associated with the job. Possible values include: 'low', 'normal', 'high'. Default value: "normal" . :type scheduling_priority: str or ~azure.mgmt.batchai.models.JobPriority :param cluster: Required. Specifies the Id of the cluster on which this diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_py3.py index 6491856115c5..b98c52dd724c 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .proxy_resource import ProxyResource +from .proxy_resource_py3 import ProxyResource class Job(ProxyResource): diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_py3.py index 85904b666b3f..2c7968542158 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_py3.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .resource_py3 import Resource class Workspace(Resource): diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/operations/experiments_operations.py b/azure-mgmt-batchai/azure/mgmt/batchai/operations/experiments_operations.py index 14eca2230622..135919711e70 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/experiments_operations.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/experiments_operations.py @@ -126,7 +126,7 @@ def internal_paging(next_link=None, raw=False): def _create_initial( - self, resource_group_name, workspace_name, experiment_name, parameters, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, workspace_name, experiment_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.create.metadata['url'] path_format_arguments = { @@ -151,13 +151,9 @@ def _create_initial( if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - # Construct body - body_content = self._serialize.body(parameters, 'object') - # Construct and send request request = self._client.put(url, query_parameters) - response = self._client.send( - request, header_parameters, body_content, stream=False, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200, 202]: exp = CloudError(response) @@ -176,7 +172,7 @@ def _create_initial( return deserialized def create( - self, resource_group_name, workspace_name, experiment_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, workspace_name, experiment_name, custom_headers=None, raw=False, polling=True, **operation_config): """Creates an Experiment. :param resource_group_name: Name of the resource group to which the @@ -192,9 +188,6 @@ def create( dash (-) and underscore (_). The name must be from 1 through 64 characters long. :type experiment_name: str - :param parameters: The parameters to provide for the experiment - creation. - :type parameters: object :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -212,7 +205,6 @@ def create( resource_group_name=resource_group_name, workspace_name=workspace_name, experiment_name=experiment_name, - parameters=parameters, custom_headers=custom_headers, raw=True, **operation_config