diff --git a/azure-mgmt-batchai/README.rst b/azure-mgmt-batchai/README.rst index 65fcfec76e3a..e10bf9857960 100644 --- a/azure-mgmt-batchai/README.rst +++ b/azure-mgmt-batchai/README.rst @@ -14,30 +14,11 @@ For the older Azure Service Management (ASM) libraries, see For a more complete set of Azure libraries, see the `azure `__ bundle package. -Compatibility -============= - -**IMPORTANT**: If you have an earlier version of the azure package -(version < 1.0), you should uninstall it before installing this package. - -You can check the version using pip: - -.. code:: shell - - pip freeze - -If you see azure==0.11.0 (or any version below 1.0), uninstall it first: - -.. code:: shell - - pip uninstall azure - - Usage ===== For code examples, see `Batch AI Management -`__ +`__ on docs.microsoft.com. diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/app_insights_reference.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/app_insights_reference.py index 2ce807764121..027af49e57a8 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/app_insights_reference.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/app_insights_reference.py @@ -13,21 +13,19 @@ class AppInsightsReference(Model): - """Specifies Azure Application Insights information for performance counters - reporting. + """Azure Application Insights information for performance counters reporting. All required parameters must be populated in order to send to Azure. - :param component: Required. Specifies the Azure Application Insights - component resource id. + :param component: Required. Component ID. Azure Application Insights + component resource ID. :type component: ~azure.mgmt.batchai.models.ResourceId - :param instrumentation_key: Value of the Azure Application Insights - instrumentation key. + :param instrumentation_key: Instrumentation Key. Value of the Azure + Application Insights instrumentation key. :type instrumentation_key: str - :param instrumentation_key_secret_reference: Specifies a KeyVault Secret - containing Azure Application Insights instrumentation key. Specifies - KeyVault Store and Secret which contains Azure Application Insights - instrumentation key. One of instumentationKey or + :param instrumentation_key_secret_reference: Instrumentation key KeyVault + Secret reference. KeyVault Store and Secret which contains Azure + Application Insights instrumentation key. One of instrumentationKey or instrumentationKeySecretReference must be specified. :type instrumentation_key_secret_reference: ~azure.mgmt.batchai.models.KeyVaultSecretReference diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/app_insights_reference_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/app_insights_reference_py3.py index 272f336ca5f4..737eda34fba5 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/app_insights_reference_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/app_insights_reference_py3.py @@ -13,21 +13,19 @@ class AppInsightsReference(Model): - """Specifies Azure Application Insights information for performance counters - reporting. + """Azure Application Insights information for performance counters reporting. All required parameters must be populated in order to send to Azure. - :param component: Required. Specifies the Azure Application Insights - component resource id. + :param component: Required. Component ID. Azure Application Insights + component resource ID. :type component: ~azure.mgmt.batchai.models.ResourceId - :param instrumentation_key: Value of the Azure Application Insights - instrumentation key. + :param instrumentation_key: Instrumentation Key. Value of the Azure + Application Insights instrumentation key. :type instrumentation_key: str - :param instrumentation_key_secret_reference: Specifies a KeyVault Secret - containing Azure Application Insights instrumentation key. Specifies - KeyVault Store and Secret which contains Azure Application Insights - instrumentation key. One of instumentationKey or + :param instrumentation_key_secret_reference: Instrumentation key KeyVault + Secret reference. KeyVault Store and Secret which contains Azure + Application Insights instrumentation key. One of instrumentationKey or instrumentationKeySecretReference must be specified. :type instrumentation_key_secret_reference: ~azure.mgmt.batchai.models.KeyVaultSecretReference diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/auto_scale_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/auto_scale_settings.py index 4877c29858b4..72f8bbbc3773 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/auto_scale_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/auto_scale_settings.py @@ -13,21 +13,23 @@ class AutoScaleSettings(Model): - """The system automatically scales the cluster up and down (within - minimumNodeCount and maximumNodeCount) based on the pending and running - jobs on the cluster. + """Auto-scale settings for the cluster. The system automatically scales the + cluster up and down (within minimumNodeCount and maximumNodeCount) based on + the number of queued and running jobs assigned to the cluster. All required parameters must be populated in order to send to Azure. - :param minimum_node_count: Required. Specifies the minimum number of - compute nodes the cluster can have. + :param minimum_node_count: Required. Minimum node count. The minimum + number of compute nodes the Batch AI service will try to allocate for the + cluster. Note, the actual number of nodes can be less than the specified + value if the subscription has not enough quota to fulfill the request. :type minimum_node_count: int - :param maximum_node_count: Required. Specifies the maximum number of - compute nodes the cluster can have. + :param maximum_node_count: Required. Maximum node count. The maximum + number of compute nodes the cluster can have. :type maximum_node_count: int - :param initial_node_count: Specifies the number of compute nodes to - allocate on cluster creation. Note that this value is used only during - cluster creation. Default value: 0 . + :param initial_node_count: Initial node count. The number of compute nodes + to allocate on cluster creation. Note that this value is used only during + cluster creation. Default: 0. Default value: 0 . :type initial_node_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/auto_scale_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/auto_scale_settings_py3.py index a1048c6d5b68..5dc98c7e9c04 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/auto_scale_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/auto_scale_settings_py3.py @@ -13,21 +13,23 @@ class AutoScaleSettings(Model): - """The system automatically scales the cluster up and down (within - minimumNodeCount and maximumNodeCount) based on the pending and running - jobs on the cluster. + """Auto-scale settings for the cluster. The system automatically scales the + cluster up and down (within minimumNodeCount and maximumNodeCount) based on + the number of queued and running jobs assigned to the cluster. All required parameters must be populated in order to send to Azure. - :param minimum_node_count: Required. Specifies the minimum number of - compute nodes the cluster can have. + :param minimum_node_count: Required. Minimum node count. The minimum + number of compute nodes the Batch AI service will try to allocate for the + cluster. Note, the actual number of nodes can be less than the specified + value if the subscription has not enough quota to fulfill the request. :type minimum_node_count: int - :param maximum_node_count: Required. Specifies the maximum number of - compute nodes the cluster can have. + :param maximum_node_count: Required. Maximum node count. The maximum + number of compute nodes the cluster can have. :type maximum_node_count: int - :param initial_node_count: Specifies the number of compute nodes to - allocate on cluster creation. Note that this value is used only during - cluster creation. Default value: 0 . + :param initial_node_count: Initial node count. The number of compute nodes + to allocate on cluster creation. Note that this value is used only during + cluster creation. Default: 0. Default value: 0 . :type initial_node_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_blob_file_system_reference.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_blob_file_system_reference.py index 69dfdaef542b..ce2fcf644dbc 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_blob_file_system_reference.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_blob_file_system_reference.py @@ -13,27 +13,27 @@ class AzureBlobFileSystemReference(Model): - """Provides required information, for the service to be able to mount Azure - Blob Storage container on the cluster nodes. + """Azure Blob Storage Container mounting configuration. All required parameters must be populated in order to send to Azure. - :param account_name: Required. Name of the Azure Blob Storage account. + :param account_name: Required. Account name. Name of the Azure storage + account. :type account_name: str - :param container_name: Required. Name of the Azure Blob Storage container - to mount on the cluster. + :param container_name: Required. Container name. Name of the Azure Blob + Storage container to mount on the cluster. :type container_name: str - :param credentials: Required. Information of the Azure Blob Storage - account credentials. + :param credentials: Required. Credentials. Information about the Azure + storage credentials. :type credentials: ~azure.mgmt.batchai.models.AzureStorageCredentialsInfo - :param relative_mount_path: Required. Specifies the relative path on the - compute node where the Azure Blob file system will be mounted. Note that - all cluster level blob file systems will be mounted under - $AZ_BATCHAI_MOUNT_ROOT location and all job level blob file systems will - be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. + :param relative_mount_path: Required. Relative mount path. The relative + path on the compute node where the Azure File container will be mounted. + Note that all cluster level containers will be mounted under + $AZ_BATCHAI_MOUNT_ROOT location and all job level containers will be + mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. :type relative_mount_path: str - :param mount_options: Specifies the various mount options that can be used - to configure Blob file system. + :param mount_options: Mount options. Mount options for mounting blobfuse + file system. :type mount_options: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_blob_file_system_reference_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_blob_file_system_reference_py3.py index 69a2e7603a44..b67e4d2294ac 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_blob_file_system_reference_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_blob_file_system_reference_py3.py @@ -13,27 +13,27 @@ class AzureBlobFileSystemReference(Model): - """Provides required information, for the service to be able to mount Azure - Blob Storage container on the cluster nodes. + """Azure Blob Storage Container mounting configuration. All required parameters must be populated in order to send to Azure. - :param account_name: Required. Name of the Azure Blob Storage account. + :param account_name: Required. Account name. Name of the Azure storage + account. :type account_name: str - :param container_name: Required. Name of the Azure Blob Storage container - to mount on the cluster. + :param container_name: Required. Container name. Name of the Azure Blob + Storage container to mount on the cluster. :type container_name: str - :param credentials: Required. Information of the Azure Blob Storage - account credentials. + :param credentials: Required. Credentials. Information about the Azure + storage credentials. :type credentials: ~azure.mgmt.batchai.models.AzureStorageCredentialsInfo - :param relative_mount_path: Required. Specifies the relative path on the - compute node where the Azure Blob file system will be mounted. Note that - all cluster level blob file systems will be mounted under - $AZ_BATCHAI_MOUNT_ROOT location and all job level blob file systems will - be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. + :param relative_mount_path: Required. Relative mount path. The relative + path on the compute node where the Azure File container will be mounted. + Note that all cluster level containers will be mounted under + $AZ_BATCHAI_MOUNT_ROOT location and all job level containers will be + mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. :type relative_mount_path: str - :param mount_options: Specifies the various mount options that can be used - to configure Blob file system. + :param mount_options: Mount options. Mount options for mounting blobfuse + file system. :type mount_options: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_file_share_reference.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_file_share_reference.py index 157b12a0a131..e84f6e46c2d8 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_file_share_reference.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_file_share_reference.py @@ -13,27 +13,30 @@ class AzureFileShareReference(Model): - """Details of the Azure File Share to mount on the cluster. + """Azure File Share mounting configuration. All required parameters must be populated in order to send to Azure. - :param account_name: Required. Name of the storage account. + :param account_name: Required. Account name. Name of the Azure storage + account. :type account_name: str - :param azure_file_url: Required. URL to access the Azure File. + :param azure_file_url: Required. Azure File URL. URL to access the Azure + File. :type azure_file_url: str - :param credentials: Required. Information of the Azure File credentials. + :param credentials: Required. Credentials. Information about the Azure + storage credentials. :type credentials: ~azure.mgmt.batchai.models.AzureStorageCredentialsInfo - :param relative_mount_path: Required. Specifies the relative path on the - compute node where the Azure file share will be mounted. Note that all - cluster level file shares will be mounted under $AZ_BATCHAI_MOUNT_ROOT - location and all job level file shares will be mounted under - $AZ_BATCHAI_JOB_MOUNT_ROOT. + :param relative_mount_path: Required. Relative mount path. The relative + path on the compute node where the Azure File share will be mounted. Note + that all cluster level file shares will be mounted under + $AZ_BATCHAI_MOUNT_ROOT location and all job level file shares will be + mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. :type relative_mount_path: str - :param file_mode: Specifies the file mode. Default value is 0777. Valid - only if OS is linux. Default value: "0777" . + :param file_mode: File mode. File mode for files on the mounted file + share. Default value: 0777. Default value: "0777" . :type file_mode: str - :param directory_mode: Specifies the directory Mode. Default value is - 0777. Valid only if OS is linux. Default value: "0777" . + :param directory_mode: Directory mode. File mode for directories on the + mounted file share. Default value: 0777. Default value: "0777" . :type directory_mode: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_file_share_reference_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_file_share_reference_py3.py index 2237eb61ea4f..e3e59706e62c 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_file_share_reference_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_file_share_reference_py3.py @@ -13,27 +13,30 @@ class AzureFileShareReference(Model): - """Details of the Azure File Share to mount on the cluster. + """Azure File Share mounting configuration. All required parameters must be populated in order to send to Azure. - :param account_name: Required. Name of the storage account. + :param account_name: Required. Account name. Name of the Azure storage + account. :type account_name: str - :param azure_file_url: Required. URL to access the Azure File. + :param azure_file_url: Required. Azure File URL. URL to access the Azure + File. :type azure_file_url: str - :param credentials: Required. Information of the Azure File credentials. + :param credentials: Required. Credentials. Information about the Azure + storage credentials. :type credentials: ~azure.mgmt.batchai.models.AzureStorageCredentialsInfo - :param relative_mount_path: Required. Specifies the relative path on the - compute node where the Azure file share will be mounted. Note that all - cluster level file shares will be mounted under $AZ_BATCHAI_MOUNT_ROOT - location and all job level file shares will be mounted under - $AZ_BATCHAI_JOB_MOUNT_ROOT. + :param relative_mount_path: Required. Relative mount path. The relative + path on the compute node where the Azure File share will be mounted. Note + that all cluster level file shares will be mounted under + $AZ_BATCHAI_MOUNT_ROOT location and all job level file shares will be + mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. :type relative_mount_path: str - :param file_mode: Specifies the file mode. Default value is 0777. Valid - only if OS is linux. Default value: "0777" . + :param file_mode: File mode. File mode for files on the mounted file + share. Default value: 0777. Default value: "0777" . :type file_mode: str - :param directory_mode: Specifies the directory Mode. Default value is - 0777. Valid only if OS is linux. Default value: "0777" . + :param directory_mode: Directory mode. File mode for directories on the + mounted file share. Default value: 0777. Default value: "0777" . :type directory_mode: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_storage_credentials_info.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_storage_credentials_info.py index eed3fbd26555..2c2f3319178a 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_storage_credentials_info.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_storage_credentials_info.py @@ -13,16 +13,14 @@ class AzureStorageCredentialsInfo(Model): - """Credentials to access Azure File Share. + """Azure storage account credentials. - :param account_key: Storage account key. One of accountKey or + :param account_key: Account key. Storage account key. One of accountKey or accountKeySecretReference must be specified. :type account_key: str - :param account_key_secret_reference: Specifies the location of the storage - account key, which is a Key Vault Secret. Users can store their secrets in - Azure KeyVault and pass it to the Batch AI Service to integrate with - KeyVault. One of accountKey or accountKeySecretReference must be - specified. + :param account_key_secret_reference: Account key secret reference. + Information about KeyVault secret storing the storage account key. One of + accountKey or accountKeySecretReference must be specified. :type account_key_secret_reference: ~azure.mgmt.batchai.models.KeyVaultSecretReference """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_storage_credentials_info_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_storage_credentials_info_py3.py index aab85cc3e219..525bda8f067b 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_storage_credentials_info_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_storage_credentials_info_py3.py @@ -13,16 +13,14 @@ class AzureStorageCredentialsInfo(Model): - """Credentials to access Azure File Share. + """Azure storage account credentials. - :param account_key: Storage account key. One of accountKey or + :param account_key: Account key. Storage account key. One of accountKey or accountKeySecretReference must be specified. :type account_key: str - :param account_key_secret_reference: Specifies the location of the storage - account key, which is a Key Vault Secret. Users can store their secrets in - Azure KeyVault and pass it to the Batch AI Service to integrate with - KeyVault. One of accountKey or accountKeySecretReference must be - specified. + :param account_key_secret_reference: Account key secret reference. + Information about KeyVault secret storing the storage account key. One of + accountKey or accountKeySecretReference must be specified. :type account_key_secret_reference: ~azure.mgmt.batchai.models.KeyVaultSecretReference """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_error.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_error.py index 6848ef698eb8..84e93382bc6e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_error.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_error.py @@ -18,7 +18,7 @@ class BatchAIError(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar code: An identifier for the error. Codes are invariant and are + :ivar code: An identifier of the error. Codes are invariant and are intended to be consumed programmatically. :vartype code: str :ivar message: A message describing the error, intended to be suitable for diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_error_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_error_py3.py index 9b2fff26d7de..e4066b105ebc 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_error_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_error_py3.py @@ -18,7 +18,7 @@ class BatchAIError(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar code: An identifier for the error. Codes are invariant and are + :ivar code: An identifier of the error. Codes are invariant and are intended to be consumed programmatically. :vartype code: str :ivar message: A message describing the error, intended to be suitable for diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_management_client_enums.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_management_client_enums.py index 5eb2b6a67bfe..e29a03a48fad 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_management_client_enums.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_management_client_enums.py @@ -81,7 +81,7 @@ class ToolType(str, Enum): caffe2 = "caffe2" chainer = "chainer" horovod = "horovod" - mpi = "mpi" + custommpi = "custommpi" custom = "custom" diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe2_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe2_settings.py index f557caa980af..6b856a158d88 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe2_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe2_settings.py @@ -13,17 +13,18 @@ class Caffe2Settings(Model): - """Specifies the settings for Caffe2 job. + """Caffe2 job settings. All required parameters must be populated in order to send to Azure. - :param python_script_file_path: Required. The path and file name of the - python script to execute the job. + :param python_script_file_path: Required. Python script file path. The + python script to execute. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. :type python_interpreter_path: str - :param command_line_args: Command line arguments that needs to be passed - to the python script. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the python script. :type command_line_args: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe2_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe2_settings_py3.py index 8e6d5f44fd3e..e248ebf8db59 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe2_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe2_settings_py3.py @@ -13,17 +13,18 @@ class Caffe2Settings(Model): - """Specifies the settings for Caffe2 job. + """Caffe2 job settings. All required parameters must be populated in order to send to Azure. - :param python_script_file_path: Required. The path and file name of the - python script to execute the job. + :param python_script_file_path: Required. Python script file path. The + python script to execute. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. :type python_interpreter_path: str - :param command_line_args: Command line arguments that needs to be passed - to the python script. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the python script. :type command_line_args: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe_settings.py index 08ccda061bf5..a4f398ba383f 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe_settings.py @@ -13,23 +13,24 @@ class CaffeSettings(Model): - """Specifies the settings for Caffe job. + """Caffe job settings. - :param config_file_path: Specifies the path of the config file. This - property cannot be specified if pythonScriptFilePath is specified. + :param config_file_path: Config file path. Path of the config file for the + job. This property cannot be specified if pythonScriptFilePath is + specified. :type config_file_path: str - :param python_script_file_path: The path and file name of the python - script to execute the job. This property cannot be specified if - configFilePath is specified. + :param python_script_file_path: Python script file path. Python script to + execute. This property cannot be specified if configFilePath is specified. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. This - property can be specified only if the pythonScriptFilePath is specified. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. The property can be specified only if the + pythonScriptFilePath is specified. :type python_interpreter_path: str - :param command_line_args: Command line arguments that needs to be passed - to the Caffe job. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the Caffe job. :type command_line_args: str - :param process_count: Number of processes parameter that is passed to MPI - runtime. The default value for this property is equal to nodeCount + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount property :type process_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe_settings_py3.py index 34168d9e98ac..b8a74dd5932e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe_settings_py3.py @@ -13,23 +13,24 @@ class CaffeSettings(Model): - """Specifies the settings for Caffe job. + """Caffe job settings. - :param config_file_path: Specifies the path of the config file. This - property cannot be specified if pythonScriptFilePath is specified. + :param config_file_path: Config file path. Path of the config file for the + job. This property cannot be specified if pythonScriptFilePath is + specified. :type config_file_path: str - :param python_script_file_path: The path and file name of the python - script to execute the job. This property cannot be specified if - configFilePath is specified. + :param python_script_file_path: Python script file path. Python script to + execute. This property cannot be specified if configFilePath is specified. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. This - property can be specified only if the pythonScriptFilePath is specified. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. The property can be specified only if the + pythonScriptFilePath is specified. :type python_interpreter_path: str - :param command_line_args: Command line arguments that needs to be passed - to the Caffe job. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the Caffe job. :type command_line_args: str - :param process_count: Number of processes parameter that is passed to MPI - runtime. The default value for this property is equal to nodeCount + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount property :type process_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/chainer_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/chainer_settings.py index 09d2d2d13b82..4d4cc0a814c6 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/chainer_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/chainer_settings.py @@ -13,20 +13,21 @@ class ChainerSettings(Model): - """Specifies the settings for Chainer job. + """Chainer job settings. All required parameters must be populated in order to send to Azure. - :param python_script_file_path: Required. The path and file name of the - python script to execute the job. + :param python_script_file_path: Required. Python script file path. The + python script to execute. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. :type python_interpreter_path: str - :param command_line_args: Command line arguments that needs to be passed - to the python script. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the python script. :type command_line_args: str - :param process_count: Number of processes parameter that is passed to MPI - runtime. The default value for this property is equal to nodeCount + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount property :type process_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/chainer_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/chainer_settings_py3.py index f545397cac75..4c8189b9e91f 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/chainer_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/chainer_settings_py3.py @@ -13,20 +13,21 @@ class ChainerSettings(Model): - """Specifies the settings for Chainer job. + """Chainer job settings. All required parameters must be populated in order to send to Azure. - :param python_script_file_path: Required. The path and file name of the - python script to execute the job. + :param python_script_file_path: Required. Python script file path. The + python script to execute. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. :type python_interpreter_path: str - :param command_line_args: Command line arguments that needs to be passed - to the python script. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the python script. :type command_line_args: str - :param process_count: Number of processes parameter that is passed to MPI - runtime. The default value for this property is equal to nodeCount + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount property :type process_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster.py index 8a039c006742..e46f36741181 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster.py @@ -13,7 +13,7 @@ class Cluster(ProxyResource): - """Contains information about a Cluster. + """Information about a Cluster. Variables are only populated by the server, and will be ignored when sending a request. @@ -24,67 +24,64 @@ class Cluster(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param vm_size: The size of the virtual machines in the cluster. All - virtual machines in a cluster are the same size. For information about - available VM sizes for clusters using images from the Virtual Machines - Marketplace (see Sizes for Virtual Machines (Linux) or Sizes for Virtual - Machines (Windows). Batch AI service supports all Azure VM sizes except - STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and - STANDARD_DSV2 series). + :param vm_size: VM size. The size of the virtual machines in the cluster. + All nodes in a cluster have the same VM size. :type vm_size: str - :param vm_priority: dedicated or lowpriority. The default value is - dedicated. The node can get preempted while the task is running if - lowpriority is choosen. This is best suited if the workload is - checkpointing and can be restarted. Possible values include: 'dedicated', - 'lowpriority'. Default value: "dedicated" . + :param vm_priority: VM priority. VM priority of cluster nodes. Possible + values include: 'dedicated', 'lowpriority'. Default value: "dedicated" . :type vm_priority: str or ~azure.mgmt.batchai.models.VmPriority - :param scale_settings: Desired scale for the Cluster. + :param scale_settings: Scale settings. Scale settings of the cluster. :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings - :param virtual_machine_configuration: Settings for OS image and mounted - data volumes. + :param virtual_machine_configuration: VM configuration. Virtual machine + configuration (OS image) of the compute nodes. All nodes in a cluster have + the same OS image configuration. :type virtual_machine_configuration: ~azure.mgmt.batchai.models.VirtualMachineConfiguration - :param node_setup: Setup to be done on all compute nodes in the Cluster. + :param node_setup: Node setup. Setup (mount file systems, performance + counters settings and custom setup task) to be performed on each compute + node in the cluster. :type node_setup: ~azure.mgmt.batchai.models.NodeSetup - :param user_account_settings: Settings for user account of compute nodes. + :param user_account_settings: User account settings. Administrator user + account settings which can be used to SSH to compute nodes. :type user_account_settings: ~azure.mgmt.batchai.models.UserAccountSettings - :param subnet: Specifies the identifier of the subnet. + :param subnet: Subnet. Virtual network subnet resource ID the cluster + nodes belong to. :type subnet: ~azure.mgmt.batchai.models.ResourceId - :ivar creation_time: The creation time of the cluster. + :ivar creation_time: Creation time. The time when the cluster was created. :vartype creation_time: datetime - :ivar provisioning_state: Specifies the provisioning state of the cluster. - Possible value are: creating - Specifies that the cluster is being - created. succeeded - Specifies that the cluster has been created + :ivar provisioning_state: Provisioning state. Provisioning state of the + cluster. Possible value are: creating - Specifies that the cluster is + being created. succeeded - Specifies that the cluster has been created successfully. failed - Specifies that the cluster creation has failed. deleting - Specifies that the cluster is being deleted. Possible values include: 'creating', 'succeeded', 'failed', 'deleting' :vartype provisioning_state: str or ~azure.mgmt.batchai.models.ProvisioningState - :ivar provisioning_state_transition_time: The provisioning state - transition time of the cluster. + :ivar provisioning_state_transition_time: Provisioning State Transition + time. Time when the provisioning state was changed. :vartype provisioning_state_transition_time: datetime - :ivar allocation_state: Indicates whether the cluster is resizing. - Possible values are: steady and resizing. steady state indicates that the - cluster is not resizing. There are no changes to the number of compute - nodes in the cluster in progress. A cluster enters this state when it is - created and when no operations are being performed on the cluster to - change the number of compute nodes. resizing state indicates that the - cluster is resizing; that is, compute nodes are being added to or removed - from the cluster. Possible values include: 'steady', 'resizing' + :ivar allocation_state: Allocation state. Allocation state of the cluster. + Possible values are: steady - Indicates that the cluster is not resizing. + There are no changes to the number of compute nodes in the cluster in + progress. A cluster enters this state when it is created and when no + operations are being performed on the cluster to change the number of + compute nodes. resizing - Indicates that the cluster is resizing; that is, + compute nodes are being added to or removed from the cluster. Possible + values include: 'steady', 'resizing' :vartype allocation_state: str or ~azure.mgmt.batchai.models.AllocationState - :ivar allocation_state_transition_time: The time at which the cluster - entered its current allocation state. + :ivar allocation_state_transition_time: Allocation state transition time. + The time at which the cluster entered its current allocation state. :vartype allocation_state_transition_time: datetime - :ivar errors: Contains details of various errors on the cluster including - resize and node setup task. This element contains all the errors - encountered by various compute nodes during node setup. + :ivar errors: Errors. Collection of errors encountered by various compute + nodes during node setup. :vartype errors: list[~azure.mgmt.batchai.models.BatchAIError] - :ivar current_node_count: The number of compute nodes currently assigned - to the cluster. + :ivar current_node_count: Current node count. The number of compute nodes + currently assigned to the cluster. :vartype current_node_count: int - :ivar node_state_counts: Counts of various node states on the cluster. + :ivar node_state_counts: Node state counts. Counts of various node states + on the cluster. :vartype node_state_counts: ~azure.mgmt.batchai.models.NodeStateCounts """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_create_parameters.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_create_parameters.py index ccc1a26333de..4e5505142c35 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_create_parameters.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_create_parameters.py @@ -13,35 +13,40 @@ class ClusterCreateParameters(Model): - """Parameters supplied to the Create operation. + """Cluster creation operation. All required parameters must be populated in order to send to Azure. - :param vm_size: Required. The size of the virtual machines in the cluster. - All virtual machines in a cluster are the same size. For information about - available VM sizes for clusters using images from the Virtual Machines - Marketplace (see Sizes for Virtual Machines (Linux) or Sizes for Virtual - Machines (Windows). Batch AI service supports all Azure VM sizes except - STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and - STANDARD_DSV2 series). + :param vm_size: Required. VM size. The size of the virtual machines in the + cluster. All nodes in a cluster have the same VM size. For information + about available VM sizes for clusters using images from the Virtual + Machines Marketplace see Sizes for Virtual Machines (Linux). Batch AI + service supports all Azure VM sizes except STANDARD_A0 and those with + premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). :type vm_size: str - :param vm_priority: dedicated or lowpriority. Default is dedicated. - Possible values include: 'dedicated', 'lowpriority'. Default value: - "dedicated" . + :param vm_priority: VM priority. VM priority. Allowed values are: + dedicated (default) and lowpriority. Possible values include: 'dedicated', + 'lowpriority'. Default value: "dedicated" . :type vm_priority: str or ~azure.mgmt.batchai.models.VmPriority - :param scale_settings: Desired scale for the cluster. + :param scale_settings: Scale settings. Scale settings for the cluster. + Batch AI service supports manual and auto scale clusters. :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings - :param virtual_machine_configuration: Settings for OS image and mounted - data volumes. + :param virtual_machine_configuration: VM configuration. OS image + configuration for cluster nodes. All nodes in a cluster have the same OS + image. :type virtual_machine_configuration: ~azure.mgmt.batchai.models.VirtualMachineConfiguration - :param node_setup: Setup to be done on all compute nodes in the cluster. + :param node_setup: Node setup. Setup to be performed on each compute node + in the cluster. :type node_setup: ~azure.mgmt.batchai.models.NodeSetup - :param user_account_settings: Required. Settings for user account that - will be created on all compute nodes of the cluster. + :param user_account_settings: Required. User account settings. Settings + for an administrator user account that will be created on each compute + node in the cluster. :type user_account_settings: ~azure.mgmt.batchai.models.UserAccountSettings - :param subnet: Specifies the identifier of the subnet. . + :param subnet: Subnet. Existing virtual network subnet to put the cluster + nodes in. Note, if a File Server mount configured in node setup, the File + Server's subnet will be used automatically. :type subnet: ~azure.mgmt.batchai.models.ResourceId """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_create_parameters_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_create_parameters_py3.py index 306d1cda5c84..0c61815a2e73 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_create_parameters_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_create_parameters_py3.py @@ -13,35 +13,40 @@ class ClusterCreateParameters(Model): - """Parameters supplied to the Create operation. + """Cluster creation operation. All required parameters must be populated in order to send to Azure. - :param vm_size: Required. The size of the virtual machines in the cluster. - All virtual machines in a cluster are the same size. For information about - available VM sizes for clusters using images from the Virtual Machines - Marketplace (see Sizes for Virtual Machines (Linux) or Sizes for Virtual - Machines (Windows). Batch AI service supports all Azure VM sizes except - STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and - STANDARD_DSV2 series). + :param vm_size: Required. VM size. The size of the virtual machines in the + cluster. All nodes in a cluster have the same VM size. For information + about available VM sizes for clusters using images from the Virtual + Machines Marketplace see Sizes for Virtual Machines (Linux). Batch AI + service supports all Azure VM sizes except STANDARD_A0 and those with + premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). :type vm_size: str - :param vm_priority: dedicated or lowpriority. Default is dedicated. - Possible values include: 'dedicated', 'lowpriority'. Default value: - "dedicated" . + :param vm_priority: VM priority. VM priority. Allowed values are: + dedicated (default) and lowpriority. Possible values include: 'dedicated', + 'lowpriority'. Default value: "dedicated" . :type vm_priority: str or ~azure.mgmt.batchai.models.VmPriority - :param scale_settings: Desired scale for the cluster. + :param scale_settings: Scale settings. Scale settings for the cluster. + Batch AI service supports manual and auto scale clusters. :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings - :param virtual_machine_configuration: Settings for OS image and mounted - data volumes. + :param virtual_machine_configuration: VM configuration. OS image + configuration for cluster nodes. All nodes in a cluster have the same OS + image. :type virtual_machine_configuration: ~azure.mgmt.batchai.models.VirtualMachineConfiguration - :param node_setup: Setup to be done on all compute nodes in the cluster. + :param node_setup: Node setup. Setup to be performed on each compute node + in the cluster. :type node_setup: ~azure.mgmt.batchai.models.NodeSetup - :param user_account_settings: Required. Settings for user account that - will be created on all compute nodes of the cluster. + :param user_account_settings: Required. User account settings. Settings + for an administrator user account that will be created on each compute + node in the cluster. :type user_account_settings: ~azure.mgmt.batchai.models.UserAccountSettings - :param subnet: Specifies the identifier of the subnet. . + :param subnet: Subnet. Existing virtual network subnet to put the cluster + nodes in. Note, if a File Server mount configured in node setup, the File + Server's subnet will be used automatically. :type subnet: ~azure.mgmt.batchai.models.ResourceId """ 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 40bb1fd619d0..a31697e25f0c 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_py3.py @@ -13,7 +13,7 @@ class Cluster(ProxyResource): - """Contains information about a Cluster. + """Information about a Cluster. Variables are only populated by the server, and will be ignored when sending a request. @@ -24,67 +24,64 @@ class Cluster(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param vm_size: The size of the virtual machines in the cluster. All - virtual machines in a cluster are the same size. For information about - available VM sizes for clusters using images from the Virtual Machines - Marketplace (see Sizes for Virtual Machines (Linux) or Sizes for Virtual - Machines (Windows). Batch AI service supports all Azure VM sizes except - STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and - STANDARD_DSV2 series). + :param vm_size: VM size. The size of the virtual machines in the cluster. + All nodes in a cluster have the same VM size. :type vm_size: str - :param vm_priority: dedicated or lowpriority. The default value is - dedicated. The node can get preempted while the task is running if - lowpriority is choosen. This is best suited if the workload is - checkpointing and can be restarted. Possible values include: 'dedicated', - 'lowpriority'. Default value: "dedicated" . + :param vm_priority: VM priority. VM priority of cluster nodes. Possible + values include: 'dedicated', 'lowpriority'. Default value: "dedicated" . :type vm_priority: str or ~azure.mgmt.batchai.models.VmPriority - :param scale_settings: Desired scale for the Cluster. + :param scale_settings: Scale settings. Scale settings of the cluster. :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings - :param virtual_machine_configuration: Settings for OS image and mounted - data volumes. + :param virtual_machine_configuration: VM configuration. Virtual machine + configuration (OS image) of the compute nodes. All nodes in a cluster have + the same OS image configuration. :type virtual_machine_configuration: ~azure.mgmt.batchai.models.VirtualMachineConfiguration - :param node_setup: Setup to be done on all compute nodes in the Cluster. + :param node_setup: Node setup. Setup (mount file systems, performance + counters settings and custom setup task) to be performed on each compute + node in the cluster. :type node_setup: ~azure.mgmt.batchai.models.NodeSetup - :param user_account_settings: Settings for user account of compute nodes. + :param user_account_settings: User account settings. Administrator user + account settings which can be used to SSH to compute nodes. :type user_account_settings: ~azure.mgmt.batchai.models.UserAccountSettings - :param subnet: Specifies the identifier of the subnet. + :param subnet: Subnet. Virtual network subnet resource ID the cluster + nodes belong to. :type subnet: ~azure.mgmt.batchai.models.ResourceId - :ivar creation_time: The creation time of the cluster. + :ivar creation_time: Creation time. The time when the cluster was created. :vartype creation_time: datetime - :ivar provisioning_state: Specifies the provisioning state of the cluster. - Possible value are: creating - Specifies that the cluster is being - created. succeeded - Specifies that the cluster has been created + :ivar provisioning_state: Provisioning state. Provisioning state of the + cluster. Possible value are: creating - Specifies that the cluster is + being created. succeeded - Specifies that the cluster has been created successfully. failed - Specifies that the cluster creation has failed. deleting - Specifies that the cluster is being deleted. Possible values include: 'creating', 'succeeded', 'failed', 'deleting' :vartype provisioning_state: str or ~azure.mgmt.batchai.models.ProvisioningState - :ivar provisioning_state_transition_time: The provisioning state - transition time of the cluster. + :ivar provisioning_state_transition_time: Provisioning State Transition + time. Time when the provisioning state was changed. :vartype provisioning_state_transition_time: datetime - :ivar allocation_state: Indicates whether the cluster is resizing. - Possible values are: steady and resizing. steady state indicates that the - cluster is not resizing. There are no changes to the number of compute - nodes in the cluster in progress. A cluster enters this state when it is - created and when no operations are being performed on the cluster to - change the number of compute nodes. resizing state indicates that the - cluster is resizing; that is, compute nodes are being added to or removed - from the cluster. Possible values include: 'steady', 'resizing' + :ivar allocation_state: Allocation state. Allocation state of the cluster. + Possible values are: steady - Indicates that the cluster is not resizing. + There are no changes to the number of compute nodes in the cluster in + progress. A cluster enters this state when it is created and when no + operations are being performed on the cluster to change the number of + compute nodes. resizing - Indicates that the cluster is resizing; that is, + compute nodes are being added to or removed from the cluster. Possible + values include: 'steady', 'resizing' :vartype allocation_state: str or ~azure.mgmt.batchai.models.AllocationState - :ivar allocation_state_transition_time: The time at which the cluster - entered its current allocation state. + :ivar allocation_state_transition_time: Allocation state transition time. + The time at which the cluster entered its current allocation state. :vartype allocation_state_transition_time: datetime - :ivar errors: Contains details of various errors on the cluster including - resize and node setup task. This element contains all the errors - encountered by various compute nodes during node setup. + :ivar errors: Errors. Collection of errors encountered by various compute + nodes during node setup. :vartype errors: list[~azure.mgmt.batchai.models.BatchAIError] - :ivar current_node_count: The number of compute nodes currently assigned - to the cluster. + :ivar current_node_count: Current node count. The number of compute nodes + currently assigned to the cluster. :vartype current_node_count: int - :ivar node_state_counts: Counts of various node states on the cluster. + :ivar node_state_counts: Node state counts. Counts of various node states + on the cluster. :vartype node_state_counts: ~azure.mgmt.batchai.models.NodeStateCounts """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_update_parameters.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_update_parameters.py index f83c0448955e..8a39bd93166f 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_update_parameters.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_update_parameters.py @@ -13,9 +13,10 @@ class ClusterUpdateParameters(Model): - """Parameters supplied to the Update operation. + """Cluster update parameters. - :param scale_settings: Desired scale for the cluster. + :param scale_settings: Scale settings. Desired scale settings for the + cluster. Batch AI service supports manual and auto scale clusters. :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_update_parameters_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_update_parameters_py3.py index b217f24eaafb..1c9aab5062a7 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_update_parameters_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_update_parameters_py3.py @@ -13,9 +13,10 @@ class ClusterUpdateParameters(Model): - """Parameters supplied to the Update operation. + """Cluster update parameters. - :param scale_settings: Desired scale for the cluster. + :param scale_settings: Scale settings. Desired scale settings for the + cluster. Batch AI service supports manual and auto scale clusters. :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/cnt_ksettings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/cnt_ksettings.py index 86fee3b5985e..542901edb4c1 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/cnt_ksettings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cnt_ksettings.py @@ -13,27 +13,29 @@ class CNTKsettings(Model): - """Specifies the settings for CNTK (aka Microsoft Cognitive Toolkit) job. + """CNTK (aka Microsoft Cognitive Toolkit) job settings. - :param language_type: Specifies the language type to use for launching + :param language_type: Language type. The language to use for launching CNTK (aka Microsoft Cognitive Toolkit) job. Valid values are 'BrainScript' or 'Python'. :type language_type: str - :param config_file_path: Specifies the path of the config file. This - property can be specified only if the languageType is 'BrainScript'. + :param config_file_path: Config file path. Specifies the path of the + BrainScript config file. This property can be specified only if the + languageType is 'BrainScript'. :type config_file_path: str - :param python_script_file_path: The path and file name of the python - script to execute the job. This property can be specified only if the - languageType is 'Python'. + :param python_script_file_path: Python script file path. Python script to + execute. This property can be specified only if the languageType is + 'Python'. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. This - property can be specified only if the languageType is 'Python'. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. This property can be specified only if the + languageType is 'Python'. :type python_interpreter_path: str - :param command_line_args: Command line arguments that needs to be passed - to the python script or CNTK.exe. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the python script or cntk executable. :type command_line_args: str - :param process_count: Number of processes parameter that is passed to MPI - runtime. The default value for this property is equal to nodeCount + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount property :type process_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/cnt_ksettings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/cnt_ksettings_py3.py index aba4c5331f96..efa7da42e793 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/cnt_ksettings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cnt_ksettings_py3.py @@ -13,27 +13,29 @@ class CNTKsettings(Model): - """Specifies the settings for CNTK (aka Microsoft Cognitive Toolkit) job. + """CNTK (aka Microsoft Cognitive Toolkit) job settings. - :param language_type: Specifies the language type to use for launching + :param language_type: Language type. The language to use for launching CNTK (aka Microsoft Cognitive Toolkit) job. Valid values are 'BrainScript' or 'Python'. :type language_type: str - :param config_file_path: Specifies the path of the config file. This - property can be specified only if the languageType is 'BrainScript'. + :param config_file_path: Config file path. Specifies the path of the + BrainScript config file. This property can be specified only if the + languageType is 'BrainScript'. :type config_file_path: str - :param python_script_file_path: The path and file name of the python - script to execute the job. This property can be specified only if the - languageType is 'Python'. + :param python_script_file_path: Python script file path. Python script to + execute. This property can be specified only if the languageType is + 'Python'. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. This - property can be specified only if the languageType is 'Python'. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. This property can be specified only if the + languageType is 'Python'. :type python_interpreter_path: str - :param command_line_args: Command line arguments that needs to be passed - to the python script or CNTK.exe. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the python script or cntk executable. :type command_line_args: str - :param process_count: Number of processes parameter that is passed to MPI - runtime. The default value for this property is equal to nodeCount + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount property :type process_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/container_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/container_settings.py index 055b812c8dd7..50ba3c932c6e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/container_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/container_settings.py @@ -13,16 +13,16 @@ class ContainerSettings(Model): - """Settings for the container to be downloaded. + """Docker container settings. All required parameters must be populated in order to send to Azure. - :param image_source_registry: Required. Registry to download the container - from. + :param image_source_registry: Required. Image source registry. Information + about docker image and docker registry to download the container from. :type image_source_registry: ~azure.mgmt.batchai.models.ImageSourceRegistry - :param shm_size: Size of /dev/shm. Please refer to docker documentation - for supported argument formats. + :param shm_size: /dev/shm size. Size of /dev/shm. Please refer to docker + documentation for supported argument formats. :type shm_size: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/container_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/container_settings_py3.py index 9d44e80ffb03..f24aa49f94e2 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/container_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/container_settings_py3.py @@ -13,16 +13,16 @@ class ContainerSettings(Model): - """Settings for the container to be downloaded. + """Docker container settings. All required parameters must be populated in order to send to Azure. - :param image_source_registry: Required. Registry to download the container - from. + :param image_source_registry: Required. Image source registry. Information + about docker image and docker registry to download the container from. :type image_source_registry: ~azure.mgmt.batchai.models.ImageSourceRegistry - :param shm_size: Size of /dev/shm. Please refer to docker documentation - for supported argument formats. + :param shm_size: /dev/shm size. Size of /dev/shm. Please refer to docker + documentation for supported argument formats. :type shm_size: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_mpi_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_mpi_settings.py index e69c7df270bf..c9d4e2d852e6 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_mpi_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_mpi_settings.py @@ -13,15 +13,15 @@ class CustomMpiSettings(Model): - """Specifies the settings for a custom MPI job. + """Custom MPI job settings. All required parameters must be populated in order to send to Azure. - :param command_line: Required. The program and program command line - parameters to be executed by mpi runtime. + :param command_line: Required. Command line. The command line to be + executed by mpi runtime on each compute node. :type command_line: str - :param process_count: Number of processes parameter that is passed to MPI - runtime. The default value for this property is equal to nodeCount + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount property :type process_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_mpi_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_mpi_settings_py3.py index d0c2c703aae8..64d4197d637b 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_mpi_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_mpi_settings_py3.py @@ -13,15 +13,15 @@ class CustomMpiSettings(Model): - """Specifies the settings for a custom MPI job. + """Custom MPI job settings. All required parameters must be populated in order to send to Azure. - :param command_line: Required. The program and program command line - parameters to be executed by mpi runtime. + :param command_line: Required. Command line. The command line to be + executed by mpi runtime on each compute node. :type command_line: str - :param process_count: Number of processes parameter that is passed to MPI - runtime. The default value for this property is equal to nodeCount + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount property :type process_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_toolkit_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_toolkit_settings.py index 5d567829d5fc..d31126f1ca12 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_toolkit_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_toolkit_settings.py @@ -13,9 +13,10 @@ class CustomToolkitSettings(Model): - """Specifies the settings for a custom tool kit job. + """Custom tool kit job settings. - :param command_line: The command line to execute the custom toolkit Job. + :param command_line: Command line. The command line to execute on the + master node. :type command_line: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_toolkit_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_toolkit_settings_py3.py index ac804269d75b..aa68e6bb0b7e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_toolkit_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_toolkit_settings_py3.py @@ -13,9 +13,10 @@ class CustomToolkitSettings(Model): - """Specifies the settings for a custom tool kit job. + """Custom tool kit job settings. - :param command_line: The command line to execute the custom toolkit Job. + :param command_line: Command line. The command line to execute on the + master node. :type command_line: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/data_disks.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/data_disks.py index b65f5d7e21aa..a6503b21ca14 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/data_disks.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/data_disks.py @@ -13,23 +13,27 @@ class DataDisks(Model): - """Settings for the data disk which would be created for the File Server. + """Data disks settings. All required parameters must be populated in order to send to Azure. - :param disk_size_in_gb: Required. Initial disk size in GB for blank data - disks, and the new desired size for resizing existing data disks. + :param disk_size_in_gb: Required. Disk size in GB. Disk size in GB for the + blank data disks. :type disk_size_in_gb: int - :param caching_type: None, ReadOnly, ReadWrite. Default value is None. - This property is not patchable. Possible values include: 'none', - 'readonly', 'readwrite'. Default value: "none" . + :param caching_type: Caching type. Caching type for the disks. Available + values are none (default), readonly, readwrite. Caching type can be set + only for VM sizes supporting premium storage. Possible values include: + 'none', 'readonly', 'readwrite'. Default value: "none" . :type caching_type: str or ~azure.mgmt.batchai.models.CachingType - :param disk_count: Required. Number of data disks to be attached to the - VM. RAID level 0 will be applied in the case of multiple disks. + :param disk_count: Required. Number of data disks. Number of data disks + attached to the File Server. If multiple disks attached, they will be + configured in RAID level 0. :type disk_count: int - :param storage_account_type: Required. Specifies the type of storage - account to be used on the disk. Possible values are: Standard_LRS or - Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' + :param storage_account_type: Required. Storage account type. Type of + storage account to be used on the disk. Possible values are: Standard_LRS + or Premium_LRS. Premium storage account type can only be used with VM + sizes supporting premium storage. Possible values include: 'Standard_LRS', + 'Premium_LRS' :type storage_account_type: str or ~azure.mgmt.batchai.models.StorageAccountType """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/data_disks_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/data_disks_py3.py index e50624b85b91..9803f7dd6480 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/data_disks_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/data_disks_py3.py @@ -13,23 +13,27 @@ class DataDisks(Model): - """Settings for the data disk which would be created for the File Server. + """Data disks settings. All required parameters must be populated in order to send to Azure. - :param disk_size_in_gb: Required. Initial disk size in GB for blank data - disks, and the new desired size for resizing existing data disks. + :param disk_size_in_gb: Required. Disk size in GB. Disk size in GB for the + blank data disks. :type disk_size_in_gb: int - :param caching_type: None, ReadOnly, ReadWrite. Default value is None. - This property is not patchable. Possible values include: 'none', - 'readonly', 'readwrite'. Default value: "none" . + :param caching_type: Caching type. Caching type for the disks. Available + values are none (default), readonly, readwrite. Caching type can be set + only for VM sizes supporting premium storage. Possible values include: + 'none', 'readonly', 'readwrite'. Default value: "none" . :type caching_type: str or ~azure.mgmt.batchai.models.CachingType - :param disk_count: Required. Number of data disks to be attached to the - VM. RAID level 0 will be applied in the case of multiple disks. + :param disk_count: Required. Number of data disks. Number of data disks + attached to the File Server. If multiple disks attached, they will be + configured in RAID level 0. :type disk_count: int - :param storage_account_type: Required. Specifies the type of storage - account to be used on the disk. Possible values are: Standard_LRS or - Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' + :param storage_account_type: Required. Storage account type. Type of + storage account to be used on the disk. Possible values are: Standard_LRS + or Premium_LRS. Premium storage account type can only be used with VM + sizes supporting premium storage. Possible values include: 'Standard_LRS', + 'Premium_LRS' :type storage_account_type: str or ~azure.mgmt.batchai.models.StorageAccountType """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable.py index ac55df3662c8..5294ebf186ec 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable.py @@ -13,13 +13,13 @@ class EnvironmentVariable(Model): - """A collection of environment variables to set. + """An environment variable definition. All required parameters must be populated in order to send to Azure. - :param name: Required. The name of the environment variable. + :param name: Required. Name. The name of the environment variable. :type name: str - :param value: Required. The value of the environment variable. + :param value: Required. Value. The value of the environment variable. :type value: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_py3.py index 56b44c817645..5f8f2646114a 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_py3.py @@ -13,13 +13,13 @@ class EnvironmentVariable(Model): - """A collection of environment variables to set. + """An environment variable definition. All required parameters must be populated in order to send to Azure. - :param name: Required. The name of the environment variable. + :param name: Required. Name. The name of the environment variable. :type name: str - :param value: Required. The value of the environment variable. + :param value: Required. Value. The value of the environment variable. :type value: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_with_secret_value.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_with_secret_value.py index f55db0077c1e..46e5a050a529 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_with_secret_value.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_with_secret_value.py @@ -13,21 +13,19 @@ class EnvironmentVariableWithSecretValue(Model): - """A collection of environment variables with secret values to set. + """An environment variable with secret value definition. All required parameters must be populated in order to send to Azure. - :param name: Required. The name of the environment variable to store the - secret value. + :param name: Required. Name. The name of the environment variable to store + the secret value. :type name: str - :param value: The value of the environment variable. This value will never - be reported back by Batch AI. + :param value: Value. The value of the environment variable. This value + will never be reported back by Batch AI. :type value: str - :param value_secret_reference: Specifies the location of the Azure - KeyVault secret which will be used as the environment variable value. - Specifies KeyVault Store and Secret which contains the value for the - environment variable. One of value or valueSecretReference must be - provided. + :param value_secret_reference: KeyVault secret reference. KeyVault store + and secret which contains the value for the environment variable. One of + value or valueSecretReference must be provided. :type value_secret_reference: ~azure.mgmt.batchai.models.KeyVaultSecretReference """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_with_secret_value_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_with_secret_value_py3.py index fe9eb16660cc..c6c0392b27a5 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_with_secret_value_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_with_secret_value_py3.py @@ -13,21 +13,19 @@ class EnvironmentVariableWithSecretValue(Model): - """A collection of environment variables with secret values to set. + """An environment variable with secret value definition. All required parameters must be populated in order to send to Azure. - :param name: Required. The name of the environment variable to store the - secret value. + :param name: Required. Name. The name of the environment variable to store + the secret value. :type name: str - :param value: The value of the environment variable. This value will never - be reported back by Batch AI. + :param value: Value. The value of the environment variable. This value + will never be reported back by Batch AI. :type value: str - :param value_secret_reference: Specifies the location of the Azure - KeyVault secret which will be used as the environment variable value. - Specifies KeyVault Store and Secret which contains the value for the - environment variable. One of value or valueSecretReference must be - provided. + :param value_secret_reference: KeyVault secret reference. KeyVault store + and secret which contains the value for the environment variable. One of + value or valueSecretReference must be provided. :type value_secret_reference: ~azure.mgmt.batchai.models.KeyVaultSecretReference """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/experiment.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/experiment.py index f0bbe532e690..d4b7cd6dda29 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/experiment.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/experiment.py @@ -13,7 +13,7 @@ class Experiment(ProxyResource): - """Contains information about the experiment. + """Experiment information. Variables are only populated by the server, and will be ignored when sending a request. @@ -24,15 +24,16 @@ class Experiment(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str - :ivar creation_time: Time when the Experiment was created. + :ivar creation_time: Creation time. Time when the Experiment was created. :vartype creation_time: datetime - :ivar provisioning_state: The provisioned state of the experiment. - Possible values include: 'creating', 'succeeded', 'failed', 'deleting' + :ivar provisioning_state: Provisioning state. The provisioned state of the + experiment. Possible values include: 'creating', 'succeeded', 'failed', + 'deleting' :vartype provisioning_state: str or ~azure.mgmt.batchai.models.ProvisioningState - :ivar provisioning_state_transition_time: The time at which the experiment - entered its current provisioning state. The time at which the experiment - entered its current provisioning state. + :ivar provisioning_state_transition_time: Provisioning state transition + time. The time at which the experiment entered its current provisioning + state. :vartype provisioning_state_transition_time: datetime """ 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 495105a0cb91..12e0c587ff68 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/experiment_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/experiment_py3.py @@ -13,7 +13,7 @@ class Experiment(ProxyResource): - """Contains information about the experiment. + """Experiment information. Variables are only populated by the server, and will be ignored when sending a request. @@ -24,15 +24,16 @@ class Experiment(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str - :ivar creation_time: Time when the Experiment was created. + :ivar creation_time: Creation time. Time when the Experiment was created. :vartype creation_time: datetime - :ivar provisioning_state: The provisioned state of the experiment. - Possible values include: 'creating', 'succeeded', 'failed', 'deleting' + :ivar provisioning_state: Provisioning state. The provisioned state of the + experiment. Possible values include: 'creating', 'succeeded', 'failed', + 'deleting' :vartype provisioning_state: str or ~azure.mgmt.batchai.models.ProvisioningState - :ivar provisioning_state_transition_time: The time at which the experiment - entered its current provisioning state. The time at which the experiment - entered its current provisioning state. + :ivar provisioning_state_transition_time: Provisioning state transition + time. The time at which the experiment entered its current provisioning + state. :vartype provisioning_state_transition_time: datetime """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file.py index 09bdaf9fa0a6..0991ada8d030 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file.py @@ -18,18 +18,18 @@ class File(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar name: Name of the file. + :ivar name: Name. Name of the file. :vartype name: str - :ivar file_type: Contains information about file type. Possible values - include: 'file', 'directory' + :ivar file_type: File type. Type of the file. Possible values are file and + directory. Possible values include: 'file', 'directory' :vartype file_type: str or ~azure.mgmt.batchai.models.FileType - :ivar download_url: Will contain an URL to download the corresponding - file. The downloadUrl is not returned for directories. + :ivar download_url: Download URL. URL to download the corresponding file. + The downloadUrl is not returned for directories. :vartype download_url: str - :ivar last_modified: The time at which the file was last modified. The - time at which the file was last modified. + :ivar last_modified: Last modified time. The time at which the file was + last modified. :vartype last_modified: datetime - :ivar content_length: The file size. The file size. + :ivar content_length: Content length. The file of the size. :vartype content_length: long """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_py3.py index c23264138a90..ea9f392d38e1 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_py3.py @@ -18,18 +18,18 @@ class File(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar name: Name of the file. + :ivar name: Name. Name of the file. :vartype name: str - :ivar file_type: Contains information about file type. Possible values - include: 'file', 'directory' + :ivar file_type: File type. Type of the file. Possible values are file and + directory. Possible values include: 'file', 'directory' :vartype file_type: str or ~azure.mgmt.batchai.models.FileType - :ivar download_url: Will contain an URL to download the corresponding - file. The downloadUrl is not returned for directories. + :ivar download_url: Download URL. URL to download the corresponding file. + The downloadUrl is not returned for directories. :vartype download_url: str - :ivar last_modified: The time at which the file was last modified. The - time at which the file was last modified. + :ivar last_modified: Last modified time. The time at which the file was + last modified. :vartype last_modified: datetime - :ivar content_length: The file size. The file size. + :ivar content_length: Content length. The file of the size. :vartype content_length: long """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server.py index fe1170dab71f..384c81051fc1 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server.py @@ -13,7 +13,7 @@ class FileServer(ProxyResource): - """Contains information about the File Server. + """File Server information. Variables are only populated by the server, and will be ignored when sending a request. @@ -24,33 +24,32 @@ class FileServer(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param vm_size: The size of the virtual machine of the File Server. For - information about available VM sizes for File Server from the Virtual - Machines Marketplace, see Sizes for Virtual Machines (Linux). + :param vm_size: VM size. VM size of the File Server. :type vm_size: str - :param ssh_configuration: SSH settings for the File Server. + :param ssh_configuration: SSH configuration. SSH configuration for + accessing the File Server node. :type ssh_configuration: ~azure.mgmt.batchai.models.SshConfiguration - :param data_disks: Settings for the data disk which would be created for - the File Server. + :param data_disks: Data disks configuration. Information about disks + attached to File Server VM. :type data_disks: ~azure.mgmt.batchai.models.DataDisks - :param subnet: Specifies the identifier of the subnet. + :param subnet: Subnet. File Server virtual network subnet resource ID. :type subnet: ~azure.mgmt.batchai.models.ResourceId - :ivar mount_settings: Details of the File Server. + :ivar mount_settings: Mount settings. File Server mount settings. :vartype mount_settings: ~azure.mgmt.batchai.models.MountSettings - :ivar provisioning_state_transition_time: Time when the status was - changed. + :ivar provisioning_state_transition_time: Provisioning State Transition + time. Time when the provisioning state was changed. :vartype provisioning_state_transition_time: datetime - :ivar creation_time: Time when the FileServer was created. + :ivar creation_time: Creation time. Time when the FileServer was created. :vartype creation_time: datetime - :ivar provisioning_state: Specifies the provisioning state of the File - Server. Possible values: creating - The File Server is getting created. - updating - The File Server creation has been accepted and it is getting - updated. deleting - The user has requested that the File Server be - deleted, and it is in the process of being deleted. failed - The File - Server creation has failed with the specified errorCode. Details about the - error code are specified in the message field. succeeded - The File Server - creation has succeeded. Possible values include: 'creating', 'updating', - 'deleting', 'succeeded', 'failed' + :ivar provisioning_state: Provisioning state. Provisioning state of the + File Server. Possible values: creating - The File Server is getting + created; updating - The File Server creation has been accepted and it is + getting updated; deleting - The user has requested that the File Server be + deleted, and it is in the process of being deleted; failed - The File + Server creation has failed with the specified error code. Details about + the error code are specified in the message field; succeeded - The File + Server creation has succeeded. Possible values include: 'creating', + 'updating', 'deleting', 'succeeded', 'failed' :vartype provisioning_state: str or ~azure.mgmt.batchai.models.FileServerProvisioningState """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_create_parameters.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_create_parameters.py index 59b300e307e6..b09cc76a5498 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_create_parameters.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_create_parameters.py @@ -13,20 +13,23 @@ class FileServerCreateParameters(Model): - """Parameters supplied to the Create operation. + """File Server creation parameters. All required parameters must be populated in order to send to Azure. - :param vm_size: Required. The size of the virtual machine of the file - server. For information about available VM sizes for fileservers from the - Virtual Machines Marketplace, see Sizes for Virtual Machines (Linux). + :param vm_size: Required. VM size. The size of the virtual machine for the + File Server. For information about available VM sizes from the Virtual + Machines Marketplace, see Sizes for Virtual Machines (Linux). :type vm_size: str - :param ssh_configuration: Required. SSH configuration for the file server. + :param ssh_configuration: Required. SSH configuration. SSH configuration + for the File Server node. :type ssh_configuration: ~azure.mgmt.batchai.models.SshConfiguration - :param data_disks: Required. Settings for the data disk which would be - created for the file server. + :param data_disks: Required. Data disks. Settings for the data disks which + will be created for the File Server. :type data_disks: ~azure.mgmt.batchai.models.DataDisks - :param subnet: Specifies the identifier of the subnet. + :param subnet: Subnet identifier. Identifier of an existing virtual + network subnet to put the File Server in. If not provided, a new virtual + network and subnet will be created. :type subnet: ~azure.mgmt.batchai.models.ResourceId """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_create_parameters_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_create_parameters_py3.py index 751a24069e92..25e25d1b9d8d 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_create_parameters_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_create_parameters_py3.py @@ -13,20 +13,23 @@ class FileServerCreateParameters(Model): - """Parameters supplied to the Create operation. + """File Server creation parameters. All required parameters must be populated in order to send to Azure. - :param vm_size: Required. The size of the virtual machine of the file - server. For information about available VM sizes for fileservers from the - Virtual Machines Marketplace, see Sizes for Virtual Machines (Linux). + :param vm_size: Required. VM size. The size of the virtual machine for the + File Server. For information about available VM sizes from the Virtual + Machines Marketplace, see Sizes for Virtual Machines (Linux). :type vm_size: str - :param ssh_configuration: Required. SSH configuration for the file server. + :param ssh_configuration: Required. SSH configuration. SSH configuration + for the File Server node. :type ssh_configuration: ~azure.mgmt.batchai.models.SshConfiguration - :param data_disks: Required. Settings for the data disk which would be - created for the file server. + :param data_disks: Required. Data disks. Settings for the data disks which + will be created for the File Server. :type data_disks: ~azure.mgmt.batchai.models.DataDisks - :param subnet: Specifies the identifier of the subnet. + :param subnet: Subnet identifier. Identifier of an existing virtual + network subnet to put the File Server in. If not provided, a new virtual + network and subnet will be created. :type subnet: ~azure.mgmt.batchai.models.ResourceId """ 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 d7d7b999339f..20e6716a7f5b 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 @@ -13,7 +13,7 @@ class FileServer(ProxyResource): - """Contains information about the File Server. + """File Server information. Variables are only populated by the server, and will be ignored when sending a request. @@ -24,33 +24,32 @@ class FileServer(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param vm_size: The size of the virtual machine of the File Server. For - information about available VM sizes for File Server from the Virtual - Machines Marketplace, see Sizes for Virtual Machines (Linux). + :param vm_size: VM size. VM size of the File Server. :type vm_size: str - :param ssh_configuration: SSH settings for the File Server. + :param ssh_configuration: SSH configuration. SSH configuration for + accessing the File Server node. :type ssh_configuration: ~azure.mgmt.batchai.models.SshConfiguration - :param data_disks: Settings for the data disk which would be created for - the File Server. + :param data_disks: Data disks configuration. Information about disks + attached to File Server VM. :type data_disks: ~azure.mgmt.batchai.models.DataDisks - :param subnet: Specifies the identifier of the subnet. + :param subnet: Subnet. File Server virtual network subnet resource ID. :type subnet: ~azure.mgmt.batchai.models.ResourceId - :ivar mount_settings: Details of the File Server. + :ivar mount_settings: Mount settings. File Server mount settings. :vartype mount_settings: ~azure.mgmt.batchai.models.MountSettings - :ivar provisioning_state_transition_time: Time when the status was - changed. + :ivar provisioning_state_transition_time: Provisioning State Transition + time. Time when the provisioning state was changed. :vartype provisioning_state_transition_time: datetime - :ivar creation_time: Time when the FileServer was created. + :ivar creation_time: Creation time. Time when the FileServer was created. :vartype creation_time: datetime - :ivar provisioning_state: Specifies the provisioning state of the File - Server. Possible values: creating - The File Server is getting created. - updating - The File Server creation has been accepted and it is getting - updated. deleting - The user has requested that the File Server be - deleted, and it is in the process of being deleted. failed - The File - Server creation has failed with the specified errorCode. Details about the - error code are specified in the message field. succeeded - The File Server - creation has succeeded. Possible values include: 'creating', 'updating', - 'deleting', 'succeeded', 'failed' + :ivar provisioning_state: Provisioning state. Provisioning state of the + File Server. Possible values: creating - The File Server is getting + created; updating - The File Server creation has been accepted and it is + getting updated; deleting - The user has requested that the File Server be + deleted, and it is in the process of being deleted; failed - The File + Server creation has failed with the specified error code. Details about + the error code are specified in the message field; succeeded - The File + Server creation has succeeded. Possible values include: 'creating', + 'updating', 'deleting', 'succeeded', 'failed' :vartype provisioning_state: str or ~azure.mgmt.batchai.models.FileServerProvisioningState """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_reference.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_reference.py index 379c2c604e8e..eb46f12602ce 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_reference.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_reference.py @@ -13,24 +13,25 @@ class FileServerReference(Model): - """Provides required information, for the service to be able to mount Azure - FileShare on the cluster nodes. + """File Server mounting configuration. All required parameters must be populated in order to send to Azure. - :param file_server: Required. Reference to the file server resource. + :param file_server: Required. File server. Resource ID of the existing + File Server to be mounted. :type file_server: ~azure.mgmt.batchai.models.ResourceId - :param source_directory: Specifies the source directory in File Server - that needs to be mounted. If this property is not specified, the entire - File Server will be mounted. + :param source_directory: Source directory. File Server directory that + needs to be mounted. If this property is not specified, the entire File + Server will be mounted. :type source_directory: str - :param relative_mount_path: Required. Specifies the relative path on the - compute node where the File Server will be mounted. Note that all cluster - level file servers will be mounted under $AZ_BATCHAI_MOUNT_ROOT location - and job level file servers will be mouted under - $AZ_BATCHAI_JOB_MOUNT_ROOT. + :param relative_mount_path: Required. Relative mount path. The relative + path on the compute node where the File Server will be mounted. Note that + all cluster level file servers will be mounted under + $AZ_BATCHAI_MOUNT_ROOT location and all job level file servers will be + mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. :type relative_mount_path: str - :param mount_options: Specifies the mount options for File Server. + :param mount_options: Mount options. Mount options to be passed to mount + command. :type mount_options: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_reference_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_reference_py3.py index 1ec8dc725688..ecdcbce238f4 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_reference_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_reference_py3.py @@ -13,24 +13,25 @@ class FileServerReference(Model): - """Provides required information, for the service to be able to mount Azure - FileShare on the cluster nodes. + """File Server mounting configuration. All required parameters must be populated in order to send to Azure. - :param file_server: Required. Reference to the file server resource. + :param file_server: Required. File server. Resource ID of the existing + File Server to be mounted. :type file_server: ~azure.mgmt.batchai.models.ResourceId - :param source_directory: Specifies the source directory in File Server - that needs to be mounted. If this property is not specified, the entire - File Server will be mounted. + :param source_directory: Source directory. File Server directory that + needs to be mounted. If this property is not specified, the entire File + Server will be mounted. :type source_directory: str - :param relative_mount_path: Required. Specifies the relative path on the - compute node where the File Server will be mounted. Note that all cluster - level file servers will be mounted under $AZ_BATCHAI_MOUNT_ROOT location - and job level file servers will be mouted under - $AZ_BATCHAI_JOB_MOUNT_ROOT. + :param relative_mount_path: Required. Relative mount path. The relative + path on the compute node where the File Server will be mounted. Note that + all cluster level file servers will be mounted under + $AZ_BATCHAI_MOUNT_ROOT location and all job level file servers will be + mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. :type relative_mount_path: str - :param mount_options: Specifies the mount options for File Server. + :param mount_options: Mount options. Mount options to be passed to mount + command. :type mount_options: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/horovod_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/horovod_settings.py index 43e5029b69fe..8a19daebe5b0 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/horovod_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/horovod_settings.py @@ -17,16 +17,17 @@ class HorovodSettings(Model): All required parameters must be populated in order to send to Azure. - :param python_script_file_path: Required. The path and file name of the - python script to execute the job. + :param python_script_file_path: Required. Python script file path. The + python script to execute. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. :type python_interpreter_path: str - :param command_line_args: Command line arguments that needs to be passed - to the python script. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the python script. :type command_line_args: str - :param process_count: Number of processes parameter that is passed to MPI - runtime. The default value for this property is equal to nodeCount + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount property :type process_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/horovod_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/horovod_settings_py3.py index 886962d70ee7..7c156076077d 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/horovod_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/horovod_settings_py3.py @@ -17,16 +17,17 @@ class HorovodSettings(Model): All required parameters must be populated in order to send to Azure. - :param python_script_file_path: Required. The path and file name of the - python script to execute the job. + :param python_script_file_path: Required. Python script file path. The + python script to execute. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. :type python_interpreter_path: str - :param command_line_args: Command line arguments that needs to be passed - to the python script. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the python script. :type command_line_args: str - :param process_count: Number of processes parameter that is passed to MPI - runtime. The default value for this property is equal to nodeCount + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount property :type process_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/image_reference.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/image_reference.py index d92d706e841c..2f2b212c157e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/image_reference.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/image_reference.py @@ -13,21 +13,21 @@ class ImageReference(Model): - """The image reference. + """The OS image reference. All required parameters must be populated in order to send to Azure. - :param publisher: Required. Publisher of the image. + :param publisher: Required. Publisher. Publisher of the image. :type publisher: str - :param offer: Required. Offer of the image. + :param offer: Required. Offer. Offer of the image. :type offer: str - :param sku: Required. SKU of the image. + :param sku: Required. SKU. SKU of the image. :type sku: str - :param version: Version of the image. + :param version: Version. Version of the image. :type version: str - :param virtual_machine_image_id: The ARM resource identifier of the - virtual machine image. Computes nodes of the cluster will be created using - this custom image. This is of the form + :param virtual_machine_image_id: Custom VM image resource ID. The ARM + resource identifier of the virtual machine image for the compute nodes. + This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}. The virtual machine image must be in the same region and subscription as the cluster. For information about the firewall settings for the Batch diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/image_reference_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/image_reference_py3.py index f62585428da3..492b1ed478c6 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/image_reference_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/image_reference_py3.py @@ -13,21 +13,21 @@ class ImageReference(Model): - """The image reference. + """The OS image reference. All required parameters must be populated in order to send to Azure. - :param publisher: Required. Publisher of the image. + :param publisher: Required. Publisher. Publisher of the image. :type publisher: str - :param offer: Required. Offer of the image. + :param offer: Required. Offer. Offer of the image. :type offer: str - :param sku: Required. SKU of the image. + :param sku: Required. SKU. SKU of the image. :type sku: str - :param version: Version of the image. + :param version: Version. Version of the image. :type version: str - :param virtual_machine_image_id: The ARM resource identifier of the - virtual machine image. Computes nodes of the cluster will be created using - this custom image. This is of the form + :param virtual_machine_image_id: Custom VM image resource ID. The ARM + resource identifier of the virtual machine image for the compute nodes. + This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}. The virtual machine image must be in the same region and subscription as the cluster. For information about the firewall settings for the Batch diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/image_source_registry.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/image_source_registry.py index 310e82b2e8c9..4df39e9728d3 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/image_source_registry.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/image_source_registry.py @@ -13,15 +13,17 @@ class ImageSourceRegistry(Model): - """Details of the container image such as name, URL and credentials. + """Information about docker image for the job. All required parameters must be populated in order to send to Azure. - :param server_url: URL for image repository. + :param server_url: Server URL. URL for image repository. :type server_url: str - :param image: Required. The name of the image in image repository. + :param image: Required. Image. The name of the image in the image + repository. :type image: str - :param credentials: Information to access the private Docker repository. + :param credentials: Credentials. Credentials to access the private docker + repository. :type credentials: ~azure.mgmt.batchai.models.PrivateRegistryCredentials """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/image_source_registry_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/image_source_registry_py3.py index fa452ea8cbf4..e7d76f84fa86 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/image_source_registry_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/image_source_registry_py3.py @@ -13,15 +13,17 @@ class ImageSourceRegistry(Model): - """Details of the container image such as name, URL and credentials. + """Information about docker image for the job. All required parameters must be populated in order to send to Azure. - :param server_url: URL for image repository. + :param server_url: Server URL. URL for image repository. :type server_url: str - :param image: Required. The name of the image in image repository. + :param image: Required. Image. The name of the image in the image + repository. :type image: str - :param credentials: Information to access the private Docker repository. + :param credentials: Credentials. Credentials to access the private docker + repository. :type credentials: ~azure.mgmt.batchai.models.PrivateRegistryCredentials """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/input_directory.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/input_directory.py index 9c75aaf47943..eb33ed6e578f 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/input_directory.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/input_directory.py @@ -17,11 +17,11 @@ class InputDirectory(Model): All required parameters must be populated in order to send to Azure. - :param id: Required. The id for the input directory. The path of the input - directory will be available as a value of an environment variable with - AZ_BATCHAI_INPUT_ name, where is the value of id attribute. + :param id: Required. ID. The ID for the input directory. The job can use + AZ_BATCHAI_INPUT_ environment variable to find the directory path, + where is the value of id attribute. :type id: str - :param path: Required. The path to the input directory. + :param path: Required. Path. The path to the input directory. :type path: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/input_directory_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/input_directory_py3.py index f885cc732958..fa8a083fd121 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/input_directory_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/input_directory_py3.py @@ -17,11 +17,11 @@ class InputDirectory(Model): All required parameters must be populated in order to send to Azure. - :param id: Required. The id for the input directory. The path of the input - directory will be available as a value of an environment variable with - AZ_BATCHAI_INPUT_ name, where is the value of id attribute. + :param id: Required. ID. The ID for the input directory. The job can use + AZ_BATCHAI_INPUT_ environment variable to find the directory path, + where is the value of id attribute. :type id: str - :param path: Required. The path to the input directory. + :param path: Required. Path. The path to the input directory. :type path: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job.py index f6e7f4fbefa6..90d499768a18 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job.py @@ -13,7 +13,7 @@ class Job(ProxyResource): - """Contains information about a Job. + """Information about a Job. Variables are only populated by the server, and will be ignored when sending a request. @@ -24,25 +24,18 @@ class Job(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param scheduling_priority: Scheduling priority associated with the job. - Scheduling priority associated with the job. Possible values include: - 'low', 'normal', 'high'. Default value: "normal" . + :param scheduling_priority: Scheduling priority. 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: Specifies the Id of the cluster on which this job will - run. + :param cluster: Cluster. Resource ID of the cluster associated with the + job. :type cluster: ~azure.mgmt.batchai.models.ResourceId - :param mount_volumes: Information on mount volumes to be used by the job. - These volumes will be mounted before the job execution and will be - unmouted after the job completion. The volumes will be mounted at location - specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. + :param mount_volumes: Mount volumes. Collection of mount volumes available + to the job during execution. These volumes are mounted before the job + execution and unmounted after the job completion. The volumes are mounted + at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. :type mount_volumes: ~azure.mgmt.batchai.models.MountVolumes - :ivar job_output_directory_path_segment: A segment of job's output - directories path created by BatchAI. Batch AI creates job's output - directories under an unique path to avoid conflicts between jobs. This - value contains a path segment generated by Batch AI to make the path - unique and can be used to find the output directory on the node or mounted - filesystem. - :vartype job_output_directory_path_segment: str :param node_count: Number of compute nodes to run the job on. The job will be gang scheduled on that many compute nodes :type node_count: int @@ -52,9 +45,9 @@ class Job(ProxyResource): on the VM. :type container_settings: ~azure.mgmt.batchai.models.ContainerSettings :param tool_type: The toolkit type of this job. Possible values are: cntk, - tensorflow, caffe, caffe2, chainer, pytorch, custom, mpi, horovod. + tensorflow, caffe, caffe2, chainer, pytorch, custom, custommpi, horovod. Possible values include: 'cntk', 'tensorflow', 'caffe', 'caffe2', - 'chainer', 'horovod', 'mpi', 'custom' + 'chainer', 'horovod', 'custommpi', 'custom' :type tool_type: str or ~azure.mgmt.batchai.models.ToolType :param cntk_settings: Specifies the settings for CNTK (aka Microsoft Cognitive Toolkit) job. @@ -81,57 +74,62 @@ class Job(ProxyResource): kit is launched. The specified actions will run on all the nodes that are part of the job :type job_preparation: ~azure.mgmt.batchai.models.JobPreparation - :param std_out_err_path_prefix: The path where the Batch AI service will - upload stdout and stderror of the job. + :ivar job_output_directory_path_segment: Output directory path segment. A + segment of job's output directories path created by Batch AI. Batch AI + creates job's output directories under an unique path to avoid conflicts + between jobs. This value contains a path segment generated by Batch AI to + make the path unique and can be used to find the output directory on the + node or mounted filesystem. + :vartype job_output_directory_path_segment: str + :param std_out_err_path_prefix: Standard output directory path prefix. The + path where the Batch AI service stores stdout, stderror and execution log + of the job. :type std_out_err_path_prefix: str - :param input_directories: Specifies the list of input directories for the - Job. + :param input_directories: Input directories. A list of input directories + for the job. :type input_directories: list[~azure.mgmt.batchai.models.InputDirectory] - :param output_directories: Specifies the list of output directories where - the models will be created. + :param output_directories: Output directories. A list of output + directories for the job. :type output_directories: list[~azure.mgmt.batchai.models.OutputDirectory] - :param environment_variables: Additional environment variables to set on - the job. Batch AI will setup these additional environment variables for - the job. + :param environment_variables: Environment variables. A collection of user + defined environment variables to be setup for the job. :type environment_variables: list[~azure.mgmt.batchai.models.EnvironmentVariable] - :param secrets: Additional environment variables with secret values to set - on the job. Batch AI will setup these additional environment variables for - the job. Server will never report values of these variables back. + :param secrets: Secrets. A collection of user defined environment + variables with secret values to be setup for the job. Server will never + report values of these variables back. :type secrets: list[~azure.mgmt.batchai.models.EnvironmentVariableWithSecretValue] :param constraints: Constraints associated with the Job. :type constraints: ~azure.mgmt.batchai.models.JobPropertiesConstraints - :ivar creation_time: The job creation time. The creation time of the job. + :ivar creation_time: Creation time. The creation time of the job. :vartype creation_time: datetime - :ivar provisioning_state: The provisioned state of the Batch AI job. - Possible values include: 'creating', 'succeeded', 'failed', 'deleting' + :ivar provisioning_state: Provisioning state. The provisioned state of the + Batch AI job. Possible values include: 'creating', 'succeeded', 'failed', + 'deleting' :vartype provisioning_state: str or ~azure.mgmt.batchai.models.ProvisioningState - :ivar provisioning_state_transition_time: The time at which the job - entered its current provisioning state. The time at which the job entered - its current provisioning state. + :ivar provisioning_state_transition_time: Provisioning state transition + time. The time at which the job entered its current provisioning state. :vartype provisioning_state_transition_time: datetime - :ivar execution_state: The current state of the job. The current state of - the job. Possible values are: queued - The job is queued and able to run. - A job enters this state when it is created, or when it is awaiting a retry - after a failed run. running - The job is running on a compute cluster. - This includes job-level preparation such as downloading resource files or - set up container specified on the job - it does not necessarily mean that - the job command line has started executing. terminating - The job is + :ivar execution_state: Execution state. The current state of the job. + Possible values are: queued - The job is queued and able to run. A job + enters this state when it is created, or when it is awaiting a retry after + a failed run. running - The job is running on a compute cluster. This + includes job-level preparation such as downloading resource files or set + up container specified on the job - it does not necessarily mean that the + job command line has started executing. terminating - The job is terminated by the user, the terminate operation is in progress. succeeded - - The job has completed running succesfully and exited with exit code 0. + - The job has completed running successfully and exited with exit code 0. failed - The job has finished unsuccessfully (failed with a non-zero exit code) and has exhausted its retry limit. A job is also marked as failed if an error occurred launching the job. Possible values include: 'queued', 'running', 'terminating', 'succeeded', 'failed' :vartype execution_state: str or ~azure.mgmt.batchai.models.ExecutionState - :ivar execution_state_transition_time: The time at which the job entered - its current execution state. The time at which the job entered its current - execution state. + :ivar execution_state_transition_time: Execution state transition time. + The time at which the job entered its current execution state. :vartype execution_state_transition_time: datetime - :param execution_info: Contains information about the execution of a job - in the Azure Batch service. + :param execution_info: Information about the execution of a job. :type execution_info: ~azure.mgmt.batchai.models.JobPropertiesExecutionInfo """ @@ -155,7 +153,6 @@ class Job(ProxyResource): 'scheduling_priority': {'key': 'properties.schedulingPriority', 'type': 'str'}, 'cluster': {'key': 'properties.cluster', 'type': 'ResourceId'}, 'mount_volumes': {'key': 'properties.mountVolumes', 'type': 'MountVolumes'}, - 'job_output_directory_path_segment': {'key': 'properties.jobOutputDirectoryPathSegment', 'type': 'str'}, 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, 'container_settings': {'key': 'properties.containerSettings', 'type': 'ContainerSettings'}, 'tool_type': {'key': 'properties.toolType', 'type': 'str'}, @@ -169,6 +166,7 @@ class Job(ProxyResource): 'custom_mpi_settings': {'key': 'properties.customMpiSettings', 'type': 'CustomMpiSettings'}, 'horovod_settings': {'key': 'properties.horovodSettings', 'type': 'HorovodSettings'}, 'job_preparation': {'key': 'properties.jobPreparation', 'type': 'JobPreparation'}, + 'job_output_directory_path_segment': {'key': 'properties.jobOutputDirectoryPathSegment', 'type': 'str'}, 'std_out_err_path_prefix': {'key': 'properties.stdOutErrPathPrefix', 'type': 'str'}, 'input_directories': {'key': 'properties.inputDirectories', 'type': '[InputDirectory]'}, 'output_directories': {'key': 'properties.outputDirectories', 'type': '[OutputDirectory]'}, @@ -188,7 +186,6 @@ def __init__(self, **kwargs): self.scheduling_priority = kwargs.get('scheduling_priority', "normal") self.cluster = kwargs.get('cluster', None) self.mount_volumes = kwargs.get('mount_volumes', None) - self.job_output_directory_path_segment = None self.node_count = kwargs.get('node_count', None) self.container_settings = kwargs.get('container_settings', None) self.tool_type = kwargs.get('tool_type', None) @@ -202,6 +199,7 @@ def __init__(self, **kwargs): self.custom_mpi_settings = kwargs.get('custom_mpi_settings', None) self.horovod_settings = kwargs.get('horovod_settings', None) self.job_preparation = kwargs.get('job_preparation', None) + self.job_output_directory_path_segment = None self.std_out_err_path_prefix = kwargs.get('std_out_err_path_prefix', None) self.input_directories = kwargs.get('input_directories', None) self.output_directories = kwargs.get('output_directories', None) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_base_properties_constraints.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_base_properties_constraints.py index ca33fd9d89e9..f066b3d53dff 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_base_properties_constraints.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_base_properties_constraints.py @@ -15,8 +15,8 @@ class JobBasePropertiesConstraints(Model): """Constraints associated with the Job. - :param max_wall_clock_time: Max time the job can run. Default Value = 1 - week. Default value: "7.00:00:00" . + :param max_wall_clock_time: Max wall clock time. Max time the job can run. + Default value: 1 week. Default value: "7.00:00:00" . :type max_wall_clock_time: timedelta """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_base_properties_constraints_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_base_properties_constraints_py3.py index 6cbb600f4e1e..f58f438f63ae 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_base_properties_constraints_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_base_properties_constraints_py3.py @@ -15,8 +15,8 @@ class JobBasePropertiesConstraints(Model): """Constraints associated with the Job. - :param max_wall_clock_time: Max time the job can run. Default Value = 1 - week. Default value: "7.00:00:00" . + :param max_wall_clock_time: Max wall clock time. Max time the job can run. + Default value: 1 week. Default value: "7.00:00:00" . :type max_wall_clock_time: timedelta """ 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 812e1dc98b2c..cb81edd3d8b6 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 @@ -13,71 +13,72 @@ class JobCreateParameters(Model): - """Parameters supplied to the Create operation. + """Job creation parameters. 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: - 'low', 'normal', 'high'. Default value: "normal" . + :param scheduling_priority: Scheduling priority. Scheduling priority + associated with the job. Possible values: low, normal, high. 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 - job will run. + :param cluster: Required. Cluster. Resource ID of the cluster on which + this job will run. :type cluster: ~azure.mgmt.batchai.models.ResourceId - :param mount_volumes: Information on mount volumes to be used by the job. - These volumes will be mounted before the job execution and will be - unmouted after the job completion. The volumes will be mounted at location - specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. + :param mount_volumes: Mount volumes. Information on mount volumes to be + used by the job. These volumes will be mounted before the job execution + and will be unmounted after the job completion. The volumes will be + mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment + variable. :type mount_volumes: ~azure.mgmt.batchai.models.MountVolumes - :param node_count: Required. Number of compute nodes to run the job on. - The job will be gang scheduled on that many compute nodes + :param node_count: Required. Node count. Number of compute nodes to run + the job on. The job will be gang scheduled on that many compute nodes. :type node_count: int - :param container_settings: If provided the job will run in the specified - container. If the container was downloaded as part of cluster setup then - the same container image will be used. If not provided, the job will run - on the VM. + :param container_settings: Container settings. Docker container settings + for the job. If not provided, the job will run directly on the node. :type container_settings: ~azure.mgmt.batchai.models.ContainerSettings - :param cntk_settings: Specifies the settings for CNTK (aka Microsoft + :param cntk_settings: CNTK settings. Settings for CNTK (aka Microsoft Cognitive Toolkit) job. :type cntk_settings: ~azure.mgmt.batchai.models.CNTKsettings - :param py_torch_settings: Specifies the settings for pyTorch job. + :param py_torch_settings: pyTorch settings. Settings for pyTorch job. :type py_torch_settings: ~azure.mgmt.batchai.models.PyTorchSettings - :param tensor_flow_settings: Specifies the settings for Tensor Flow job. + :param tensor_flow_settings: TensorFlow settings. Settings for Tensor Flow + job. :type tensor_flow_settings: ~azure.mgmt.batchai.models.TensorFlowSettings - :param caffe_settings: Specifies the settings for Caffe job. + :param caffe_settings: Caffe settings. Settings for Caffe job. :type caffe_settings: ~azure.mgmt.batchai.models.CaffeSettings - :param caffe2_settings: Specifies the settings for Caffe2 job. + :param caffe2_settings: Caffe2 settings. Settings for Caffe2 job. :type caffe2_settings: ~azure.mgmt.batchai.models.Caffe2Settings - :param chainer_settings: Specifies the settings for Chainer job. + :param chainer_settings: Chainer settings. Settings for Chainer job. :type chainer_settings: ~azure.mgmt.batchai.models.ChainerSettings - :param custom_toolkit_settings: Specifies the settings for custom tool kit - job. + :param custom_toolkit_settings: Custom tool kit job. Settings for custom + tool kit job. :type custom_toolkit_settings: ~azure.mgmt.batchai.models.CustomToolkitSettings - :param custom_mpi_settings: Specifies the settings for custom MPI job. + :param custom_mpi_settings: Custom MPI settings. Settings for custom MPI + job. :type custom_mpi_settings: ~azure.mgmt.batchai.models.CustomMpiSettings - :param horovod_settings: Specifies the settings for Horovod job. + :param horovod_settings: Horovod settings. Settings for Horovod job. :type horovod_settings: ~azure.mgmt.batchai.models.HorovodSettings - :param job_preparation: Specifies the command line to be executed before - tool kit is launched. The specified actions will run on all the nodes that - are part of the job + :param job_preparation: Job preparation. A command line to be executed on + each node allocated for the job before tool kit is launched. :type job_preparation: ~azure.mgmt.batchai.models.JobPreparation - :param std_out_err_path_prefix: Required. The path where the Batch AI - service will upload stdout and stderror of the job. + :param std_out_err_path_prefix: Required. Standard output path prefix. The + path where the Batch AI service will store stdout, stderror and execution + log of the job. :type std_out_err_path_prefix: str - :param input_directories: Specifies the list of input directories for the - Job. + :param input_directories: Input directories. A list of input directories + for the job. :type input_directories: list[~azure.mgmt.batchai.models.InputDirectory] - :param output_directories: Specifies the list of output directories. + :param output_directories: Output directories. A list of output + directories for the job. :type output_directories: list[~azure.mgmt.batchai.models.OutputDirectory] - :param environment_variables: Additional environment variables to set on - the job. Batch AI will setup these additional environment variables for - the job. + :param environment_variables: Environment variables. A list of user + defined environment variables which will be setup for the job. :type environment_variables: list[~azure.mgmt.batchai.models.EnvironmentVariable] - :param secrets: Additional environment variables with secret values to set - on the job. Batch AI will setup these additional environment variables for - the job. Server will never report values of these variables back. + :param secrets: Secrets. A list of user defined environment variables with + secret values which will be setup for the job. Server will never report + values of these variables back. :type secrets: list[~azure.mgmt.batchai.models.EnvironmentVariableWithSecretValue] :param constraints: Constraints associated with the Job. 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 423b976ed4cf..2d14a4926568 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 @@ -13,71 +13,72 @@ class JobCreateParameters(Model): - """Parameters supplied to the Create operation. + """Job creation parameters. 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: - 'low', 'normal', 'high'. Default value: "normal" . + :param scheduling_priority: Scheduling priority. Scheduling priority + associated with the job. Possible values: low, normal, high. 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 - job will run. + :param cluster: Required. Cluster. Resource ID of the cluster on which + this job will run. :type cluster: ~azure.mgmt.batchai.models.ResourceId - :param mount_volumes: Information on mount volumes to be used by the job. - These volumes will be mounted before the job execution and will be - unmouted after the job completion. The volumes will be mounted at location - specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. + :param mount_volumes: Mount volumes. Information on mount volumes to be + used by the job. These volumes will be mounted before the job execution + and will be unmounted after the job completion. The volumes will be + mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment + variable. :type mount_volumes: ~azure.mgmt.batchai.models.MountVolumes - :param node_count: Required. Number of compute nodes to run the job on. - The job will be gang scheduled on that many compute nodes + :param node_count: Required. Node count. Number of compute nodes to run + the job on. The job will be gang scheduled on that many compute nodes. :type node_count: int - :param container_settings: If provided the job will run in the specified - container. If the container was downloaded as part of cluster setup then - the same container image will be used. If not provided, the job will run - on the VM. + :param container_settings: Container settings. Docker container settings + for the job. If not provided, the job will run directly on the node. :type container_settings: ~azure.mgmt.batchai.models.ContainerSettings - :param cntk_settings: Specifies the settings for CNTK (aka Microsoft + :param cntk_settings: CNTK settings. Settings for CNTK (aka Microsoft Cognitive Toolkit) job. :type cntk_settings: ~azure.mgmt.batchai.models.CNTKsettings - :param py_torch_settings: Specifies the settings for pyTorch job. + :param py_torch_settings: pyTorch settings. Settings for pyTorch job. :type py_torch_settings: ~azure.mgmt.batchai.models.PyTorchSettings - :param tensor_flow_settings: Specifies the settings for Tensor Flow job. + :param tensor_flow_settings: TensorFlow settings. Settings for Tensor Flow + job. :type tensor_flow_settings: ~azure.mgmt.batchai.models.TensorFlowSettings - :param caffe_settings: Specifies the settings for Caffe job. + :param caffe_settings: Caffe settings. Settings for Caffe job. :type caffe_settings: ~azure.mgmt.batchai.models.CaffeSettings - :param caffe2_settings: Specifies the settings for Caffe2 job. + :param caffe2_settings: Caffe2 settings. Settings for Caffe2 job. :type caffe2_settings: ~azure.mgmt.batchai.models.Caffe2Settings - :param chainer_settings: Specifies the settings for Chainer job. + :param chainer_settings: Chainer settings. Settings for Chainer job. :type chainer_settings: ~azure.mgmt.batchai.models.ChainerSettings - :param custom_toolkit_settings: Specifies the settings for custom tool kit - job. + :param custom_toolkit_settings: Custom tool kit job. Settings for custom + tool kit job. :type custom_toolkit_settings: ~azure.mgmt.batchai.models.CustomToolkitSettings - :param custom_mpi_settings: Specifies the settings for custom MPI job. + :param custom_mpi_settings: Custom MPI settings. Settings for custom MPI + job. :type custom_mpi_settings: ~azure.mgmt.batchai.models.CustomMpiSettings - :param horovod_settings: Specifies the settings for Horovod job. + :param horovod_settings: Horovod settings. Settings for Horovod job. :type horovod_settings: ~azure.mgmt.batchai.models.HorovodSettings - :param job_preparation: Specifies the command line to be executed before - tool kit is launched. The specified actions will run on all the nodes that - are part of the job + :param job_preparation: Job preparation. A command line to be executed on + each node allocated for the job before tool kit is launched. :type job_preparation: ~azure.mgmt.batchai.models.JobPreparation - :param std_out_err_path_prefix: Required. The path where the Batch AI - service will upload stdout and stderror of the job. + :param std_out_err_path_prefix: Required. Standard output path prefix. The + path where the Batch AI service will store stdout, stderror and execution + log of the job. :type std_out_err_path_prefix: str - :param input_directories: Specifies the list of input directories for the - Job. + :param input_directories: Input directories. A list of input directories + for the job. :type input_directories: list[~azure.mgmt.batchai.models.InputDirectory] - :param output_directories: Specifies the list of output directories. + :param output_directories: Output directories. A list of output + directories for the job. :type output_directories: list[~azure.mgmt.batchai.models.OutputDirectory] - :param environment_variables: Additional environment variables to set on - the job. Batch AI will setup these additional environment variables for - the job. + :param environment_variables: Environment variables. A list of user + defined environment variables which will be setup for the job. :type environment_variables: list[~azure.mgmt.batchai.models.EnvironmentVariable] - :param secrets: Additional environment variables with secret values to set - on the job. Batch AI will setup these additional environment variables for - the job. Server will never report values of these variables back. + :param secrets: Secrets. A list of user defined environment variables with + secret values which will be setup for the job. Server will never report + values of these variables back. :type secrets: list[~azure.mgmt.batchai.models.EnvironmentVariableWithSecretValue] :param constraints: Constraints associated with the Job. diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_preparation.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_preparation.py index c36574713cf7..d60b3b668534 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_preparation.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_preparation.py @@ -13,12 +13,12 @@ class JobPreparation(Model): - """Specifies the settings for job preparation. + """Job preparation settings. All required parameters must be populated in order to send to Azure. - :param command_line: Required. The command line to execute. If - containerSettings is specified on the job, this commandLine will be + :param command_line: Required. Command line. The command line to execute. + If containerSettings is specified on the job, this commandLine will be executed in the same container as job. Otherwise it will be executed on the node. :type command_line: str diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_preparation_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_preparation_py3.py index afc8e0f1c7da..ef80b4c9c1fb 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_preparation_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_preparation_py3.py @@ -13,12 +13,12 @@ class JobPreparation(Model): - """Specifies the settings for job preparation. + """Job preparation settings. All required parameters must be populated in order to send to Azure. - :param command_line: Required. The command line to execute. If - containerSettings is specified on the job, this commandLine will be + :param command_line: Required. Command line. The command line to execute. + If containerSettings is specified on the job, this commandLine will be executed in the same container as job. Otherwise it will be executed on the node. :type command_line: str diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_constraints.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_constraints.py index a10d06ab9492..3f235143d878 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_constraints.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_constraints.py @@ -15,8 +15,8 @@ class JobPropertiesConstraints(Model): """Constraints associated with the Job. - :param max_wall_clock_time: Max time the job can run. Default Value = 1 - week. Default value: "7.00:00:00" . + :param max_wall_clock_time: Max wall clock time. Max time the job can run. + Default value: 1 week. Default value: "7.00:00:00" . :type max_wall_clock_time: timedelta """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_constraints_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_constraints_py3.py index 9d6235e6313d..f5297c4b8b68 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_constraints_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_constraints_py3.py @@ -15,8 +15,8 @@ class JobPropertiesConstraints(Model): """Constraints associated with the Job. - :param max_wall_clock_time: Max time the job can run. Default Value = 1 - week. Default value: "7.00:00:00" . + :param max_wall_clock_time: Max wall clock time. Max time the job can run. + Default value: 1 week. Default value: "7.00:00:00" . :type max_wall_clock_time: timedelta """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_execution_info.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_execution_info.py index 87e6c51d7b3e..09f0f6f44416 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_execution_info.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_execution_info.py @@ -13,26 +13,25 @@ class JobPropertiesExecutionInfo(Model): - """Contains information about the execution of a job in the Azure Batch - service. + """Information about the execution of a job. Variables are only populated by the server, and will be ignored when sending a request. - :ivar start_time: The time at which the job started running. 'Running' - corresponds to the running state. If the job has been restarted or - retried, this is the most recent time at which the job started running. + :ivar start_time: Start time. The time at which the job started running. + 'Running' corresponds to the running state. If the job has been restarted + or retried, this is the most recent time at which the job started running. This property is present only for job that are in the running or completed state. :vartype start_time: datetime - :ivar end_time: The time at which the job completed. This property is only - returned if the job is in completed state. + :ivar end_time: End time. The time at which the job completed. This + property is only returned if the job is in completed state. :vartype end_time: datetime - :ivar exit_code: The exit code of the job. This property is only returned - if the job is in completed state. + :ivar exit_code: Exit code. The exit code of the job. This property is + only returned if the job is in completed state. :vartype exit_code: int - :ivar errors: Contains details of various errors encountered by the - service during job execution. + :ivar errors: Errors. A collection of errors encountered by the service + during job execution. :vartype errors: list[~azure.mgmt.batchai.models.BatchAIError] """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_execution_info_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_execution_info_py3.py index b11d1316f534..3a44de561224 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_execution_info_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_execution_info_py3.py @@ -13,26 +13,25 @@ class JobPropertiesExecutionInfo(Model): - """Contains information about the execution of a job in the Azure Batch - service. + """Information about the execution of a job. Variables are only populated by the server, and will be ignored when sending a request. - :ivar start_time: The time at which the job started running. 'Running' - corresponds to the running state. If the job has been restarted or - retried, this is the most recent time at which the job started running. + :ivar start_time: Start time. The time at which the job started running. + 'Running' corresponds to the running state. If the job has been restarted + or retried, this is the most recent time at which the job started running. This property is present only for job that are in the running or completed state. :vartype start_time: datetime - :ivar end_time: The time at which the job completed. This property is only - returned if the job is in completed state. + :ivar end_time: End time. The time at which the job completed. This + property is only returned if the job is in completed state. :vartype end_time: datetime - :ivar exit_code: The exit code of the job. This property is only returned - if the job is in completed state. + :ivar exit_code: Exit code. The exit code of the job. This property is + only returned if the job is in completed state. :vartype exit_code: int - :ivar errors: Contains details of various errors encountered by the - service during job execution. + :ivar errors: Errors. A collection of errors encountered by the service + during job execution. :vartype errors: list[~azure.mgmt.batchai.models.BatchAIError] """ 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 16f9e294de6a..bfd891cc4e51 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_py3.py @@ -13,7 +13,7 @@ class Job(ProxyResource): - """Contains information about a Job. + """Information about a Job. Variables are only populated by the server, and will be ignored when sending a request. @@ -24,25 +24,18 @@ class Job(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param scheduling_priority: Scheduling priority associated with the job. - Scheduling priority associated with the job. Possible values include: - 'low', 'normal', 'high'. Default value: "normal" . + :param scheduling_priority: Scheduling priority. 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: Specifies the Id of the cluster on which this job will - run. + :param cluster: Cluster. Resource ID of the cluster associated with the + job. :type cluster: ~azure.mgmt.batchai.models.ResourceId - :param mount_volumes: Information on mount volumes to be used by the job. - These volumes will be mounted before the job execution and will be - unmouted after the job completion. The volumes will be mounted at location - specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. + :param mount_volumes: Mount volumes. Collection of mount volumes available + to the job during execution. These volumes are mounted before the job + execution and unmounted after the job completion. The volumes are mounted + at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. :type mount_volumes: ~azure.mgmt.batchai.models.MountVolumes - :ivar job_output_directory_path_segment: A segment of job's output - directories path created by BatchAI. Batch AI creates job's output - directories under an unique path to avoid conflicts between jobs. This - value contains a path segment generated by Batch AI to make the path - unique and can be used to find the output directory on the node or mounted - filesystem. - :vartype job_output_directory_path_segment: str :param node_count: Number of compute nodes to run the job on. The job will be gang scheduled on that many compute nodes :type node_count: int @@ -52,9 +45,9 @@ class Job(ProxyResource): on the VM. :type container_settings: ~azure.mgmt.batchai.models.ContainerSettings :param tool_type: The toolkit type of this job. Possible values are: cntk, - tensorflow, caffe, caffe2, chainer, pytorch, custom, mpi, horovod. + tensorflow, caffe, caffe2, chainer, pytorch, custom, custommpi, horovod. Possible values include: 'cntk', 'tensorflow', 'caffe', 'caffe2', - 'chainer', 'horovod', 'mpi', 'custom' + 'chainer', 'horovod', 'custommpi', 'custom' :type tool_type: str or ~azure.mgmt.batchai.models.ToolType :param cntk_settings: Specifies the settings for CNTK (aka Microsoft Cognitive Toolkit) job. @@ -81,57 +74,62 @@ class Job(ProxyResource): kit is launched. The specified actions will run on all the nodes that are part of the job :type job_preparation: ~azure.mgmt.batchai.models.JobPreparation - :param std_out_err_path_prefix: The path where the Batch AI service will - upload stdout and stderror of the job. + :ivar job_output_directory_path_segment: Output directory path segment. A + segment of job's output directories path created by Batch AI. Batch AI + creates job's output directories under an unique path to avoid conflicts + between jobs. This value contains a path segment generated by Batch AI to + make the path unique and can be used to find the output directory on the + node or mounted filesystem. + :vartype job_output_directory_path_segment: str + :param std_out_err_path_prefix: Standard output directory path prefix. The + path where the Batch AI service stores stdout, stderror and execution log + of the job. :type std_out_err_path_prefix: str - :param input_directories: Specifies the list of input directories for the - Job. + :param input_directories: Input directories. A list of input directories + for the job. :type input_directories: list[~azure.mgmt.batchai.models.InputDirectory] - :param output_directories: Specifies the list of output directories where - the models will be created. + :param output_directories: Output directories. A list of output + directories for the job. :type output_directories: list[~azure.mgmt.batchai.models.OutputDirectory] - :param environment_variables: Additional environment variables to set on - the job. Batch AI will setup these additional environment variables for - the job. + :param environment_variables: Environment variables. A collection of user + defined environment variables to be setup for the job. :type environment_variables: list[~azure.mgmt.batchai.models.EnvironmentVariable] - :param secrets: Additional environment variables with secret values to set - on the job. Batch AI will setup these additional environment variables for - the job. Server will never report values of these variables back. + :param secrets: Secrets. A collection of user defined environment + variables with secret values to be setup for the job. Server will never + report values of these variables back. :type secrets: list[~azure.mgmt.batchai.models.EnvironmentVariableWithSecretValue] :param constraints: Constraints associated with the Job. :type constraints: ~azure.mgmt.batchai.models.JobPropertiesConstraints - :ivar creation_time: The job creation time. The creation time of the job. + :ivar creation_time: Creation time. The creation time of the job. :vartype creation_time: datetime - :ivar provisioning_state: The provisioned state of the Batch AI job. - Possible values include: 'creating', 'succeeded', 'failed', 'deleting' + :ivar provisioning_state: Provisioning state. The provisioned state of the + Batch AI job. Possible values include: 'creating', 'succeeded', 'failed', + 'deleting' :vartype provisioning_state: str or ~azure.mgmt.batchai.models.ProvisioningState - :ivar provisioning_state_transition_time: The time at which the job - entered its current provisioning state. The time at which the job entered - its current provisioning state. + :ivar provisioning_state_transition_time: Provisioning state transition + time. The time at which the job entered its current provisioning state. :vartype provisioning_state_transition_time: datetime - :ivar execution_state: The current state of the job. The current state of - the job. Possible values are: queued - The job is queued and able to run. - A job enters this state when it is created, or when it is awaiting a retry - after a failed run. running - The job is running on a compute cluster. - This includes job-level preparation such as downloading resource files or - set up container specified on the job - it does not necessarily mean that - the job command line has started executing. terminating - The job is + :ivar execution_state: Execution state. The current state of the job. + Possible values are: queued - The job is queued and able to run. A job + enters this state when it is created, or when it is awaiting a retry after + a failed run. running - The job is running on a compute cluster. This + includes job-level preparation such as downloading resource files or set + up container specified on the job - it does not necessarily mean that the + job command line has started executing. terminating - The job is terminated by the user, the terminate operation is in progress. succeeded - - The job has completed running succesfully and exited with exit code 0. + - The job has completed running successfully and exited with exit code 0. failed - The job has finished unsuccessfully (failed with a non-zero exit code) and has exhausted its retry limit. A job is also marked as failed if an error occurred launching the job. Possible values include: 'queued', 'running', 'terminating', 'succeeded', 'failed' :vartype execution_state: str or ~azure.mgmt.batchai.models.ExecutionState - :ivar execution_state_transition_time: The time at which the job entered - its current execution state. The time at which the job entered its current - execution state. + :ivar execution_state_transition_time: Execution state transition time. + The time at which the job entered its current execution state. :vartype execution_state_transition_time: datetime - :param execution_info: Contains information about the execution of a job - in the Azure Batch service. + :param execution_info: Information about the execution of a job. :type execution_info: ~azure.mgmt.batchai.models.JobPropertiesExecutionInfo """ @@ -155,7 +153,6 @@ class Job(ProxyResource): 'scheduling_priority': {'key': 'properties.schedulingPriority', 'type': 'str'}, 'cluster': {'key': 'properties.cluster', 'type': 'ResourceId'}, 'mount_volumes': {'key': 'properties.mountVolumes', 'type': 'MountVolumes'}, - 'job_output_directory_path_segment': {'key': 'properties.jobOutputDirectoryPathSegment', 'type': 'str'}, 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, 'container_settings': {'key': 'properties.containerSettings', 'type': 'ContainerSettings'}, 'tool_type': {'key': 'properties.toolType', 'type': 'str'}, @@ -169,6 +166,7 @@ class Job(ProxyResource): 'custom_mpi_settings': {'key': 'properties.customMpiSettings', 'type': 'CustomMpiSettings'}, 'horovod_settings': {'key': 'properties.horovodSettings', 'type': 'HorovodSettings'}, 'job_preparation': {'key': 'properties.jobPreparation', 'type': 'JobPreparation'}, + 'job_output_directory_path_segment': {'key': 'properties.jobOutputDirectoryPathSegment', 'type': 'str'}, 'std_out_err_path_prefix': {'key': 'properties.stdOutErrPathPrefix', 'type': 'str'}, 'input_directories': {'key': 'properties.inputDirectories', 'type': '[InputDirectory]'}, 'output_directories': {'key': 'properties.outputDirectories', 'type': '[OutputDirectory]'}, @@ -188,7 +186,6 @@ def __init__(self, *, scheduling_priority="normal", cluster=None, mount_volumes= self.scheduling_priority = scheduling_priority self.cluster = cluster self.mount_volumes = mount_volumes - self.job_output_directory_path_segment = None self.node_count = node_count self.container_settings = container_settings self.tool_type = tool_type @@ -202,6 +199,7 @@ def __init__(self, *, scheduling_priority="normal", cluster=None, mount_volumes= self.custom_mpi_settings = custom_mpi_settings self.horovod_settings = horovod_settings self.job_preparation = job_preparation + self.job_output_directory_path_segment = None self.std_out_err_path_prefix = std_out_err_path_prefix self.input_directories = input_directories self.output_directories = output_directories diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_secret_reference.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_secret_reference.py index ce9884c03e2b..d98ec7149ed6 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_secret_reference.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_secret_reference.py @@ -13,14 +13,15 @@ class KeyVaultSecretReference(Model): - """Describes a reference to Key Vault Secret. + """Key Vault Secret reference. All required parameters must be populated in order to send to Azure. - :param source_vault: Required. Fully qualified resource Id for the Key - Vault. + :param source_vault: Required. Key Vault resource identifier. Fully + qualified resource identifier of the Key Vault. :type source_vault: ~azure.mgmt.batchai.models.ResourceId - :param secret_url: Required. The URL referencing a secret in a Key Vault. + :param secret_url: Required. Secret URL. The URL referencing a secret in + the Key Vault. :type secret_url: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_secret_reference_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_secret_reference_py3.py index 6b4b0d0cf15a..b0c0712ac223 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_secret_reference_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_secret_reference_py3.py @@ -13,14 +13,15 @@ class KeyVaultSecretReference(Model): - """Describes a reference to Key Vault Secret. + """Key Vault Secret reference. All required parameters must be populated in order to send to Azure. - :param source_vault: Required. Fully qualified resource Id for the Key - Vault. + :param source_vault: Required. Key Vault resource identifier. Fully + qualified resource identifier of the Key Vault. :type source_vault: ~azure.mgmt.batchai.models.ResourceId - :param secret_url: Required. The URL referencing a secret in a Key Vault. + :param secret_url: Required. Secret URL. The URL referencing a secret in + the Key Vault. :type secret_url: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/manual_scale_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/manual_scale_settings.py index c5323a0e37a9..2429fabcd30b 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/manual_scale_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/manual_scale_settings.py @@ -17,13 +17,12 @@ class ManualScaleSettings(Model): All required parameters must be populated in order to send to Azure. - :param target_node_count: Required. The desired number of compute nodes in - the Cluster. Default is 0. If autoScaleSettings are not specified, then - the Cluster starts with this target. Default value: 0 . + :param target_node_count: Required. Target node count. The desired number + of compute nodes in the Cluster. Default is 0. Default value: 0 . :type target_node_count: int - :param node_deallocation_option: Determines what to do with the job(s) - running on compute node if the Cluster size is decreasing. The default - value is requeue. Possible values include: 'requeue', 'terminate', + :param node_deallocation_option: Node deallocation options. An action to + be performed when the cluster size is decreasing. The default value is + requeue. Possible values include: 'requeue', 'terminate', 'waitforjobcompletion'. Default value: "requeue" . :type node_deallocation_option: str or ~azure.mgmt.batchai.models.DeallocationOption diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/manual_scale_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/manual_scale_settings_py3.py index c5d0475eadde..cfd9ee052ee1 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/manual_scale_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/manual_scale_settings_py3.py @@ -17,13 +17,12 @@ class ManualScaleSettings(Model): All required parameters must be populated in order to send to Azure. - :param target_node_count: Required. The desired number of compute nodes in - the Cluster. Default is 0. If autoScaleSettings are not specified, then - the Cluster starts with this target. Default value: 0 . + :param target_node_count: Required. Target node count. The desired number + of compute nodes in the Cluster. Default is 0. Default value: 0 . :type target_node_count: int - :param node_deallocation_option: Determines what to do with the job(s) - running on compute node if the Cluster size is decreasing. The default - value is requeue. Possible values include: 'requeue', 'terminate', + :param node_deallocation_option: Node deallocation options. An action to + be performed when the cluster size is decreasing. The default value is + requeue. Possible values include: 'requeue', 'terminate', 'waitforjobcompletion'. Default value: "requeue" . :type node_deallocation_option: str or ~azure.mgmt.batchai.models.DeallocationOption diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_settings.py index aa645ca963e1..e322c51143f3 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_settings.py @@ -13,14 +13,17 @@ class MountSettings(Model): - """Details of the File Server. + """File Server mount Information. - :param mount_point: Path where the NFS is mounted on the Server. + :param mount_point: Mount Point. Path where the data disks are mounted on + the File Server. :type mount_point: str - :param file_server_public_ip: Public IP of the File Server VM. + :param file_server_public_ip: Public IP. Public IP address of the File + Server which can be used to SSH to the node from outside of the subnet. :type file_server_public_ip: str - :param file_server_internal_ip: Internal subnet IP which can be used to - access the file Server from within the subnet. + :param file_server_internal_ip: Internal IP. Internal IP address of the + File Server which can be used to access the File Server from within the + subnet. :type file_server_internal_ip: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_settings_py3.py index 0829aa2d51da..66a1247a0b5a 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_settings_py3.py @@ -13,14 +13,17 @@ class MountSettings(Model): - """Details of the File Server. + """File Server mount Information. - :param mount_point: Path where the NFS is mounted on the Server. + :param mount_point: Mount Point. Path where the data disks are mounted on + the File Server. :type mount_point: str - :param file_server_public_ip: Public IP of the File Server VM. + :param file_server_public_ip: Public IP. Public IP address of the File + Server which can be used to SSH to the node from outside of the subnet. :type file_server_public_ip: str - :param file_server_internal_ip: Internal subnet IP which can be used to - access the file Server from within the subnet. + :param file_server_internal_ip: Internal IP. Internal IP address of the + File Server which can be used to access the File Server from within the + subnet. :type file_server_internal_ip: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_volumes.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_volumes.py index 88620aac3067..4ca7c322ed51 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_volumes.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_volumes.py @@ -15,19 +15,19 @@ class MountVolumes(Model): """Details of volumes to mount on the cluster. - :param azure_file_shares: Azure File Share setup configuration. References - to Azure File Shares that are to be mounted to the cluster nodes. + :param azure_file_shares: Azure File Shares. A collection of Azure File + Shares that are to be mounted to the cluster nodes. :type azure_file_shares: list[~azure.mgmt.batchai.models.AzureFileShareReference] - :param azure_blob_file_systems: Azure Blob FileSystem setup configuration. - References to Azure Blob FUSE that are to be mounted to the cluster nodes. + :param azure_blob_file_systems: Azure Blob file systems. A collection of + Azure Blob Containers that are to be mounted to the cluster nodes. :type azure_blob_file_systems: list[~azure.mgmt.batchai.models.AzureBlobFileSystemReference] - :param file_servers: References to a list of file servers that are mounted - to the cluster node. + :param file_servers: File Servers. A collection of Batch AI File Servers + that are to be mounted to the cluster nodes. :type file_servers: list[~azure.mgmt.batchai.models.FileServerReference] - :param unmanaged_file_systems: References to a list of file servers that - are mounted to the cluster node. + :param unmanaged_file_systems: Unmanaged file systems. A collection of + unmanaged file systems that are to be mounted to the cluster nodes. :type unmanaged_file_systems: list[~azure.mgmt.batchai.models.UnmanagedFileSystemReference] """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_volumes_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_volumes_py3.py index 0da34499deb9..b434314356de 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_volumes_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_volumes_py3.py @@ -15,19 +15,19 @@ class MountVolumes(Model): """Details of volumes to mount on the cluster. - :param azure_file_shares: Azure File Share setup configuration. References - to Azure File Shares that are to be mounted to the cluster nodes. + :param azure_file_shares: Azure File Shares. A collection of Azure File + Shares that are to be mounted to the cluster nodes. :type azure_file_shares: list[~azure.mgmt.batchai.models.AzureFileShareReference] - :param azure_blob_file_systems: Azure Blob FileSystem setup configuration. - References to Azure Blob FUSE that are to be mounted to the cluster nodes. + :param azure_blob_file_systems: Azure Blob file systems. A collection of + Azure Blob Containers that are to be mounted to the cluster nodes. :type azure_blob_file_systems: list[~azure.mgmt.batchai.models.AzureBlobFileSystemReference] - :param file_servers: References to a list of file servers that are mounted - to the cluster node. + :param file_servers: File Servers. A collection of Batch AI File Servers + that are to be mounted to the cluster nodes. :type file_servers: list[~azure.mgmt.batchai.models.FileServerReference] - :param unmanaged_file_systems: References to a list of file servers that - are mounted to the cluster node. + :param unmanaged_file_systems: Unmanaged file systems. A collection of + unmanaged file systems that are to be mounted to the cluster nodes. :type unmanaged_file_systems: list[~azure.mgmt.batchai.models.UnmanagedFileSystemReference] """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/name_value_pair.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/name_value_pair.py index d2775a33c3be..d1c7b3f400d5 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/name_value_pair.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/name_value_pair.py @@ -13,11 +13,11 @@ class NameValuePair(Model): - """Represents a name-value pair. + """Name-value pair. - :param name: The name in the name-value pair. + :param name: Name. The name in the name-value pair. :type name: str - :param value: The value in the name-value pair. + :param value: Value. The value in the name-value pair. :type value: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/name_value_pair_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/name_value_pair_py3.py index 9e508e565226..4ecbcb58da69 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/name_value_pair_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/name_value_pair_py3.py @@ -13,11 +13,11 @@ class NameValuePair(Model): - """Represents a name-value pair. + """Name-value pair. - :param name: The name in the name-value pair. + :param name: Name. The name in the name-value pair. :type name: str - :param value: The value in the name-value pair. + :param value: Value. The value in the name-value pair. :type value: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/node_setup.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/node_setup.py index f78a6aa6818a..cd966116ee3c 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/node_setup.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/node_setup.py @@ -13,23 +13,21 @@ class NodeSetup(Model): - """Use this to prepare the VM. NOTE: The volumes specified in mountVolumes are - mounted first and then the setupTask is run. Therefore the setup task can - use local mountPaths in its execution. + """Node setup settings. - :param setup_task: Specifies a setup task which can be used to customize - the compute nodes of the cluster. The NodeSetup task runs everytime a VM - is rebooted. For that reason the task code needs to be idempotent. - Generally it is used to either download static data that is required for - all jobs that run on the cluster VMs or to download/install software. + :param setup_task: Setup task. Setup task to run on cluster nodes when + nodes got created or rebooted. The setup task code needs to be idempotent. + Generally the setup task is used to download static data that is required + for all jobs that run on the cluster VMs and/or to download/install + software. :type setup_task: ~azure.mgmt.batchai.models.SetupTask - :param mount_volumes: Information on shared volumes to be used by jobs. - Specified mount volumes will be available to all jobs executing on the - cluster. The volumes will be mounted at location specified by - $AZ_BATCHAI_MOUNT_ROOT environment variable. + :param mount_volumes: Mount volumes. Mount volumes to be available to + setup task and all jobs executing on the cluster. The volumes will be + mounted at location specified by $AZ_BATCHAI_MOUNT_ROOT environment + variable. :type mount_volumes: ~azure.mgmt.batchai.models.MountVolumes - :param performance_counters_settings: Specifies settings for performance - counters collecting and uploading. + :param performance_counters_settings: Performance counters settings. + Settings for performance counters collecting and uploading. :type performance_counters_settings: ~azure.mgmt.batchai.models.PerformanceCountersSettings """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/node_setup_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/node_setup_py3.py index a5d017fdee1b..6ad975d4bb3b 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/node_setup_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/node_setup_py3.py @@ -13,23 +13,21 @@ class NodeSetup(Model): - """Use this to prepare the VM. NOTE: The volumes specified in mountVolumes are - mounted first and then the setupTask is run. Therefore the setup task can - use local mountPaths in its execution. + """Node setup settings. - :param setup_task: Specifies a setup task which can be used to customize - the compute nodes of the cluster. The NodeSetup task runs everytime a VM - is rebooted. For that reason the task code needs to be idempotent. - Generally it is used to either download static data that is required for - all jobs that run on the cluster VMs or to download/install software. + :param setup_task: Setup task. Setup task to run on cluster nodes when + nodes got created or rebooted. The setup task code needs to be idempotent. + Generally the setup task is used to download static data that is required + for all jobs that run on the cluster VMs and/or to download/install + software. :type setup_task: ~azure.mgmt.batchai.models.SetupTask - :param mount_volumes: Information on shared volumes to be used by jobs. - Specified mount volumes will be available to all jobs executing on the - cluster. The volumes will be mounted at location specified by - $AZ_BATCHAI_MOUNT_ROOT environment variable. + :param mount_volumes: Mount volumes. Mount volumes to be available to + setup task and all jobs executing on the cluster. The volumes will be + mounted at location specified by $AZ_BATCHAI_MOUNT_ROOT environment + variable. :type mount_volumes: ~azure.mgmt.batchai.models.MountVolumes - :param performance_counters_settings: Specifies settings for performance - counters collecting and uploading. + :param performance_counters_settings: Performance counters settings. + Settings for performance counters collecting and uploading. :type performance_counters_settings: ~azure.mgmt.batchai.models.PerformanceCountersSettings """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/node_state_counts.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/node_state_counts.py index 6e9b199c5deb..2d61b72289c1 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/node_state_counts.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/node_state_counts.py @@ -18,17 +18,20 @@ class NodeStateCounts(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar idle_node_count: Number of compute nodes in idle state. + :ivar idle_node_count: Idle node count. Number of compute nodes in idle + state. :vartype idle_node_count: int - :ivar running_node_count: Number of compute nodes which are running jobs. + :ivar running_node_count: Running node count. Number of compute nodes + which are running jobs. :vartype running_node_count: int - :ivar preparing_node_count: Number of compute nodes which are being - prepared. + :ivar preparing_node_count: Preparing node count. Number of compute nodes + which are being prepared. :vartype preparing_node_count: int - :ivar unusable_node_count: Number of compute nodes which are unusable. + :ivar unusable_node_count: Unusable node count. Number of compute nodes + which are in unusable state. :vartype unusable_node_count: int - :ivar leaving_node_count: Number of compute nodes which are leaving the - cluster. + :ivar leaving_node_count: Leaving node count. Number of compute nodes + which are leaving the cluster. :vartype leaving_node_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/node_state_counts_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/node_state_counts_py3.py index 8618a9195cda..b6ad0bfe4e5b 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/node_state_counts_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/node_state_counts_py3.py @@ -18,17 +18,20 @@ class NodeStateCounts(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar idle_node_count: Number of compute nodes in idle state. + :ivar idle_node_count: Idle node count. Number of compute nodes in idle + state. :vartype idle_node_count: int - :ivar running_node_count: Number of compute nodes which are running jobs. + :ivar running_node_count: Running node count. Number of compute nodes + which are running jobs. :vartype running_node_count: int - :ivar preparing_node_count: Number of compute nodes which are being - prepared. + :ivar preparing_node_count: Preparing node count. Number of compute nodes + which are being prepared. :vartype preparing_node_count: int - :ivar unusable_node_count: Number of compute nodes which are unusable. + :ivar unusable_node_count: Unusable node count. Number of compute nodes + which are in unusable state. :vartype unusable_node_count: int - :ivar leaving_node_count: Number of compute nodes which are leaving the - cluster. + :ivar leaving_node_count: Leaving node count. Number of compute nodes + which are leaving the cluster. :vartype leaving_node_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/output_directory.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/output_directory.py index 15f7b35aa30a..d904c9186a3d 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/output_directory.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/output_directory.py @@ -17,21 +17,20 @@ class OutputDirectory(Model): All required parameters must be populated in order to send to Azure. - :param id: Required. The name for the output directory. The path of the - output directory will be available as a value of an environment variable - with AZ_BATCHAI_OUTPUT_ name, where is the value of id attribute. + :param id: Required. ID. The ID of the output directory. The job can use + AZ_BATCHAI_OUTPUT_ environment variable to find the directory path, + where is the value of id attribute. :type id: str - :param path_prefix: Required. The prefix path where the output directory - will be created. NOTE: This is an absolute path to prefix. E.g. - $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs. You can find the full path to the + :param path_prefix: Required. Path prefix. The prefix path where the + output directory will be created. Note, this is an absolute path to + prefix. E.g. $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs. The full path to the output directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and pathSuffix. :type path_prefix: str - :param path_suffix: The suffix path where the output directory will be - created. The suffix path where the output directory will be created. E.g. - models. You can find the full path to the output directory by combining - pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and - pathSuffix. + :param path_suffix: Path suffix. The suffix path where the output + directory will be created. E.g. models. You can find the full path to the + output directory by combining pathPrefix, jobOutputDirectoryPathSegment + (reported by get job) and pathSuffix. :type path_suffix: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/output_directory_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/output_directory_py3.py index 78d37348e91a..0333bafe00f9 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/output_directory_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/output_directory_py3.py @@ -17,21 +17,20 @@ class OutputDirectory(Model): All required parameters must be populated in order to send to Azure. - :param id: Required. The name for the output directory. The path of the - output directory will be available as a value of an environment variable - with AZ_BATCHAI_OUTPUT_ name, where is the value of id attribute. + :param id: Required. ID. The ID of the output directory. The job can use + AZ_BATCHAI_OUTPUT_ environment variable to find the directory path, + where is the value of id attribute. :type id: str - :param path_prefix: Required. The prefix path where the output directory - will be created. NOTE: This is an absolute path to prefix. E.g. - $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs. You can find the full path to the + :param path_prefix: Required. Path prefix. The prefix path where the + output directory will be created. Note, this is an absolute path to + prefix. E.g. $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs. The full path to the output directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and pathSuffix. :type path_prefix: str - :param path_suffix: The suffix path where the output directory will be - created. The suffix path where the output directory will be created. E.g. - models. You can find the full path to the output directory by combining - pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and - pathSuffix. + :param path_suffix: Path suffix. The suffix path where the output + directory will be created. E.g. models. You can find the full path to the + output directory by combining pathPrefix, jobOutputDirectoryPathSegment + (reported by get job) and pathSuffix. :type path_suffix: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/performance_counters_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/performance_counters_settings.py index fa118646548e..60d59d9d5182 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/performance_counters_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/performance_counters_settings.py @@ -17,10 +17,10 @@ class PerformanceCountersSettings(Model): All required parameters must be populated in order to send to Azure. - :param app_insights_reference: Required. Specifies Azure Application - Insights information for performance counters reporting. If provided, - Batch AI will upload node performance counters to the corresponding Azure - Application Insights account. + :param app_insights_reference: Required. Azure Application Insights + reference. Azure Application Insights information for performance counters + reporting. If provided, Batch AI will upload node performance counters to + the corresponding Azure Application Insights account. :type app_insights_reference: ~azure.mgmt.batchai.models.AppInsightsReference """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/performance_counters_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/performance_counters_settings_py3.py index 416971a51dff..da2297587749 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/performance_counters_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/performance_counters_settings_py3.py @@ -17,10 +17,10 @@ class PerformanceCountersSettings(Model): All required parameters must be populated in order to send to Azure. - :param app_insights_reference: Required. Specifies Azure Application - Insights information for performance counters reporting. If provided, - Batch AI will upload node performance counters to the corresponding Azure - Application Insights account. + :param app_insights_reference: Required. Azure Application Insights + reference. Azure Application Insights information for performance counters + reporting. If provided, Batch AI will upload node performance counters to + the corresponding Azure Application Insights account. :type app_insights_reference: ~azure.mgmt.batchai.models.AppInsightsReference """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/private_registry_credentials.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/private_registry_credentials.py index 94d8b070e63a..eabefa94a68c 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/private_registry_credentials.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/private_registry_credentials.py @@ -17,14 +17,15 @@ class PrivateRegistryCredentials(Model): All required parameters must be populated in order to send to Azure. - :param username: Required. User name to login. + :param username: Required. User name. User name to login to the + repository. :type username: str - :param password: Password to login. One of password or - passwordSecretReference must be specified. + :param password: Password. User password to login to the docker + repository. One of password or passwordSecretReference must be specified. :type password: str - :param password_secret_reference: Specifies the location of the password, - which is a Key Vault Secret. Users can store their secrets in Azure - KeyVault and pass it to the Batch AI Service to integrate with KeyVault. + :param password_secret_reference: Password secret reference. KeyVault + Secret storing the password. Users can store their secrets in Azure + KeyVault and pass it to the Batch AI service to integrate with KeyVault. One of password or passwordSecretReference must be specified. :type password_secret_reference: ~azure.mgmt.batchai.models.KeyVaultSecretReference diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/private_registry_credentials_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/private_registry_credentials_py3.py index 8a5933b0b6a7..96ffaf485836 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/private_registry_credentials_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/private_registry_credentials_py3.py @@ -17,14 +17,15 @@ class PrivateRegistryCredentials(Model): All required parameters must be populated in order to send to Azure. - :param username: Required. User name to login. + :param username: Required. User name. User name to login to the + repository. :type username: str - :param password: Password to login. One of password or - passwordSecretReference must be specified. + :param password: Password. User password to login to the docker + repository. One of password or passwordSecretReference must be specified. :type password: str - :param password_secret_reference: Specifies the location of the password, - which is a Key Vault Secret. Users can store their secrets in Azure - KeyVault and pass it to the Batch AI Service to integrate with KeyVault. + :param password_secret_reference: Password secret reference. KeyVault + Secret storing the password. Users can store their secrets in Azure + KeyVault and pass it to the Batch AI service to integrate with KeyVault. One of password or passwordSecretReference must be specified. :type password_secret_reference: ~azure.mgmt.batchai.models.KeyVaultSecretReference diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/py_torch_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/py_torch_settings.py index a765cafdae9c..826e7eb3474e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/py_torch_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/py_torch_settings.py @@ -13,24 +13,26 @@ class PyTorchSettings(Model): - """Specifies the settings for pyTorch job. + """pyTorch job settings. All required parameters must be populated in order to send to Azure. - :param python_script_file_path: Required. The path and file name of the - python script to execute the job. + :param python_script_file_path: Required. Python script file path. The + python script to execute. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. :type python_interpreter_path: str - :param command_line_args: Specifies the command line arguments for the - master task. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the python script. :type command_line_args: str - :param process_count: Number of processes to launch for the job execution. - The default value for this property is equal to nodeCount property. + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount + property :type process_count: int - :param communication_backend: Type of the communication backend for - distributed jobs. Valid values are 'TCP', 'Gloo' or 'MPI'. Not required - for non-distributed jobs. + :param communication_backend: Communication backend. Type of the + communication backend for distributed jobs. Valid values are 'TCP', 'Gloo' + or 'MPI'. Not required for non-distributed jobs. :type communication_backend: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/py_torch_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/py_torch_settings_py3.py index 6a5a946d6ff2..4a37ec519e67 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/py_torch_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/py_torch_settings_py3.py @@ -13,24 +13,26 @@ class PyTorchSettings(Model): - """Specifies the settings for pyTorch job. + """pyTorch job settings. All required parameters must be populated in order to send to Azure. - :param python_script_file_path: Required. The path and file name of the - python script to execute the job. + :param python_script_file_path: Required. Python script file path. The + python script to execute. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. :type python_interpreter_path: str - :param command_line_args: Specifies the command line arguments for the - master task. + :param command_line_args: Command line arguments. Command line arguments + that need to be passed to the python script. :type command_line_args: str - :param process_count: Number of processes to launch for the job execution. - The default value for this property is equal to nodeCount property. + :param process_count: Process count. Number of processes to launch for the + job execution. The default value for this property is equal to nodeCount + property :type process_count: int - :param communication_backend: Type of the communication backend for - distributed jobs. Valid values are 'TCP', 'Gloo' or 'MPI'. Not required - for non-distributed jobs. + :param communication_backend: Communication backend. Type of the + communication backend for distributed jobs. Valid values are 'TCP', 'Gloo' + or 'MPI'. Not required for non-distributed jobs. :type communication_backend: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/remote_login_information.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/remote_login_information.py index 3a44f20ef1c8..a843d9ca4e01 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/remote_login_information.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/remote_login_information.py @@ -13,16 +13,16 @@ class RemoteLoginInformation(Model): - """Contains remote login details to SSH/RDP to a compute node in cluster. + """Login details to SSH to a compute node in cluster. Variables are only populated by the server, and will be ignored when sending a request. - :ivar node_id: Id of the compute node + :ivar node_id: Node ID. ID of the compute node. :vartype node_id: str - :ivar ip_address: ip address + :ivar ip_address: IP address. Public IP address of the compute node. :vartype ip_address: str - :ivar port: port number. + :ivar port: Port. SSH port number of the node. :vartype port: float """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/remote_login_information_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/remote_login_information_py3.py index 19344ab20dea..f9104d2796ae 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/remote_login_information_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/remote_login_information_py3.py @@ -13,16 +13,16 @@ class RemoteLoginInformation(Model): - """Contains remote login details to SSH/RDP to a compute node in cluster. + """Login details to SSH to a compute node in cluster. Variables are only populated by the server, and will be ignored when sending a request. - :ivar node_id: Id of the compute node + :ivar node_id: Node ID. ID of the compute node. :vartype node_id: str - :ivar ip_address: ip address + :ivar ip_address: IP address. Public IP address of the compute node. :vartype ip_address: str - :ivar port: port number. + :ivar port: Port. SSH port number of the node. :vartype port: float """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/scale_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/scale_settings.py index 9dfa83e45f8e..94ded359e5a3 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/scale_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/scale_settings.py @@ -18,9 +18,11 @@ class ScaleSettings(Model): specified, the system automatically scales the cluster up and down (within the supplied limits) based on the pending jobs on the cluster. - :param manual: The scale for the cluster by manual settings. + :param manual: Manual scale settings. Manual scale settings for the + cluster. :type manual: ~azure.mgmt.batchai.models.ManualScaleSettings - :param auto_scale: The scale for the cluster by autoscale settings. + :param auto_scale: Auto-scale settings. Auto-scale settings for the + cluster. :type auto_scale: ~azure.mgmt.batchai.models.AutoScaleSettings """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/scale_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/scale_settings_py3.py index e4505a7d514e..a570e009c8de 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/scale_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/scale_settings_py3.py @@ -18,9 +18,11 @@ class ScaleSettings(Model): specified, the system automatically scales the cluster up and down (within the supplied limits) based on the pending jobs on the cluster. - :param manual: The scale for the cluster by manual settings. + :param manual: Manual scale settings. Manual scale settings for the + cluster. :type manual: ~azure.mgmt.batchai.models.ManualScaleSettings - :param auto_scale: The scale for the cluster by autoscale settings. + :param auto_scale: Auto-scale settings. Auto-scale settings for the + cluster. :type auto_scale: ~azure.mgmt.batchai.models.AutoScaleSettings """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/setup_task.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/setup_task.py index d06c898584c6..8e4bb861e6f9 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/setup_task.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/setup_task.py @@ -21,29 +21,29 @@ class SetupTask(Model): All required parameters must be populated in order to send to Azure. - :param command_line: Required. Command line to be executed on each - cluster's node after it being allocated or rebooted. Command line to be + :param command_line: Required. Command line. The command line to be executed on each cluster's node after it being allocated or rebooted. The command is executed in a bash subshell as a root. :type command_line: str - :param environment_variables: Collection of environment variables to be - set for setup task. + :param environment_variables: Environment variables. A collection of user + defined environment variables to be set for setup task. :type environment_variables: list[~azure.mgmt.batchai.models.EnvironmentVariable] - :param secrets: Collection of environment variables with secret values to - be set for setup task. Server will never report values of these variables - back. + :param secrets: Secrets. A collection of user defined environment + variables with secret values to be set for the setup task. Server will + never report values of these variables back. :type secrets: list[~azure.mgmt.batchai.models.EnvironmentVariableWithSecretValue] - :param std_out_err_path_prefix: Required. The prefix of a path where the - Batch AI service will upload the stdout and stderr of the setup task. + :param std_out_err_path_prefix: Required. Output path prefix. The prefix + of a path where the Batch AI service will upload the stdout, stderr and + execution log of the setup task. :type std_out_err_path_prefix: str - :ivar std_out_err_path_suffix: A path segment appended by Batch AI to - stdOutErrPathPrefix to form a path where stdout and stderr of the setup - task will be uploaded. Batch AI creates the setup task output directories - under an unique path to avoid conflicts between different clusters. You - can concatinate stdOutErrPathPrefix and stdOutErrPathSuffix to get the - full path to the output directory. + :ivar std_out_err_path_suffix: Output path suffix. A path segment appended + by Batch AI to stdOutErrPathPrefix to form a path where stdout, stderr and + execution log of the setup task will be uploaded. Batch AI creates the + setup task output directories under an unique path to avoid conflicts + between different clusters. The full path can be obtained by concatenation + of stdOutErrPathPrefix and stdOutErrPathSuffix. :vartype std_out_err_path_suffix: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/setup_task_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/setup_task_py3.py index 53a5d517a0df..8a1409da7ad5 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/setup_task_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/setup_task_py3.py @@ -21,29 +21,29 @@ class SetupTask(Model): All required parameters must be populated in order to send to Azure. - :param command_line: Required. Command line to be executed on each - cluster's node after it being allocated or rebooted. Command line to be + :param command_line: Required. Command line. The command line to be executed on each cluster's node after it being allocated or rebooted. The command is executed in a bash subshell as a root. :type command_line: str - :param environment_variables: Collection of environment variables to be - set for setup task. + :param environment_variables: Environment variables. A collection of user + defined environment variables to be set for setup task. :type environment_variables: list[~azure.mgmt.batchai.models.EnvironmentVariable] - :param secrets: Collection of environment variables with secret values to - be set for setup task. Server will never report values of these variables - back. + :param secrets: Secrets. A collection of user defined environment + variables with secret values to be set for the setup task. Server will + never report values of these variables back. :type secrets: list[~azure.mgmt.batchai.models.EnvironmentVariableWithSecretValue] - :param std_out_err_path_prefix: Required. The prefix of a path where the - Batch AI service will upload the stdout and stderr of the setup task. + :param std_out_err_path_prefix: Required. Output path prefix. The prefix + of a path where the Batch AI service will upload the stdout, stderr and + execution log of the setup task. :type std_out_err_path_prefix: str - :ivar std_out_err_path_suffix: A path segment appended by Batch AI to - stdOutErrPathPrefix to form a path where stdout and stderr of the setup - task will be uploaded. Batch AI creates the setup task output directories - under an unique path to avoid conflicts between different clusters. You - can concatinate stdOutErrPathPrefix and stdOutErrPathSuffix to get the - full path to the output directory. + :ivar std_out_err_path_suffix: Output path suffix. A path segment appended + by Batch AI to stdOutErrPathPrefix to form a path where stdout, stderr and + execution log of the setup task will be uploaded. Batch AI creates the + setup task output directories under an unique path to avoid conflicts + between different clusters. The full path can be obtained by concatenation + of stdOutErrPathPrefix and stdOutErrPathSuffix. :vartype std_out_err_path_suffix: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/ssh_configuration.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/ssh_configuration.py index 03767afea567..854afe43db6b 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/ssh_configuration.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/ssh_configuration.py @@ -13,16 +13,17 @@ class SshConfiguration(Model): - """SSH configuration settings for the VM. + """SSH configuration. All required parameters must be populated in order to send to Azure. - :param public_ips_to_allow: List of source IP ranges to allow SSH - connection to a node. Default value is '*' can be used to match all source - IPs. Maximum number of IP ranges that can be specified are 400. + :param public_ips_to_allow: Allowed public IPs. List of source IP ranges + to allow SSH connection from. The default value is '*' (all source IPs are + allowed). Maximum number of IP ranges that can be specified is 400. :type public_ips_to_allow: list[str] - :param user_account_settings: Required. Settings for user account to be - created on a node. + :param user_account_settings: Required. User account settings. Settings + for administrator user account to be created on a node. The account can be + used to establish SSH connection to the node. :type user_account_settings: ~azure.mgmt.batchai.models.UserAccountSettings """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/ssh_configuration_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/ssh_configuration_py3.py index b7b4b617f3ac..13b138afe37e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/ssh_configuration_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/ssh_configuration_py3.py @@ -13,16 +13,17 @@ class SshConfiguration(Model): - """SSH configuration settings for the VM. + """SSH configuration. All required parameters must be populated in order to send to Azure. - :param public_ips_to_allow: List of source IP ranges to allow SSH - connection to a node. Default value is '*' can be used to match all source - IPs. Maximum number of IP ranges that can be specified are 400. + :param public_ips_to_allow: Allowed public IPs. List of source IP ranges + to allow SSH connection from. The default value is '*' (all source IPs are + allowed). Maximum number of IP ranges that can be specified is 400. :type public_ips_to_allow: list[str] - :param user_account_settings: Required. Settings for user account to be - created on a node. + :param user_account_settings: Required. User account settings. Settings + for administrator user account to be created on a node. The account can be + used to establish SSH connection to the node. :type user_account_settings: ~azure.mgmt.batchai.models.UserAccountSettings """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/tensor_flow_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/tensor_flow_settings.py index a3f6cb178565..e6ecffa01e7a 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/tensor_flow_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/tensor_flow_settings.py @@ -13,35 +13,39 @@ class TensorFlowSettings(Model): - """Specifies the settings for TensorFlow job. + """TensorFlow job settings. All required parameters must be populated in order to send to Azure. - :param python_script_file_path: Required. The path and file name of the - python script to execute the job. + :param python_script_file_path: Required. Python script file path. The + python script to execute. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. :type python_interpreter_path: str - :param master_command_line_args: Specifies the command line arguments for - the master task. + :param master_command_line_args: Master command line arguments. Command + line arguments that need to be passed to the python script for the master + task. :type master_command_line_args: str - :param worker_command_line_args: Specifies the command line arguments for - the worker task. This property is optional for single machine training. + :param worker_command_line_args: Worker command line arguments. Command + line arguments that need to be passed to the python script for the worker + task. Optional for single process jobs. :type worker_command_line_args: str - :param parameter_server_command_line_args: Specifies the command line - arguments for the parameter server task. This property is optional for - single machine training. + :param parameter_server_command_line_args: Parameter server command line + arguments. Command line arguments that need to be passed to the python + script for the parameter server. Optional for single process jobs. :type parameter_server_command_line_args: str - :param worker_count: The number of worker tasks. If specified, the value - must be less than or equal to (nodeCount * numberOfGPUs per VM). If not - specified, the default value is equal to nodeCount. This property can be - specified only for distributed TensorFlow training + :param worker_count: Worker count. The number of worker tasks. If + specified, the value must be less than or equal to (nodeCount * + numberOfGPUs per VM). If not specified, the default value is equal to + nodeCount. This property can be specified only for distributed TensorFlow + training. :type worker_count: int - :param parameter_server_count: The number of parmeter server tasks. If - specified, the value must be less than or equal to nodeCount. If not - specified, the default value is equal to 1 for distributed TensorFlow - training (This property is not applicable for single machine training). - This property can be specified only for distributed TensorFlow training. + :param parameter_server_count: Parameter server count. The number of + parameter server tasks. If specified, the value must be less than or equal + to nodeCount. If not specified, the default value is equal to 1 for + distributed TensorFlow training. This property can be specified only for + distributed TensorFlow training. :type parameter_server_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/tensor_flow_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/tensor_flow_settings_py3.py index bcd9aa512406..53079379eb3c 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/tensor_flow_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/tensor_flow_settings_py3.py @@ -13,35 +13,39 @@ class TensorFlowSettings(Model): - """Specifies the settings for TensorFlow job. + """TensorFlow job settings. All required parameters must be populated in order to send to Azure. - :param python_script_file_path: Required. The path and file name of the - python script to execute the job. + :param python_script_file_path: Required. Python script file path. The + python script to execute. :type python_script_file_path: str - :param python_interpreter_path: The path to python interpreter. + :param python_interpreter_path: Python interpreter path. The path to the + Python interpreter. :type python_interpreter_path: str - :param master_command_line_args: Specifies the command line arguments for - the master task. + :param master_command_line_args: Master command line arguments. Command + line arguments that need to be passed to the python script for the master + task. :type master_command_line_args: str - :param worker_command_line_args: Specifies the command line arguments for - the worker task. This property is optional for single machine training. + :param worker_command_line_args: Worker command line arguments. Command + line arguments that need to be passed to the python script for the worker + task. Optional for single process jobs. :type worker_command_line_args: str - :param parameter_server_command_line_args: Specifies the command line - arguments for the parameter server task. This property is optional for - single machine training. + :param parameter_server_command_line_args: Parameter server command line + arguments. Command line arguments that need to be passed to the python + script for the parameter server. Optional for single process jobs. :type parameter_server_command_line_args: str - :param worker_count: The number of worker tasks. If specified, the value - must be less than or equal to (nodeCount * numberOfGPUs per VM). If not - specified, the default value is equal to nodeCount. This property can be - specified only for distributed TensorFlow training + :param worker_count: Worker count. The number of worker tasks. If + specified, the value must be less than or equal to (nodeCount * + numberOfGPUs per VM). If not specified, the default value is equal to + nodeCount. This property can be specified only for distributed TensorFlow + training. :type worker_count: int - :param parameter_server_count: The number of parmeter server tasks. If - specified, the value must be less than or equal to nodeCount. If not - specified, the default value is equal to 1 for distributed TensorFlow - training (This property is not applicable for single machine training). - This property can be specified only for distributed TensorFlow training. + :param parameter_server_count: Parameter server count. The number of + parameter server tasks. If specified, the value must be less than or equal + to nodeCount. If not specified, the default value is equal to 1 for + distributed TensorFlow training. This property can be specified only for + distributed TensorFlow training. :type parameter_server_count: int """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/unmanaged_file_system_reference.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/unmanaged_file_system_reference.py index 5f1e465c1d1f..22c9b5ab21e7 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/unmanaged_file_system_reference.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/unmanaged_file_system_reference.py @@ -13,18 +13,18 @@ class UnmanagedFileSystemReference(Model): - """Details of the file system to mount on the compute cluster nodes. + """Unmanaged file system mounting configuration. All required parameters must be populated in order to send to Azure. - :param mount_command: Required. Command used to mount the unmanaged file - system. + :param mount_command: Required. Mount command. Mount command line. Note, + Batch AI will append mount path to the command on its own. :type mount_command: str - :param relative_mount_path: Required. Specifies the relative path on the - compute cluster node where the file system will be mounted. Note that all - cluster level unmanaged file system will be mounted under - $AZ_BATCHAI_MOUNT_ROOT location and job level unmanaged file system will - be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. + :param relative_mount_path: Required. Relative mount path. The relative + path on the compute node where the unmanaged file system will be mounted. + Note that all cluster level unmanaged file systems will be mounted under + $AZ_BATCHAI_MOUNT_ROOT location and all job level unmanaged file systems + will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. :type relative_mount_path: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/unmanaged_file_system_reference_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/unmanaged_file_system_reference_py3.py index cad3dcb14a92..23d1058326fb 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/unmanaged_file_system_reference_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/unmanaged_file_system_reference_py3.py @@ -13,18 +13,18 @@ class UnmanagedFileSystemReference(Model): - """Details of the file system to mount on the compute cluster nodes. + """Unmanaged file system mounting configuration. All required parameters must be populated in order to send to Azure. - :param mount_command: Required. Command used to mount the unmanaged file - system. + :param mount_command: Required. Mount command. Mount command line. Note, + Batch AI will append mount path to the command on its own. :type mount_command: str - :param relative_mount_path: Required. Specifies the relative path on the - compute cluster node where the file system will be mounted. Note that all - cluster level unmanaged file system will be mounted under - $AZ_BATCHAI_MOUNT_ROOT location and job level unmanaged file system will - be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. + :param relative_mount_path: Required. Relative mount path. The relative + path on the compute node where the unmanaged file system will be mounted. + Note that all cluster level unmanaged file systems will be mounted under + $AZ_BATCHAI_MOUNT_ROOT location and all job level unmanaged file systems + will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. :type relative_mount_path: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/user_account_settings.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/user_account_settings.py index cd4468ab29d9..ac0c93dd27a7 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/user_account_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/user_account_settings.py @@ -18,14 +18,14 @@ class UserAccountSettings(Model): All required parameters must be populated in order to send to Azure. - :param admin_user_name: Required. Specifies the name of the administrator - account. + :param admin_user_name: Required. User name. Name of the administrator + user account which can be used to SSH to nodes. :type admin_user_name: str - :param admin_user_ssh_public_key: SSH public keys used to authenticate - with linux based VMs. This does not get returned in a GET response body. + :param admin_user_ssh_public_key: SSH public key. SSH public key of the + administrator user account. :type admin_user_ssh_public_key: str - :param admin_user_password: Admin user Password (linux only). This does - not get returned in a GET response body. + :param admin_user_password: Password. Password of the administrator user + account. :type admin_user_password: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/user_account_settings_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/user_account_settings_py3.py index daa30a867978..15df51c733ac 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/user_account_settings_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/user_account_settings_py3.py @@ -18,14 +18,14 @@ class UserAccountSettings(Model): All required parameters must be populated in order to send to Azure. - :param admin_user_name: Required. Specifies the name of the administrator - account. + :param admin_user_name: Required. User name. Name of the administrator + user account which can be used to SSH to nodes. :type admin_user_name: str - :param admin_user_ssh_public_key: SSH public keys used to authenticate - with linux based VMs. This does not get returned in a GET response body. + :param admin_user_ssh_public_key: SSH public key. SSH public key of the + administrator user account. :type admin_user_ssh_public_key: str - :param admin_user_password: Admin user Password (linux only). This does - not get returned in a GET response body. + :param admin_user_password: Password. Password of the administrator user + account. :type admin_user_password: str """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/virtual_machine_configuration.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/virtual_machine_configuration.py index 5c631066cf25..6668c26fc436 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/virtual_machine_configuration.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/virtual_machine_configuration.py @@ -13,9 +13,10 @@ class VirtualMachineConfiguration(Model): - """Settings for OS image. + """VM configuration. - :param image_reference: Reference to OS image. + :param image_reference: Image reference. OS image reference for cluster + nodes. :type image_reference: ~azure.mgmt.batchai.models.ImageReference """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/virtual_machine_configuration_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/virtual_machine_configuration_py3.py index cec65cd1b635..ccc2a744e259 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/virtual_machine_configuration_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/virtual_machine_configuration_py3.py @@ -13,9 +13,10 @@ class VirtualMachineConfiguration(Model): - """Settings for OS image. + """VM configuration. - :param image_reference: Reference to OS image. + :param image_reference: Image reference. OS image reference for cluster + nodes. :type image_reference: ~azure.mgmt.batchai.models.ImageReference """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace.py index cba6f8832213..5f3e644af481 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace.py @@ -13,7 +13,7 @@ class Workspace(Resource): - """Describes Batch AI Workspace. + """Batch AI Workspace information. Variables are only populated by the server, and will be ignored when sending a request. @@ -28,15 +28,16 @@ class Workspace(Resource): :vartype location: str :ivar tags: The tags of the resource :vartype tags: dict[str, str] - :ivar creation_time: Time when the Workspace was created. + :ivar creation_time: Creation time. Time when the Workspace was created. :vartype creation_time: datetime - :ivar provisioning_state: The provisioned state of the workspace. Possible - values include: 'creating', 'succeeded', 'failed', 'deleting' + :ivar provisioning_state: Provisioning state. The provisioned state of the + Workspace. Possible values include: 'creating', 'succeeded', 'failed', + 'deleting' :vartype provisioning_state: str or ~azure.mgmt.batchai.models.ProvisioningState - :ivar provisioning_state_transition_time: The time at which the workspace - entered its current provisioning state. The time at which the workspace - entered its current provisioning state. + :ivar provisioning_state_transition_time: Provisioning state transition + time. The time at which the workspace entered its current provisioning + state. :vartype provisioning_state_transition_time: datetime """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_create_parameters.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_create_parameters.py index 22ef22f6330b..adf3d57819b1 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_create_parameters.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_create_parameters.py @@ -13,13 +13,14 @@ class WorkspaceCreateParameters(Model): - """Parameters supplied to the Create operation. + """Workspace creation parameters. All required parameters must be populated in order to send to Azure. - :param location: Required. The region in which to create the Workspace. + :param location: Required. Location. The region in which to create the + Workspace. :type location: str - :param tags: The user specified tags associated with the Workspace. + :param tags: Tags. The user specified tags associated with the Workspace. :type tags: dict[str, str] """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_create_parameters_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_create_parameters_py3.py index 9af28f600055..d138712b8587 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_create_parameters_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_create_parameters_py3.py @@ -13,13 +13,14 @@ class WorkspaceCreateParameters(Model): - """Parameters supplied to the Create operation. + """Workspace creation parameters. All required parameters must be populated in order to send to Azure. - :param location: Required. The region in which to create the Workspace. + :param location: Required. Location. The region in which to create the + Workspace. :type location: str - :param tags: The user specified tags associated with the Workspace. + :param tags: Tags. The user specified tags associated with the Workspace. :type tags: dict[str, str] """ 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 2c7968542158..0d470173c915 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_py3.py @@ -13,7 +13,7 @@ class Workspace(Resource): - """Describes Batch AI Workspace. + """Batch AI Workspace information. Variables are only populated by the server, and will be ignored when sending a request. @@ -28,15 +28,16 @@ class Workspace(Resource): :vartype location: str :ivar tags: The tags of the resource :vartype tags: dict[str, str] - :ivar creation_time: Time when the Workspace was created. + :ivar creation_time: Creation time. Time when the Workspace was created. :vartype creation_time: datetime - :ivar provisioning_state: The provisioned state of the workspace. Possible - values include: 'creating', 'succeeded', 'failed', 'deleting' + :ivar provisioning_state: Provisioning state. The provisioned state of the + Workspace. Possible values include: 'creating', 'succeeded', 'failed', + 'deleting' :vartype provisioning_state: str or ~azure.mgmt.batchai.models.ProvisioningState - :ivar provisioning_state_transition_time: The time at which the workspace - entered its current provisioning state. The time at which the workspace - entered its current provisioning state. + :ivar provisioning_state_transition_time: Provisioning state transition + time. The time at which the workspace entered its current provisioning + state. :vartype provisioning_state_transition_time: datetime """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_update_parameters.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_update_parameters.py index cdbe744db965..48464b34e287 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_update_parameters.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_update_parameters.py @@ -13,9 +13,9 @@ class WorkspaceUpdateParameters(Model): - """Parameters supplied to the Update operation. + """Workspace update parameters. - :param tags: The user specified tags associated with the Workspace. + :param tags: Tags. The user specified tags associated with the Workspace. :type tags: dict[str, str] """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_update_parameters_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_update_parameters_py3.py index 4a68f927b572..2593ea0ba486 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_update_parameters_py3.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/workspace_update_parameters_py3.py @@ -13,9 +13,9 @@ class WorkspaceUpdateParameters(Model): - """Parameters supplied to the Update operation. + """Workspace update parameters. - :param tags: The user specified tags associated with the Workspace. + :param tags: Tags. The user specified tags associated with the Workspace. :type tags: dict[str, str] """ diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/operations/clusters_operations.py b/azure-mgmt-batchai/azure/mgmt/batchai/operations/clusters_operations.py index d57d8b7c7bec..9b294f644a50 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/clusters_operations.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/clusters_operations.py @@ -58,6 +58,7 @@ def _create_initial( # Construct headers header_parameters = {} + header_parameters['Accept'] = 'application/json' header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) @@ -70,9 +71,8 @@ def _create_initial( body_content = self._serialize.body(parameters, 'ClusterCreateParameters') # Construct and send request - request = self._client.put(url, query_parameters) - response = self._client.send( - request, header_parameters, body_content, stream=False, **operation_config) + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202]: exp = CloudError(response) @@ -167,7 +167,8 @@ def update( alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long. :type cluster_name: str - :param scale_settings: Desired scale for the cluster + :param scale_settings: Scale settings. Desired scale settings for the + cluster. Batch AI service supports manual and auto scale clusters. :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -197,6 +198,7 @@ def update( # Construct headers header_parameters = {} + header_parameters['Accept'] = 'application/json' header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) @@ -209,9 +211,8 @@ def update( body_content = self._serialize.body(parameters, 'ClusterUpdateParameters') # Construct and send request - request = self._client.patch(url, query_parameters) - response = self._client.send( - request, header_parameters, body_content, stream=False, **operation_config) + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -249,7 +250,6 @@ def _delete_initial( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -258,8 +258,8 @@ def _delete_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.delete(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: exp = CloudError(response) @@ -364,7 +364,7 @@ def get( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -373,8 +373,8 @@ def get( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -443,7 +443,7 @@ def internal_paging(next_link=None, raw=False): # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -452,9 +452,8 @@ def internal_paging(next_link=None, raw=False): header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.post(url, query_parameters) - response = self._client.send( - request, header_parameters, stream=False, **operation_config) + request = self._client.post(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -528,7 +527,7 @@ def internal_paging(next_link=None, raw=False): # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -537,9 +536,8 @@ def internal_paging(next_link=None, raw=False): header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send( - request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) 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 135919711e70..172561e3b468 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/experiments_operations.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/experiments_operations.py @@ -93,7 +93,7 @@ def internal_paging(next_link=None, raw=False): # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -102,9 +102,8 @@ def internal_paging(next_link=None, raw=False): header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send( - request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -143,7 +142,7 @@ def _create_initial( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -152,8 +151,8 @@ def _create_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.put(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.put(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202]: exp = CloudError(response) @@ -247,7 +246,6 @@ def _delete_initial( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -256,8 +254,8 @@ def _delete_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.delete(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: exp = CloudError(response) @@ -362,7 +360,7 @@ def get( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -371,8 +369,8 @@ def get( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/operations/file_servers_operations.py b/azure-mgmt-batchai/azure/mgmt/batchai/operations/file_servers_operations.py index e1e7e8db719c..d83b098f01f1 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/file_servers_operations.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/file_servers_operations.py @@ -58,6 +58,7 @@ def _create_initial( # Construct headers header_parameters = {} + header_parameters['Accept'] = 'application/json' header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) @@ -70,9 +71,8 @@ def _create_initial( body_content = self._serialize.body(parameters, 'FileServerCreateParameters') # Construct and send request - request = self._client.put(url, query_parameters) - response = self._client.send( - request, header_parameters, body_content, stream=False, **operation_config) + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202]: exp = CloudError(response) @@ -170,7 +170,6 @@ def _delete_initial( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -179,8 +178,8 @@ def _delete_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.delete(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: exp = CloudError(response) @@ -285,7 +284,7 @@ def get( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -294,8 +293,8 @@ def get( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -368,7 +367,7 @@ def internal_paging(next_link=None, raw=False): # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -377,9 +376,8 @@ def internal_paging(next_link=None, raw=False): header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send( - request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/operations/jobs_operations.py b/azure-mgmt-batchai/azure/mgmt/batchai/operations/jobs_operations.py index 6d29f0894fd3..9a6c90f8fd27 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/jobs_operations.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/jobs_operations.py @@ -99,7 +99,7 @@ def internal_paging(next_link=None, raw=False): # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -108,9 +108,8 @@ def internal_paging(next_link=None, raw=False): header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send( - request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -150,6 +149,7 @@ def _create_initial( # Construct headers header_parameters = {} + header_parameters['Accept'] = 'application/json' header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) @@ -162,9 +162,8 @@ def _create_initial( body_content = self._serialize.body(parameters, 'JobCreateParameters') # Construct and send request - request = self._client.put(url, query_parameters) - response = self._client.send( - request, header_parameters, body_content, stream=False, **operation_config) + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202]: exp = CloudError(response) @@ -268,7 +267,6 @@ def _delete_initial( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -277,8 +275,8 @@ def _delete_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.delete(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: exp = CloudError(response) @@ -395,7 +393,7 @@ def get( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -404,8 +402,8 @@ def get( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -506,7 +504,7 @@ def internal_paging(next_link=None, raw=False): # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -515,9 +513,8 @@ def internal_paging(next_link=None, raw=False): header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.post(url, query_parameters) - response = self._client.send( - request, header_parameters, stream=False, **operation_config) + request = self._client.post(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -595,7 +592,7 @@ def internal_paging(next_link=None, raw=False): # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -604,9 +601,8 @@ def internal_paging(next_link=None, raw=False): header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.post(url, query_parameters) - response = self._client.send( - request, header_parameters, stream=False, **operation_config) + request = self._client.post(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -646,7 +642,6 @@ def _terminate_initial( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -655,8 +650,8 @@ def _terminate_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.post(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.post(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202]: exp = CloudError(response) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/operations/operations.py b/azure-mgmt-batchai/azure/mgmt/batchai/operations/operations.py index 6d39bdbddf1b..96cabd0ce4e3 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/operations.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/operations.py @@ -67,7 +67,7 @@ def internal_paging(next_link=None, raw=False): # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -76,9 +76,8 @@ def internal_paging(next_link=None, raw=False): header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send( - request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/operations/usages_operations.py b/azure-mgmt-batchai/azure/mgmt/batchai/operations/usages_operations.py index d47c494e5c48..923cbcfae1a5 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/usages_operations.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/usages_operations.py @@ -75,7 +75,7 @@ def internal_paging(next_link=None, raw=False): # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -84,9 +84,8 @@ def internal_paging(next_link=None, raw=False): header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send( - request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/operations/workspaces_operations.py b/azure-mgmt-batchai/azure/mgmt/batchai/operations/workspaces_operations.py index 292739fb5567..43b0d4a0da3e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/workspaces_operations.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/workspaces_operations.py @@ -83,7 +83,7 @@ def internal_paging(next_link=None, raw=False): # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -92,9 +92,8 @@ def internal_paging(next_link=None, raw=False): header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send( - request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -162,7 +161,7 @@ def internal_paging(next_link=None, raw=False): # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -171,9 +170,8 @@ def internal_paging(next_link=None, raw=False): header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send( - request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -213,6 +211,7 @@ def _create_initial( # Construct headers header_parameters = {} + header_parameters['Accept'] = 'application/json' header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) @@ -225,9 +224,8 @@ def _create_initial( body_content = self._serialize.body(parameters, 'WorkspaceCreateParameters') # Construct and send request - request = self._client.put(url, query_parameters) - response = self._client.send( - request, header_parameters, body_content, stream=False, **operation_config) + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202]: exp = CloudError(response) @@ -257,9 +255,11 @@ def create( (-) and underscore (_). The name must be from 1 through 64 characters long. :type workspace_name: str - :param location: The region in which to create the Workspace. + :param location: Location. The region in which to create the + Workspace. :type location: str - :param tags: The user specified tags associated with the Workspace. + :param tags: Tags. The user specified tags associated with the + Workspace. :type tags: dict[str, str] :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the @@ -314,7 +314,8 @@ def update( (-) and underscore (_). The name must be from 1 through 64 characters long. :type workspace_name: str - :param tags: The user specified tags associated with the Workspace. + :param tags: Tags. The user specified tags associated with the + Workspace. :type tags: dict[str, str] :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -343,6 +344,7 @@ def update( # Construct headers header_parameters = {} + header_parameters['Accept'] = 'application/json' header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) @@ -355,9 +357,8 @@ def update( body_content = self._serialize.body(parameters, 'WorkspaceUpdateParameters') # Construct and send request - request = self._client.patch(url, query_parameters) - response = self._client.send( - request, header_parameters, body_content, stream=False, **operation_config) + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -394,7 +395,6 @@ def _delete_initial( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -403,8 +403,8 @@ def _delete_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.delete(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: exp = CloudError(response) @@ -497,7 +497,7 @@ def get( # Construct headers header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Accept'] = 'application/json' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -506,8 +506,8 @@ def get( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, stream=False, **operation_config) + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/version.py b/azure-mgmt-batchai/azure/mgmt/batchai/version.py index 53c4c7ea05e8..5bfc801ce220 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/version.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2.0.0" +VERSION = "2018-05-01" diff --git a/azure-mgmt-batchai/sdk_packaging.toml b/azure-mgmt-batchai/sdk_packaging.toml index 37777a8441e4..8caaaa693b28 100644 --- a/azure-mgmt-batchai/sdk_packaging.toml +++ b/azure-mgmt-batchai/sdk_packaging.toml @@ -2,6 +2,7 @@ package_name = "azure-mgmt-batchai" package_nspkg = "azure-mgmt-nspkg" package_pprint_name = "Batch AI Management" -package_doc_id = "batchai" -is_stable = true +package_doc_id = "" +is_stable = false is_arm = true +need_msrestazure = true diff --git a/azure-mgmt-batchai/setup.py b/azure-mgmt-batchai/setup.py index e79c25c9fb6d..1891a60d1831 100644 --- a/azure-mgmt-batchai/setup.py +++ b/azure-mgmt-batchai/setup.py @@ -58,7 +58,7 @@ author_email='azpysdkhelp@microsoft.com', url='https://github.com/Azure/azure-sdk-for-python', classifiers=[ - 'Development Status :: 5 - Production/Stable', + 'Development Status :: 4 - Beta', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7',