diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/batch_ai_management_client.py b/azure-mgmt-batchai/azure/mgmt/batchai/batch_ai_management_client.py index 74543cd795bf..73b667f05463 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/batch_ai_management_client.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/batch_ai_management_client.py @@ -14,6 +14,7 @@ from msrestazure import AzureConfiguration from .version import VERSION from .operations.operations import Operations +from .operations.usage_operations import UsageOperations from .operations.clusters_operations import ClustersOperations from .operations.jobs_operations import JobsOperations from .operations.file_servers_operations import FileServersOperations @@ -40,14 +41,12 @@ def __init__( raise ValueError("Parameter 'credentials' must not be None.") if subscription_id is None: raise ValueError("Parameter 'subscription_id' must not be None.") - if not isinstance(subscription_id, str): - raise TypeError("Parameter 'subscription_id' must be str.") if not base_url: base_url = 'https://management.azure.com' super(BatchAIManagementClientConfiguration, self).__init__(base_url) - self.add_user_agent('batchaimanagementclient/{}'.format(VERSION)) + self.add_user_agent('azure-mgmt-batchai/{}'.format(VERSION)) self.add_user_agent('Azure-SDK-For-Python') self.credentials = credentials @@ -62,6 +61,8 @@ class BatchAIManagementClient(object): :ivar operations: Operations operations :vartype operations: azure.mgmt.batchai.operations.Operations + :ivar usage: Usage operations + :vartype usage: azure.mgmt.batchai.operations.UsageOperations :ivar clusters: Clusters operations :vartype clusters: azure.mgmt.batchai.operations.ClustersOperations :ivar jobs: Jobs operations @@ -84,12 +85,14 @@ def __init__( self._client = ServiceClient(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2017-09-01-preview' + self.api_version = '2018-03-01' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.operations = Operations( self._client, self.config, self._serialize, self._deserialize) + self.usage = UsageOperations( + self._client, self.config, self._serialize, self._deserialize) self.clusters = ClustersOperations( self._client, self.config, self._serialize, self._deserialize) self.jobs = JobsOperations( diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/__init__.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/__init__.py index 0715fe7956dd..bd21ae6cb5ba 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/__init__.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/__init__.py @@ -9,66 +9,140 @@ # regenerated. # -------------------------------------------------------------------------- -from .user_account_settings import UserAccountSettings -from .ssh_configuration import SshConfiguration -from .data_disks import DataDisks -from .resource_id import ResourceId -from .mount_settings import MountSettings -from .file_server import FileServer -from .key_vault_secret_reference import KeyVaultSecretReference -from .key_vault_key_reference import KeyVaultKeyReference -from .file_server_create_parameters import FileServerCreateParameters -from .manual_scale_settings import ManualScaleSettings -from .auto_scale_settings import AutoScaleSettings -from .scale_settings import ScaleSettings -from .image_reference import ImageReference -from .virtual_machine_configuration import VirtualMachineConfiguration -from .environment_setting import EnvironmentSetting -from .setup_task import SetupTask -from .azure_storage_credentials_info import AzureStorageCredentialsInfo -from .azure_file_share_reference import AzureFileShareReference -from .azure_blob_file_system_reference import AzureBlobFileSystemReference -from .file_server_reference import FileServerReference -from .unmanaged_file_system_reference import UnmanagedFileSystemReference -from .mount_volumes import MountVolumes -from .node_setup import NodeSetup -from .node_state_counts import NodeStateCounts -from .cluster_create_parameters import ClusterCreateParameters -from .cluster_update_parameters import ClusterUpdateParameters -from .name_value_pair import NameValuePair -from .batch_ai_error import BatchAIError -from .cluster import Cluster -from .private_registry_credentials import PrivateRegistryCredentials -from .image_source_registry import ImageSourceRegistry -from .container_settings import ContainerSettings -from .cnt_ksettings import CNTKsettings -from .tensor_flow_settings import TensorFlowSettings -from .caffe_settings import CaffeSettings -from .caffe2_settings import Caffe2Settings -from .chainer_settings import ChainerSettings -from .custom_toolkit_settings import CustomToolkitSettings -from .job_preparation import JobPreparation -from .input_directory import InputDirectory -from .output_directory import OutputDirectory -from .job_base_properties_constraints import JobBasePropertiesConstraints -from .job_create_parameters import JobCreateParameters -from .job_properties_constraints import JobPropertiesConstraints -from .job_properties_execution_info import JobPropertiesExecutionInfo -from .job import Job -from .remote_login_information import RemoteLoginInformation -from .file import File -from .resource import Resource -from .local_data_volume import LocalDataVolume -from .operation_display import OperationDisplay -from .operation import Operation -from .clusters_list_options import ClustersListOptions -from .clusters_list_by_resource_group_options import ClustersListByResourceGroupOptions -from .jobs_list_options import JobsListOptions -from .jobs_list_by_resource_group_options import JobsListByResourceGroupOptions -from .jobs_list_output_files_options import JobsListOutputFilesOptions -from .file_servers_list_options import FileServersListOptions -from .file_servers_list_by_resource_group_options import FileServersListByResourceGroupOptions +try: + from .usage_name_py3 import UsageName + from .usage_py3 import Usage + from .user_account_settings_py3 import UserAccountSettings + from .ssh_configuration_py3 import SshConfiguration + from .data_disks_py3 import DataDisks + from .resource_id_py3 import ResourceId + from .mount_settings_py3 import MountSettings + from .file_server_py3 import FileServer + from .key_vault_secret_reference_py3 import KeyVaultSecretReference + from .key_vault_key_reference_py3 import KeyVaultKeyReference + from .file_server_create_parameters_py3 import FileServerCreateParameters + from .manual_scale_settings_py3 import ManualScaleSettings + from .auto_scale_settings_py3 import AutoScaleSettings + from .scale_settings_py3 import ScaleSettings + from .image_reference_py3 import ImageReference + from .virtual_machine_configuration_py3 import VirtualMachineConfiguration + from .environment_variable_py3 import EnvironmentVariable + from .environment_variable_with_secret_value_py3 import EnvironmentVariableWithSecretValue + from .setup_task_py3 import SetupTask + from .azure_storage_credentials_info_py3 import AzureStorageCredentialsInfo + from .azure_file_share_reference_py3 import AzureFileShareReference + from .azure_blob_file_system_reference_py3 import AzureBlobFileSystemReference + from .file_server_reference_py3 import FileServerReference + from .unmanaged_file_system_reference_py3 import UnmanagedFileSystemReference + from .mount_volumes_py3 import MountVolumes + from .app_insights_reference_py3 import AppInsightsReference + from .performance_counters_settings_py3 import PerformanceCountersSettings + from .node_setup_py3 import NodeSetup + from .node_state_counts_py3 import NodeStateCounts + from .cluster_create_parameters_py3 import ClusterCreateParameters + from .cluster_update_parameters_py3 import ClusterUpdateParameters + from .name_value_pair_py3 import NameValuePair + from .batch_ai_error_py3 import BatchAIError + from .cluster_py3 import Cluster + from .private_registry_credentials_py3 import PrivateRegistryCredentials + from .image_source_registry_py3 import ImageSourceRegistry + from .container_settings_py3 import ContainerSettings + from .cnt_ksettings_py3 import CNTKsettings + from .py_torch_settings_py3 import PyTorchSettings + from .tensor_flow_settings_py3 import TensorFlowSettings + from .caffe_settings_py3 import CaffeSettings + from .caffe2_settings_py3 import Caffe2Settings + from .chainer_settings_py3 import ChainerSettings + from .custom_toolkit_settings_py3 import CustomToolkitSettings + from .job_preparation_py3 import JobPreparation + from .input_directory_py3 import InputDirectory + from .output_directory_py3 import OutputDirectory + from .job_base_properties_constraints_py3 import JobBasePropertiesConstraints + from .job_create_parameters_py3 import JobCreateParameters + from .job_properties_constraints_py3 import JobPropertiesConstraints + from .job_properties_execution_info_py3 import JobPropertiesExecutionInfo + from .job_py3 import Job + from .remote_login_information_py3 import RemoteLoginInformation + from .file_py3 import File + from .resource_py3 import Resource + from .local_data_volume_py3 import LocalDataVolume + from .operation_display_py3 import OperationDisplay + from .operation_py3 import Operation + from .clusters_list_options_py3 import ClustersListOptions + from .clusters_list_by_resource_group_options_py3 import ClustersListByResourceGroupOptions + from .jobs_list_options_py3 import JobsListOptions + from .jobs_list_by_resource_group_options_py3 import JobsListByResourceGroupOptions + from .jobs_list_output_files_options_py3 import JobsListOutputFilesOptions + from .file_servers_list_options_py3 import FileServersListOptions + from .file_servers_list_by_resource_group_options_py3 import FileServersListByResourceGroupOptions +except (SyntaxError, ImportError): + from .usage_name import UsageName + from .usage import Usage + from .user_account_settings import UserAccountSettings + from .ssh_configuration import SshConfiguration + from .data_disks import DataDisks + from .resource_id import ResourceId + from .mount_settings import MountSettings + from .file_server import FileServer + from .key_vault_secret_reference import KeyVaultSecretReference + from .key_vault_key_reference import KeyVaultKeyReference + from .file_server_create_parameters import FileServerCreateParameters + from .manual_scale_settings import ManualScaleSettings + from .auto_scale_settings import AutoScaleSettings + from .scale_settings import ScaleSettings + from .image_reference import ImageReference + from .virtual_machine_configuration import VirtualMachineConfiguration + from .environment_variable import EnvironmentVariable + from .environment_variable_with_secret_value import EnvironmentVariableWithSecretValue + from .setup_task import SetupTask + from .azure_storage_credentials_info import AzureStorageCredentialsInfo + from .azure_file_share_reference import AzureFileShareReference + from .azure_blob_file_system_reference import AzureBlobFileSystemReference + from .file_server_reference import FileServerReference + from .unmanaged_file_system_reference import UnmanagedFileSystemReference + from .mount_volumes import MountVolumes + from .app_insights_reference import AppInsightsReference + from .performance_counters_settings import PerformanceCountersSettings + from .node_setup import NodeSetup + from .node_state_counts import NodeStateCounts + from .cluster_create_parameters import ClusterCreateParameters + from .cluster_update_parameters import ClusterUpdateParameters + from .name_value_pair import NameValuePair + from .batch_ai_error import BatchAIError + from .cluster import Cluster + from .private_registry_credentials import PrivateRegistryCredentials + from .image_source_registry import ImageSourceRegistry + from .container_settings import ContainerSettings + from .cnt_ksettings import CNTKsettings + from .py_torch_settings import PyTorchSettings + from .tensor_flow_settings import TensorFlowSettings + from .caffe_settings import CaffeSettings + from .caffe2_settings import Caffe2Settings + from .chainer_settings import ChainerSettings + from .custom_toolkit_settings import CustomToolkitSettings + from .job_preparation import JobPreparation + from .input_directory import InputDirectory + from .output_directory import OutputDirectory + from .job_base_properties_constraints import JobBasePropertiesConstraints + from .job_create_parameters import JobCreateParameters + from .job_properties_constraints import JobPropertiesConstraints + from .job_properties_execution_info import JobPropertiesExecutionInfo + from .job import Job + from .remote_login_information import RemoteLoginInformation + from .file import File + from .resource import Resource + from .local_data_volume import LocalDataVolume + from .operation_display import OperationDisplay + from .operation import Operation + from .clusters_list_options import ClustersListOptions + from .clusters_list_by_resource_group_options import ClustersListByResourceGroupOptions + from .jobs_list_options import JobsListOptions + from .jobs_list_by_resource_group_options import JobsListByResourceGroupOptions + from .jobs_list_output_files_options import JobsListOutputFilesOptions + from .file_servers_list_options import FileServersListOptions + from .file_servers_list_by_resource_group_options import FileServersListByResourceGroupOptions from .operation_paged import OperationPaged +from .usage_paged import UsagePaged from .remote_login_information_paged import RemoteLoginInformationPaged from .cluster_paged import ClusterPaged from .job_paged import JobPaged @@ -89,6 +163,8 @@ ) __all__ = [ + 'UsageName', + 'Usage', 'UserAccountSettings', 'SshConfiguration', 'DataDisks', @@ -103,7 +179,8 @@ 'ScaleSettings', 'ImageReference', 'VirtualMachineConfiguration', - 'EnvironmentSetting', + 'EnvironmentVariable', + 'EnvironmentVariableWithSecretValue', 'SetupTask', 'AzureStorageCredentialsInfo', 'AzureFileShareReference', @@ -111,6 +188,8 @@ 'FileServerReference', 'UnmanagedFileSystemReference', 'MountVolumes', + 'AppInsightsReference', + 'PerformanceCountersSettings', 'NodeSetup', 'NodeStateCounts', 'ClusterCreateParameters', @@ -122,6 +201,7 @@ 'ImageSourceRegistry', 'ContainerSettings', 'CNTKsettings', + 'PyTorchSettings', 'TensorFlowSettings', 'CaffeSettings', 'Caffe2Settings', @@ -149,6 +229,7 @@ 'FileServersListOptions', 'FileServersListByResourceGroupOptions', 'OperationPaged', + 'UsagePaged', 'RemoteLoginInformationPaged', 'ClusterPaged', 'JobPaged', 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 new file mode 100644 index 000000000000..2ce807764121 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/app_insights_reference.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AppInsightsReference(Model): + """Specifies 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. + :type component: ~azure.mgmt.batchai.models.ResourceId + :param 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 + instrumentationKeySecretReference must be specified. + :type instrumentation_key_secret_reference: + ~azure.mgmt.batchai.models.KeyVaultSecretReference + """ + + _validation = { + 'component': {'required': True}, + } + + _attribute_map = { + 'component': {'key': 'component', 'type': 'ResourceId'}, + 'instrumentation_key': {'key': 'instrumentationKey', 'type': 'str'}, + 'instrumentation_key_secret_reference': {'key': 'instrumentationKeySecretReference', 'type': 'KeyVaultSecretReference'}, + } + + def __init__(self, **kwargs): + super(AppInsightsReference, self).__init__(**kwargs) + self.component = kwargs.get('component', None) + self.instrumentation_key = kwargs.get('instrumentation_key', None) + self.instrumentation_key_secret_reference = kwargs.get('instrumentation_key_secret_reference', None) 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 new file mode 100644 index 000000000000..272f336ca5f4 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/app_insights_reference_py3.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AppInsightsReference(Model): + """Specifies 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. + :type component: ~azure.mgmt.batchai.models.ResourceId + :param 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 + instrumentationKeySecretReference must be specified. + :type instrumentation_key_secret_reference: + ~azure.mgmt.batchai.models.KeyVaultSecretReference + """ + + _validation = { + 'component': {'required': True}, + } + + _attribute_map = { + 'component': {'key': 'component', 'type': 'ResourceId'}, + 'instrumentation_key': {'key': 'instrumentationKey', 'type': 'str'}, + 'instrumentation_key_secret_reference': {'key': 'instrumentationKeySecretReference', 'type': 'KeyVaultSecretReference'}, + } + + def __init__(self, *, component, instrumentation_key: str=None, instrumentation_key_secret_reference=None, **kwargs) -> None: + super(AppInsightsReference, self).__init__(**kwargs) + self.component = component + self.instrumentation_key = instrumentation_key + self.instrumentation_key_secret_reference = instrumentation_key_secret_reference 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 145cd1d79934..4877c29858b4 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 @@ -17,11 +17,13 @@ class AutoScaleSettings(Model): minimumNodeCount and maximumNodeCount) based on the pending and running jobs on the cluster. - :param minimum_node_count: Specifies the minimum number of compute nodes - the cluster can have. + 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. :type minimum_node_count: int - :param maximum_node_count: Specifies the maximum number of compute nodes - the cluster can have. + :param maximum_node_count: Required. Specifies 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 @@ -40,7 +42,8 @@ class AutoScaleSettings(Model): 'initial_node_count': {'key': 'initialNodeCount', 'type': 'int'}, } - def __init__(self, minimum_node_count, maximum_node_count, initial_node_count=0): - self.minimum_node_count = minimum_node_count - self.maximum_node_count = maximum_node_count - self.initial_node_count = initial_node_count + def __init__(self, **kwargs): + super(AutoScaleSettings, self).__init__(**kwargs) + self.minimum_node_count = kwargs.get('minimum_node_count', None) + self.maximum_node_count = kwargs.get('maximum_node_count', None) + self.initial_node_count = kwargs.get('initial_node_count', 0) 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 new file mode 100644 index 000000000000..a1048c6d5b68 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/auto_scale_settings_py3.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +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. + + 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. + :type minimum_node_count: int + :param maximum_node_count: Required. Specifies 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 . + :type initial_node_count: int + """ + + _validation = { + 'minimum_node_count': {'required': True}, + 'maximum_node_count': {'required': True}, + } + + _attribute_map = { + 'minimum_node_count': {'key': 'minimumNodeCount', 'type': 'int'}, + 'maximum_node_count': {'key': 'maximumNodeCount', 'type': 'int'}, + 'initial_node_count': {'key': 'initialNodeCount', 'type': 'int'}, + } + + def __init__(self, *, minimum_node_count: int, maximum_node_count: int, initial_node_count: int=0, **kwargs) -> None: + super(AutoScaleSettings, self).__init__(**kwargs) + self.minimum_node_count = minimum_node_count + self.maximum_node_count = maximum_node_count + self.initial_node_count = initial_node_count 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 ba5667b164ba..69dfdaef542b 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 @@ -16,18 +16,21 @@ class AzureBlobFileSystemReference(Model): """Provides required information, for the service to be able to mount Azure Blob Storage container on the cluster nodes. - :param account_name: Name of the Azure Blob Storage account. + All required parameters must be populated in order to send to Azure. + + :param account_name: Required. Name of the Azure Blob Storage account. :type account_name: str - :param container_name: Name of the Azure Blob Storage container to mount - on the cluster. + :param container_name: Required. Name of the Azure Blob Storage container + to mount on the cluster. :type container_name: str - :param credentials: Information of the Azure Blob Storage account - credentials. - :type credentials: :class:`AzureStorageCredentialsInfo - ` - :param relative_mount_path: Specifies the relative path on the compute - node where the Azure Blob file system will be mounted. Note that all blob - file systems will be mounted under $AZ_BATCHAI_MOUNT_ROOT location. + :param credentials: Required. Information of the Azure Blob Storage + account 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. :type relative_mount_path: str :param mount_options: Specifies the various mount options that can be used to configure Blob file system. @@ -49,9 +52,10 @@ class AzureBlobFileSystemReference(Model): 'mount_options': {'key': 'mountOptions', 'type': 'str'}, } - def __init__(self, account_name, container_name, credentials, relative_mount_path, mount_options=None): - self.account_name = account_name - self.container_name = container_name - self.credentials = credentials - self.relative_mount_path = relative_mount_path - self.mount_options = mount_options + def __init__(self, **kwargs): + super(AzureBlobFileSystemReference, self).__init__(**kwargs) + self.account_name = kwargs.get('account_name', None) + self.container_name = kwargs.get('container_name', None) + self.credentials = kwargs.get('credentials', None) + self.relative_mount_path = kwargs.get('relative_mount_path', None) + self.mount_options = kwargs.get('mount_options', None) 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 new file mode 100644 index 000000000000..69a2e7603a44 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_blob_file_system_reference_py3.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureBlobFileSystemReference(Model): + """Provides required information, for the service to be able to mount Azure + Blob Storage container on the cluster nodes. + + All required parameters must be populated in order to send to Azure. + + :param account_name: Required. Name of the Azure Blob Storage account. + :type account_name: str + :param container_name: Required. 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. + :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. + :type relative_mount_path: str + :param mount_options: Specifies the various mount options that can be used + to configure Blob file system. + :type mount_options: str + """ + + _validation = { + 'account_name': {'required': True}, + 'container_name': {'required': True}, + 'credentials': {'required': True}, + 'relative_mount_path': {'required': True}, + } + + _attribute_map = { + 'account_name': {'key': 'accountName', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'credentials': {'key': 'credentials', 'type': 'AzureStorageCredentialsInfo'}, + 'relative_mount_path': {'key': 'relativeMountPath', 'type': 'str'}, + 'mount_options': {'key': 'mountOptions', 'type': 'str'}, + } + + def __init__(self, *, account_name: str, container_name: str, credentials, relative_mount_path: str, mount_options: str=None, **kwargs) -> None: + super(AzureBlobFileSystemReference, self).__init__(**kwargs) + self.account_name = account_name + self.container_name = container_name + self.credentials = credentials + self.relative_mount_path = relative_mount_path + self.mount_options = mount_options 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 2b30aa36080e..157b12a0a131 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 @@ -15,16 +15,19 @@ class AzureFileShareReference(Model): """Details of the Azure File Share to mount on the cluster. - :param account_name: Name of the storage account. + All required parameters must be populated in order to send to Azure. + + :param account_name: Required. Name of the storage account. :type account_name: str - :param azure_file_url: URL to access the Azure File. + :param azure_file_url: Required. URL to access the Azure File. :type azure_file_url: str - :param credentials: Information of the Azure File credentials. - :type credentials: :class:`AzureStorageCredentialsInfo - ` - :param relative_mount_path: Specifies the relative path on the compute - node where the Azure file share will be mounted. Note that all file shares - will be mounted under $AZ_BATCHAI_MOUNT_ROOT location. + :param credentials: Required. Information of the Azure File 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. :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" . @@ -50,10 +53,11 @@ class AzureFileShareReference(Model): 'directory_mode': {'key': 'directoryMode', 'type': 'str'}, } - def __init__(self, account_name, azure_file_url, credentials, relative_mount_path, file_mode="0777", directory_mode="0777"): - self.account_name = account_name - self.azure_file_url = azure_file_url - self.credentials = credentials - self.relative_mount_path = relative_mount_path - self.file_mode = file_mode - self.directory_mode = directory_mode + def __init__(self, **kwargs): + super(AzureFileShareReference, self).__init__(**kwargs) + self.account_name = kwargs.get('account_name', None) + self.azure_file_url = kwargs.get('azure_file_url', None) + self.credentials = kwargs.get('credentials', None) + self.relative_mount_path = kwargs.get('relative_mount_path', None) + self.file_mode = kwargs.get('file_mode', "0777") + self.directory_mode = kwargs.get('directory_mode', "0777") 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 new file mode 100644 index 000000000000..2237eb61ea4f --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_file_share_reference_py3.py @@ -0,0 +1,63 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureFileShareReference(Model): + """Details of the Azure File Share to mount on the cluster. + + All required parameters must be populated in order to send to Azure. + + :param account_name: Required. Name of the storage account. + :type account_name: str + :param azure_file_url: Required. URL to access the Azure File. + :type azure_file_url: str + :param credentials: Required. Information of the Azure File 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. + :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" . + :type file_mode: str + :param directory_mode: Specifies the directory Mode. Default value is + 0777. Valid only if OS is linux. Default value: "0777" . + :type directory_mode: str + """ + + _validation = { + 'account_name': {'required': True}, + 'azure_file_url': {'required': True}, + 'credentials': {'required': True}, + 'relative_mount_path': {'required': True}, + } + + _attribute_map = { + 'account_name': {'key': 'accountName', 'type': 'str'}, + 'azure_file_url': {'key': 'azureFileUrl', 'type': 'str'}, + 'credentials': {'key': 'credentials', 'type': 'AzureStorageCredentialsInfo'}, + 'relative_mount_path': {'key': 'relativeMountPath', 'type': 'str'}, + 'file_mode': {'key': 'fileMode', 'type': 'str'}, + 'directory_mode': {'key': 'directoryMode', 'type': 'str'}, + } + + def __init__(self, *, account_name: str, azure_file_url: str, credentials, relative_mount_path: str, file_mode: str="0777", directory_mode: str="0777", **kwargs) -> None: + super(AzureFileShareReference, self).__init__(**kwargs) + self.account_name = account_name + self.azure_file_url = azure_file_url + self.credentials = credentials + self.relative_mount_path = relative_mount_path + self.file_mode = file_mode + self.directory_mode = directory_mode 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 4759188be6c6..eed3fbd26555 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 @@ -23,8 +23,8 @@ class AzureStorageCredentialsInfo(Model): Azure KeyVault and pass it to the Batch AI Service to integrate with KeyVault. One of accountKey or accountKeySecretReference must be specified. - :type account_key_secret_reference: :class:`KeyVaultSecretReference - ` + :type account_key_secret_reference: + ~azure.mgmt.batchai.models.KeyVaultSecretReference """ _attribute_map = { @@ -32,6 +32,7 @@ class AzureStorageCredentialsInfo(Model): 'account_key_secret_reference': {'key': 'accountKeySecretReference', 'type': 'KeyVaultSecretReference'}, } - def __init__(self, account_key=None, account_key_secret_reference=None): - self.account_key = account_key - self.account_key_secret_reference = account_key_secret_reference + def __init__(self, **kwargs): + super(AzureStorageCredentialsInfo, self).__init__(**kwargs) + self.account_key = kwargs.get('account_key', None) + self.account_key_secret_reference = kwargs.get('account_key_secret_reference', None) 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 new file mode 100644 index 000000000000..aab85cc3e219 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/azure_storage_credentials_info_py3.py @@ -0,0 +1,38 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AzureStorageCredentialsInfo(Model): + """Credentials to access Azure File Share. + + :param 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. + :type account_key_secret_reference: + ~azure.mgmt.batchai.models.KeyVaultSecretReference + """ + + _attribute_map = { + 'account_key': {'key': 'accountKey', 'type': 'str'}, + 'account_key_secret_reference': {'key': 'accountKeySecretReference', 'type': 'KeyVaultSecretReference'}, + } + + def __init__(self, *, account_key: str=None, account_key_secret_reference=None, **kwargs) -> None: + super(AzureStorageCredentialsInfo, self).__init__(**kwargs) + self.account_key = account_key + self.account_key_secret_reference = account_key_secret_reference 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 5a2e06d0faa8..a039ffe05739 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 @@ -22,8 +22,7 @@ class BatchAIError(Model): for display in a user interface. :type message: str :param details: A list of additional details about the error. - :type details: list of :class:`NameValuePair - ` + :type details: list[~azure.mgmt.batchai.models.NameValuePair] """ _attribute_map = { @@ -32,7 +31,8 @@ class BatchAIError(Model): 'details': {'key': 'details', 'type': '[NameValuePair]'}, } - def __init__(self, code=None, message=None, details=None): - self.code = code - self.message = message - self.details = details + def __init__(self, **kwargs): + super(BatchAIError, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + self.details = kwargs.get('details', None) 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 new file mode 100644 index 000000000000..445ab3a8c083 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/batch_ai_error_py3.py @@ -0,0 +1,38 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class BatchAIError(Model): + """An error response from the Batch AI service. + + :param code: An identifier for the error. Codes are invariant and are + intended to be consumed programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable + for display in a user interface. + :type message: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.batchai.models.NameValuePair] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[NameValuePair]'}, + } + + def __init__(self, *, code: str=None, message: str=None, details=None, **kwargs) -> None: + super(BatchAIError, self).__init__(**kwargs) + self.code = code + self.message = message + self.details = details 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 88157afc7037..07172747786a 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 @@ -12,26 +12,26 @@ from enum import Enum -class CachingType(Enum): +class CachingType(str, Enum): none = "none" readonly = "readonly" readwrite = "readwrite" -class StorageAccountType(Enum): +class StorageAccountType(str, Enum): standard_lrs = "Standard_LRS" premium_lrs = "Premium_LRS" -class FileServerType(Enum): +class FileServerType(str, Enum): nfs = "nfs" glusterfs = "glusterfs" -class FileServerProvisioningState(Enum): +class FileServerProvisioningState(str, Enum): creating = "creating" updating = "updating" @@ -40,13 +40,13 @@ class FileServerProvisioningState(Enum): failed = "failed" -class VmPriority(Enum): +class VmPriority(str, Enum): dedicated = "dedicated" lowpriority = "lowpriority" -class DeallocationOption(Enum): +class DeallocationOption(str, Enum): requeue = "requeue" terminate = "terminate" @@ -54,7 +54,7 @@ class DeallocationOption(Enum): unknown = "unknown" -class ProvisioningState(Enum): +class ProvisioningState(str, Enum): creating = "creating" succeeded = "succeeded" @@ -62,13 +62,13 @@ class ProvisioningState(Enum): deleting = "deleting" -class AllocationState(Enum): +class AllocationState(str, Enum): steady = "steady" resizing = "resizing" -class OutputType(Enum): +class OutputType(str, Enum): model = "model" logs = "logs" @@ -76,7 +76,7 @@ class OutputType(Enum): custom = "custom" -class ToolType(Enum): +class ToolType(str, Enum): cntk = "cntk" tensorflow = "tensorflow" @@ -86,7 +86,7 @@ class ToolType(Enum): custom = "custom" -class ExecutionState(Enum): +class ExecutionState(str, Enum): queued = "queued" running = "running" 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 627091a5e293..f557caa980af 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe2_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe2_settings.py @@ -15,8 +15,10 @@ class Caffe2Settings(Model): """Specifies the settings for Caffe2 job. - :param python_script_file_path: The path and file name of the python - script to execute the job. + 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. :type python_script_file_path: str :param python_interpreter_path: The path to python interpreter. :type python_interpreter_path: str @@ -35,7 +37,8 @@ class Caffe2Settings(Model): 'command_line_args': {'key': 'commandLineArgs', 'type': 'str'}, } - def __init__(self, python_script_file_path, python_interpreter_path=None, command_line_args=None): - self.python_script_file_path = python_script_file_path - self.python_interpreter_path = python_interpreter_path - self.command_line_args = command_line_args + def __init__(self, **kwargs): + super(Caffe2Settings, self).__init__(**kwargs) + self.python_script_file_path = kwargs.get('python_script_file_path', None) + self.python_interpreter_path = kwargs.get('python_interpreter_path', None) + self.command_line_args = kwargs.get('command_line_args', None) 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 new file mode 100644 index 000000000000..8e6d5f44fd3e --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe2_settings_py3.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Caffe2Settings(Model): + """Specifies the settings for Caffe2 job. + + 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. + :type python_script_file_path: str + :param python_interpreter_path: The path to python interpreter. + :type python_interpreter_path: str + :param command_line_args: Command line arguments that needs to be passed + to the python script. + :type command_line_args: str + """ + + _validation = { + 'python_script_file_path': {'required': True}, + } + + _attribute_map = { + 'python_script_file_path': {'key': 'pythonScriptFilePath', 'type': 'str'}, + 'python_interpreter_path': {'key': 'pythonInterpreterPath', 'type': 'str'}, + 'command_line_args': {'key': 'commandLineArgs', 'type': 'str'}, + } + + def __init__(self, *, python_script_file_path: str, python_interpreter_path: str=None, command_line_args: str=None, **kwargs) -> None: + super(Caffe2Settings, self).__init__(**kwargs) + self.python_script_file_path = python_script_file_path + self.python_interpreter_path = python_interpreter_path + self.command_line_args = command_line_args 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 63773e0281fc..08ccda061bf5 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe_settings.py @@ -42,9 +42,10 @@ class CaffeSettings(Model): 'process_count': {'key': 'processCount', 'type': 'int'}, } - def __init__(self, config_file_path=None, python_script_file_path=None, python_interpreter_path=None, command_line_args=None, process_count=None): - self.config_file_path = config_file_path - self.python_script_file_path = python_script_file_path - self.python_interpreter_path = python_interpreter_path - self.command_line_args = command_line_args - self.process_count = process_count + def __init__(self, **kwargs): + super(CaffeSettings, self).__init__(**kwargs) + self.config_file_path = kwargs.get('config_file_path', None) + self.python_script_file_path = kwargs.get('python_script_file_path', None) + self.python_interpreter_path = kwargs.get('python_interpreter_path', None) + self.command_line_args = kwargs.get('command_line_args', None) + self.process_count = kwargs.get('process_count', None) 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 new file mode 100644 index 000000000000..34168d9e98ac --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/caffe_settings_py3.py @@ -0,0 +1,51 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CaffeSettings(Model): + """Specifies the settings for Caffe job. + + :param config_file_path: Specifies the path of the config file. 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. + :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. + :type python_interpreter_path: str + :param command_line_args: Command line arguments that needs 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 + property + :type process_count: int + """ + + _attribute_map = { + 'config_file_path': {'key': 'configFilePath', 'type': 'str'}, + 'python_script_file_path': {'key': 'pythonScriptFilePath', 'type': 'str'}, + 'python_interpreter_path': {'key': 'pythonInterpreterPath', 'type': 'str'}, + 'command_line_args': {'key': 'commandLineArgs', 'type': 'str'}, + 'process_count': {'key': 'processCount', 'type': 'int'}, + } + + def __init__(self, *, config_file_path: str=None, python_script_file_path: str=None, python_interpreter_path: str=None, command_line_args: str=None, process_count: int=None, **kwargs) -> None: + super(CaffeSettings, self).__init__(**kwargs) + self.config_file_path = config_file_path + self.python_script_file_path = python_script_file_path + self.python_interpreter_path = python_interpreter_path + self.command_line_args = command_line_args + self.process_count = process_count 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 ca5970a844c1..09d2d2d13b82 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/chainer_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/chainer_settings.py @@ -15,8 +15,10 @@ class ChainerSettings(Model): """Specifies the settings for Chainer job. - :param python_script_file_path: The path and file name of the python - script to execute the job. + 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. :type python_script_file_path: str :param python_interpreter_path: The path to python interpreter. :type python_interpreter_path: str @@ -40,8 +42,9 @@ class ChainerSettings(Model): 'process_count': {'key': 'processCount', 'type': 'int'}, } - def __init__(self, python_script_file_path, python_interpreter_path=None, command_line_args=None, process_count=None): - self.python_script_file_path = python_script_file_path - self.python_interpreter_path = python_interpreter_path - self.command_line_args = command_line_args - self.process_count = process_count + def __init__(self, **kwargs): + super(ChainerSettings, self).__init__(**kwargs) + self.python_script_file_path = kwargs.get('python_script_file_path', None) + self.python_interpreter_path = kwargs.get('python_interpreter_path', None) + self.command_line_args = kwargs.get('command_line_args', None) + self.process_count = kwargs.get('process_count', None) 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 new file mode 100644 index 000000000000..f545397cac75 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/chainer_settings_py3.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ChainerSettings(Model): + """Specifies the settings for Chainer job. + + 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. + :type python_script_file_path: str + :param python_interpreter_path: The path to python interpreter. + :type python_interpreter_path: str + :param command_line_args: Command line arguments that needs 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 + property + :type process_count: int + """ + + _validation = { + 'python_script_file_path': {'required': True}, + } + + _attribute_map = { + 'python_script_file_path': {'key': 'pythonScriptFilePath', 'type': 'str'}, + 'python_interpreter_path': {'key': 'pythonInterpreterPath', 'type': 'str'}, + 'command_line_args': {'key': 'commandLineArgs', 'type': 'str'}, + 'process_count': {'key': 'processCount', 'type': 'int'}, + } + + def __init__(self, *, python_script_file_path: str, python_interpreter_path: str=None, command_line_args: str=None, process_count: int=None, **kwargs) -> None: + super(ChainerSettings, self).__init__(**kwargs) + self.python_script_file_path = python_script_file_path + self.python_interpreter_path = python_interpreter_path + self.command_line_args = command_line_args + self.process_count = process_count diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster.py index 27708ceafc59..fed384116b6d 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster.py @@ -27,7 +27,7 @@ class Cluster(Resource): :ivar location: The location of the resource :vartype location: str :ivar tags: The tags of the resource - :vartype tags: dict + :vartype tags: dict[str, 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 @@ -41,22 +41,20 @@ class Cluster(Resource): lowpriority is choosen. This is best suited if the workload is checkpointing and can be restarted. Possible values include: 'dedicated', 'lowpriority'. Default value: "dedicated" . - :type vm_priority: str or :class:`VmPriority - ` + :type vm_priority: str or ~azure.mgmt.batchai.models.VmPriority :param scale_settings: Desired scale for the Cluster. - :type scale_settings: :class:`ScaleSettings - ` + :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings :param virtual_machine_configuration: Settings for OS image and mounted data volumes. - :type virtual_machine_configuration: :class:`VirtualMachineConfiguration - ` + :type virtual_machine_configuration: + ~azure.mgmt.batchai.models.VirtualMachineConfiguration :param node_setup: Setup to be done on all compute nodes in the Cluster. - :type node_setup: :class:`NodeSetup ` + :type node_setup: ~azure.mgmt.batchai.models.NodeSetup :param user_account_settings: Settings for user account of compute nodes. - :type user_account_settings: :class:`UserAccountSettings - ` + :type user_account_settings: + ~azure.mgmt.batchai.models.UserAccountSettings :param subnet: Specifies the identifier of the subnet. - :type subnet: :class:`ResourceId ` + :type subnet: ~azure.mgmt.batchai.models.ResourceId :ivar creation_time: The creation time of the cluster. :vartype creation_time: datetime :ivar provisioning_state: Specifies the provisioning state of the cluster. @@ -65,8 +63,8 @@ class Cluster(Resource): 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 :class:`ProvisioningState - ` + :vartype provisioning_state: str or + ~azure.mgmt.batchai.models.ProvisioningState :ivar provisioning_state_transition_time: The provisioning state transition time of the cluster. :vartype provisioning_state_transition_time: datetime @@ -78,22 +76,20 @@ class Cluster(Resource): 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' - :vartype allocation_state: str or :class:`AllocationState - ` + :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. :vartype allocation_state_transition_time: datetime :param 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. - :type errors: list of :class:`BatchAIError - ` + :type errors: list[~azure.mgmt.batchai.models.BatchAIError] :ivar 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. - :vartype node_state_counts: :class:`NodeStateCounts - ` + :vartype node_state_counts: ~azure.mgmt.batchai.models.NodeStateCounts """ _validation = { @@ -134,20 +130,20 @@ class Cluster(Resource): 'node_state_counts': {'key': 'properties.nodeStateCounts', 'type': 'NodeStateCounts'}, } - def __init__(self, vm_size=None, vm_priority="dedicated", scale_settings=None, virtual_machine_configuration=None, node_setup=None, user_account_settings=None, subnet=None, errors=None): - super(Cluster, self).__init__() - self.vm_size = vm_size - self.vm_priority = vm_priority - self.scale_settings = scale_settings - self.virtual_machine_configuration = virtual_machine_configuration - self.node_setup = node_setup - self.user_account_settings = user_account_settings - self.subnet = subnet + def __init__(self, **kwargs): + super(Cluster, self).__init__(**kwargs) + self.vm_size = kwargs.get('vm_size', None) + self.vm_priority = kwargs.get('vm_priority', "dedicated") + self.scale_settings = kwargs.get('scale_settings', None) + self.virtual_machine_configuration = kwargs.get('virtual_machine_configuration', None) + self.node_setup = kwargs.get('node_setup', None) + self.user_account_settings = kwargs.get('user_account_settings', None) + self.subnet = kwargs.get('subnet', None) self.creation_time = None self.provisioning_state = None self.provisioning_state_transition_time = None self.allocation_state = None self.allocation_state_transition_time = None - self.errors = errors + self.errors = kwargs.get('errors', None) self.current_node_count = None self.node_state_counts = None 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 4faa90fa574a..9954521acc6c 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 @@ -15,12 +15,14 @@ class ClusterCreateParameters(Model): """Parameters supplied to the Create operation. - :param location: The region in which to create the cluster. + All required parameters must be populated in order to send to Azure. + + :param location: Required. The region in which to create the cluster. :type location: str :param tags: The user specified tags associated with the Cluster. - :type tags: dict - :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 + :type tags: dict[str, str] + :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 @@ -30,23 +32,21 @@ class ClusterCreateParameters(Model): :param vm_priority: dedicated or lowpriority. Default is dedicated. Possible values include: 'dedicated', 'lowpriority'. Default value: "dedicated" . - :type vm_priority: str or :class:`VmPriority - ` + :type vm_priority: str or ~azure.mgmt.batchai.models.VmPriority :param scale_settings: Desired scale for the cluster. - :type scale_settings: :class:`ScaleSettings - ` + :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings :param virtual_machine_configuration: Settings for OS image and mounted data volumes. - :type virtual_machine_configuration: :class:`VirtualMachineConfiguration - ` + :type virtual_machine_configuration: + ~azure.mgmt.batchai.models.VirtualMachineConfiguration :param node_setup: Setup to be done on all compute nodes in the cluster. - :type node_setup: :class:`NodeSetup ` - :param user_account_settings: Settings for user account that will be - created on all compute nodes of the cluster. - :type user_account_settings: :class:`UserAccountSettings - ` + :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. + :type user_account_settings: + ~azure.mgmt.batchai.models.UserAccountSettings :param subnet: Specifies the identifier of the subnet. . - :type subnet: :class:`ResourceId ` + :type subnet: ~azure.mgmt.batchai.models.ResourceId """ _validation = { @@ -67,13 +67,14 @@ class ClusterCreateParameters(Model): 'subnet': {'key': 'properties.subnet', 'type': 'ResourceId'}, } - def __init__(self, location, vm_size, user_account_settings, tags=None, vm_priority="dedicated", scale_settings=None, virtual_machine_configuration=None, node_setup=None, subnet=None): - self.location = location - self.tags = tags - self.vm_size = vm_size - self.vm_priority = vm_priority - self.scale_settings = scale_settings - self.virtual_machine_configuration = virtual_machine_configuration - self.node_setup = node_setup - self.user_account_settings = user_account_settings - self.subnet = subnet + def __init__(self, **kwargs): + super(ClusterCreateParameters, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) + self.vm_size = kwargs.get('vm_size', None) + self.vm_priority = kwargs.get('vm_priority', "dedicated") + self.scale_settings = kwargs.get('scale_settings', None) + self.virtual_machine_configuration = kwargs.get('virtual_machine_configuration', None) + self.node_setup = kwargs.get('node_setup', None) + self.user_account_settings = kwargs.get('user_account_settings', None) + self.subnet = kwargs.get('subnet', None) 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 new file mode 100644 index 000000000000..78cdba0ab6ef --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_create_parameters_py3.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ClusterCreateParameters(Model): + """Parameters supplied to the Create operation. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. The region in which to create the cluster. + :type location: str + :param tags: The user specified tags associated with the Cluster. + :type tags: dict[str, str] + :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). + :type vm_size: str + :param vm_priority: dedicated or lowpriority. Default is dedicated. + 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. + :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings + :param virtual_machine_configuration: Settings for OS image and mounted + data volumes. + :type virtual_machine_configuration: + ~azure.mgmt.batchai.models.VirtualMachineConfiguration + :param node_setup: Setup to be done on all compute nodes 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. + :type user_account_settings: + ~azure.mgmt.batchai.models.UserAccountSettings + :param subnet: Specifies the identifier of the subnet. . + :type subnet: ~azure.mgmt.batchai.models.ResourceId + """ + + _validation = { + 'location': {'required': True}, + 'vm_size': {'required': True}, + 'user_account_settings': {'required': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'vm_size': {'key': 'properties.vmSize', 'type': 'str'}, + 'vm_priority': {'key': 'properties.vmPriority', 'type': 'VmPriority'}, + 'scale_settings': {'key': 'properties.scaleSettings', 'type': 'ScaleSettings'}, + 'virtual_machine_configuration': {'key': 'properties.virtualMachineConfiguration', 'type': 'VirtualMachineConfiguration'}, + 'node_setup': {'key': 'properties.nodeSetup', 'type': 'NodeSetup'}, + 'user_account_settings': {'key': 'properties.userAccountSettings', 'type': 'UserAccountSettings'}, + 'subnet': {'key': 'properties.subnet', 'type': 'ResourceId'}, + } + + def __init__(self, *, location: str, vm_size: str, user_account_settings, tags=None, vm_priority="dedicated", scale_settings=None, virtual_machine_configuration=None, node_setup=None, subnet=None, **kwargs) -> None: + super(ClusterCreateParameters, self).__init__(**kwargs) + self.location = location + self.tags = tags + self.vm_size = vm_size + self.vm_priority = vm_priority + self.scale_settings = scale_settings + self.virtual_machine_configuration = virtual_machine_configuration + self.node_setup = node_setup + self.user_account_settings = user_account_settings + self.subnet = subnet diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_py3.py new file mode 100644 index 000000000000..809309bb26c0 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_py3.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class Cluster(Resource): + """Contains information about a Cluster. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The ID of the resource + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource + :vartype type: str + :ivar location: The location of the resource + :vartype location: str + :ivar tags: The tags of the resource + :vartype tags: dict[str, 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). + :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" . + :type vm_priority: str or ~azure.mgmt.batchai.models.VmPriority + :param scale_settings: Desired scale for the Cluster. + :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings + :param virtual_machine_configuration: Settings for OS image and mounted + data volumes. + :type virtual_machine_configuration: + ~azure.mgmt.batchai.models.VirtualMachineConfiguration + :param node_setup: Setup to be done on all compute nodes in the Cluster. + :type node_setup: ~azure.mgmt.batchai.models.NodeSetup + :param user_account_settings: Settings for user account of compute nodes. + :type user_account_settings: + ~azure.mgmt.batchai.models.UserAccountSettings + :param subnet: Specifies the identifier of the subnet. + :type subnet: ~azure.mgmt.batchai.models.ResourceId + :ivar creation_time: The creation time of the cluster. + :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 + 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. + :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' + :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. + :vartype allocation_state_transition_time: datetime + :param 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. + :type errors: list[~azure.mgmt.batchai.models.BatchAIError] + :ivar 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. + :vartype node_state_counts: ~azure.mgmt.batchai.models.NodeStateCounts + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'readonly': True}, + 'tags': {'readonly': True}, + 'creation_time': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'provisioning_state_transition_time': {'readonly': True}, + 'allocation_state': {'readonly': True}, + 'allocation_state_transition_time': {'readonly': True}, + 'current_node_count': {'readonly': True}, + 'node_state_counts': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'vm_size': {'key': 'properties.vmSize', 'type': 'str'}, + 'vm_priority': {'key': 'properties.vmPriority', 'type': 'VmPriority'}, + 'scale_settings': {'key': 'properties.scaleSettings', 'type': 'ScaleSettings'}, + 'virtual_machine_configuration': {'key': 'properties.virtualMachineConfiguration', 'type': 'VirtualMachineConfiguration'}, + 'node_setup': {'key': 'properties.nodeSetup', 'type': 'NodeSetup'}, + 'user_account_settings': {'key': 'properties.userAccountSettings', 'type': 'UserAccountSettings'}, + 'subnet': {'key': 'properties.subnet', 'type': 'ResourceId'}, + 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningState'}, + 'provisioning_state_transition_time': {'key': 'properties.provisioningStateTransitionTime', 'type': 'iso-8601'}, + 'allocation_state': {'key': 'properties.allocationState', 'type': 'AllocationState'}, + 'allocation_state_transition_time': {'key': 'properties.allocationStateTransitionTime', 'type': 'iso-8601'}, + 'errors': {'key': 'properties.errors', 'type': '[BatchAIError]'}, + 'current_node_count': {'key': 'properties.currentNodeCount', 'type': 'int'}, + 'node_state_counts': {'key': 'properties.nodeStateCounts', 'type': 'NodeStateCounts'}, + } + + def __init__(self, *, vm_size: str=None, vm_priority="dedicated", scale_settings=None, virtual_machine_configuration=None, node_setup=None, user_account_settings=None, subnet=None, errors=None, **kwargs) -> None: + super(Cluster, self).__init__(, **kwargs) + self.vm_size = vm_size + self.vm_priority = vm_priority + self.scale_settings = scale_settings + self.virtual_machine_configuration = virtual_machine_configuration + self.node_setup = node_setup + self.user_account_settings = user_account_settings + self.subnet = subnet + self.creation_time = None + self.provisioning_state = None + self.provisioning_state_transition_time = None + self.allocation_state = None + self.allocation_state_transition_time = None + self.errors = errors + self.current_node_count = None + self.node_state_counts = None 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 18f1d916f4b8..5db54d509664 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 @@ -16,10 +16,9 @@ class ClusterUpdateParameters(Model): """Parameters supplied to the Update operation. :param tags: The user specified tags associated with the Cluster. - :type tags: dict + :type tags: dict[str, str] :param scale_settings: Desired scale for the cluster. - :type scale_settings: :class:`ScaleSettings - ` + :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings """ _attribute_map = { @@ -27,6 +26,7 @@ class ClusterUpdateParameters(Model): 'scale_settings': {'key': 'properties.scaleSettings', 'type': 'ScaleSettings'}, } - def __init__(self, tags=None, scale_settings=None): - self.tags = tags - self.scale_settings = scale_settings + def __init__(self, **kwargs): + super(ClusterUpdateParameters, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.scale_settings = kwargs.get('scale_settings', None) 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 new file mode 100644 index 000000000000..3f43ae3aa17b --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cluster_update_parameters_py3.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ClusterUpdateParameters(Model): + """Parameters supplied to the Update operation. + + :param tags: The user specified tags associated with the Cluster. + :type tags: dict[str, str] + :param scale_settings: Desired scale for the cluster. + :type scale_settings: ~azure.mgmt.batchai.models.ScaleSettings + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'scale_settings': {'key': 'properties.scaleSettings', 'type': 'ScaleSettings'}, + } + + def __init__(self, *, tags=None, scale_settings=None, **kwargs) -> None: + super(ClusterUpdateParameters, self).__init__(**kwargs) + self.tags = tags + self.scale_settings = scale_settings diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_by_resource_group_options.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_by_resource_group_options.py index 2f2f6557c723..e59e4b194e75 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_by_resource_group_options.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_by_resource_group_options.py @@ -26,7 +26,14 @@ class ClustersListByResourceGroupOptions(Model): :type max_results: int """ - def __init__(self, filter=None, select=None, max_results=1000): - self.filter = filter - self.select = select - self.max_results = max_results + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(ClustersListByResourceGroupOptions, self).__init__(**kwargs) + self.filter = kwargs.get('filter', None) + self.select = kwargs.get('select', None) + self.max_results = kwargs.get('max_results', 1000) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_by_resource_group_options_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_by_resource_group_options_py3.py new file mode 100644 index 000000000000..809941f37570 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_by_resource_group_options_py3.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ClustersListByResourceGroupOptions(Model): + """Additional parameters for list_by_resource_group operation. + + :param filter: An OData $filter clause.. Used to filter results that are + returned in the GET respnose. + :type filter: str + :param select: An OData $select clause. Used to select the properties to + be returned in the GET respnose. + :type select: str + :param max_results: The maximum number of items to return in the response. + A maximum of 1000 files can be returned. Default value: 1000 . + :type max_results: int + """ + + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, *, filter: str=None, select: str=None, max_results: int=1000, **kwargs) -> None: + super(ClustersListByResourceGroupOptions, self).__init__(**kwargs) + self.filter = filter + self.select = select + self.max_results = max_results diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_options.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_options.py index b0814e46b44b..34f107d88e20 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_options.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_options.py @@ -26,7 +26,14 @@ class ClustersListOptions(Model): :type max_results: int """ - def __init__(self, filter=None, select=None, max_results=1000): - self.filter = filter - self.select = select - self.max_results = max_results + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(ClustersListOptions, self).__init__(**kwargs) + self.filter = kwargs.get('filter', None) + self.select = kwargs.get('select', None) + self.max_results = kwargs.get('max_results', 1000) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_options_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_options_py3.py new file mode 100644 index 000000000000..c2d207cae1f4 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/clusters_list_options_py3.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ClustersListOptions(Model): + """Additional parameters for list operation. + + :param filter: An OData $filter clause.. Used to filter results that are + returned in the GET respnose. + :type filter: str + :param select: An OData $select clause. Used to select the properties to + be returned in the GET respnose. + :type select: str + :param max_results: The maximum number of items to return in the response. + A maximum of 1000 files can be returned. Default value: 1000 . + :type max_results: int + """ + + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, *, filter: str=None, select: str=None, max_results: int=1000, **kwargs) -> None: + super(ClustersListOptions, self).__init__(**kwargs) + self.filter = filter + self.select = select + self.max_results = max_results 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 a38af84ad5c4..86fee3b5985e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/cnt_ksettings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cnt_ksettings.py @@ -47,10 +47,11 @@ class CNTKsettings(Model): 'process_count': {'key': 'processCount', 'type': 'int'}, } - def __init__(self, language_type=None, config_file_path=None, python_script_file_path=None, python_interpreter_path=None, command_line_args=None, process_count=None): - self.language_type = language_type - self.config_file_path = config_file_path - self.python_script_file_path = python_script_file_path - self.python_interpreter_path = python_interpreter_path - self.command_line_args = command_line_args - self.process_count = process_count + def __init__(self, **kwargs): + super(CNTKsettings, self).__init__(**kwargs) + self.language_type = kwargs.get('language_type', None) + self.config_file_path = kwargs.get('config_file_path', None) + self.python_script_file_path = kwargs.get('python_script_file_path', None) + self.python_interpreter_path = kwargs.get('python_interpreter_path', None) + self.command_line_args = kwargs.get('command_line_args', None) + self.process_count = kwargs.get('process_count', None) 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 new file mode 100644 index 000000000000..aba4c5331f96 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/cnt_ksettings_py3.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CNTKsettings(Model): + """Specifies the settings for CNTK (aka Microsoft Cognitive Toolkit) job. + + :param language_type: Specifies the language type 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'. + :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'. + :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'. + :type python_interpreter_path: str + :param command_line_args: Command line arguments that needs to be passed + to the python script or CNTK.exe. + :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 + property + :type process_count: int + """ + + _attribute_map = { + 'language_type': {'key': 'languageType', 'type': 'str'}, + 'config_file_path': {'key': 'configFilePath', 'type': 'str'}, + 'python_script_file_path': {'key': 'pythonScriptFilePath', 'type': 'str'}, + 'python_interpreter_path': {'key': 'pythonInterpreterPath', 'type': 'str'}, + 'command_line_args': {'key': 'commandLineArgs', 'type': 'str'}, + 'process_count': {'key': 'processCount', 'type': 'int'}, + } + + def __init__(self, *, language_type: str=None, config_file_path: str=None, python_script_file_path: str=None, python_interpreter_path: str=None, command_line_args: str=None, process_count: int=None, **kwargs) -> None: + super(CNTKsettings, self).__init__(**kwargs) + self.language_type = language_type + self.config_file_path = config_file_path + self.python_script_file_path = python_script_file_path + self.python_interpreter_path = python_interpreter_path + self.command_line_args = command_line_args + self.process_count = process_count 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 e5c3d42723c5..21ebe4767cfb 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/container_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/container_settings.py @@ -15,9 +15,12 @@ class ContainerSettings(Model): """Settings for the container to be downloaded. - :param image_source_registry: Registry to download the container from. - :type image_source_registry: :class:`ImageSourceRegistry - ` + All required parameters must be populated in order to send to Azure. + + :param image_source_registry: Required. Registry to download the container + from. + :type image_source_registry: + ~azure.mgmt.batchai.models.ImageSourceRegistry """ _validation = { @@ -28,5 +31,6 @@ class ContainerSettings(Model): 'image_source_registry': {'key': 'imageSourceRegistry', 'type': 'ImageSourceRegistry'}, } - def __init__(self, image_source_registry): - self.image_source_registry = image_source_registry + def __init__(self, **kwargs): + super(ContainerSettings, self).__init__(**kwargs) + self.image_source_registry = kwargs.get('image_source_registry', None) 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 new file mode 100644 index 000000000000..517fa8bc73d0 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/container_settings_py3.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ContainerSettings(Model): + """Settings for the container to be downloaded. + + All required parameters must be populated in order to send to Azure. + + :param image_source_registry: Required. Registry to download the container + from. + :type image_source_registry: + ~azure.mgmt.batchai.models.ImageSourceRegistry + """ + + _validation = { + 'image_source_registry': {'required': True}, + } + + _attribute_map = { + 'image_source_registry': {'key': 'imageSourceRegistry', 'type': 'ImageSourceRegistry'}, + } + + def __init__(self, *, image_source_registry, **kwargs) -> None: + super(ContainerSettings, self).__init__(**kwargs) + self.image_source_registry = image_source_registry 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 fbcb3f3ae790..5d567829d5fc 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 @@ -23,5 +23,6 @@ class CustomToolkitSettings(Model): 'command_line': {'key': 'commandLine', 'type': 'str'}, } - def __init__(self, command_line=None): - self.command_line = command_line + def __init__(self, **kwargs): + super(CustomToolkitSettings, self).__init__(**kwargs) + self.command_line = kwargs.get('command_line', None) 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 new file mode 100644 index 000000000000..ac804269d75b --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/custom_toolkit_settings_py3.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CustomToolkitSettings(Model): + """Specifies the settings for a custom tool kit job. + + :param command_line: The command line to execute the custom toolkit Job. + :type command_line: str + """ + + _attribute_map = { + 'command_line': {'key': 'commandLine', 'type': 'str'}, + } + + def __init__(self, *, command_line: str=None, **kwargs) -> None: + super(CustomToolkitSettings, self).__init__(**kwargs) + self.command_line = command_line 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 6f8560d74977..b65f5d7e21aa 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/data_disks.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/data_disks.py @@ -15,30 +15,27 @@ class DataDisks(Model): """Settings for the data disk which would be created for the File Server. - Variables are only populated by the server, and will be ignored when - sending a request. + All required parameters must be populated in order to send to Azure. - :param disk_size_in_gb: 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. Initial disk size in GB for blank data + disks, and the new desired size for resizing existing data disks. :type disk_size_in_gb: int - :ivar caching_type: None, ReadOnly, ReadWrite. Default value is None. This - property is not patchable. Possible values include: 'none', 'readonly', - 'readwrite'. Default value: "none" . - :vartype caching_type: str or :class:`CachingType - ` - :param disk_count: Number of data disks to be attached to the VM. RAID - level 0 will be applied in the case of multiple disks. + :param caching_type: None, ReadOnly, ReadWrite. Default value is None. + This property is not patchable. 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. :type disk_count: int - :param storage_account_type: 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' - :type storage_account_type: str or :class:`StorageAccountType - ` + :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' + :type storage_account_type: str or + ~azure.mgmt.batchai.models.StorageAccountType """ _validation = { 'disk_size_in_gb': {'required': True}, - 'caching_type': {'readonly': True}, 'disk_count': {'required': True}, 'storage_account_type': {'required': True}, } @@ -50,8 +47,9 @@ class DataDisks(Model): 'storage_account_type': {'key': 'storageAccountType', 'type': 'str'}, } - def __init__(self, disk_size_in_gb, disk_count, storage_account_type): - self.disk_size_in_gb = disk_size_in_gb - self.caching_type = None - self.disk_count = disk_count - self.storage_account_type = storage_account_type + def __init__(self, **kwargs): + super(DataDisks, self).__init__(**kwargs) + self.disk_size_in_gb = kwargs.get('disk_size_in_gb', None) + self.caching_type = kwargs.get('caching_type', "none") + self.disk_count = kwargs.get('disk_count', None) + self.storage_account_type = kwargs.get('storage_account_type', None) 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 new file mode 100644 index 000000000000..e50624b85b91 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/data_disks_py3.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class DataDisks(Model): + """Settings for the data disk which would be created for the File Server. + + 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. + :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" . + :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. + :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' + :type storage_account_type: str or + ~azure.mgmt.batchai.models.StorageAccountType + """ + + _validation = { + 'disk_size_in_gb': {'required': True}, + 'disk_count': {'required': True}, + 'storage_account_type': {'required': True}, + } + + _attribute_map = { + 'disk_size_in_gb': {'key': 'diskSizeInGB', 'type': 'int'}, + 'caching_type': {'key': 'cachingType', 'type': 'CachingType'}, + 'disk_count': {'key': 'diskCount', 'type': 'int'}, + 'storage_account_type': {'key': 'storageAccountType', 'type': 'str'}, + } + + def __init__(self, *, disk_size_in_gb: int, disk_count: int, storage_account_type, caching_type="none", **kwargs) -> None: + super(DataDisks, self).__init__(**kwargs) + self.disk_size_in_gb = disk_size_in_gb + self.caching_type = caching_type + self.disk_count = disk_count + self.storage_account_type = storage_account_type diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable.py new file mode 100644 index 000000000000..ac55df3662c8 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class EnvironmentVariable(Model): + """A collection of environment variables to set. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the environment variable. + :type name: str + :param value: Required. The value of the environment variable. + :type value: str + """ + + _validation = { + 'name': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(EnvironmentVariable, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.value = kwargs.get('value', None) 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 new file mode 100644 index 000000000000..56b44c817645 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_py3.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class EnvironmentVariable(Model): + """A collection of environment variables to set. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the environment variable. + :type name: str + :param value: Required. The value of the environment variable. + :type value: str + """ + + _validation = { + 'name': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, *, name: str, value: str, **kwargs) -> None: + super(EnvironmentVariable, self).__init__(**kwargs) + self.name = name + self.value = value 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 new file mode 100644 index 000000000000..f55db0077c1e --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_with_secret_value.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class EnvironmentVariableWithSecretValue(Model): + """A collection of environment variables with secret values to set. + + 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. + :type name: str + :param 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. + :type value_secret_reference: + ~azure.mgmt.batchai.models.KeyVaultSecretReference + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + 'value_secret_reference': {'key': 'valueSecretReference', 'type': 'KeyVaultSecretReference'}, + } + + def __init__(self, **kwargs): + super(EnvironmentVariableWithSecretValue, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.value = kwargs.get('value', None) + self.value_secret_reference = kwargs.get('value_secret_reference', None) 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 new file mode 100644 index 000000000000..fe9eb16660cc --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_variable_with_secret_value_py3.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class EnvironmentVariableWithSecretValue(Model): + """A collection of environment variables with secret values to set. + + 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. + :type name: str + :param 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. + :type value_secret_reference: + ~azure.mgmt.batchai.models.KeyVaultSecretReference + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + 'value_secret_reference': {'key': 'valueSecretReference', 'type': 'KeyVaultSecretReference'}, + } + + def __init__(self, *, name: str, value: str=None, value_secret_reference=None, **kwargs) -> None: + super(EnvironmentVariableWithSecretValue, self).__init__(**kwargs) + self.name = name + self.value = value + self.value_secret_reference = value_secret_reference diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file.py index a3080e9e4e5b..b6068ecf0d07 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file.py @@ -13,16 +13,16 @@ class File(Model): - """Properties of the file. + """Properties of the file or directory. - :param name: file name + All required parameters must be populated in order to send to Azure. + + :param name: Required. Name of the file. :type name: str - :param download_url: file downloand url, example: - https://mystg.blob.core.windows.net/mycontainer/myModel_1.dnn. This will - be returned only if the model has been archived. During job run, this - won't be returned and customers can use SSH tunneling to download. Users - can use Get Remote Login Information API to get the IP address and port - information of all the compute nodes running the job. + :param is_directory: Required. Indicates if the file is a directory. + :type is_directory: bool + :param download_url: Will contain an URL to download the corresponding + file. The downloadUrl is not returned for directories. :type download_url: str :param last_modified: The time at which the file was last modified. The time at which the file was last modified. @@ -33,18 +33,21 @@ class File(Model): _validation = { 'name': {'required': True}, - 'download_url': {'required': True}, + 'is_directory': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, + 'is_directory': {'key': 'isDirectory', 'type': 'bool'}, 'download_url': {'key': 'downloadUrl', 'type': 'str'}, 'last_modified': {'key': 'properties.lastModified', 'type': 'iso-8601'}, 'content_length': {'key': 'properties.contentLength', 'type': 'long'}, } - def __init__(self, name, download_url, last_modified=None, content_length=None): - self.name = name - self.download_url = download_url - self.last_modified = last_modified - self.content_length = content_length + def __init__(self, **kwargs): + super(File, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.is_directory = kwargs.get('is_directory', None) + self.download_url = kwargs.get('download_url', None) + self.last_modified = kwargs.get('last_modified', None) + self.content_length = kwargs.get('content_length', None) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_py3.py new file mode 100644 index 000000000000..898c80e2ab1f --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_py3.py @@ -0,0 +1,53 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class File(Model): + """Properties of the file or directory. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Name of the file. + :type name: str + :param is_directory: Required. Indicates if the file is a directory. + :type is_directory: bool + :param download_url: Will contain an URL to download the corresponding + file. The downloadUrl is not returned for directories. + :type download_url: str + :param last_modified: The time at which the file was last modified. The + time at which the file was last modified. + :type last_modified: datetime + :param content_length: The file size. The file size. + :type content_length: long + """ + + _validation = { + 'name': {'required': True}, + 'is_directory': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_directory': {'key': 'isDirectory', 'type': 'bool'}, + 'download_url': {'key': 'downloadUrl', 'type': 'str'}, + 'last_modified': {'key': 'properties.lastModified', 'type': 'iso-8601'}, + 'content_length': {'key': 'properties.contentLength', 'type': 'long'}, + } + + def __init__(self, *, name: str, is_directory: bool, download_url: str=None, last_modified=None, content_length: int=None, **kwargs) -> None: + super(File, self).__init__(**kwargs) + self.name = name + self.is_directory = is_directory + self.download_url = download_url + self.last_modified = last_modified + self.content_length = content_length 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 72db04913f9f..a78ae04fcab9 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server.py @@ -27,22 +27,20 @@ class FileServer(Resource): :ivar location: The location of the resource :vartype location: str :ivar tags: The tags of the resource - :vartype tags: dict + :vartype tags: dict[str, 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). :type vm_size: str :param ssh_configuration: SSH settings for the File Server. - :type ssh_configuration: :class:`SshConfiguration - ` + :type ssh_configuration: ~azure.mgmt.batchai.models.SshConfiguration :param data_disks: Settings for the data disk which would be created for the File Server. - :type data_disks: :class:`DataDisks ` + :type data_disks: ~azure.mgmt.batchai.models.DataDisks :param subnet: Specifies the identifier of the subnet. - :type subnet: :class:`ResourceId ` + :type subnet: ~azure.mgmt.batchai.models.ResourceId :ivar mount_settings: Details of the File Server. - :vartype mount_settings: :class:`MountSettings - ` + :vartype mount_settings: ~azure.mgmt.batchai.models.MountSettings :ivar provisioning_state_transition_time: Time when the status was changed. :vartype provisioning_state_transition_time: datetime @@ -57,8 +55,8 @@ class FileServer(Resource): 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 :class:`FileServerProvisioningState - ` + :vartype provisioning_state: str or + ~azure.mgmt.batchai.models.FileServerProvisioningState """ _validation = { @@ -89,12 +87,12 @@ class FileServer(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'FileServerProvisioningState'}, } - def __init__(self, vm_size=None, ssh_configuration=None, data_disks=None, subnet=None): - super(FileServer, self).__init__() - self.vm_size = vm_size - self.ssh_configuration = ssh_configuration - self.data_disks = data_disks - self.subnet = subnet + def __init__(self, **kwargs): + super(FileServer, self).__init__(**kwargs) + self.vm_size = kwargs.get('vm_size', None) + self.ssh_configuration = kwargs.get('ssh_configuration', None) + self.data_disks = kwargs.get('data_disks', None) + self.subnet = kwargs.get('subnet', None) self.mount_settings = None self.provisioning_state_transition_time = None self.creation_time = None 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 6b3810c64ef6..430fa788a6d8 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 @@ -15,22 +15,23 @@ class FileServerCreateParameters(Model): """Parameters supplied to the Create operation. - :param location: The region in which to create the File Server. + All required parameters must be populated in order to send to Azure. + + :param location: Required. The region in which to create the File Server. :type location: str :param tags: The user specified tags associated with the File Server. - :type tags: dict - :param vm_size: 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). + :type tags: dict[str, str] + :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). :type vm_size: str - :param ssh_configuration: SSH settings for the file server. - :type ssh_configuration: :class:`SshConfiguration - ` - :param data_disks: Settings for the data disk which would be created for - the file server. - :type data_disks: :class:`DataDisks ` + :param ssh_configuration: Required. SSH configuration for the file server. + :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. + :type data_disks: ~azure.mgmt.batchai.models.DataDisks :param subnet: Specifies the identifier of the subnet. - :type subnet: :class:`ResourceId ` + :type subnet: ~azure.mgmt.batchai.models.ResourceId """ _validation = { @@ -49,10 +50,11 @@ class FileServerCreateParameters(Model): 'subnet': {'key': 'properties.subnet', 'type': 'ResourceId'}, } - def __init__(self, location, vm_size, ssh_configuration, data_disks, tags=None, subnet=None): - self.location = location - self.tags = tags - self.vm_size = vm_size - self.ssh_configuration = ssh_configuration - self.data_disks = data_disks - self.subnet = subnet + def __init__(self, **kwargs): + super(FileServerCreateParameters, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) + self.vm_size = kwargs.get('vm_size', None) + self.ssh_configuration = kwargs.get('ssh_configuration', None) + self.data_disks = kwargs.get('data_disks', None) + self.subnet = kwargs.get('subnet', None) 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 new file mode 100644 index 000000000000..28e7bc94953d --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_create_parameters_py3.py @@ -0,0 +1,60 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class FileServerCreateParameters(Model): + """Parameters supplied to the Create operation. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. The region in which to create the File Server. + :type location: str + :param tags: The user specified tags associated with the File Server. + :type tags: dict[str, str] + :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). + :type vm_size: str + :param ssh_configuration: Required. SSH configuration for the file server. + :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. + :type data_disks: ~azure.mgmt.batchai.models.DataDisks + :param subnet: Specifies the identifier of the subnet. + :type subnet: ~azure.mgmt.batchai.models.ResourceId + """ + + _validation = { + 'location': {'required': True}, + 'vm_size': {'required': True}, + 'ssh_configuration': {'required': True}, + 'data_disks': {'required': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'vm_size': {'key': 'properties.vmSize', 'type': 'str'}, + 'ssh_configuration': {'key': 'properties.sshConfiguration', 'type': 'SshConfiguration'}, + 'data_disks': {'key': 'properties.dataDisks', 'type': 'DataDisks'}, + 'subnet': {'key': 'properties.subnet', 'type': 'ResourceId'}, + } + + def __init__(self, *, location: str, vm_size: str, ssh_configuration, data_disks, tags=None, subnet=None, **kwargs) -> None: + super(FileServerCreateParameters, self).__init__(**kwargs) + self.location = location + self.tags = tags + self.vm_size = vm_size + self.ssh_configuration = ssh_configuration + self.data_disks = data_disks + self.subnet = subnet 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 new file mode 100644 index 000000000000..f4610e1fbe4e --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_py3.py @@ -0,0 +1,99 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class FileServer(Resource): + """Contains information about the File Server. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The ID of the resource + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource + :vartype type: str + :ivar location: The location of the resource + :vartype location: str + :ivar tags: The tags of the resource + :vartype tags: dict[str, 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). + :type vm_size: str + :param ssh_configuration: SSH settings for the File Server. + :type ssh_configuration: ~azure.mgmt.batchai.models.SshConfiguration + :param data_disks: Settings for the data disk which would be created for + the File Server. + :type data_disks: ~azure.mgmt.batchai.models.DataDisks + :param subnet: Specifies the identifier of the subnet. + :type subnet: ~azure.mgmt.batchai.models.ResourceId + :ivar mount_settings: Details of the File Server. + :vartype mount_settings: ~azure.mgmt.batchai.models.MountSettings + :ivar provisioning_state_transition_time: Time when the status was + changed. + :vartype provisioning_state_transition_time: datetime + :ivar 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' + :vartype provisioning_state: str or + ~azure.mgmt.batchai.models.FileServerProvisioningState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'readonly': True}, + 'tags': {'readonly': True}, + 'mount_settings': {'readonly': True}, + 'provisioning_state_transition_time': {'readonly': True}, + 'creation_time': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'vm_size': {'key': 'properties.vmSize', 'type': 'str'}, + 'ssh_configuration': {'key': 'properties.sshConfiguration', 'type': 'SshConfiguration'}, + 'data_disks': {'key': 'properties.dataDisks', 'type': 'DataDisks'}, + 'subnet': {'key': 'properties.subnet', 'type': 'ResourceId'}, + 'mount_settings': {'key': 'properties.mountSettings', 'type': 'MountSettings'}, + 'provisioning_state_transition_time': {'key': 'properties.provisioningStateTransitionTime', 'type': 'iso-8601'}, + 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'FileServerProvisioningState'}, + } + + def __init__(self, *, vm_size: str=None, ssh_configuration=None, data_disks=None, subnet=None, **kwargs) -> None: + super(FileServer, self).__init__(, **kwargs) + self.vm_size = vm_size + self.ssh_configuration = ssh_configuration + self.data_disks = data_disks + self.subnet = subnet + self.mount_settings = None + self.provisioning_state_transition_time = None + self.creation_time = None + self.provisioning_state = None 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 20ee9b8d20f9..379c2c604e8e 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 @@ -16,16 +16,19 @@ class FileServerReference(Model): """Provides required information, for the service to be able to mount Azure FileShare on the cluster nodes. - :param file_server: Reference to the file server resource. - :type file_server: :class:`ResourceId - ` + All required parameters must be populated in order to send to Azure. + + :param file_server: Required. Reference to the file server resource. + :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. :type source_directory: str - :param relative_mount_path: Specifies the relative path on the compute - node where the File Server will be mounted. Note that all file shares will - be mounted under $AZ_BATCHAI_MOUNT_ROOT location. + :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. :type relative_mount_path: str :param mount_options: Specifies the mount options for File Server. :type mount_options: str @@ -43,8 +46,9 @@ class FileServerReference(Model): 'mount_options': {'key': 'mountOptions', 'type': 'str'}, } - def __init__(self, file_server, relative_mount_path, source_directory=None, mount_options=None): - self.file_server = file_server - self.source_directory = source_directory - self.relative_mount_path = relative_mount_path - self.mount_options = mount_options + def __init__(self, **kwargs): + super(FileServerReference, self).__init__(**kwargs) + self.file_server = kwargs.get('file_server', None) + self.source_directory = kwargs.get('source_directory', None) + self.relative_mount_path = kwargs.get('relative_mount_path', None) + self.mount_options = kwargs.get('mount_options', None) 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 new file mode 100644 index 000000000000..1ec8dc725688 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_server_reference_py3.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class FileServerReference(Model): + """Provides required information, for the service to be able to mount Azure + FileShare on the cluster nodes. + + All required parameters must be populated in order to send to Azure. + + :param file_server: Required. Reference to the file server resource. + :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. + :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. + :type relative_mount_path: str + :param mount_options: Specifies the mount options for File Server. + :type mount_options: str + """ + + _validation = { + 'file_server': {'required': True}, + 'relative_mount_path': {'required': True}, + } + + _attribute_map = { + 'file_server': {'key': 'fileServer', 'type': 'ResourceId'}, + 'source_directory': {'key': 'sourceDirectory', 'type': 'str'}, + 'relative_mount_path': {'key': 'relativeMountPath', 'type': 'str'}, + 'mount_options': {'key': 'mountOptions', 'type': 'str'}, + } + + def __init__(self, *, file_server, relative_mount_path: str, source_directory: str=None, mount_options: str=None, **kwargs) -> None: + super(FileServerReference, self).__init__(**kwargs) + self.file_server = file_server + self.source_directory = source_directory + self.relative_mount_path = relative_mount_path + self.mount_options = mount_options diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_by_resource_group_options.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_by_resource_group_options.py index daecb1174c48..dc9da22b86a3 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_by_resource_group_options.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_by_resource_group_options.py @@ -26,7 +26,14 @@ class FileServersListByResourceGroupOptions(Model): :type max_results: int """ - def __init__(self, filter=None, select=None, max_results=1000): - self.filter = filter - self.select = select - self.max_results = max_results + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(FileServersListByResourceGroupOptions, self).__init__(**kwargs) + self.filter = kwargs.get('filter', None) + self.select = kwargs.get('select', None) + self.max_results = kwargs.get('max_results', 1000) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_by_resource_group_options_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_by_resource_group_options_py3.py new file mode 100644 index 000000000000..fc1946f7b61d --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_by_resource_group_options_py3.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class FileServersListByResourceGroupOptions(Model): + """Additional parameters for list_by_resource_group operation. + + :param filter: An OData $filter clause.. Used to filter results that are + returned in the GET respnose. + :type filter: str + :param select: An OData $select clause. Used to select the properties to + be returned in the GET respnose. + :type select: str + :param max_results: The maximum number of items to return in the response. + A maximum of 1000 files can be returned. Default value: 1000 . + :type max_results: int + """ + + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, *, filter: str=None, select: str=None, max_results: int=1000, **kwargs) -> None: + super(FileServersListByResourceGroupOptions, self).__init__(**kwargs) + self.filter = filter + self.select = select + self.max_results = max_results diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_options.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_options.py index 8b703fa008b0..c321c859568e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_options.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_options.py @@ -26,7 +26,14 @@ class FileServersListOptions(Model): :type max_results: int """ - def __init__(self, filter=None, select=None, max_results=1000): - self.filter = filter - self.select = select - self.max_results = max_results + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(FileServersListOptions, self).__init__(**kwargs) + self.filter = kwargs.get('filter', None) + self.select = kwargs.get('select', None) + self.max_results = kwargs.get('max_results', 1000) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_options_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_options_py3.py new file mode 100644 index 000000000000..8a12532636cf --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/file_servers_list_options_py3.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class FileServersListOptions(Model): + """Additional parameters for list operation. + + :param filter: An OData $filter clause.. Used to filter results that are + returned in the GET respnose. + :type filter: str + :param select: An OData $select clause. Used to select the properties to + be returned in the GET respnose. + :type select: str + :param max_results: The maximum number of items to return in the response. + A maximum of 1000 files can be returned. Default value: 1000 . + :type max_results: int + """ + + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, *, filter: str=None, select: str=None, max_results: int=1000, **kwargs) -> None: + super(FileServersListOptions, self).__init__(**kwargs) + self.filter = filter + self.select = select + self.max_results = max_results 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 de2198b697d9..d92d706e841c 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/image_reference.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/image_reference.py @@ -15,14 +15,27 @@ class ImageReference(Model): """The image reference. - :param publisher: Publisher of the image. + All required parameters must be populated in order to send to Azure. + + :param publisher: Required. Publisher of the image. :type publisher: str - :param offer: Offer of the image. + :param offer: Required. Offer of the image. :type offer: str - :param sku: SKU of the image. + :param sku: Required. SKU of the image. :type sku: str :param 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 + /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 + node agent to communicate with the Batch service see + https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. + Note, you need to provide publisher, offer and sku of the base OS image of + which the custom image has been derived from. + :type virtual_machine_image_id: str """ _validation = { @@ -36,10 +49,13 @@ class ImageReference(Model): 'offer': {'key': 'offer', 'type': 'str'}, 'sku': {'key': 'sku', 'type': 'str'}, 'version': {'key': 'version', 'type': 'str'}, + 'virtual_machine_image_id': {'key': 'virtualMachineImageId', 'type': 'str'}, } - def __init__(self, publisher, offer, sku, version=None): - self.publisher = publisher - self.offer = offer - self.sku = sku - self.version = version + def __init__(self, **kwargs): + super(ImageReference, self).__init__(**kwargs) + self.publisher = kwargs.get('publisher', None) + self.offer = kwargs.get('offer', None) + self.sku = kwargs.get('sku', None) + self.version = kwargs.get('version', None) + self.virtual_machine_image_id = kwargs.get('virtual_machine_image_id', None) 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 new file mode 100644 index 000000000000..f62585428da3 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/image_reference_py3.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ImageReference(Model): + """The image reference. + + All required parameters must be populated in order to send to Azure. + + :param publisher: Required. Publisher of the image. + :type publisher: str + :param offer: Required. Offer of the image. + :type offer: str + :param sku: Required. SKU of the image. + :type sku: str + :param 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 + /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 + node agent to communicate with the Batch service see + https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. + Note, you need to provide publisher, offer and sku of the base OS image of + which the custom image has been derived from. + :type virtual_machine_image_id: str + """ + + _validation = { + 'publisher': {'required': True}, + 'offer': {'required': True}, + 'sku': {'required': True}, + } + + _attribute_map = { + 'publisher': {'key': 'publisher', 'type': 'str'}, + 'offer': {'key': 'offer', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'virtual_machine_image_id': {'key': 'virtualMachineImageId', 'type': 'str'}, + } + + def __init__(self, *, publisher: str, offer: str, sku: str, version: str=None, virtual_machine_image_id: str=None, **kwargs) -> None: + super(ImageReference, self).__init__(**kwargs) + self.publisher = publisher + self.offer = offer + self.sku = sku + self.version = version + self.virtual_machine_image_id = virtual_machine_image_id 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 4a9a3e531454..310e82b2e8c9 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 @@ -15,13 +15,14 @@ class ImageSourceRegistry(Model): """Details of the container image such as name, URL and credentials. + All required parameters must be populated in order to send to Azure. + :param server_url: URL for image repository. :type server_url: str - :param image: The name of the image in image repository. + :param image: Required. The name of the image in image repository. :type image: str :param credentials: Information to access the private Docker repository. - :type credentials: :class:`PrivateRegistryCredentials - ` + :type credentials: ~azure.mgmt.batchai.models.PrivateRegistryCredentials """ _validation = { @@ -34,7 +35,8 @@ class ImageSourceRegistry(Model): 'credentials': {'key': 'credentials', 'type': 'PrivateRegistryCredentials'}, } - def __init__(self, image, server_url=None, credentials=None): - self.server_url = server_url - self.image = image - self.credentials = credentials + def __init__(self, **kwargs): + super(ImageSourceRegistry, self).__init__(**kwargs) + self.server_url = kwargs.get('server_url', None) + self.image = kwargs.get('image', None) + self.credentials = kwargs.get('credentials', None) 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 new file mode 100644 index 000000000000..fa452ea8cbf4 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/image_source_registry_py3.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ImageSourceRegistry(Model): + """Details of the container image such as name, URL and credentials. + + All required parameters must be populated in order to send to Azure. + + :param server_url: URL for image repository. + :type server_url: str + :param image: Required. The name of the image in image repository. + :type image: str + :param credentials: Information to access the private Docker repository. + :type credentials: ~azure.mgmt.batchai.models.PrivateRegistryCredentials + """ + + _validation = { + 'image': {'required': True}, + } + + _attribute_map = { + 'server_url': {'key': 'serverUrl', 'type': 'str'}, + 'image': {'key': 'image', 'type': 'str'}, + 'credentials': {'key': 'credentials', 'type': 'PrivateRegistryCredentials'}, + } + + def __init__(self, *, image: str, server_url: str=None, credentials=None, **kwargs) -> None: + super(ImageSourceRegistry, self).__init__(**kwargs) + self.server_url = server_url + self.image = image + self.credentials = credentials 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 90535b5db775..9c75aaf47943 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/input_directory.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/input_directory.py @@ -15,14 +15,13 @@ class InputDirectory(Model): """Input directory for the job. - :param id: The id for the input directory. It will be available for the - job as an environment variable under AZ_BATCHAI_INPUT_id. The service will - also provide the following environment variable: - AZ_BATCHAI_PREV_OUTPUT_Name. The value of the variable will be populated - if the job is being retried after a previous failure, otherwise it will be - set to nothing. + 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. :type id: str - :param path: The path to the input directory. + :param path: Required. The path to the input directory. :type path: str """ @@ -36,6 +35,7 @@ class InputDirectory(Model): 'path': {'key': 'path', 'type': 'str'}, } - def __init__(self, id, path): - self.id = id - self.path = path + def __init__(self, **kwargs): + super(InputDirectory, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.path = kwargs.get('path', None) 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 new file mode 100644 index 000000000000..f885cc732958 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/input_directory_py3.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class InputDirectory(Model): + """Input directory for the job. + + 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. + :type id: str + :param path: Required. The path to the input directory. + :type path: str + """ + + _validation = { + 'id': {'required': True}, + 'path': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'path': {'key': 'path', 'type': 'str'}, + } + + def __init__(self, *, id: str, path: str, **kwargs) -> None: + super(InputDirectory, self).__init__(**kwargs) + self.id = id + self.path = path diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job.py index 4f1fc4045ed8..6be2033e14a0 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job.py @@ -27,7 +27,7 @@ class Job(Resource): :ivar location: The location of the resource :vartype location: str :ivar tags: The tags of the resource - :vartype tags: dict + :vartype tags: dict[str, str] :param experiment_name: Describe the experiment information of the job :type experiment_name: str :param priority: Priority associated with the job. Priority associated @@ -37,7 +37,19 @@ class Job(Resource): :type priority: int :param cluster: Specifies the Id of the cluster on which this job will run. - :type cluster: :class:`ResourceId ` + :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. + :type mount_volumes: ~azure.mgmt.batchai.models.MountVolumes + :param 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. + :type 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 @@ -45,63 +57,57 @@ class Job(Resource): 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. - :type container_settings: :class:`ContainerSettings - ` + :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, custom. Possible values include: - 'cntk', 'tensorflow', 'caffe', 'caffe2', 'chainer', 'custom' - :type tool_type: str or :class:`ToolType - ` + tensorflow, caffe, caffe2, chainer, pytorch, custom. Possible values + include: 'cntk', 'tensorflow', 'caffe', 'caffe2', 'chainer', 'custom' + :type tool_type: str or ~azure.mgmt.batchai.models.ToolType :param cntk_settings: Specifies the settings for CNTK (aka Microsoft Cognitive Toolkit) job. - :type cntk_settings: :class:`CNTKsettings - ` + :type cntk_settings: ~azure.mgmt.batchai.models.CNTKsettings + :param py_torch_settings: Specifies the settings for pyTorch job. + :type py_torch_settings: ~azure.mgmt.batchai.models.PyTorchSettings :param tensor_flow_settings: Specifies the settings for Tensor Flow job. - :type tensor_flow_settings: :class:`TensorFlowSettings - ` + :type tensor_flow_settings: ~azure.mgmt.batchai.models.TensorFlowSettings :param caffe_settings: Specifies the settings for Caffe job. - :type caffe_settings: :class:`CaffeSettings - ` + :type caffe_settings: ~azure.mgmt.batchai.models.CaffeSettings :param chainer_settings: Specifies the settings for Chainer job. - :type chainer_settings: :class:`ChainerSettings - ` + :type chainer_settings: ~azure.mgmt.batchai.models.ChainerSettings :param custom_toolkit_settings: Specifies the settings for custom tool kit job. - :type custom_toolkit_settings: :class:`CustomToolkitSettings - ` + :type custom_toolkit_settings: + ~azure.mgmt.batchai.models.CustomToolkitSettings :param job_preparation: Specifies the actions to be performed before tool kit is launched. The specified actions will run on all the nodes that are part of the job - :type job_preparation: :class:`JobPreparation - ` + :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. :type std_out_err_path_prefix: str :param input_directories: Specifies the list of input directories for the Job. - :type input_directories: list of :class:`InputDirectory - ` + :type input_directories: list[~azure.mgmt.batchai.models.InputDirectory] :param output_directories: Specifies the list of output directories where - the models will be created. . - :type output_directories: list of :class:`OutputDirectory - ` - :param environment_variables: Additional environment variables to be - passed to the job. Batch AI services sets the following environment - variables for all jobs: AZ_BATCHAI_INPUT_id, AZ_BATCHAI_OUTPUT_id, - AZ_BATCHAI_NUM_GPUS_PER_NODE, For distributed TensorFlow jobs, following - additional environment variables are set by the Batch AI Service: - AZ_BATCHAI_PS_HOSTS, AZ_BATCHAI_WORKER_HOSTS. - :type environment_variables: list of :class:`EnvironmentSetting - ` + the models will be created. + :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. + :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. + :type secrets: + list[~azure.mgmt.batchai.models.EnvironmentVariableWithSecretValue] :param constraints: Constraints associated with the Job. - :type constraints: :class:`JobPropertiesConstraints - ` + :type constraints: ~azure.mgmt.batchai.models.JobPropertiesConstraints :ivar creation_time: The job 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' - :vartype provisioning_state: str or :class:`ProvisioningState - ` + :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. @@ -119,16 +125,15 @@ class Job(Resource): 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' - :type execution_state: str or :class:`ExecutionState - ` + :type 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. :vartype execution_state_transition_time: datetime :param execution_info: Contains information about the execution of a job in the Azure Batch service. - :type execution_info: :class:`JobPropertiesExecutionInfo - ` + :type execution_info: + ~azure.mgmt.batchai.models.JobPropertiesExecutionInfo """ _validation = { @@ -152,10 +157,13 @@ class Job(Resource): 'experiment_name': {'key': 'properties.experimentName', 'type': 'str'}, 'priority': {'key': 'properties.priority', 'type': 'int'}, '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'}, 'cntk_settings': {'key': 'properties.cntkSettings', 'type': 'CNTKsettings'}, + 'py_torch_settings': {'key': 'properties.pyTorchSettings', 'type': 'PyTorchSettings'}, 'tensor_flow_settings': {'key': 'properties.tensorFlowSettings', 'type': 'TensorFlowSettings'}, 'caffe_settings': {'key': 'properties.caffeSettings', 'type': 'CaffeSettings'}, 'chainer_settings': {'key': 'properties.chainerSettings', 'type': 'ChainerSettings'}, @@ -164,7 +172,8 @@ class Job(Resource): 'std_out_err_path_prefix': {'key': 'properties.stdOutErrPathPrefix', 'type': 'str'}, 'input_directories': {'key': 'properties.inputDirectories', 'type': '[InputDirectory]'}, 'output_directories': {'key': 'properties.outputDirectories', 'type': '[OutputDirectory]'}, - 'environment_variables': {'key': 'properties.environmentVariables', 'type': '[EnvironmentSetting]'}, + 'environment_variables': {'key': 'properties.environmentVariables', 'type': '[EnvironmentVariable]'}, + 'secrets': {'key': 'properties.secrets', 'type': '[EnvironmentVariableWithSecretValue]'}, 'constraints': {'key': 'properties.constraints', 'type': 'JobPropertiesConstraints'}, 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningState'}, @@ -174,28 +183,32 @@ class Job(Resource): 'execution_info': {'key': 'properties.executionInfo', 'type': 'JobPropertiesExecutionInfo'}, } - def __init__(self, experiment_name=None, priority=0, cluster=None, node_count=None, container_settings=None, tool_type=None, cntk_settings=None, tensor_flow_settings=None, caffe_settings=None, chainer_settings=None, custom_toolkit_settings=None, job_preparation=None, std_out_err_path_prefix=None, input_directories=None, output_directories=None, environment_variables=None, constraints=None, execution_state=None, execution_info=None): - super(Job, self).__init__() - self.experiment_name = experiment_name - self.priority = priority - self.cluster = cluster - self.node_count = node_count - self.container_settings = container_settings - self.tool_type = tool_type - self.cntk_settings = cntk_settings - self.tensor_flow_settings = tensor_flow_settings - self.caffe_settings = caffe_settings - self.chainer_settings = chainer_settings - self.custom_toolkit_settings = custom_toolkit_settings - self.job_preparation = job_preparation - self.std_out_err_path_prefix = std_out_err_path_prefix - self.input_directories = input_directories - self.output_directories = output_directories - self.environment_variables = environment_variables - self.constraints = constraints + def __init__(self, **kwargs): + super(Job, self).__init__(**kwargs) + self.experiment_name = kwargs.get('experiment_name', None) + self.priority = kwargs.get('priority', 0) + self.cluster = kwargs.get('cluster', None) + self.mount_volumes = kwargs.get('mount_volumes', None) + self.job_output_directory_path_segment = kwargs.get('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) + self.cntk_settings = kwargs.get('cntk_settings', None) + self.py_torch_settings = kwargs.get('py_torch_settings', None) + self.tensor_flow_settings = kwargs.get('tensor_flow_settings', None) + self.caffe_settings = kwargs.get('caffe_settings', None) + self.chainer_settings = kwargs.get('chainer_settings', None) + self.custom_toolkit_settings = kwargs.get('custom_toolkit_settings', None) + self.job_preparation = kwargs.get('job_preparation', 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) + self.environment_variables = kwargs.get('environment_variables', None) + self.secrets = kwargs.get('secrets', None) + self.constraints = kwargs.get('constraints', None) self.creation_time = None self.provisioning_state = None self.provisioning_state_transition_time = None - self.execution_state = execution_state + self.execution_state = kwargs.get('execution_state', None) self.execution_state_transition_time = None - self.execution_info = execution_info + self.execution_info = kwargs.get('execution_info', 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 67dba74db498..ca33fd9d89e9 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 @@ -24,5 +24,6 @@ class JobBasePropertiesConstraints(Model): 'max_wall_clock_time': {'key': 'maxWallClockTime', 'type': 'duration'}, } - def __init__(self, max_wall_clock_time="7.00:00:00"): - self.max_wall_clock_time = max_wall_clock_time + def __init__(self, **kwargs): + super(JobBasePropertiesConstraints, self).__init__(**kwargs) + self.max_wall_clock_time = kwargs.get('max_wall_clock_time', "7.00:00:00") 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 new file mode 100644 index 000000000000..6cbb600f4e1e --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_base_properties_constraints_py3.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +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" . + :type max_wall_clock_time: timedelta + """ + + _attribute_map = { + 'max_wall_clock_time': {'key': 'maxWallClockTime', 'type': 'duration'}, + } + + def __init__(self, *, max_wall_clock_time="7.00:00:00", **kwargs) -> None: + super(JobBasePropertiesConstraints, self).__init__(**kwargs) + self.max_wall_clock_time = max_wall_clock_time 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 b8f682a00848..a82ebadf606f 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 @@ -15,10 +15,12 @@ class JobCreateParameters(Model): """Parameters supplied to the Create operation. - :param location: The region in which to create the job. + All required parameters must be populated in order to send to Azure. + + :param location: Required. The region in which to create the job. :type location: str :param tags: The user specified tags associated with the job. - :type tags: dict + :type tags: dict[str, str] :param experiment_name: Describe the experiment information of the job :type experiment_name: str :param priority: Priority associated with the job. Priority associated @@ -26,65 +28,63 @@ class JobCreateParameters(Model): being the lowest priority and 1000 being the highest priority. The default value is 0. Default value: 0 . :type priority: int - :param cluster: Specifies the Id of the cluster on which this job will - run. - :type cluster: :class:`ResourceId ` - :param node_count: Number of compute nodes to run the job on. The job will - be gang scheduled on that many compute nodes + :param cluster: Required. Specifies the 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. + :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 :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. - :type container_settings: :class:`ContainerSettings - ` + :type container_settings: ~azure.mgmt.batchai.models.ContainerSettings :param cntk_settings: Specifies the settings for CNTK (aka Microsoft Cognitive Toolkit) job. - :type cntk_settings: :class:`CNTKsettings - ` + :type cntk_settings: ~azure.mgmt.batchai.models.CNTKsettings + :param py_torch_settings: Specifies the settings for pyTorch job. + :type py_torch_settings: ~azure.mgmt.batchai.models.PyTorchSettings :param tensor_flow_settings: Specifies the settings for Tensor Flow job. - :type tensor_flow_settings: :class:`TensorFlowSettings - ` + :type tensor_flow_settings: ~azure.mgmt.batchai.models.TensorFlowSettings :param caffe_settings: Specifies the settings for Caffe job. - :type caffe_settings: :class:`CaffeSettings - ` + :type caffe_settings: ~azure.mgmt.batchai.models.CaffeSettings :param caffe2_settings: Specifies the settings for Caffe2 job. - :type caffe2_settings: :class:`Caffe2Settings - ` + :type caffe2_settings: ~azure.mgmt.batchai.models.Caffe2Settings :param chainer_settings: Specifies the settings for Chainer job. - :type chainer_settings: :class:`ChainerSettings - ` + :type chainer_settings: ~azure.mgmt.batchai.models.ChainerSettings :param custom_toolkit_settings: Specifies the settings for custom tool kit job. - :type custom_toolkit_settings: :class:`CustomToolkitSettings - ` + :type custom_toolkit_settings: + ~azure.mgmt.batchai.models.CustomToolkitSettings :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 - :type job_preparation: :class:`JobPreparation - ` - :param std_out_err_path_prefix: The path where the Batch AI service will - upload stdout and stderror of the job. + :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. :type std_out_err_path_prefix: str :param input_directories: Specifies the list of input directories for the Job. - :type input_directories: list of :class:`InputDirectory - ` - :param output_directories: Specifies the list of output directories where - the models will be created. . - :type output_directories: list of :class:`OutputDirectory - ` + :type input_directories: list[~azure.mgmt.batchai.models.InputDirectory] + :param output_directories: Specifies the list of output directories. + :type output_directories: list[~azure.mgmt.batchai.models.OutputDirectory] :param environment_variables: Additional environment variables to set on - the job. Batch AI service sets the following environment variables for all - jobs: AZ_BATCHAI_INPUT_id, AZ_BATCHAI_OUTPUT_id, - AZ_BATCHAI_NUM_GPUS_PER_NODE. For distributed TensorFlow jobs, following - additional environment variables are set by the Batch AI Service: - AZ_BATCHAI_PS_HOSTS, AZ_BATCHAI_WORKER_HOSTS - :type environment_variables: list of :class:`EnvironmentSetting - ` + the job. Batch AI will setup these additional environment variables 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. + :type secrets: + list[~azure.mgmt.batchai.models.EnvironmentVariableWithSecretValue] :param constraints: Constraints associated with the Job. - :type constraints: :class:`JobBasePropertiesConstraints - ` + :type constraints: ~azure.mgmt.batchai.models.JobBasePropertiesConstraints """ _validation = { @@ -100,9 +100,11 @@ class JobCreateParameters(Model): 'experiment_name': {'key': 'properties.experimentName', 'type': 'str'}, 'priority': {'key': 'properties.priority', 'type': 'int'}, 'cluster': {'key': 'properties.cluster', 'type': 'ResourceId'}, + 'mount_volumes': {'key': 'properties.mountVolumes', 'type': 'MountVolumes'}, 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, 'container_settings': {'key': 'properties.containerSettings', 'type': 'ContainerSettings'}, 'cntk_settings': {'key': 'properties.cntkSettings', 'type': 'CNTKsettings'}, + 'py_torch_settings': {'key': 'properties.pyTorchSettings', 'type': 'PyTorchSettings'}, 'tensor_flow_settings': {'key': 'properties.tensorFlowSettings', 'type': 'TensorFlowSettings'}, 'caffe_settings': {'key': 'properties.caffeSettings', 'type': 'CaffeSettings'}, 'caffe2_settings': {'key': 'properties.caffe2Settings', 'type': 'Caffe2Settings'}, @@ -112,27 +114,32 @@ class JobCreateParameters(Model): 'std_out_err_path_prefix': {'key': 'properties.stdOutErrPathPrefix', 'type': 'str'}, 'input_directories': {'key': 'properties.inputDirectories', 'type': '[InputDirectory]'}, 'output_directories': {'key': 'properties.outputDirectories', 'type': '[OutputDirectory]'}, - 'environment_variables': {'key': 'properties.environmentVariables', 'type': '[EnvironmentSetting]'}, + 'environment_variables': {'key': 'properties.environmentVariables', 'type': '[EnvironmentVariable]'}, + 'secrets': {'key': 'properties.secrets', 'type': '[EnvironmentVariableWithSecretValue]'}, 'constraints': {'key': 'properties.constraints', 'type': 'JobBasePropertiesConstraints'}, } - def __init__(self, location, cluster, node_count, std_out_err_path_prefix, tags=None, experiment_name=None, priority=0, container_settings=None, cntk_settings=None, tensor_flow_settings=None, caffe_settings=None, caffe2_settings=None, chainer_settings=None, custom_toolkit_settings=None, job_preparation=None, input_directories=None, output_directories=None, environment_variables=None, constraints=None): - self.location = location - self.tags = tags - self.experiment_name = experiment_name - self.priority = priority - self.cluster = cluster - self.node_count = node_count - self.container_settings = container_settings - self.cntk_settings = cntk_settings - self.tensor_flow_settings = tensor_flow_settings - self.caffe_settings = caffe_settings - self.caffe2_settings = caffe2_settings - self.chainer_settings = chainer_settings - self.custom_toolkit_settings = custom_toolkit_settings - self.job_preparation = job_preparation - self.std_out_err_path_prefix = std_out_err_path_prefix - self.input_directories = input_directories - self.output_directories = output_directories - self.environment_variables = environment_variables - self.constraints = constraints + def __init__(self, **kwargs): + super(JobCreateParameters, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) + self.experiment_name = kwargs.get('experiment_name', None) + self.priority = kwargs.get('priority', 0) + self.cluster = kwargs.get('cluster', None) + self.mount_volumes = kwargs.get('mount_volumes', None) + self.node_count = kwargs.get('node_count', None) + self.container_settings = kwargs.get('container_settings', None) + self.cntk_settings = kwargs.get('cntk_settings', None) + self.py_torch_settings = kwargs.get('py_torch_settings', None) + self.tensor_flow_settings = kwargs.get('tensor_flow_settings', None) + self.caffe_settings = kwargs.get('caffe_settings', None) + self.caffe2_settings = kwargs.get('caffe2_settings', None) + self.chainer_settings = kwargs.get('chainer_settings', None) + self.custom_toolkit_settings = kwargs.get('custom_toolkit_settings', None) + self.job_preparation = kwargs.get('job_preparation', 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) + self.environment_variables = kwargs.get('environment_variables', None) + self.secrets = kwargs.get('secrets', None) + self.constraints = kwargs.get('constraints', None) 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 new file mode 100644 index 000000000000..bd2e5d19b5a1 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_create_parameters_py3.py @@ -0,0 +1,145 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class JobCreateParameters(Model): + """Parameters supplied to the Create operation. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. The region in which to create the job. + :type location: str + :param tags: The user specified tags associated with the job. + :type tags: dict[str, str] + :param experiment_name: Describe the experiment information of the job + :type experiment_name: str + :param priority: Priority associated with the job. Priority associated + with the job. Priority values can range from -1000 to 1000, with -1000 + being the lowest priority and 1000 being the highest priority. The default + value is 0. Default value: 0 . + :type priority: int + :param cluster: Required. Specifies the 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. + :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 + :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. + :type container_settings: ~azure.mgmt.batchai.models.ContainerSettings + :param cntk_settings: Specifies the 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. + :type py_torch_settings: ~azure.mgmt.batchai.models.PyTorchSettings + :param tensor_flow_settings: Specifies the settings for Tensor Flow job. + :type tensor_flow_settings: ~azure.mgmt.batchai.models.TensorFlowSettings + :param caffe_settings: Specifies the settings for Caffe job. + :type caffe_settings: ~azure.mgmt.batchai.models.CaffeSettings + :param caffe2_settings: Specifies the settings for Caffe2 job. + :type caffe2_settings: ~azure.mgmt.batchai.models.Caffe2Settings + :param chainer_settings: Specifies the settings for Chainer job. + :type chainer_settings: ~azure.mgmt.batchai.models.ChainerSettings + :param custom_toolkit_settings: Specifies the settings for custom tool kit + job. + :type custom_toolkit_settings: + ~azure.mgmt.batchai.models.CustomToolkitSettings + :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 + :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. + :type std_out_err_path_prefix: str + :param input_directories: Specifies the 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. + :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. + :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. + :type secrets: + list[~azure.mgmt.batchai.models.EnvironmentVariableWithSecretValue] + :param constraints: Constraints associated with the Job. + :type constraints: ~azure.mgmt.batchai.models.JobBasePropertiesConstraints + """ + + _validation = { + 'location': {'required': True}, + 'cluster': {'required': True}, + 'node_count': {'required': True}, + 'std_out_err_path_prefix': {'required': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'experiment_name': {'key': 'properties.experimentName', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'cluster': {'key': 'properties.cluster', 'type': 'ResourceId'}, + 'mount_volumes': {'key': 'properties.mountVolumes', 'type': 'MountVolumes'}, + 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, + 'container_settings': {'key': 'properties.containerSettings', 'type': 'ContainerSettings'}, + 'cntk_settings': {'key': 'properties.cntkSettings', 'type': 'CNTKsettings'}, + 'py_torch_settings': {'key': 'properties.pyTorchSettings', 'type': 'PyTorchSettings'}, + 'tensor_flow_settings': {'key': 'properties.tensorFlowSettings', 'type': 'TensorFlowSettings'}, + 'caffe_settings': {'key': 'properties.caffeSettings', 'type': 'CaffeSettings'}, + 'caffe2_settings': {'key': 'properties.caffe2Settings', 'type': 'Caffe2Settings'}, + 'chainer_settings': {'key': 'properties.chainerSettings', 'type': 'ChainerSettings'}, + 'custom_toolkit_settings': {'key': 'properties.customToolkitSettings', 'type': 'CustomToolkitSettings'}, + 'job_preparation': {'key': 'properties.jobPreparation', 'type': 'JobPreparation'}, + 'std_out_err_path_prefix': {'key': 'properties.stdOutErrPathPrefix', 'type': 'str'}, + 'input_directories': {'key': 'properties.inputDirectories', 'type': '[InputDirectory]'}, + 'output_directories': {'key': 'properties.outputDirectories', 'type': '[OutputDirectory]'}, + 'environment_variables': {'key': 'properties.environmentVariables', 'type': '[EnvironmentVariable]'}, + 'secrets': {'key': 'properties.secrets', 'type': '[EnvironmentVariableWithSecretValue]'}, + 'constraints': {'key': 'properties.constraints', 'type': 'JobBasePropertiesConstraints'}, + } + + def __init__(self, *, location: str, cluster, node_count: int, std_out_err_path_prefix: str, tags=None, experiment_name: str=None, priority: int=0, mount_volumes=None, container_settings=None, cntk_settings=None, py_torch_settings=None, tensor_flow_settings=None, caffe_settings=None, caffe2_settings=None, chainer_settings=None, custom_toolkit_settings=None, job_preparation=None, input_directories=None, output_directories=None, environment_variables=None, secrets=None, constraints=None, **kwargs) -> None: + super(JobCreateParameters, self).__init__(**kwargs) + self.location = location + self.tags = tags + self.experiment_name = experiment_name + self.priority = priority + self.cluster = cluster + self.mount_volumes = mount_volumes + self.node_count = node_count + self.container_settings = container_settings + self.cntk_settings = cntk_settings + self.py_torch_settings = py_torch_settings + self.tensor_flow_settings = tensor_flow_settings + self.caffe_settings = caffe_settings + self.caffe2_settings = caffe2_settings + self.chainer_settings = chainer_settings + self.custom_toolkit_settings = custom_toolkit_settings + self.job_preparation = job_preparation + self.std_out_err_path_prefix = std_out_err_path_prefix + self.input_directories = input_directories + self.output_directories = output_directories + self.environment_variables = environment_variables + self.secrets = secrets + self.constraints = constraints 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 57783616b571..c36574713cf7 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_preparation.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_preparation.py @@ -15,9 +15,12 @@ class JobPreparation(Model): """Specifies the settings for job preparation. - :param 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. + 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 + executed in the same container as job. Otherwise it will be executed on + the node. :type command_line: str """ @@ -29,5 +32,6 @@ class JobPreparation(Model): 'command_line': {'key': 'commandLine', 'type': 'str'}, } - def __init__(self, command_line): - self.command_line = command_line + def __init__(self, **kwargs): + super(JobPreparation, self).__init__(**kwargs) + self.command_line = kwargs.get('command_line', None) 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 new file mode 100644 index 000000000000..afc8e0f1c7da --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_preparation_py3.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class JobPreparation(Model): + """Specifies the settings for job preparation. + + 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 + executed in the same container as job. Otherwise it will be executed on + the node. + :type command_line: str + """ + + _validation = { + 'command_line': {'required': True}, + } + + _attribute_map = { + 'command_line': {'key': 'commandLine', 'type': 'str'}, + } + + def __init__(self, *, command_line: str, **kwargs) -> None: + super(JobPreparation, self).__init__(**kwargs) + self.command_line = command_line 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 e29f3d3c25cf..a10d06ab9492 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 @@ -24,5 +24,6 @@ class JobPropertiesConstraints(Model): 'max_wall_clock_time': {'key': 'maxWallClockTime', 'type': 'duration'}, } - def __init__(self, max_wall_clock_time="7.00:00:00"): - self.max_wall_clock_time = max_wall_clock_time + def __init__(self, **kwargs): + super(JobPropertiesConstraints, self).__init__(**kwargs) + self.max_wall_clock_time = kwargs.get('max_wall_clock_time', "7.00:00:00") 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 new file mode 100644 index 000000000000..9d6235e6313d --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_constraints_py3.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +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" . + :type max_wall_clock_time: timedelta + """ + + _attribute_map = { + 'max_wall_clock_time': {'key': 'maxWallClockTime', 'type': 'duration'}, + } + + def __init__(self, *, max_wall_clock_time="7.00:00:00", **kwargs) -> None: + super(JobPropertiesConstraints, self).__init__(**kwargs) + self.max_wall_clock_time = max_wall_clock_time 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 2296b260c8be..26a69dec8c3c 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 @@ -16,9 +16,11 @@ class JobPropertiesExecutionInfo(Model): """Contains information about the execution of a job in the Azure Batch service. - :param 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. + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. 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. :type start_time: datetime @@ -30,10 +32,13 @@ class JobPropertiesExecutionInfo(Model): :type exit_code: int :param errors: Contains details of various errors encountered by the service during job execution. - :type errors: list of :class:`BatchAIError - ` + :type errors: list[~azure.mgmt.batchai.models.BatchAIError] """ + _validation = { + 'start_time': {'required': True}, + } + _attribute_map = { 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, @@ -41,8 +46,9 @@ class JobPropertiesExecutionInfo(Model): 'errors': {'key': 'errors', 'type': '[BatchAIError]'}, } - def __init__(self, start_time=None, end_time=None, exit_code=None, errors=None): - self.start_time = start_time - self.end_time = end_time - self.exit_code = exit_code - self.errors = errors + def __init__(self, **kwargs): + super(JobPropertiesExecutionInfo, self).__init__(**kwargs) + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.exit_code = kwargs.get('exit_code', None) + self.errors = kwargs.get('errors', None) 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 new file mode 100644 index 000000000000..4f2299253c71 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_properties_execution_info_py3.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class JobPropertiesExecutionInfo(Model): + """Contains information about the execution of a job in the Azure Batch + service. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. 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. + :type start_time: datetime + :param end_time: The time at which the job completed. This property is + only returned if the job is in completed state. + :type end_time: datetime + :param exit_code: The exit code of the job. This property is only returned + if the job is in completed state. + :type exit_code: int + :param errors: Contains details of various errors encountered by the + service during job execution. + :type errors: list[~azure.mgmt.batchai.models.BatchAIError] + """ + + _validation = { + 'start_time': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'exit_code': {'key': 'exitCode', 'type': 'int'}, + 'errors': {'key': 'errors', 'type': '[BatchAIError]'}, + } + + def __init__(self, *, start_time, end_time=None, exit_code: int=None, errors=None, **kwargs) -> None: + super(JobPropertiesExecutionInfo, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + self.exit_code = exit_code + self.errors = errors diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/job_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_py3.py new file mode 100644 index 000000000000..94605dd0a237 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/job_py3.py @@ -0,0 +1,214 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class Job(Resource): + """Contains information about the job. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The ID of the resource + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource + :vartype type: str + :ivar location: The location of the resource + :vartype location: str + :ivar tags: The tags of the resource + :vartype tags: dict[str, str] + :param experiment_name: Describe the experiment information of the job + :type experiment_name: str + :param priority: Priority associated with the job. Priority associated + with the job. Priority values can range from -1000 to 1000, with -1000 + being the lowest priority and 1000 being the highest priority. The default + value is 0. Default value: 0 . + :type priority: int + :param cluster: Specifies the 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. + :type mount_volumes: ~azure.mgmt.batchai.models.MountVolumes + :param 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. + :type 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 + :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. + :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. Possible values + include: 'cntk', 'tensorflow', 'caffe', 'caffe2', 'chainer', 'custom' + :type tool_type: str or ~azure.mgmt.batchai.models.ToolType + :param cntk_settings: Specifies the 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. + :type py_torch_settings: ~azure.mgmt.batchai.models.PyTorchSettings + :param tensor_flow_settings: Specifies the settings for Tensor Flow job. + :type tensor_flow_settings: ~azure.mgmt.batchai.models.TensorFlowSettings + :param caffe_settings: Specifies the settings for Caffe job. + :type caffe_settings: ~azure.mgmt.batchai.models.CaffeSettings + :param chainer_settings: Specifies the settings for Chainer job. + :type chainer_settings: ~azure.mgmt.batchai.models.ChainerSettings + :param custom_toolkit_settings: Specifies the settings for custom tool kit + job. + :type custom_toolkit_settings: + ~azure.mgmt.batchai.models.CustomToolkitSettings + :param job_preparation: Specifies the actions to be performed before tool + 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. + :type std_out_err_path_prefix: str + :param input_directories: Specifies the 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. + :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. + :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. + :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. + :vartype creation_time: datetime + :ivar 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. + :vartype provisioning_state_transition_time: datetime + :param 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 + terminated by the user, the terminate operation is in progress. succeeded + - The job has completed running succesfully 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' + :type 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. + :vartype execution_state_transition_time: datetime + :param execution_info: Contains information about the execution of a job + in the Azure Batch service. + :type execution_info: + ~azure.mgmt.batchai.models.JobPropertiesExecutionInfo + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'readonly': True}, + 'tags': {'readonly': True}, + 'creation_time': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'provisioning_state_transition_time': {'readonly': True}, + 'execution_state_transition_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'experiment_name': {'key': 'properties.experimentName', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + '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'}, + 'cntk_settings': {'key': 'properties.cntkSettings', 'type': 'CNTKsettings'}, + 'py_torch_settings': {'key': 'properties.pyTorchSettings', 'type': 'PyTorchSettings'}, + 'tensor_flow_settings': {'key': 'properties.tensorFlowSettings', 'type': 'TensorFlowSettings'}, + 'caffe_settings': {'key': 'properties.caffeSettings', 'type': 'CaffeSettings'}, + 'chainer_settings': {'key': 'properties.chainerSettings', 'type': 'ChainerSettings'}, + 'custom_toolkit_settings': {'key': 'properties.customToolkitSettings', 'type': 'CustomToolkitSettings'}, + 'job_preparation': {'key': 'properties.jobPreparation', 'type': 'JobPreparation'}, + 'std_out_err_path_prefix': {'key': 'properties.stdOutErrPathPrefix', 'type': 'str'}, + 'input_directories': {'key': 'properties.inputDirectories', 'type': '[InputDirectory]'}, + 'output_directories': {'key': 'properties.outputDirectories', 'type': '[OutputDirectory]'}, + 'environment_variables': {'key': 'properties.environmentVariables', 'type': '[EnvironmentVariable]'}, + 'secrets': {'key': 'properties.secrets', 'type': '[EnvironmentVariableWithSecretValue]'}, + 'constraints': {'key': 'properties.constraints', 'type': 'JobPropertiesConstraints'}, + 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningState'}, + 'provisioning_state_transition_time': {'key': 'properties.provisioningStateTransitionTime', 'type': 'iso-8601'}, + 'execution_state': {'key': 'properties.executionState', 'type': 'ExecutionState'}, + 'execution_state_transition_time': {'key': 'properties.executionStateTransitionTime', 'type': 'iso-8601'}, + 'execution_info': {'key': 'properties.executionInfo', 'type': 'JobPropertiesExecutionInfo'}, + } + + def __init__(self, *, experiment_name: str=None, priority: int=0, cluster=None, mount_volumes=None, job_output_directory_path_segment: str=None, node_count: int=None, container_settings=None, tool_type=None, cntk_settings=None, py_torch_settings=None, tensor_flow_settings=None, caffe_settings=None, chainer_settings=None, custom_toolkit_settings=None, job_preparation=None, std_out_err_path_prefix: str=None, input_directories=None, output_directories=None, environment_variables=None, secrets=None, constraints=None, execution_state=None, execution_info=None, **kwargs) -> None: + super(Job, self).__init__(, **kwargs) + self.experiment_name = experiment_name + self.priority = priority + self.cluster = cluster + self.mount_volumes = mount_volumes + self.job_output_directory_path_segment = job_output_directory_path_segment + self.node_count = node_count + self.container_settings = container_settings + self.tool_type = tool_type + self.cntk_settings = cntk_settings + self.py_torch_settings = py_torch_settings + self.tensor_flow_settings = tensor_flow_settings + self.caffe_settings = caffe_settings + self.chainer_settings = chainer_settings + self.custom_toolkit_settings = custom_toolkit_settings + self.job_preparation = job_preparation + self.std_out_err_path_prefix = std_out_err_path_prefix + self.input_directories = input_directories + self.output_directories = output_directories + self.environment_variables = environment_variables + self.secrets = secrets + self.constraints = constraints + self.creation_time = None + self.provisioning_state = None + self.provisioning_state_transition_time = None + self.execution_state = execution_state + self.execution_state_transition_time = None + self.execution_info = execution_info diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_by_resource_group_options.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_by_resource_group_options.py index fe2ca09bb3b1..ab272232d23d 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_by_resource_group_options.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_by_resource_group_options.py @@ -26,7 +26,14 @@ class JobsListByResourceGroupOptions(Model): :type max_results: int """ - def __init__(self, filter=None, select=None, max_results=1000): - self.filter = filter - self.select = select - self.max_results = max_results + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(JobsListByResourceGroupOptions, self).__init__(**kwargs) + self.filter = kwargs.get('filter', None) + self.select = kwargs.get('select', None) + self.max_results = kwargs.get('max_results', 1000) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_by_resource_group_options_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_by_resource_group_options_py3.py new file mode 100644 index 000000000000..befaa301bc38 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_by_resource_group_options_py3.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class JobsListByResourceGroupOptions(Model): + """Additional parameters for list_by_resource_group operation. + + :param filter: An OData $filter clause.. Used to filter results that are + returned in the GET respnose. + :type filter: str + :param select: An OData $select clause. Used to select the properties to + be returned in the GET respnose. + :type select: str + :param max_results: The maximum number of items to return in the response. + A maximum of 1000 files can be returned. Default value: 1000 . + :type max_results: int + """ + + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, *, filter: str=None, select: str=None, max_results: int=1000, **kwargs) -> None: + super(JobsListByResourceGroupOptions, self).__init__(**kwargs) + self.filter = filter + self.select = select + self.max_results = max_results diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_options.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_options.py index d14c6ccfe690..d1dee3e5e427 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_options.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_options.py @@ -26,7 +26,14 @@ class JobsListOptions(Model): :type max_results: int """ - def __init__(self, filter=None, select=None, max_results=1000): - self.filter = filter - self.select = select - self.max_results = max_results + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(JobsListOptions, self).__init__(**kwargs) + self.filter = kwargs.get('filter', None) + self.select = kwargs.get('select', None) + self.max_results = kwargs.get('max_results', 1000) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_options_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_options_py3.py new file mode 100644 index 000000000000..6fe87f9b90bc --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_options_py3.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class JobsListOptions(Model): + """Additional parameters for list operation. + + :param filter: An OData $filter clause.. Used to filter results that are + returned in the GET respnose. + :type filter: str + :param select: An OData $select clause. Used to select the properties to + be returned in the GET respnose. + :type select: str + :param max_results: The maximum number of items to return in the response. + A maximum of 1000 files can be returned. Default value: 1000 . + :type max_results: int + """ + + _attribute_map = { + 'filter': {'key': '', 'type': 'str'}, + 'select': {'key': '', 'type': 'str'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, *, filter: str=None, select: str=None, max_results: int=1000, **kwargs) -> None: + super(JobsListOptions, self).__init__(**kwargs) + self.filter = filter + self.select = select + self.max_results = max_results diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_output_files_options.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_output_files_options.py index 1deb7c712abe..1437553e5aa4 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_output_files_options.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_output_files_options.py @@ -15,10 +15,14 @@ class JobsListOutputFilesOptions(Model): """Additional parameters for list_output_files operation. - :param outputdirectoryid: Id of the job output directory. This is the - OutputDirectory-->id parameter that is given by the user during Create - Job. + All required parameters must be populated in order to send to Azure. + + :param outputdirectoryid: Required. Id of the job output directory. This + is the OutputDirectory-->id parameter that is given by the user during + Create Job. :type outputdirectoryid: str + :param directory: The path to the directory. Default value: "." . + :type directory: str :param linkexpiryinminutes: The number of minutes after which the download link will expire. Default value: 60 . :type linkexpiryinminutes: int @@ -31,7 +35,16 @@ class JobsListOutputFilesOptions(Model): 'outputdirectoryid': {'required': True}, } - def __init__(self, outputdirectoryid, linkexpiryinminutes=60, max_results=1000): - self.outputdirectoryid = outputdirectoryid - self.linkexpiryinminutes = linkexpiryinminutes - self.max_results = max_results + _attribute_map = { + 'outputdirectoryid': {'key': '', 'type': 'str'}, + 'directory': {'key': '', 'type': 'str'}, + 'linkexpiryinminutes': {'key': '', 'type': 'int'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(JobsListOutputFilesOptions, self).__init__(**kwargs) + self.outputdirectoryid = kwargs.get('outputdirectoryid', None) + self.directory = kwargs.get('directory', ".") + self.linkexpiryinminutes = kwargs.get('linkexpiryinminutes', 60) + self.max_results = kwargs.get('max_results', 1000) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_output_files_options_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_output_files_options_py3.py new file mode 100644 index 000000000000..4e2dbf36453f --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_output_files_options_py3.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class JobsListOutputFilesOptions(Model): + """Additional parameters for list_output_files operation. + + All required parameters must be populated in order to send to Azure. + + :param outputdirectoryid: Required. Id of the job output directory. This + is the OutputDirectory-->id parameter that is given by the user during + Create Job. + :type outputdirectoryid: str + :param directory: The path to the directory. Default value: "." . + :type directory: str + :param linkexpiryinminutes: The number of minutes after which the download + link will expire. Default value: 60 . + :type linkexpiryinminutes: int + :param max_results: The maximum number of items to return in the response. + A maximum of 1000 files can be returned. Default value: 1000 . + :type max_results: int + """ + + _validation = { + 'outputdirectoryid': {'required': True}, + } + + _attribute_map = { + 'outputdirectoryid': {'key': '', 'type': 'str'}, + 'directory': {'key': '', 'type': 'str'}, + 'linkexpiryinminutes': {'key': '', 'type': 'int'}, + 'max_results': {'key': '', 'type': 'int'}, + } + + def __init__(self, *, outputdirectoryid: str, directory: str=".", linkexpiryinminutes: int=60, max_results: int=1000, **kwargs) -> None: + super(JobsListOutputFilesOptions, self).__init__(**kwargs) + self.outputdirectoryid = outputdirectoryid + self.directory = directory + self.linkexpiryinminutes = linkexpiryinminutes + self.max_results = max_results diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_key_reference.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_key_reference.py index 2e691cc6bf1a..65410770db47 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_key_reference.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_key_reference.py @@ -15,10 +15,12 @@ class KeyVaultKeyReference(Model): """Describes a reference to Key Vault Key. - :param source_vault: Fully qualified resource Id for the Key Vault. - :type source_vault: :class:`ResourceId - ` - :param key_url: The URL referencing a key in a Key Vault. + All required parameters must be populated in order to send to Azure. + + :param source_vault: Required. Fully qualified resource Id for the Key + Vault. + :type source_vault: ~azure.mgmt.batchai.models.ResourceId + :param key_url: Required. The URL referencing a key in a Key Vault. :type key_url: str """ @@ -32,6 +34,7 @@ class KeyVaultKeyReference(Model): 'key_url': {'key': 'keyUrl', 'type': 'str'}, } - def __init__(self, source_vault, key_url): - self.source_vault = source_vault - self.key_url = key_url + def __init__(self, **kwargs): + super(KeyVaultKeyReference, self).__init__(**kwargs) + self.source_vault = kwargs.get('source_vault', None) + self.key_url = kwargs.get('key_url', None) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_key_reference_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_key_reference_py3.py new file mode 100644 index 000000000000..73c4f73c1067 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_key_reference_py3.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class KeyVaultKeyReference(Model): + """Describes a reference to Key Vault Key. + + All required parameters must be populated in order to send to Azure. + + :param source_vault: Required. Fully qualified resource Id for the Key + Vault. + :type source_vault: ~azure.mgmt.batchai.models.ResourceId + :param key_url: Required. The URL referencing a key in a Key Vault. + :type key_url: str + """ + + _validation = { + 'source_vault': {'required': True}, + 'key_url': {'required': True}, + } + + _attribute_map = { + 'source_vault': {'key': 'sourceVault', 'type': 'ResourceId'}, + 'key_url': {'key': 'keyUrl', 'type': 'str'}, + } + + def __init__(self, *, source_vault, key_url: str, **kwargs) -> None: + super(KeyVaultKeyReference, self).__init__(**kwargs) + self.source_vault = source_vault + self.key_url = key_url 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 58f80f2adec5..ce9884c03e2b 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 @@ -15,10 +15,12 @@ class KeyVaultSecretReference(Model): """Describes a reference to Key Vault Secret. - :param source_vault: Fully qualified resource Id for the Key Vault. - :type source_vault: :class:`ResourceId - ` - :param secret_url: The URL referencing a secret in a Key Vault. + All required parameters must be populated in order to send to Azure. + + :param source_vault: Required. Fully qualified resource Id for the Key + Vault. + :type source_vault: ~azure.mgmt.batchai.models.ResourceId + :param secret_url: Required. The URL referencing a secret in a Key Vault. :type secret_url: str """ @@ -32,6 +34,7 @@ class KeyVaultSecretReference(Model): 'secret_url': {'key': 'secretUrl', 'type': 'str'}, } - def __init__(self, source_vault, secret_url): - self.source_vault = source_vault - self.secret_url = secret_url + def __init__(self, **kwargs): + super(KeyVaultSecretReference, self).__init__(**kwargs) + self.source_vault = kwargs.get('source_vault', None) + self.secret_url = kwargs.get('secret_url', None) 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 new file mode 100644 index 000000000000..6b4b0d0cf15a --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/key_vault_secret_reference_py3.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class KeyVaultSecretReference(Model): + """Describes a reference to Key Vault Secret. + + All required parameters must be populated in order to send to Azure. + + :param source_vault: Required. Fully qualified resource Id for the Key + Vault. + :type source_vault: ~azure.mgmt.batchai.models.ResourceId + :param secret_url: Required. The URL referencing a secret in a Key Vault. + :type secret_url: str + """ + + _validation = { + 'source_vault': {'required': True}, + 'secret_url': {'required': True}, + } + + _attribute_map = { + 'source_vault': {'key': 'sourceVault', 'type': 'ResourceId'}, + 'secret_url': {'key': 'secretUrl', 'type': 'str'}, + } + + def __init__(self, *, source_vault, secret_url: str, **kwargs) -> None: + super(KeyVaultSecretReference, self).__init__(**kwargs) + self.source_vault = source_vault + self.secret_url = secret_url diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/local_data_volume.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/local_data_volume.py index 17a5de983c53..ce2dbd9b6c04 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/local_data_volume.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/local_data_volume.py @@ -15,11 +15,13 @@ class LocalDataVolume(Model): """Represents mapping of host directories to directories in the container. - :param host_path: The path on the host that is to be mounted as a - directory in the container. + All required parameters must be populated in order to send to Azure. + + :param host_path: Required. The path on the host that is to be mounted as + a directory in the container. :type host_path: str - :param local_path: The container local path where the host directory is - mounted. + :param local_path: Required. The container local path where the host + directory is mounted. :type local_path: str """ @@ -33,6 +35,7 @@ class LocalDataVolume(Model): 'local_path': {'key': 'localPath', 'type': 'str'}, } - def __init__(self, host_path, local_path): - self.host_path = host_path - self.local_path = local_path + def __init__(self, **kwargs): + super(LocalDataVolume, self).__init__(**kwargs) + self.host_path = kwargs.get('host_path', None) + self.local_path = kwargs.get('local_path', None) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/local_data_volume_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/local_data_volume_py3.py new file mode 100644 index 000000000000..ab954dd286e1 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/local_data_volume_py3.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class LocalDataVolume(Model): + """Represents mapping of host directories to directories in the container. + + All required parameters must be populated in order to send to Azure. + + :param host_path: Required. The path on the host that is to be mounted as + a directory in the container. + :type host_path: str + :param local_path: Required. The container local path where the host + directory is mounted. + :type local_path: str + """ + + _validation = { + 'host_path': {'required': True}, + 'local_path': {'required': True}, + } + + _attribute_map = { + 'host_path': {'key': 'hostPath', 'type': 'str'}, + 'local_path': {'key': 'localPath', 'type': 'str'}, + } + + def __init__(self, *, host_path: str, local_path: str, **kwargs) -> None: + super(LocalDataVolume, self).__init__(**kwargs) + self.host_path = host_path + self.local_path = local_path 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 b1c7611b4271..77f749b732c4 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 @@ -15,16 +15,18 @@ class ManualScaleSettings(Model): """Manual scale settings for the cluster. - :param target_node_count: 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 . + 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 . :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', 'waitforjobcompletion', 'unknown'. Default value: "requeue" . - :type node_deallocation_option: str or :class:`DeallocationOption - ` + :type node_deallocation_option: str or + ~azure.mgmt.batchai.models.DeallocationOption """ _validation = { @@ -36,6 +38,7 @@ class ManualScaleSettings(Model): 'node_deallocation_option': {'key': 'nodeDeallocationOption', 'type': 'DeallocationOption'}, } - def __init__(self, target_node_count=0, node_deallocation_option="requeue"): - self.target_node_count = target_node_count - self.node_deallocation_option = node_deallocation_option + def __init__(self, **kwargs): + super(ManualScaleSettings, self).__init__(**kwargs) + self.target_node_count = kwargs.get('target_node_count', 0) + self.node_deallocation_option = kwargs.get('node_deallocation_option', "requeue") 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 new file mode 100644 index 000000000000..1920de3c57a7 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/manual_scale_settings_py3.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ManualScaleSettings(Model): + """Manual scale settings for the cluster. + + 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 . + :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', + 'waitforjobcompletion', 'unknown'. Default value: "requeue" . + :type node_deallocation_option: str or + ~azure.mgmt.batchai.models.DeallocationOption + """ + + _validation = { + 'target_node_count': {'required': True}, + } + + _attribute_map = { + 'target_node_count': {'key': 'targetNodeCount', 'type': 'int'}, + 'node_deallocation_option': {'key': 'nodeDeallocationOption', 'type': 'DeallocationOption'}, + } + + def __init__(self, *, target_node_count: int=0, node_deallocation_option="requeue", **kwargs) -> None: + super(ManualScaleSettings, self).__init__(**kwargs) + self.target_node_count = target_node_count + self.node_deallocation_option = node_deallocation_option 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 43b864cb4074..bdb4f004c9eb 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_settings.py @@ -24,8 +24,7 @@ class MountSettings(Model): :type file_server_internal_ip: str :param file_server_type: Type of the fileserver e.g. nfs, glusterfs etc. Possible values include: 'nfs', 'glusterfs' - :type file_server_type: str or :class:`FileServerType - ` + :type file_server_type: str or ~azure.mgmt.batchai.models.FileServerType """ _attribute_map = { @@ -35,8 +34,9 @@ class MountSettings(Model): 'file_server_type': {'key': 'fileServerType', 'type': 'str'}, } - def __init__(self, mount_point=None, file_server_public_ip=None, file_server_internal_ip=None, file_server_type=None): - self.mount_point = mount_point - self.file_server_public_ip = file_server_public_ip - self.file_server_internal_ip = file_server_internal_ip - self.file_server_type = file_server_type + def __init__(self, **kwargs): + super(MountSettings, self).__init__(**kwargs) + self.mount_point = kwargs.get('mount_point', None) + self.file_server_public_ip = kwargs.get('file_server_public_ip', None) + self.file_server_internal_ip = kwargs.get('file_server_internal_ip', None) + self.file_server_type = kwargs.get('file_server_type', None) 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 new file mode 100644 index 000000000000..434a158332d1 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_settings_py3.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MountSettings(Model): + """Details of the File Server. + + :param mount_point: Path where the NFS is mounted on the Server. + :type mount_point: str + :param file_server_public_ip: Public IP of the File Server VM. + :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. + :type file_server_internal_ip: str + :param file_server_type: Type of the fileserver e.g. nfs, glusterfs etc. + Possible values include: 'nfs', 'glusterfs' + :type file_server_type: str or ~azure.mgmt.batchai.models.FileServerType + """ + + _attribute_map = { + 'mount_point': {'key': 'mountPoint', 'type': 'str'}, + 'file_server_public_ip': {'key': 'fileServerPublicIP', 'type': 'str'}, + 'file_server_internal_ip': {'key': 'fileServerInternalIP', 'type': 'str'}, + 'file_server_type': {'key': 'fileServerType', 'type': 'str'}, + } + + def __init__(self, *, mount_point: str=None, file_server_public_ip: str=None, file_server_internal_ip: str=None, file_server_type=None, **kwargs) -> None: + super(MountSettings, self).__init__(**kwargs) + self.mount_point = mount_point + self.file_server_public_ip = file_server_public_ip + self.file_server_internal_ip = file_server_internal_ip + self.file_server_type = file_server_type 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 a6f2d9b1815a..88620aac3067 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_volumes.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_volumes.py @@ -17,21 +17,19 @@ class MountVolumes(Model): :param azure_file_shares: Azure File Share setup configuration. References to Azure File Shares that are to be mounted to the cluster nodes. - :type azure_file_shares: list of :class:`AzureFileShareReference - ` + :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. - :type azure_blob_file_systems: list of - :class:`AzureBlobFileSystemReference - ` + :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. - :type file_servers: list of :class:`FileServerReference - ` + :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. - :type unmanaged_file_systems: list of :class:`UnmanagedFileSystemReference - ` + :type unmanaged_file_systems: + list[~azure.mgmt.batchai.models.UnmanagedFileSystemReference] """ _attribute_map = { @@ -41,8 +39,9 @@ class MountVolumes(Model): 'unmanaged_file_systems': {'key': 'unmanagedFileSystems', 'type': '[UnmanagedFileSystemReference]'}, } - def __init__(self, azure_file_shares=None, azure_blob_file_systems=None, file_servers=None, unmanaged_file_systems=None): - self.azure_file_shares = azure_file_shares - self.azure_blob_file_systems = azure_blob_file_systems - self.file_servers = file_servers - self.unmanaged_file_systems = unmanaged_file_systems + def __init__(self, **kwargs): + super(MountVolumes, self).__init__(**kwargs) + self.azure_file_shares = kwargs.get('azure_file_shares', None) + self.azure_blob_file_systems = kwargs.get('azure_blob_file_systems', None) + self.file_servers = kwargs.get('file_servers', None) + self.unmanaged_file_systems = kwargs.get('unmanaged_file_systems', None) 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 new file mode 100644 index 000000000000..0da34499deb9 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/mount_volumes_py3.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +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. + :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. + :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. + :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. + :type unmanaged_file_systems: + list[~azure.mgmt.batchai.models.UnmanagedFileSystemReference] + """ + + _attribute_map = { + 'azure_file_shares': {'key': 'azureFileShares', 'type': '[AzureFileShareReference]'}, + 'azure_blob_file_systems': {'key': 'azureBlobFileSystems', 'type': '[AzureBlobFileSystemReference]'}, + 'file_servers': {'key': 'fileServers', 'type': '[FileServerReference]'}, + 'unmanaged_file_systems': {'key': 'unmanagedFileSystems', 'type': '[UnmanagedFileSystemReference]'}, + } + + def __init__(self, *, azure_file_shares=None, azure_blob_file_systems=None, file_servers=None, unmanaged_file_systems=None, **kwargs) -> None: + super(MountVolumes, self).__init__(**kwargs) + self.azure_file_shares = azure_file_shares + self.azure_blob_file_systems = azure_blob_file_systems + self.file_servers = file_servers + self.unmanaged_file_systems = unmanaged_file_systems 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 bde9f81058a3..d2775a33c3be 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 @@ -26,6 +26,7 @@ class NameValuePair(Model): 'value': {'key': 'value', 'type': 'str'}, } - def __init__(self, name=None, value=None): - self.name = name - self.value = value + def __init__(self, **kwargs): + super(NameValuePair, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.value = kwargs.get('value', None) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_setting.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/name_value_pair_py3.py similarity index 71% rename from azure-mgmt-batchai/azure/mgmt/batchai/models/environment_setting.py rename to azure-mgmt-batchai/azure/mgmt/batchai/models/name_value_pair_py3.py index 75d0228b8f2a..9e508e565226 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/environment_setting.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/name_value_pair_py3.py @@ -12,24 +12,21 @@ from msrest.serialization import Model -class EnvironmentSetting(Model): - """A collection of environment variables to set. +class NameValuePair(Model): + """Represents a name-value pair. - :param name: The name of the environment variable. + :param name: The name in the name-value pair. :type name: str - :param value: The value of the environment variable. + :param value: The value in the name-value pair. :type value: str """ - _validation = { - 'name': {'required': True}, - } - _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, } - def __init__(self, name, value=None): + def __init__(self, *, name: str=None, value: str=None, **kwargs) -> None: + super(NameValuePair, self).__init__(**kwargs) self.name = name self.value = value 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 89bf409fc7f4..f78a6aa6818a 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/node_setup.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/node_setup.py @@ -22,17 +22,26 @@ class NodeSetup(Model): 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. - :type setup_task: :class:`SetupTask ` + :type setup_task: ~azure.mgmt.batchai.models.SetupTask :param mount_volumes: Information on shared volumes to be used by jobs. - :type mount_volumes: :class:`MountVolumes - ` + 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. + :type mount_volumes: ~azure.mgmt.batchai.models.MountVolumes + :param performance_counters_settings: Specifies settings for performance + counters collecting and uploading. + :type performance_counters_settings: + ~azure.mgmt.batchai.models.PerformanceCountersSettings """ _attribute_map = { 'setup_task': {'key': 'setupTask', 'type': 'SetupTask'}, 'mount_volumes': {'key': 'mountVolumes', 'type': 'MountVolumes'}, + 'performance_counters_settings': {'key': 'performanceCountersSettings', 'type': 'PerformanceCountersSettings'}, } - def __init__(self, setup_task=None, mount_volumes=None): - self.setup_task = setup_task - self.mount_volumes = mount_volumes + def __init__(self, **kwargs): + super(NodeSetup, self).__init__(**kwargs) + self.setup_task = kwargs.get('setup_task', None) + self.mount_volumes = kwargs.get('mount_volumes', None) + self.performance_counters_settings = kwargs.get('performance_counters_settings', None) 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 new file mode 100644 index 000000000000..a5d017fdee1b --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/node_setup_py3.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +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. + + :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. + :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. + :type mount_volumes: ~azure.mgmt.batchai.models.MountVolumes + :param performance_counters_settings: Specifies settings for performance + counters collecting and uploading. + :type performance_counters_settings: + ~azure.mgmt.batchai.models.PerformanceCountersSettings + """ + + _attribute_map = { + 'setup_task': {'key': 'setupTask', 'type': 'SetupTask'}, + 'mount_volumes': {'key': 'mountVolumes', 'type': 'MountVolumes'}, + 'performance_counters_settings': {'key': 'performanceCountersSettings', 'type': 'PerformanceCountersSettings'}, + } + + def __init__(self, *, setup_task=None, mount_volumes=None, performance_counters_settings=None, **kwargs) -> None: + super(NodeSetup, self).__init__(**kwargs) + self.setup_task = setup_task + self.mount_volumes = mount_volumes + self.performance_counters_settings = performance_counters_settings 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 8414ad820c30..015cc1a96ba1 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 @@ -15,17 +15,21 @@ class NodeStateCounts(Model): """Counts of various compute node states on the cluster. - :param idle_node_count: Number of compute nodes in idle state. + All required parameters must be populated in order to send to Azure. + + :param idle_node_count: Required. Number of compute nodes in idle state. :type idle_node_count: int - :param running_node_count: Number of compute nodes which are running jobs. + :param running_node_count: Required. Number of compute nodes which are + running jobs. :type running_node_count: int - :param preparing_node_count: Number of compute nodes which are being - prepared. + :param preparing_node_count: Required. Number of compute nodes which are + being prepared. :type preparing_node_count: int - :param unusable_node_count: Number of compute nodes which are unusable. + :param unusable_node_count: Required. Number of compute nodes which are + unusable. :type unusable_node_count: int - :param leaving_node_count: Number of compute nodes which are leaving the - cluster. + :param leaving_node_count: Required. Number of compute nodes which are + leaving the cluster. :type leaving_node_count: int """ @@ -45,9 +49,10 @@ class NodeStateCounts(Model): 'leaving_node_count': {'key': 'leavingNodeCount', 'type': 'int'}, } - def __init__(self, idle_node_count, running_node_count, preparing_node_count, unusable_node_count, leaving_node_count): - self.idle_node_count = idle_node_count - self.running_node_count = running_node_count - self.preparing_node_count = preparing_node_count - self.unusable_node_count = unusable_node_count - self.leaving_node_count = leaving_node_count + def __init__(self, **kwargs): + super(NodeStateCounts, self).__init__(**kwargs) + self.idle_node_count = kwargs.get('idle_node_count', None) + self.running_node_count = kwargs.get('running_node_count', None) + self.preparing_node_count = kwargs.get('preparing_node_count', None) + self.unusable_node_count = kwargs.get('unusable_node_count', None) + self.leaving_node_count = kwargs.get('leaving_node_count', None) 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 new file mode 100644 index 000000000000..beec9a6692d5 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/node_state_counts_py3.py @@ -0,0 +1,58 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NodeStateCounts(Model): + """Counts of various compute node states on the cluster. + + All required parameters must be populated in order to send to Azure. + + :param idle_node_count: Required. Number of compute nodes in idle state. + :type idle_node_count: int + :param running_node_count: Required. Number of compute nodes which are + running jobs. + :type running_node_count: int + :param preparing_node_count: Required. Number of compute nodes which are + being prepared. + :type preparing_node_count: int + :param unusable_node_count: Required. Number of compute nodes which are + unusable. + :type unusable_node_count: int + :param leaving_node_count: Required. Number of compute nodes which are + leaving the cluster. + :type leaving_node_count: int + """ + + _validation = { + 'idle_node_count': {'required': True}, + 'running_node_count': {'required': True}, + 'preparing_node_count': {'required': True}, + 'unusable_node_count': {'required': True}, + 'leaving_node_count': {'required': True}, + } + + _attribute_map = { + 'idle_node_count': {'key': 'idleNodeCount', 'type': 'int'}, + 'running_node_count': {'key': 'runningNodeCount', 'type': 'int'}, + 'preparing_node_count': {'key': 'preparingNodeCount', 'type': 'int'}, + 'unusable_node_count': {'key': 'unusableNodeCount', 'type': 'int'}, + 'leaving_node_count': {'key': 'leavingNodeCount', 'type': 'int'}, + } + + def __init__(self, *, idle_node_count: int, running_node_count: int, preparing_node_count: int, unusable_node_count: int, leaving_node_count: int, **kwargs) -> None: + super(NodeStateCounts, self).__init__(**kwargs) + self.idle_node_count = idle_node_count + self.running_node_count = running_node_count + self.preparing_node_count = preparing_node_count + self.unusable_node_count = unusable_node_count + self.leaving_node_count = leaving_node_count diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/operation.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/operation.py index 79cabaeb81bc..c297919824f1 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/operation.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/operation.py @@ -21,8 +21,7 @@ class Operation(Model): {provider}/{resource}/{operation} :type name: str :param display: The object that describes the operation. - :type display: :class:`OperationDisplay - ` + :type display: ~azure.mgmt.batchai.models.OperationDisplay :param origin: The intended executor of the operation. :type origin: str :param properties: Properties of the operation. @@ -36,8 +35,9 @@ class Operation(Model): 'properties': {'key': 'properties', 'type': 'object'}, } - def __init__(self, name=None, display=None, origin=None, properties=None): - self.name = name - self.display = display - self.origin = origin - self.properties = properties + def __init__(self, **kwargs): + super(Operation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.properties = kwargs.get('properties', None) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/operation_display.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/operation_display.py index c76c3ff179e2..99487e3cb825 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/operation_display.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/operation_display.py @@ -33,8 +33,9 @@ class OperationDisplay(Model): 'description': {'key': 'description', 'type': 'str'}, } - def __init__(self, provider=None, operation=None, resource=None, description=None): - self.provider = provider - self.operation = operation - self.resource = resource - self.description = description + def __init__(self, **kwargs): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.operation = kwargs.get('operation', None) + self.resource = kwargs.get('resource', None) + self.description = kwargs.get('description', None) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/operation_display_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/operation_display_py3.py new file mode 100644 index 000000000000..ce54ece35d47 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/operation_display_py3.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class OperationDisplay(Model): + """The object that describes the operation. + + :param provider: Friendly name of the resource provider. + :type provider: str + :param operation: The operation type. For example: read, write, delete, or + listKeys/action + :type operation: str + :param resource: The resource type on which the operation is performed. + :type resource: str + :param description: The friendly name of the operation. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, *, provider: str=None, operation: str=None, resource: str=None, description: str=None, **kwargs) -> None: + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.operation = operation + self.resource = resource + self.description = description diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/operation_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/operation_py3.py new file mode 100644 index 000000000000..55c875691feb --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/operation_py3.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Operation(Model): + """A REST API operation. + + Details of a REST API operation. + + :param name: The operation name. This is of the format + {provider}/{resource}/{operation} + :type name: str + :param display: The object that describes the operation. + :type display: ~azure.mgmt.batchai.models.OperationDisplay + :param origin: The intended executor of the operation. + :type origin: str + :param properties: Properties of the operation. + :type properties: object + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'object'}, + } + + def __init__(self, *, name: str=None, display=None, origin: str=None, properties=None, **kwargs) -> None: + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + self.properties = properties 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 f01c21bd724a..e09a503280d6 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/output_directory.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/output_directory.py @@ -15,23 +15,30 @@ class OutputDirectory(Model): """Output directory for the job. - :param id: The name for the output directory. It will be available for the - job as an environment variable under AZ_BATCHAI_OUTPUT_id. + 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. :type id: str - :param 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. + :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 + 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. + 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. :type path_suffix: str :param type: An enumeration, which specifies the type of job output directory. Default value is Custom. The possible values are Model, Logs, Summary, and Custom. Users can use multiple enums for a single directory. Eg. outPutType='Model,Logs, Summary'. Possible values include: 'model', 'logs', 'summary', 'custom'. Default value: "custom" . - :type type: str or :class:`OutputType - ` + :type type: str or ~azure.mgmt.batchai.models.OutputType :param create_new: True to create new directory. Default is true. If false, then the directory is not created and can be any directory path that the user specifies. Default value: True . @@ -51,9 +58,10 @@ class OutputDirectory(Model): 'create_new': {'key': 'createNew', 'type': 'bool'}, } - def __init__(self, id, path_prefix, path_suffix=None, type="custom", create_new=True): - self.id = id - self.path_prefix = path_prefix - self.path_suffix = path_suffix - self.type = type - self.create_new = create_new + def __init__(self, **kwargs): + super(OutputDirectory, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.path_prefix = kwargs.get('path_prefix', None) + self.path_suffix = kwargs.get('path_suffix', None) + self.type = kwargs.get('type', "custom") + self.create_new = kwargs.get('create_new', True) 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 new file mode 100644 index 000000000000..f5327d45d4a4 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/output_directory_py3.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class OutputDirectory(Model): + """Output directory for the job. + + 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. + :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 + 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. + :type path_suffix: str + :param type: An enumeration, which specifies the type of job output + directory. Default value is Custom. The possible values are Model, Logs, + Summary, and Custom. Users can use multiple enums for a single directory. + Eg. outPutType='Model,Logs, Summary'. Possible values include: 'model', + 'logs', 'summary', 'custom'. Default value: "custom" . + :type type: str or ~azure.mgmt.batchai.models.OutputType + :param create_new: True to create new directory. Default is true. If + false, then the directory is not created and can be any directory path + that the user specifies. Default value: True . + :type create_new: bool + """ + + _validation = { + 'id': {'required': True}, + 'path_prefix': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'path_prefix': {'key': 'pathPrefix', 'type': 'str'}, + 'path_suffix': {'key': 'pathSuffix', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'create_new': {'key': 'createNew', 'type': 'bool'}, + } + + def __init__(self, *, id: str, path_prefix: str, path_suffix: str=None, type="custom", create_new: bool=True, **kwargs) -> None: + super(OutputDirectory, self).__init__(**kwargs) + self.id = id + self.path_prefix = path_prefix + self.path_suffix = path_suffix + self.type = type + self.create_new = create_new 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 new file mode 100644 index 000000000000..fa118646548e --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/performance_counters_settings.py @@ -0,0 +1,38 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class PerformanceCountersSettings(Model): + """Performance counters reporting settings. + + 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. + :type app_insights_reference: + ~azure.mgmt.batchai.models.AppInsightsReference + """ + + _validation = { + 'app_insights_reference': {'required': True}, + } + + _attribute_map = { + 'app_insights_reference': {'key': 'appInsightsReference', 'type': 'AppInsightsReference'}, + } + + def __init__(self, **kwargs): + super(PerformanceCountersSettings, self).__init__(**kwargs) + self.app_insights_reference = kwargs.get('app_insights_reference', None) 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 new file mode 100644 index 000000000000..416971a51dff --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/performance_counters_settings_py3.py @@ -0,0 +1,38 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class PerformanceCountersSettings(Model): + """Performance counters reporting settings. + + 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. + :type app_insights_reference: + ~azure.mgmt.batchai.models.AppInsightsReference + """ + + _validation = { + 'app_insights_reference': {'required': True}, + } + + _attribute_map = { + 'app_insights_reference': {'key': 'appInsightsReference', 'type': 'AppInsightsReference'}, + } + + def __init__(self, *, app_insights_reference, **kwargs) -> None: + super(PerformanceCountersSettings, self).__init__(**kwargs) + self.app_insights_reference = app_insights_reference 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 8642def5d358..94d8b070e63a 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 @@ -15,7 +15,9 @@ class PrivateRegistryCredentials(Model): """Credentials to access a container image in a private repository. - :param username: User name to login. + All required parameters must be populated in order to send to Azure. + + :param username: Required. User name to login. :type username: str :param password: Password to login. One of password or passwordSecretReference must be specified. @@ -24,8 +26,8 @@ class PrivateRegistryCredentials(Model): 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 password or passwordSecretReference must be specified. - :type password_secret_reference: :class:`KeyVaultSecretReference - ` + :type password_secret_reference: + ~azure.mgmt.batchai.models.KeyVaultSecretReference """ _validation = { @@ -38,7 +40,8 @@ class PrivateRegistryCredentials(Model): 'password_secret_reference': {'key': 'passwordSecretReference', 'type': 'KeyVaultSecretReference'}, } - def __init__(self, username, password=None, password_secret_reference=None): - self.username = username - self.password = password - self.password_secret_reference = password_secret_reference + def __init__(self, **kwargs): + super(PrivateRegistryCredentials, self).__init__(**kwargs) + self.username = kwargs.get('username', None) + self.password = kwargs.get('password', None) + self.password_secret_reference = kwargs.get('password_secret_reference', None) 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 new file mode 100644 index 000000000000..8a5933b0b6a7 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/private_registry_credentials_py3.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class PrivateRegistryCredentials(Model): + """Credentials to access a container image in a private repository. + + All required parameters must be populated in order to send to Azure. + + :param username: Required. User name to login. + :type username: str + :param password: Password to login. 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. + One of password or passwordSecretReference must be specified. + :type password_secret_reference: + ~azure.mgmt.batchai.models.KeyVaultSecretReference + """ + + _validation = { + 'username': {'required': True}, + } + + _attribute_map = { + 'username': {'key': 'username', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'str'}, + 'password_secret_reference': {'key': 'passwordSecretReference', 'type': 'KeyVaultSecretReference'}, + } + + def __init__(self, *, username: str, password: str=None, password_secret_reference=None, **kwargs) -> None: + super(PrivateRegistryCredentials, self).__init__(**kwargs) + self.username = username + self.password = password + self.password_secret_reference = password_secret_reference 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 new file mode 100644 index 000000000000..a765cafdae9c --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/py_torch_settings.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class PyTorchSettings(Model): + """Specifies the settings for pyTorch job. + + 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. + :type python_script_file_path: str + :param python_interpreter_path: The path to python interpreter. + :type python_interpreter_path: str + :param command_line_args: Specifies the command line arguments for the + master task. + :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. + :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. + :type communication_backend: str + """ + + _validation = { + 'python_script_file_path': {'required': True}, + } + + _attribute_map = { + 'python_script_file_path': {'key': 'pythonScriptFilePath', 'type': 'str'}, + 'python_interpreter_path': {'key': 'pythonInterpreterPath', 'type': 'str'}, + 'command_line_args': {'key': 'commandLineArgs', 'type': 'str'}, + 'process_count': {'key': 'processCount', 'type': 'int'}, + 'communication_backend': {'key': 'communicationBackend', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(PyTorchSettings, self).__init__(**kwargs) + self.python_script_file_path = kwargs.get('python_script_file_path', None) + self.python_interpreter_path = kwargs.get('python_interpreter_path', None) + self.command_line_args = kwargs.get('command_line_args', None) + self.process_count = kwargs.get('process_count', None) + self.communication_backend = kwargs.get('communication_backend', None) 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 new file mode 100644 index 000000000000..6a5a946d6ff2 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/py_torch_settings_py3.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class PyTorchSettings(Model): + """Specifies the settings for pyTorch job. + + 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. + :type python_script_file_path: str + :param python_interpreter_path: The path to python interpreter. + :type python_interpreter_path: str + :param command_line_args: Specifies the command line arguments for the + master task. + :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. + :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. + :type communication_backend: str + """ + + _validation = { + 'python_script_file_path': {'required': True}, + } + + _attribute_map = { + 'python_script_file_path': {'key': 'pythonScriptFilePath', 'type': 'str'}, + 'python_interpreter_path': {'key': 'pythonInterpreterPath', 'type': 'str'}, + 'command_line_args': {'key': 'commandLineArgs', 'type': 'str'}, + 'process_count': {'key': 'processCount', 'type': 'int'}, + 'communication_backend': {'key': 'communicationBackend', 'type': 'str'}, + } + + def __init__(self, *, python_script_file_path: str, python_interpreter_path: str=None, command_line_args: str=None, process_count: int=None, communication_backend: str=None, **kwargs) -> None: + super(PyTorchSettings, self).__init__(**kwargs) + self.python_script_file_path = python_script_file_path + self.python_interpreter_path = python_interpreter_path + self.command_line_args = command_line_args + self.process_count = process_count + self.communication_backend = communication_backend 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 7149ab81830e..91fab4aeb0b6 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 @@ -15,11 +15,13 @@ class RemoteLoginInformation(Model): """Contains remote login details to SSH/RDP to a compute node in cluster. - :param node_id: Id of the compute node + All required parameters must be populated in order to send to Azure. + + :param node_id: Required. Id of the compute node :type node_id: str - :param ip_address: ip address + :param ip_address: Required. ip address :type ip_address: str - :param port: port number. + :param port: Required. port number. :type port: float """ @@ -35,7 +37,8 @@ class RemoteLoginInformation(Model): 'port': {'key': 'port', 'type': 'float'}, } - def __init__(self, node_id, ip_address, port): - self.node_id = node_id - self.ip_address = ip_address - self.port = port + def __init__(self, **kwargs): + super(RemoteLoginInformation, self).__init__(**kwargs) + self.node_id = kwargs.get('node_id', None) + self.ip_address = kwargs.get('ip_address', None) + self.port = kwargs.get('port', None) 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 new file mode 100644 index 000000000000..6007e5e7fcfc --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/remote_login_information_py3.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class RemoteLoginInformation(Model): + """Contains remote login details to SSH/RDP to a compute node in cluster. + + All required parameters must be populated in order to send to Azure. + + :param node_id: Required. Id of the compute node + :type node_id: str + :param ip_address: Required. ip address + :type ip_address: str + :param port: Required. port number. + :type port: float + """ + + _validation = { + 'node_id': {'required': True}, + 'ip_address': {'required': True}, + 'port': {'required': True}, + } + + _attribute_map = { + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'float'}, + } + + def __init__(self, *, node_id: str, ip_address: str, port: float, **kwargs) -> None: + super(RemoteLoginInformation, self).__init__(**kwargs) + self.node_id = node_id + self.ip_address = ip_address + self.port = port diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/resource.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/resource.py index 23ff1a466e1d..0d698a544cac 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/resource.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/resource.py @@ -27,7 +27,7 @@ class Resource(Model): :ivar location: The location of the resource :vartype location: str :ivar tags: The tags of the resource - :vartype tags: dict + :vartype tags: dict[str, str] """ _validation = { @@ -46,7 +46,8 @@ class Resource(Model): 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self): + def __init__(self, **kwargs): + super(Resource, self).__init__(**kwargs) self.id = None self.name = None self.type = None diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/resource_id.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/resource_id.py index 305bb8b88ae4..0985a22c02e1 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/resource_id.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/resource_id.py @@ -16,7 +16,9 @@ class ResourceId(Model): """Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet. - :param id: The ID of the resource + All required parameters must be populated in order to send to Azure. + + :param id: Required. The ID of the resource :type id: str """ @@ -28,5 +30,6 @@ class ResourceId(Model): 'id': {'key': 'id', 'type': 'str'}, } - def __init__(self, id): - self.id = id + def __init__(self, **kwargs): + super(ResourceId, self).__init__(**kwargs) + self.id = kwargs.get('id', None) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/resource_id_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/resource_id_py3.py new file mode 100644 index 000000000000..3a01a74656c3 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/resource_id_py3.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ResourceId(Model): + """Represents a resource ID. For example, for a subnet, it is the resource URL + for the subnet. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. The ID of the resource + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__(self, *, id: str, **kwargs) -> None: + super(ResourceId, self).__init__(**kwargs) + self.id = id diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/resource_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/resource_py3.py new file mode 100644 index 000000000000..b8f8c506bb53 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/resource_py3.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Resource(Model): + """A definition of an Azure resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The ID of the resource + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource + :vartype type: str + :ivar location: The location of the resource + :vartype location: str + :ivar tags: The tags of the resource + :vartype tags: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'readonly': True}, + 'tags': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, **kwargs) -> None: + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.location = None + self.tags = None 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 b57f0fad683b..9dfa83e45f8e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/scale_settings.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/scale_settings.py @@ -19,11 +19,9 @@ class ScaleSettings(Model): the supplied limits) based on the pending jobs on the cluster. :param manual: The scale for the cluster by manual settings. - :type manual: :class:`ManualScaleSettings - ` + :type manual: ~azure.mgmt.batchai.models.ManualScaleSettings :param auto_scale: The scale for the cluster by autoscale settings. - :type auto_scale: :class:`AutoScaleSettings - ` + :type auto_scale: ~azure.mgmt.batchai.models.AutoScaleSettings """ _attribute_map = { @@ -31,6 +29,7 @@ class ScaleSettings(Model): 'auto_scale': {'key': 'autoScale', 'type': 'AutoScaleSettings'}, } - def __init__(self, manual=None, auto_scale=None): - self.manual = manual - self.auto_scale = auto_scale + def __init__(self, **kwargs): + super(ScaleSettings, self).__init__(**kwargs) + self.manual = kwargs.get('manual', None) + self.auto_scale = kwargs.get('auto_scale', None) 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 new file mode 100644 index 000000000000..e4505a7d514e --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/scale_settings_py3.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ScaleSettings(Model): + """At least one of manual or autoScale settings must be specified. Only one of + manual or autoScale settings can be specified. If autoScale settings are + 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. + :type manual: ~azure.mgmt.batchai.models.ManualScaleSettings + :param auto_scale: The scale for the cluster by autoscale settings. + :type auto_scale: ~azure.mgmt.batchai.models.AutoScaleSettings + """ + + _attribute_map = { + 'manual': {'key': 'manual', 'type': 'ManualScaleSettings'}, + 'auto_scale': {'key': 'autoScale', 'type': 'AutoScaleSettings'}, + } + + def __init__(self, *, manual=None, auto_scale=None, **kwargs) -> None: + super(ScaleSettings, self).__init__(**kwargs) + self.manual = manual + self.auto_scale = auto_scale 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 e8d87d0a91b0..1a6e3eb13f8e 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/setup_task.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/setup_task.py @@ -16,33 +16,59 @@ class SetupTask(Model): """Specifies a setup task which can be used to customize the compute nodes of the cluster. - :param command_line: Command Line to start Setup process. + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param command_line: Required. Command Line to start Setup process. :type command_line: str - :param environment_variables: Collection of environment settings. - :type environment_variables: list of :class:`EnvironmentSetting - ` - :param run_elevated: Specifies whether to run the setup task in elevated - mode. The default value is false. Default value: False . + :param environment_variables: Collection of 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. + :type secrets: + list[~azure.mgmt.batchai.models.EnvironmentVariableWithSecretValue] + :param run_elevated: Specifies whether to run the setup task under root + account. The default value is false. Note. Non-elevated tasks are run + under an account added into sudoer list and can perform sudo when + required. Default value: False . :type run_elevated: bool - :param std_out_err_path_prefix: The path where the Batch AI service will - upload the stdout and stderror of setup task. + :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. :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. + :vartype std_out_err_path_suffix: str """ _validation = { 'command_line': {'required': True}, 'std_out_err_path_prefix': {'required': True}, + 'std_out_err_path_suffix': {'readonly': True}, } _attribute_map = { 'command_line': {'key': 'commandLine', 'type': 'str'}, - 'environment_variables': {'key': 'environmentVariables', 'type': '[EnvironmentSetting]'}, + 'environment_variables': {'key': 'environmentVariables', 'type': '[EnvironmentVariable]'}, + 'secrets': {'key': 'secrets', 'type': '[EnvironmentVariableWithSecretValue]'}, 'run_elevated': {'key': 'runElevated', 'type': 'bool'}, 'std_out_err_path_prefix': {'key': 'stdOutErrPathPrefix', 'type': 'str'}, + 'std_out_err_path_suffix': {'key': 'stdOutErrPathSuffix', 'type': 'str'}, } - def __init__(self, command_line, std_out_err_path_prefix, environment_variables=None, run_elevated=False): - self.command_line = command_line - self.environment_variables = environment_variables - self.run_elevated = run_elevated - self.std_out_err_path_prefix = std_out_err_path_prefix + def __init__(self, **kwargs): + super(SetupTask, self).__init__(**kwargs) + self.command_line = kwargs.get('command_line', None) + self.environment_variables = kwargs.get('environment_variables', None) + self.secrets = kwargs.get('secrets', None) + self.run_elevated = kwargs.get('run_elevated', False) + self.std_out_err_path_prefix = kwargs.get('std_out_err_path_prefix', None) + self.std_out_err_path_suffix = None 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 new file mode 100644 index 000000000000..74a53144a6c5 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/setup_task_py3.py @@ -0,0 +1,74 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SetupTask(Model): + """Specifies a setup task which can be used to customize the compute nodes of + the cluster. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param command_line: Required. Command Line to start Setup process. + :type command_line: str + :param environment_variables: Collection of 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. + :type secrets: + list[~azure.mgmt.batchai.models.EnvironmentVariableWithSecretValue] + :param run_elevated: Specifies whether to run the setup task under root + account. The default value is false. Note. Non-elevated tasks are run + under an account added into sudoer list and can perform sudo when + required. Default value: False . + :type run_elevated: bool + :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. + :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. + :vartype std_out_err_path_suffix: str + """ + + _validation = { + 'command_line': {'required': True}, + 'std_out_err_path_prefix': {'required': True}, + 'std_out_err_path_suffix': {'readonly': True}, + } + + _attribute_map = { + 'command_line': {'key': 'commandLine', 'type': 'str'}, + 'environment_variables': {'key': 'environmentVariables', 'type': '[EnvironmentVariable]'}, + 'secrets': {'key': 'secrets', 'type': '[EnvironmentVariableWithSecretValue]'}, + 'run_elevated': {'key': 'runElevated', 'type': 'bool'}, + 'std_out_err_path_prefix': {'key': 'stdOutErrPathPrefix', 'type': 'str'}, + 'std_out_err_path_suffix': {'key': 'stdOutErrPathSuffix', 'type': 'str'}, + } + + def __init__(self, *, command_line: str, std_out_err_path_prefix: str, environment_variables=None, secrets=None, run_elevated: bool=False, **kwargs) -> None: + super(SetupTask, self).__init__(**kwargs) + self.command_line = command_line + self.environment_variables = environment_variables + self.secrets = secrets + self.run_elevated = run_elevated + self.std_out_err_path_prefix = std_out_err_path_prefix + self.std_out_err_path_suffix = None 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 66cdc8799e27..03767afea567 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/models/ssh_configuration.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/ssh_configuration.py @@ -15,13 +15,16 @@ class SshConfiguration(Model): """SSH configuration settings for the VM. + 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 VM. Default value is '*' can be used to match all source - IPs. Maximum number of publicIPs that can be specified are 400. - :type public_ips_to_allow: list of str - :param user_account_settings: Settings for user account of VMs. - :type user_account_settings: :class:`UserAccountSettings - ` + 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. + :type public_ips_to_allow: list[str] + :param user_account_settings: Required. Settings for user account to be + created on a node. + :type user_account_settings: + ~azure.mgmt.batchai.models.UserAccountSettings """ _validation = { @@ -33,6 +36,7 @@ class SshConfiguration(Model): 'user_account_settings': {'key': 'userAccountSettings', 'type': 'UserAccountSettings'}, } - def __init__(self, user_account_settings, public_ips_to_allow=None): - self.public_ips_to_allow = public_ips_to_allow - self.user_account_settings = user_account_settings + def __init__(self, **kwargs): + super(SshConfiguration, self).__init__(**kwargs) + self.public_ips_to_allow = kwargs.get('public_ips_to_allow', None) + self.user_account_settings = kwargs.get('user_account_settings', None) 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 new file mode 100644 index 000000000000..b7b4b617f3ac --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/ssh_configuration_py3.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SshConfiguration(Model): + """SSH configuration settings for the VM. + + 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. + :type public_ips_to_allow: list[str] + :param user_account_settings: Required. Settings for user account to be + created on a node. + :type user_account_settings: + ~azure.mgmt.batchai.models.UserAccountSettings + """ + + _validation = { + 'user_account_settings': {'required': True}, + } + + _attribute_map = { + 'public_ips_to_allow': {'key': 'publicIPsToAllow', 'type': '[str]'}, + 'user_account_settings': {'key': 'userAccountSettings', 'type': 'UserAccountSettings'}, + } + + def __init__(self, *, user_account_settings, public_ips_to_allow=None, **kwargs) -> None: + super(SshConfiguration, self).__init__(**kwargs) + self.public_ips_to_allow = public_ips_to_allow + self.user_account_settings = user_account_settings 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 eba2e63ec1d4..a3f6cb178565 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 @@ -15,8 +15,10 @@ class TensorFlowSettings(Model): """Specifies the settings for TensorFlow job. - :param python_script_file_path: The path and file name of the python - script to execute the job. + 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. :type python_script_file_path: str :param python_interpreter_path: The path to python interpreter. :type python_interpreter_path: str @@ -45,7 +47,6 @@ class TensorFlowSettings(Model): _validation = { 'python_script_file_path': {'required': True}, - 'master_command_line_args': {'required': True}, } _attribute_map = { @@ -58,11 +59,12 @@ class TensorFlowSettings(Model): 'parameter_server_count': {'key': 'parameterServerCount', 'type': 'int'}, } - def __init__(self, python_script_file_path, master_command_line_args, python_interpreter_path=None, worker_command_line_args=None, parameter_server_command_line_args=None, worker_count=None, parameter_server_count=None): - self.python_script_file_path = python_script_file_path - self.python_interpreter_path = python_interpreter_path - self.master_command_line_args = master_command_line_args - self.worker_command_line_args = worker_command_line_args - self.parameter_server_command_line_args = parameter_server_command_line_args - self.worker_count = worker_count - self.parameter_server_count = parameter_server_count + def __init__(self, **kwargs): + super(TensorFlowSettings, self).__init__(**kwargs) + self.python_script_file_path = kwargs.get('python_script_file_path', None) + self.python_interpreter_path = kwargs.get('python_interpreter_path', None) + self.master_command_line_args = kwargs.get('master_command_line_args', None) + self.worker_command_line_args = kwargs.get('worker_command_line_args', None) + self.parameter_server_command_line_args = kwargs.get('parameter_server_command_line_args', None) + self.worker_count = kwargs.get('worker_count', None) + self.parameter_server_count = kwargs.get('parameter_server_count', None) 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 new file mode 100644 index 000000000000..bcd9aa512406 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/tensor_flow_settings_py3.py @@ -0,0 +1,70 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class TensorFlowSettings(Model): + """Specifies the settings for TensorFlow job. + + 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. + :type python_script_file_path: str + :param python_interpreter_path: The path to python interpreter. + :type python_interpreter_path: str + :param master_command_line_args: Specifies the command line arguments 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. + :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. + :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 + :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. + :type parameter_server_count: int + """ + + _validation = { + 'python_script_file_path': {'required': True}, + } + + _attribute_map = { + 'python_script_file_path': {'key': 'pythonScriptFilePath', 'type': 'str'}, + 'python_interpreter_path': {'key': 'pythonInterpreterPath', 'type': 'str'}, + 'master_command_line_args': {'key': 'masterCommandLineArgs', 'type': 'str'}, + 'worker_command_line_args': {'key': 'workerCommandLineArgs', 'type': 'str'}, + 'parameter_server_command_line_args': {'key': 'parameterServerCommandLineArgs', 'type': 'str'}, + 'worker_count': {'key': 'workerCount', 'type': 'int'}, + 'parameter_server_count': {'key': 'parameterServerCount', 'type': 'int'}, + } + + def __init__(self, *, python_script_file_path: str, python_interpreter_path: str=None, master_command_line_args: str=None, worker_command_line_args: str=None, parameter_server_command_line_args: str=None, worker_count: int=None, parameter_server_count: int=None, **kwargs) -> None: + super(TensorFlowSettings, self).__init__(**kwargs) + self.python_script_file_path = python_script_file_path + self.python_interpreter_path = python_interpreter_path + self.master_command_line_args = master_command_line_args + self.worker_command_line_args = worker_command_line_args + self.parameter_server_command_line_args = parameter_server_command_line_args + self.worker_count = worker_count + self.parameter_server_count = parameter_server_count 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 d796f4c1208d..5f1e465c1d1f 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 @@ -15,11 +15,16 @@ class UnmanagedFileSystemReference(Model): """Details of the file system to mount on the compute cluster nodes. - :param mount_command: Command used to mount the unmanaged file system. + All required parameters must be populated in order to send to Azure. + + :param mount_command: Required. Command used to mount the unmanaged file + system. :type mount_command: str - :param relative_mount_path: Specifies the relative path on the compute - cluster node where the file system will be mounted. Note that all file - shares will be mounted under $AZ_BATCHAI_MOUNT_ROOT location. + :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. :type relative_mount_path: str """ @@ -33,6 +38,7 @@ class UnmanagedFileSystemReference(Model): 'relative_mount_path': {'key': 'relativeMountPath', 'type': 'str'}, } - def __init__(self, mount_command, relative_mount_path): - self.mount_command = mount_command - self.relative_mount_path = relative_mount_path + def __init__(self, **kwargs): + super(UnmanagedFileSystemReference, self).__init__(**kwargs) + self.mount_command = kwargs.get('mount_command', None) + self.relative_mount_path = kwargs.get('relative_mount_path', None) 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 new file mode 100644 index 000000000000..cad3dcb14a92 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/unmanaged_file_system_reference_py3.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class UnmanagedFileSystemReference(Model): + """Details of the file system to mount on the compute cluster nodes. + + All required parameters must be populated in order to send to Azure. + + :param mount_command: Required. Command used to mount the unmanaged file + system. + :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. + :type relative_mount_path: str + """ + + _validation = { + 'mount_command': {'required': True}, + 'relative_mount_path': {'required': True}, + } + + _attribute_map = { + 'mount_command': {'key': 'mountCommand', 'type': 'str'}, + 'relative_mount_path': {'key': 'relativeMountPath', 'type': 'str'}, + } + + def __init__(self, *, mount_command: str, relative_mount_path: str, **kwargs) -> None: + super(UnmanagedFileSystemReference, self).__init__(**kwargs) + self.mount_command = mount_command + self.relative_mount_path = relative_mount_path diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/usage.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/usage.py new file mode 100644 index 000000000000..fa677eb86082 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/usage.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Usage(Model): + """Describes Batch AI Resource Usage. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar unit: Required. An enum describing the unit of usage measurement. + Default value: "Count" . + :vartype unit: str + :param current_value: Required. The current usage of the resource. + :type current_value: int + :param limit: Required. The maximum permitted usage of the resource. + :type limit: long + :param name: Required. The name of the type of usage. + :type name: ~azure.mgmt.batchai.models.UsageName + """ + + _validation = { + 'unit': {'required': True, 'constant': True}, + 'current_value': {'required': True}, + 'limit': {'required': True}, + 'name': {'required': True}, + } + + _attribute_map = { + 'unit': {'key': 'unit', 'type': 'str'}, + 'current_value': {'key': 'currentValue', 'type': 'int'}, + 'limit': {'key': 'limit', 'type': 'long'}, + 'name': {'key': 'name', 'type': 'UsageName'}, + } + + unit = "Count" + + def __init__(self, **kwargs): + super(Usage, self).__init__(**kwargs) + self.current_value = kwargs.get('current_value', None) + self.limit = kwargs.get('limit', None) + self.name = kwargs.get('name', None) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_name.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_name.py new file mode 100644 index 000000000000..e2560936493e --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_name.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class UsageName(Model): + """The Usage Names. + + :param value: The name of the resource. + :type value: str + :param localized_value: The localized name of the resource. + :type localized_value: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(UsageName, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.localized_value = kwargs.get('localized_value', None) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_name_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_name_py3.py new file mode 100644 index 000000000000..ad0b77459f75 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_name_py3.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class UsageName(Model): + """The Usage Names. + + :param value: The name of the resource. + :type value: str + :param localized_value: The localized name of the resource. + :type localized_value: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + } + + def __init__(self, *, value: str=None, localized_value: str=None, **kwargs) -> None: + super(UsageName, self).__init__(**kwargs) + self.value = value + self.localized_value = localized_value diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_paged.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_paged.py new file mode 100644 index 000000000000..8ca05a225d14 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class UsagePaged(Paged): + """ + A paging container for iterating over a list of :class:`Usage ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Usage]'} + } + + def __init__(self, *args, **kwargs): + + super(UsagePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_py3.py b/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_py3.py new file mode 100644 index 000000000000..7a352c5fdb7b --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/usage_py3.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Usage(Model): + """Describes Batch AI Resource Usage. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar unit: Required. An enum describing the unit of usage measurement. + Default value: "Count" . + :vartype unit: str + :param current_value: Required. The current usage of the resource. + :type current_value: int + :param limit: Required. The maximum permitted usage of the resource. + :type limit: long + :param name: Required. The name of the type of usage. + :type name: ~azure.mgmt.batchai.models.UsageName + """ + + _validation = { + 'unit': {'required': True, 'constant': True}, + 'current_value': {'required': True}, + 'limit': {'required': True}, + 'name': {'required': True}, + } + + _attribute_map = { + 'unit': {'key': 'unit', 'type': 'str'}, + 'current_value': {'key': 'currentValue', 'type': 'int'}, + 'limit': {'key': 'limit', 'type': 'long'}, + 'name': {'key': 'name', 'type': 'UsageName'}, + } + + unit = "Count" + + def __init__(self, *, current_value: int, limit: int, name, **kwargs) -> None: + super(Usage, self).__init__(**kwargs) + self.current_value = current_value + self.limit = limit + self.name = name 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 0b8c146b1183..cd4468ab29d9 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 @@ -16,7 +16,10 @@ class UserAccountSettings(Model): """Settings for user account that gets created on each on the nodes of a cluster. - :param admin_user_name: Specifies the name of the administrator account. + All required parameters must be populated in order to send to Azure. + + :param admin_user_name: Required. Specifies the name of the administrator + account. :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. @@ -36,7 +39,8 @@ class UserAccountSettings(Model): 'admin_user_password': {'key': 'adminUserPassword', 'type': 'str'}, } - def __init__(self, admin_user_name, admin_user_ssh_public_key=None, admin_user_password=None): - self.admin_user_name = admin_user_name - self.admin_user_ssh_public_key = admin_user_ssh_public_key - self.admin_user_password = admin_user_password + def __init__(self, **kwargs): + super(UserAccountSettings, self).__init__(**kwargs) + self.admin_user_name = kwargs.get('admin_user_name', None) + self.admin_user_ssh_public_key = kwargs.get('admin_user_ssh_public_key', None) + self.admin_user_password = kwargs.get('admin_user_password', None) 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 new file mode 100644 index 000000000000..daa30a867978 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/user_account_settings_py3.py @@ -0,0 +1,46 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class UserAccountSettings(Model): + """Settings for user account that gets created on each on the nodes of a + cluster. + + All required parameters must be populated in order to send to Azure. + + :param admin_user_name: Required. Specifies the name of the administrator + account. + :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. + :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. + :type admin_user_password: str + """ + + _validation = { + 'admin_user_name': {'required': True}, + } + + _attribute_map = { + 'admin_user_name': {'key': 'adminUserName', 'type': 'str'}, + 'admin_user_ssh_public_key': {'key': 'adminUserSshPublicKey', 'type': 'str'}, + 'admin_user_password': {'key': 'adminUserPassword', 'type': 'str'}, + } + + def __init__(self, *, admin_user_name: str, admin_user_ssh_public_key: str=None, admin_user_password: str=None, **kwargs) -> None: + super(UserAccountSettings, self).__init__(**kwargs) + self.admin_user_name = admin_user_name + self.admin_user_ssh_public_key = admin_user_ssh_public_key + self.admin_user_password = admin_user_password 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 b20396fe568c..5c631066cf25 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 @@ -16,13 +16,13 @@ class VirtualMachineConfiguration(Model): """Settings for OS image. :param image_reference: Reference to OS image. - :type image_reference: :class:`ImageReference - ` + :type image_reference: ~azure.mgmt.batchai.models.ImageReference """ _attribute_map = { 'image_reference': {'key': 'imageReference', 'type': 'ImageReference'}, } - def __init__(self, image_reference=None): - self.image_reference = image_reference + def __init__(self, **kwargs): + super(VirtualMachineConfiguration, self).__init__(**kwargs) + self.image_reference = kwargs.get('image_reference', None) 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 new file mode 100644 index 000000000000..cec65cd1b635 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/models/virtual_machine_configuration_py3.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class VirtualMachineConfiguration(Model): + """Settings for OS image. + + :param image_reference: Reference to OS image. + :type image_reference: ~azure.mgmt.batchai.models.ImageReference + """ + + _attribute_map = { + 'image_reference': {'key': 'imageReference', 'type': 'ImageReference'}, + } + + def __init__(self, *, image_reference=None, **kwargs) -> None: + super(VirtualMachineConfiguration, self).__init__(**kwargs) + self.image_reference = image_reference diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/operations/__init__.py b/azure-mgmt-batchai/azure/mgmt/batchai/operations/__init__.py index 8e19b87cc2ce..0e0603fd6608 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/__init__.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/__init__.py @@ -10,12 +10,14 @@ # -------------------------------------------------------------------------- from .operations import Operations +from .usage_operations import UsageOperations from .clusters_operations import ClustersOperations from .jobs_operations import JobsOperations from .file_servers_operations import FileServersOperations __all__ = [ 'Operations', + 'UsageOperations', 'ClustersOperations', 'JobsOperations', 'FileServersOperations', 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 da00af13b819..45ceda8bf1e3 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/clusters_operations.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/clusters_operations.py @@ -12,7 +12,8 @@ import uuid from msrest.pipeline import ClientRawResponse from msrestazure.azure_exceptions import CloudError -from msrestazure.azure_operation import AzureOperationPoller +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling from .. import models @@ -23,51 +24,26 @@ class ClustersOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. - :ivar api_version: Specifies the version of API used for this request. Constant value: "2017-09-01-preview". + :param deserializer: An object model deserializer. + :ivar api_version: Specifies the version of API used for this request. Constant value: "2018-03-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2017-09-01-preview" + self.api_version = "2018-03-01" self.config = config - def create( - self, resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, **operation_config): - """Adds a cluster. A cluster is a collection of compute nodes. Multiple - jobs can be run on the same cluster. - :param resource_group_name: Name of the resource group to which the - resource belongs. - :type resource_group_name: str - :param cluster_name: The name of the cluster within the specified - resource group. Cluster names can only contain a combination of - alphanumeric characters along with dash (-) and underscore (_). The - name must be from 1 through 64 characters long. - :type cluster_name: str - :param parameters: The parameters to provide for cluster creation. - :type parameters: :class:`ClusterCreateParameters - ` - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :return: - :class:`AzureOperationPoller` - instance that returns :class:`Cluster - ` or - :class:`ClientRawResponse` if - raw=true - :rtype: - :class:`AzureOperationPoller` - or :class:`ClientRawResponse` - :raises: :class:`CloudError` - """ + def _create_initial( + self, resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, **operation_config): # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters/{clusterName}' + url = self.create.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -93,31 +69,65 @@ def create( body_content = self._serialize.body(parameters, 'ClusterCreateParameters') # Construct and send request - def long_running_send(): + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp - request = self._client.put(url, query_parameters) - return self._client.send( - request, header_parameters, body_content, **operation_config) + deserialized = None - def get_long_running_status(status_link, headers=None): + if response.status_code == 200: + deserialized = self._deserialize('Cluster', response) - request = self._client.get(status_link) - if headers: - request.headers.update(headers) - return self._client.send( - request, header_parameters, **operation_config) + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response - def get_long_running_output(response): + return deserialized - if response.status_code not in [200, 202]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + def create( + self, resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """Adds a cluster. A cluster is a collection of compute nodes. Multiple + jobs can be run on the same cluster. - deserialized = None + :param resource_group_name: Name of the resource group to which the + resource belongs. + :type resource_group_name: str + :param cluster_name: The name of the cluster within the specified + resource group. Cluster names can only contain a combination of + alphanumeric characters along with dash (-) and underscore (_). The + name must be from 1 through 64 characters long. + :type cluster_name: str + :param parameters: The parameters to provide for cluster creation. + :type parameters: ~azure.mgmt.batchai.models.ClusterCreateParameters + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns Cluster or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.batchai.models.Cluster] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.batchai.models.Cluster]] + :raises: :class:`CloudError` + """ + raw_result = self._create_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + parameters=parameters, + custom_headers=custom_headers, + raw=True, + **operation_config + ) - if response.status_code == 200: - deserialized = self._deserialize('Cluster', response) + def get_long_running_output(response): + deserialized = self._deserialize('Cluster', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -125,16 +135,14 @@ def get_long_running_output(response): return deserialized - if raw: - response = long_running_send() - return get_long_running_output(response) - - long_running_operation_timeout = operation_config.get( + lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - return AzureOperationPoller( - long_running_send, get_long_running_output, - get_long_running_status, long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters/{clusterName}'} def update( self, resource_group_name, cluster_name, tags=None, scale_settings=None, custom_headers=None, raw=False, **operation_config): @@ -149,26 +157,23 @@ def update( name must be from 1 through 64 characters long. :type cluster_name: str :param tags: The user specified tags associated with the Cluster. - :type tags: dict + :type tags: dict[str, str] :param scale_settings: Desired scale for the cluster - :type scale_settings: :class:`ScaleSettings - ` + :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 deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`Cluster ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`Cluster ` or - :class:`ClientRawResponse` + :return: Cluster or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.batchai.models.Cluster or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ parameters = models.ClusterUpdateParameters(tags=tags, scale_settings=scale_settings) # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters/{clusterName}' + url = self.update.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -196,7 +201,7 @@ def update( # Construct and send request request = self._client.patch(url, query_parameters) response = self._client.send( - request, header_parameters, body_content, **operation_config) + request, header_parameters, body_content, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -213,34 +218,13 @@ def update( return client_raw_response return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters/{clusterName}'} - def delete( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): - """Deletes a Cluster. - :param resource_group_name: Name of the resource group to which the - resource belongs. - :type resource_group_name: str - :param cluster_name: The name of the cluster within the specified - resource group. Cluster names can only contain a combination of - alphanumeric characters along with dash (-) and underscore (_). The - name must be from 1 through 64 characters long. - :type cluster_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :return: - :class:`AzureOperationPoller` - instance that returns None or - :class:`ClientRawResponse` if - raw=true - :rtype: - :class:`AzureOperationPoller` - or :class:`ClientRawResponse` - :raises: :class:`CloudError` - """ + def _delete_initial( + self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters/{clusterName}' + url = self.delete.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -263,40 +247,62 @@ def delete( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - def long_running_send(): + 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) - return self._client.send(request, header_parameters, **operation_config) - - def get_long_running_status(status_link, headers=None): + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp - request = self._client.get(status_link) - if headers: - request.headers.update(headers) - return self._client.send( - request, header_parameters, **operation_config) + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response - def get_long_running_output(response): + def delete( + self, resource_group_name, cluster_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Deletes a Cluster. - if response.status_code not in [200, 202, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + :param resource_group_name: Name of the resource group to which the + resource belongs. + :type resource_group_name: str + :param cluster_name: The name of the cluster within the specified + resource group. Cluster names can only contain a combination of + alphanumeric characters along with dash (-) and underscore (_). The + name must be from 1 through 64 characters long. + :type cluster_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + def get_long_running_output(response): if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response - if raw: - response = long_running_send() - return get_long_running_output(response) - - long_running_operation_timeout = operation_config.get( + lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - return AzureOperationPoller( - long_running_send, get_long_running_output, - get_long_running_status, long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters/{clusterName}'} def get( self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): @@ -315,15 +321,13 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`Cluster ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`Cluster ` or - :class:`ClientRawResponse` + :return: Cluster or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.batchai.models.Cluster or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters/{clusterName}' + url = self.get.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -347,7 +351,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -364,6 +368,7 @@ def get( return client_raw_response return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters/{clusterName}'} def list_remote_login_information( self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): @@ -382,17 +387,16 @@ def list_remote_login_information( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`RemoteLoginInformation - ` - :rtype: :class:`RemoteLoginInformationPaged - ` + :return: An iterator like instance of RemoteLoginInformation + :rtype: + ~azure.mgmt.batchai.models.RemoteLoginInformationPaged[~azure.mgmt.batchai.models.RemoteLoginInformation] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters/{clusterName}/listRemoteLoginInformation' + url = self.list_remote_login_information.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -421,7 +425,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.post(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -439,22 +443,23 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_remote_login_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters/{clusterName}/listRemoteLoginInformation'} def list( self, clusters_list_options=None, custom_headers=None, raw=False, **operation_config): """Gets information about the Clusters associated with the subscription. :param clusters_list_options: Additional parameters for the operation - :type clusters_list_options: :class:`ClustersListOptions - ` + :type clusters_list_options: + ~azure.mgmt.batchai.models.ClustersListOptions :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`Cluster - ` - :rtype: :class:`ClusterPaged ` + :return: An iterator like instance of Cluster + :rtype: + ~azure.mgmt.batchai.models.ClusterPaged[~azure.mgmt.batchai.models.Cluster] :raises: :class:`CloudError` """ filter = None @@ -471,7 +476,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/providers/Microsoft.BatchAI/clusters' + url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -504,7 +509,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -522,6 +527,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.BatchAI/clusters'} def list_by_resource_group( self, resource_group_name, clusters_list_by_resource_group_options=None, custom_headers=None, raw=False, **operation_config): @@ -534,16 +540,15 @@ def list_by_resource_group( :param clusters_list_by_resource_group_options: Additional parameters for the operation :type clusters_list_by_resource_group_options: - :class:`ClustersListByResourceGroupOptions - ` + ~azure.mgmt.batchai.models.ClustersListByResourceGroupOptions :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`Cluster - ` - :rtype: :class:`ClusterPaged ` + :return: An iterator like instance of Cluster + :rtype: + ~azure.mgmt.batchai.models.ClusterPaged[~azure.mgmt.batchai.models.Cluster] :raises: :class:`CloudError` """ filter = None @@ -560,7 +565,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters' + url = self.list_by_resource_group.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') @@ -594,7 +599,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -612,3 +617,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/clusters'} 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 5be0f2749004..69f13c2fe274 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 @@ -12,7 +12,8 @@ import uuid from msrest.pipeline import ClientRawResponse from msrestazure.azure_exceptions import CloudError -from msrestazure.azure_operation import AzureOperationPoller +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling from .. import models @@ -23,50 +24,26 @@ class FileServersOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. - :ivar api_version: Specifies the version of API used for this request. Constant value: "2017-09-01-preview". + :param deserializer: An object model deserializer. + :ivar api_version: Specifies the version of API used for this request. Constant value: "2018-03-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2017-09-01-preview" + self.api_version = "2018-03-01" self.config = config - def create( - self, resource_group_name, file_server_name, parameters, custom_headers=None, raw=False, **operation_config): - """Creates a file server. - :param resource_group_name: Name of the resource group to which the - resource belongs. - :type resource_group_name: str - :param file_server_name: The name of the file server within the - specified resource group. File server names can only contain a - combination of alphanumeric characters along with dash (-) and - underscore (_). The name must be from 1 through 64 characters long. - :type file_server_name: str - :param parameters: The parameters to provide for file server creation. - :type parameters: :class:`FileServerCreateParameters - ` - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :return: - :class:`AzureOperationPoller` - instance that returns :class:`FileServer - ` or - :class:`ClientRawResponse` if - raw=true - :rtype: - :class:`AzureOperationPoller` - or :class:`ClientRawResponse` - :raises: :class:`CloudError` - """ + def _create_initial( + self, resource_group_name, file_server_name, parameters, custom_headers=None, raw=False, **operation_config): # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/fileServers/{fileServerName}' + url = self.create.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'fileServerName': self._serialize.url("file_server_name", file_server_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -92,52 +69,29 @@ def create( body_content = self._serialize.body(parameters, 'FileServerCreateParameters') # Construct and send request - def long_running_send(): - - request = self._client.put(url, query_parameters) - return self._client.send( - request, header_parameters, body_content, **operation_config) - - def get_long_running_status(status_link, headers=None): - - request = self._client.get(status_link) - if headers: - request.headers.update(headers) - return self._client.send( - request, header_parameters, **operation_config) - - def get_long_running_output(response): - - if response.status_code not in [200, 202]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp - - deserialized = None + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) - if response.status_code == 200: - deserialized = self._deserialize('FileServer', response) + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + deserialized = None - return deserialized + if response.status_code == 200: + deserialized = self._deserialize('FileServer', response) if raw: - response = long_running_send() - return get_long_running_output(response) + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response - long_running_operation_timeout = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - return AzureOperationPoller( - long_running_send, get_long_running_output, - get_long_running_status, long_running_operation_timeout) + return deserialized - def delete( - self, resource_group_name, file_server_name, custom_headers=None, raw=False, **operation_config): - """Delete a file Server. + def create( + self, resource_group_name, file_server_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """Creates a file server. :param resource_group_name: Name of the resource group to which the resource belongs. @@ -147,21 +101,54 @@ def delete( combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long. :type file_server_name: str + :param parameters: The parameters to provide for file server creation. + :type parameters: + ~azure.mgmt.batchai.models.FileServerCreateParameters :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :return: - :class:`AzureOperationPoller` - instance that returns None or - :class:`ClientRawResponse` if - raw=true + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns FileServer or + ClientRawResponse if raw==True :rtype: - :class:`AzureOperationPoller` - or :class:`ClientRawResponse` + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.batchai.models.FileServer] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.batchai.models.FileServer]] :raises: :class:`CloudError` """ + raw_result = self._create_initial( + resource_group_name=resource_group_name, + file_server_name=file_server_name, + parameters=parameters, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('FileServer', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/fileServers/{fileServerName}'} + + + def _delete_initial( + self, resource_group_name, file_server_name, custom_headers=None, raw=False, **operation_config): # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/fileServers/{fileServerName}' + url = self.delete.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'fileServerName': self._serialize.url("file_server_name", file_server_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -184,40 +171,62 @@ def delete( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - def long_running_send(): - - request = self._client.delete(url, query_parameters) - return self._client.send(request, header_parameters, **operation_config) + request = self._client.delete(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) - def get_long_running_status(status_link, headers=None): + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp - request = self._client.get(status_link) - if headers: - request.headers.update(headers) - return self._client.send( - request, header_parameters, **operation_config) + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response - def get_long_running_output(response): + def delete( + self, resource_group_name, file_server_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Delete a file Server. - if response.status_code not in [200, 202, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + :param resource_group_name: Name of the resource group to which the + resource belongs. + :type resource_group_name: str + :param file_server_name: The name of the file server within the + specified resource group. File server names can only contain a + combination of alphanumeric characters along with dash (-) and + underscore (_). The name must be from 1 through 64 characters long. + :type file_server_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + file_server_name=file_server_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + def get_long_running_output(response): if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response - if raw: - response = long_running_send() - return get_long_running_output(response) - - long_running_operation_timeout = operation_config.get( + lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - return AzureOperationPoller( - long_running_send, get_long_running_output, - get_long_running_status, long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/fileServers/{fileServerName}'} def get( self, resource_group_name, file_server_name, custom_headers=None, raw=False, **operation_config): @@ -236,15 +245,13 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`FileServer ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`FileServer ` or - :class:`ClientRawResponse` + :return: FileServer or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.batchai.models.FileServer or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/fileServers/{fileServerName}' + url = self.get.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'fileServerName': self._serialize.url("file_server_name", file_server_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -268,7 +275,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -285,6 +292,7 @@ def get( return client_raw_response return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/fileServers/{fileServerName}'} def list( self, file_servers_list_options=None, custom_headers=None, raw=False, **operation_config): @@ -293,17 +301,16 @@ def list( :param file_servers_list_options: Additional parameters for the operation - :type file_servers_list_options: :class:`FileServersListOptions - ` + :type file_servers_list_options: + ~azure.mgmt.batchai.models.FileServersListOptions :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`FileServer - ` - :rtype: :class:`FileServerPaged - ` + :return: An iterator like instance of FileServer + :rtype: + ~azure.mgmt.batchai.models.FileServerPaged[~azure.mgmt.batchai.models.FileServer] :raises: :class:`CloudError` """ filter = None @@ -320,7 +327,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/providers/Microsoft.BatchAI/fileServers' + url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -353,7 +360,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -371,6 +378,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.BatchAI/fileServers'} def list_by_resource_group( self, resource_group_name, file_servers_list_by_resource_group_options=None, custom_headers=None, raw=False, **operation_config): @@ -383,17 +391,15 @@ def list_by_resource_group( :param file_servers_list_by_resource_group_options: Additional parameters for the operation :type file_servers_list_by_resource_group_options: - :class:`FileServersListByResourceGroupOptions - ` + ~azure.mgmt.batchai.models.FileServersListByResourceGroupOptions :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`FileServer - ` - :rtype: :class:`FileServerPaged - ` + :return: An iterator like instance of FileServer + :rtype: + ~azure.mgmt.batchai.models.FileServerPaged[~azure.mgmt.batchai.models.FileServer] :raises: :class:`CloudError` """ filter = None @@ -410,7 +416,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/fileServers' + url = self.list_by_resource_group.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') @@ -444,7 +450,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -462,3 +468,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/fileServers'} 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 f0e4d1fdf785..699f371251c6 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/jobs_operations.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/jobs_operations.py @@ -12,7 +12,8 @@ import uuid from msrest.pipeline import ClientRawResponse from msrestazure.azure_exceptions import CloudError -from msrestazure.azure_operation import AzureOperationPoller +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling from .. import models @@ -23,49 +24,26 @@ class JobsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. - :ivar api_version: Specifies the version of API used for this request. Constant value: "2017-09-01-preview". + :param deserializer: An object model deserializer. + :ivar api_version: Specifies the version of API used for this request. Constant value: "2018-03-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2017-09-01-preview" + self.api_version = "2018-03-01" self.config = config - def create( - self, resource_group_name, job_name, parameters, custom_headers=None, raw=False, **operation_config): - """Adds a Job that gets executed on a cluster. - :param resource_group_name: Name of the resource group to which the - resource belongs. - :type resource_group_name: str - :param job_name: The name of the job within the specified resource - group. Job names can only contain a combination of alphanumeric - characters along with dash (-) and underscore (_). The name must be - from 1 through 64 characters long. - :type job_name: str - :param parameters: The parameters to provide for job creation. - :type parameters: :class:`JobCreateParameters - ` - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :return: - :class:`AzureOperationPoller` - instance that returns :class:`Job ` or - :class:`ClientRawResponse` if - raw=true - :rtype: - :class:`AzureOperationPoller` - or :class:`ClientRawResponse` - :raises: :class:`CloudError` - """ + def _create_initial( + self, resource_group_name, job_name, parameters, custom_headers=None, raw=False, **operation_config): # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}' + url = self.create.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'jobName': self._serialize.url("job_name", job_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -91,52 +69,29 @@ def create( body_content = self._serialize.body(parameters, 'JobCreateParameters') # Construct and send request - def long_running_send(): - - request = self._client.put(url, query_parameters) - return self._client.send( - request, header_parameters, body_content, **operation_config) - - def get_long_running_status(status_link, headers=None): - - request = self._client.get(status_link) - if headers: - request.headers.update(headers) - return self._client.send( - request, header_parameters, **operation_config) - - def get_long_running_output(response): - - if response.status_code not in [200, 202]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp - - deserialized = None + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) - if response.status_code == 200: - deserialized = self._deserialize('Job', response) + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + deserialized = None - return deserialized + if response.status_code == 200: + deserialized = self._deserialize('Job', response) if raw: - response = long_running_send() - return get_long_running_output(response) + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response - long_running_operation_timeout = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - return AzureOperationPoller( - long_running_send, get_long_running_output, - get_long_running_status, long_running_operation_timeout) + return deserialized - def delete( - self, resource_group_name, job_name, custom_headers=None, raw=False, **operation_config): - """Deletes the specified Batch AI job. + def create( + self, resource_group_name, job_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """Adds a Job that gets executed on a cluster. :param resource_group_name: Name of the resource group to which the resource belongs. @@ -146,21 +101,53 @@ def delete( characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long. :type job_name: str + :param parameters: The parameters to provide for job creation. + :type parameters: ~azure.mgmt.batchai.models.JobCreateParameters :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :return: - :class:`AzureOperationPoller` - instance that returns None or - :class:`ClientRawResponse` if - raw=true + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns Job or + ClientRawResponse if raw==True :rtype: - :class:`AzureOperationPoller` - or :class:`ClientRawResponse` + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.batchai.models.Job] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.batchai.models.Job]] :raises: :class:`CloudError` """ + raw_result = self._create_initial( + resource_group_name=resource_group_name, + job_name=job_name, + parameters=parameters, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('Job', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}'} + + + def _delete_initial( + self, resource_group_name, job_name, custom_headers=None, raw=False, **operation_config): # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}' + url = self.delete.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'jobName': self._serialize.url("job_name", job_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -183,40 +170,62 @@ def delete( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - def long_running_send(): + 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) - return self._client.send(request, header_parameters, **operation_config) - - def get_long_running_status(status_link, headers=None): + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp - request = self._client.get(status_link) - if headers: - request.headers.update(headers) - return self._client.send( - request, header_parameters, **operation_config) + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response - def get_long_running_output(response): + def delete( + self, resource_group_name, job_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Deletes the specified Batch AI job. - if response.status_code not in [200, 202, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + :param resource_group_name: Name of the resource group to which the + resource belongs. + :type resource_group_name: str + :param job_name: The name of the job within the specified resource + group. Job names can only contain a combination of alphanumeric + characters along with dash (-) and underscore (_). The name must be + from 1 through 64 characters long. + :type job_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + job_name=job_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + def get_long_running_output(response): if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response - if raw: - response = long_running_send() - return get_long_running_output(response) - - long_running_operation_timeout = operation_config.get( + lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - return AzureOperationPoller( - long_running_send, get_long_running_output, - get_long_running_status, long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}'} def get( self, resource_group_name, job_name, custom_headers=None, raw=False, **operation_config): @@ -235,15 +244,13 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: :class:`Job ` or - :class:`ClientRawResponse` if - raw=true - :rtype: :class:`Job ` or - :class:`ClientRawResponse` + :return: Job or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.batchai.models.Job or + ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}' + url = self.get.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'jobName': self._serialize.url("job_name", job_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -267,7 +274,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -284,6 +291,7 @@ def get( return client_raw_response return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}'} def list_remote_login_information( self, resource_group_name, job_name, custom_headers=None, raw=False, **operation_config): @@ -303,17 +311,16 @@ def list_remote_login_information( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`RemoteLoginInformation - ` - :rtype: :class:`RemoteLoginInformationPaged - ` + :return: An iterator like instance of RemoteLoginInformation + :rtype: + ~azure.mgmt.batchai.models.RemoteLoginInformationPaged[~azure.mgmt.batchai.models.RemoteLoginInformation] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}/listRemoteLoginInformation' + url = self.list_remote_login_information.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'jobName': self._serialize.url("job_name", job_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -342,7 +349,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.post(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -360,34 +367,13 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_remote_login_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}/listRemoteLoginInformation'} - def terminate( - self, resource_group_name, job_name, custom_headers=None, raw=False, **operation_config): - """Terminates a job. - :param resource_group_name: Name of the resource group to which the - resource belongs. - :type resource_group_name: str - :param job_name: The name of the job within the specified resource - group. Job names can only contain a combination of alphanumeric - characters along with dash (-) and underscore (_). The name must be - from 1 through 64 characters long. - :type job_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :return: - :class:`AzureOperationPoller` - instance that returns None or - :class:`ClientRawResponse` if - raw=true - :rtype: - :class:`AzureOperationPoller` - or :class:`ClientRawResponse` - :raises: :class:`CloudError` - """ + def _terminate_initial( + self, resource_group_name, job_name, custom_headers=None, raw=False, **operation_config): # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}/terminate' + url = self.terminate.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'jobName': self._serialize.url("job_name", job_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -410,56 +396,77 @@ def terminate( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request - def long_running_send(): + 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) - return self._client.send(request, header_parameters, **operation_config) - - def get_long_running_status(status_link, headers=None): + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp - request = self._client.get(status_link) - if headers: - request.headers.update(headers) - return self._client.send( - request, header_parameters, **operation_config) + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response - def get_long_running_output(response): + def terminate( + self, resource_group_name, job_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Terminates a job. - if response.status_code not in [200, 202]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + :param resource_group_name: Name of the resource group to which the + resource belongs. + :type resource_group_name: str + :param job_name: The name of the job within the specified resource + group. Job names can only contain a combination of alphanumeric + characters along with dash (-) and underscore (_). The name must be + from 1 through 64 characters long. + :type job_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._terminate_initial( + resource_group_name=resource_group_name, + job_name=job_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + def get_long_running_output(response): if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response - if raw: - response = long_running_send() - return get_long_running_output(response) - - long_running_operation_timeout = operation_config.get( + lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - return AzureOperationPoller( - long_running_send, get_long_running_output, - get_long_running_status, long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + terminate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}/terminate'} def list( self, jobs_list_options=None, custom_headers=None, raw=False, **operation_config): """Gets information about the jobs associated with the subscription. :param jobs_list_options: Additional parameters for the operation - :type jobs_list_options: :class:`JobsListOptions - ` + :type jobs_list_options: ~azure.mgmt.batchai.models.JobsListOptions :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`Job - ` - :rtype: :class:`JobPaged ` + :return: An iterator like instance of Job + :rtype: + ~azure.mgmt.batchai.models.JobPaged[~azure.mgmt.batchai.models.Job] :raises: :class:`CloudError` """ filter = None @@ -476,7 +483,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/providers/Microsoft.BatchAI/jobs' + url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -509,7 +516,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -527,6 +534,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.BatchAI/jobs'} def list_by_resource_group( self, resource_group_name, jobs_list_by_resource_group_options=None, custom_headers=None, raw=False, **operation_config): @@ -539,16 +547,15 @@ def list_by_resource_group( :param jobs_list_by_resource_group_options: Additional parameters for the operation :type jobs_list_by_resource_group_options: - :class:`JobsListByResourceGroupOptions - ` + ~azure.mgmt.batchai.models.JobsListByResourceGroupOptions :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`Job - ` - :rtype: :class:`JobPaged ` + :return: An iterator like instance of Job + :rtype: + ~azure.mgmt.batchai.models.JobPaged[~azure.mgmt.batchai.models.Job] :raises: :class:`CloudError` """ filter = None @@ -565,7 +572,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs' + url = self.list_by_resource_group.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') @@ -599,7 +606,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -617,11 +624,13 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs'} def list_output_files( self, resource_group_name, job_name, jobs_list_output_files_options, custom_headers=None, raw=False, **operation_config): - """List all files inside the given output directory (Only if the output - directory is on Azure File Share or Azure Storage container). + """List all directories and files inside the given directory of the output + directory (Only if the output directory is on Azure File Share or Azure + Storage container). :param resource_group_name: Name of the resource group to which the resource belongs. @@ -634,21 +643,23 @@ def list_output_files( :param jobs_list_output_files_options: Additional parameters for the operation :type jobs_list_output_files_options: - :class:`JobsListOutputFilesOptions - ` + ~azure.mgmt.batchai.models.JobsListOutputFilesOptions :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`File - ` - :rtype: :class:`FilePaged ` + :return: An iterator like instance of File + :rtype: + ~azure.mgmt.batchai.models.FilePaged[~azure.mgmt.batchai.models.File] :raises: :class:`CloudError` """ outputdirectoryid = None if jobs_list_output_files_options is not None: outputdirectoryid = jobs_list_output_files_options.outputdirectoryid + directory = None + if jobs_list_output_files_options is not None: + directory = jobs_list_output_files_options.directory linkexpiryinminutes = None if jobs_list_output_files_options is not None: linkexpiryinminutes = jobs_list_output_files_options.linkexpiryinminutes @@ -660,7 +671,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}/listOutputFiles' + url = self.list_output_files.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', pattern=r'^[-\w\._]+$'), 'jobName': self._serialize.url("job_name", job_name, 'str', max_length=64, min_length=1, pattern=r'^[-\w\._]+$'), @@ -672,6 +683,8 @@ def internal_paging(next_link=None, raw=False): query_parameters = {} query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') query_parameters['outputdirectoryid'] = self._serialize.query("outputdirectoryid", outputdirectoryid, 'str') + if directory is not None: + query_parameters['directory'] = self._serialize.query("directory", directory, 'str') if linkexpiryinminutes is not None: query_parameters['linkexpiryinminutes'] = self._serialize.query("linkexpiryinminutes", linkexpiryinminutes, 'int', maximum=600, minimum=5) if max_results is not None: @@ -694,7 +707,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.post(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -712,3 +725,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_output_files.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BatchAI/jobs/{jobName}/listOutputFiles'} diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/operations/operations.py b/azure-mgmt-batchai/azure/mgmt/batchai/operations/operations.py index ff374ef130ce..3bca81c3fa99 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/operations/operations.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/operations.py @@ -22,16 +22,18 @@ class Operations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. - :ivar api_version: Specifies the version of API used for this request. Constant value: "2017-09-01-preview". + :param deserializer: An object model deserializer. + :ivar api_version: Specifies the version of API used for this request. Constant value: "2018-03-01". """ + models = models + def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2017-09-01-preview" + self.api_version = "2018-03-01" self.config = config @@ -44,17 +46,16 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of :class:`Operation - ` - :rtype: :class:`OperationPaged - ` + :return: An iterator like instance of Operation + :rtype: + ~azure.mgmt.batchai.models.OperationPaged[~azure.mgmt.batchai.models.Operation] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/providers/Microsoft.BatchAI/operations' + url = self.list.metadata['url'] # Construct parameters query_parameters = {} @@ -77,7 +78,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -95,3 +96,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/providers/Microsoft.BatchAI/operations'} diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/operations/usage_operations.py b/azure-mgmt-batchai/azure/mgmt/batchai/operations/usage_operations.py new file mode 100644 index 000000000000..f304da14cf69 --- /dev/null +++ b/azure-mgmt-batchai/azure/mgmt/batchai/operations/usage_operations.py @@ -0,0 +1,107 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class UsageOperations(object): + """UsageOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Specifies the version of API used for this request. Constant value: "2018-03-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2018-03-01" + + self.config = config + + def list( + self, location, custom_headers=None, raw=False, **operation_config): + """Gets the current usage information as well as limits for Batch AI + resources for given subscription. + + :param location: The location for which resource usage is queried. + :type location: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Usage + :rtype: + ~azure.mgmt.batchai.models.UsagePaged[~azure.mgmt.batchai.models.Usage] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str', pattern=r'^[-\w\._]+$') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # 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: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.UsagePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.UsagePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.BatchAI/locations/{location}/usages'} diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/version.py b/azure-mgmt-batchai/azure/mgmt/batchai/version.py index 9bd1dfac7ecb..a39916c162ce 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 = "0.2.0" +VERSION = "1.0.0" diff --git a/azure-mgmt-batchai/setup.py b/azure-mgmt-batchai/setup.py index ac48680e91a2..302e1729555b 100644 --- a/azure-mgmt-batchai/setup.py +++ b/azure-mgmt-batchai/setup.py @@ -64,7 +64,7 @@ author_email='azpysdkhelp@microsoft.com', url='https://github.com/Azure/azure-sdk-for-python', classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', diff --git a/azure-mgmt-batchai/tests/helpers.py b/azure-mgmt-batchai/tests/helpers.py index fa1573853e8d..a70bce5c5cb6 100644 --- a/azure-mgmt-batchai/tests/helpers.py +++ b/azure-mgmt-batchai/tests/helpers.py @@ -48,8 +48,14 @@ # ID of output directory containing job's standard output STANDARD_OUTPUT_DIRECTORY_ID = 'stdouterr' +# Name of the folder created by BatchAI for storing job's standard output/error folder. +STDOUTERR_FOLDER_NAME = 'stdouterr' + +# Name of the folder created by BatchAI for storing output directories. +OUTPUT_DIRECTORIES_FOLDER_NAME = 'outputs' + # Location to run tests. -LOCATION = 'eastus' +LOCATION = 'westeurope' # Regular expression to validate IP address (we don't need strict validation, just a smoke test enough). RE_ID_ADDRESS = '\d+(?:\.\d+){3}' @@ -106,7 +112,7 @@ def create_file_server(client, location, resource_group, nfs_name, subnet_id=Non def create_cluster(client, location, resource_group, cluster_name, vm_size, target_nodes, storage_account, storage_account_key, file_servers=None, file_systems=None, - subnet_id=None, setup_task_cmd=None, setup_task_env=None): + subnet_id=None, setup_task_cmd=None, setup_task_env=None, setup_task_secrets=None): """Creates a cluster with given parameters and mounted Azure Files :param BatchAIManagementClient client: client instance. @@ -121,6 +127,8 @@ def create_cluster(client, location, resource_group, cluster_name, vm_size, targ :param list(models.UnmanagedFileServerReference) file_systems: file systems. :param str setup_task_cmd: start task cmd line. :param dict[str, str] setup_task_env: environment variables for start task. + :param dict[str, str] setup_task_secrets: environment variables with secret values for start task, server doesn't + return values for these environment variables in get cluster responses. :param str subnet_id: virtual network subnet id. :return models.Cluster: the created cluster """ @@ -129,7 +137,8 @@ def create_cluster(client, location, resource_group, cluster_name, vm_size, targ if setup_task_cmd: setup_task = models.SetupTask( command_line=setup_task_cmd, - environment_variables=[models.EnvironmentSetting(k, v) for k, v in setup_task_env.items()], + environment_variables=[models.EnvironmentVariable(name=k, value=v) for k, v in setup_task_env.items()], + secrets=[models.EnvironmentVariableWithSecretValue(name=k, value=v) for k, v in setup_task_secrets.items()], std_out_err_path_prefix='$AZ_BATCHAI_MOUNT_ROOT/{0}'.format(AZURE_FILES_MOUNTING_PATH)) return client.clusters.create( resource_group, @@ -160,7 +169,9 @@ def create_cluster(client, location, resource_group, cluster_name, vm_size, targ user_account_settings=models.UserAccountSettings( admin_user_name=ADMIN_USER_NAME, admin_user_password=ADMIN_USER_PASSWORD - ))).result() + ), + vm_priority='lowpriority' + )).result() def create_custom_job(client, resource_group, location, cluster_id, job_name, nodes, cmd, job_preparation_cmd=None, @@ -180,13 +191,13 @@ def create_custom_job(client, resource_group, location, cluster_id, job_name, no """ job_preparation = None if job_preparation_cmd: - job_preparation = models.JobPreparation(job_preparation_cmd) + job_preparation = models.JobPreparation(command_line=job_preparation_cmd) return client.jobs.create( resource_group, job_name, parameters=models.JobCreateParameters( location=location, - cluster=models.ResourceId(cluster_id), + cluster=models.ResourceId(id=cluster_id), node_count=nodes, std_out_err_path_prefix='$AZ_BATCHAI_MOUNT_ROOT/{0}'.format(AZURE_FILES_MOUNTING_PATH), output_directories=[models.OutputDirectory( @@ -338,7 +349,7 @@ def get_node_ids(client, resource_group, cluster_name): return [n.node_id for n in list(client.clusters.list_remote_login_information(resource_group, cluster_name))] -def assert_job_files_are(test, client, resource_group, job_name, output_directory_id, expected): +def assert_job_files_in_path_are(test, client, resource_group, job_name, output_directory_id, path, expected): """Checks that the given task has expected output :param AzureMgmtTestCase test: test instance. @@ -346,22 +357,52 @@ def assert_job_files_are(test, client, resource_group, job_name, output_director :param str resource_group: resource group name. :param str job_name: job name. :param str output_directory_id: output directory id. - :param dict(str, str) expected: expected content. + :param str path: a path inside of output directory. + :param dict(str, str or None) expected: expected content, directories must have None value. """ paged = client.jobs.list_output_files(resource_group, job_name, models.JobsListOutputFilesOptions( - output_directory_id)) + outputdirectoryid=output_directory_id, directory=path)) files = paged.get(paged.current_page) actual = dict() + execution_log_found = False for f in files: - v = requests.get(f.download_url).content - actual[f.name] = v if isinstance(v, six.string_types) else v.decode() + if (output_directory_id == STANDARD_OUTPUT_DIRECTORY_ID and f.name.startswith('execution') and + f.name.endswith('.log')): + execution_log_found = True + continue + actual[f.name] = None + if not f.is_directory: + v = requests.get(f.download_url).content + actual[f.name] = v if isinstance(v, six.string_types) else v.decode() test.assertEquals(sorted(actual.keys()), sorted(expected.keys())) for k, v in expected.items(): a = actual[k] + if a is None and v is None: + # both are directories + continue + if v is None: + test.fail('Expected {0} to be a directory, got a file'.format(k)) + if a is None: + test.fail('Expected {0} to be a file, got a directory'.format(k)) if isinstance(v, six.string_types): - test.assertEquals(a, v, k) + test.assertEquals(v, a, k + "expected {0} got {1}".format(v, a)) else: test.assertRegexpMatches(actual.get(k), v, k) + if output_directory_id == STANDARD_OUTPUT_DIRECTORY_ID and not execution_log_found: + test.fail("No execution log was generated for the job.") + + +def assert_job_files_are(test, client, resource_group, job_name, output_directory_id, expected): + """Checks that the given task has expected output in the root of its output directory + + :param AzureMgmtTestCase test: test instance. + :param BatchAIManagementClient client: client instance. + :param str resource_group: resource group name. + :param str job_name: job name. + :param str output_directory_id: output directory id. + :param dict(str, str) expected: expected content, directories must have None value. + """ + assert_job_files_in_path_are(test, client, resource_group, job_name, output_directory_id, '.', expected) def assert_existing_clusters_are(test, client, resource_group, expected): @@ -408,7 +449,7 @@ def assert_file_in_file_share(test, storage_account, storage_account_key, direct class ClusterPreparer(AzureMgmtPreparer): """Batch AI cluster preparer""" def __init__(self, - location='eastus', + location=LOCATION, vm_size='STANDARD_D1', target_nodes=1, wait=True, @@ -429,7 +470,7 @@ def __init__(self, def create_resource(self, name, **kwargs): if self.is_live: - self.client = self.create_mgmt_client(BatchAIManagementClient) + self.client = create_batchai_client(self) group = self._get_resource_group(**kwargs) self.resource = create_cluster(self.client, self.location, group.name, name, self.vm_size, self.target_nodes, self._get_storage_account(**kwargs).name, @@ -438,7 +479,7 @@ def create_resource(self, name, **kwargs): wait_for_nodes(self.is_live, self.client, group.name, name, self.target_nodes, NODE_STARTUP_TIMEOUT_SEC) else: self.resource = models.Cluster() - self.resource.id = models.ResourceId('fake') + self.resource.id = models.ResourceId(id='fake') return {self.parameter_name: self.resource} def remove_resource(self, name, **kwargs): @@ -469,3 +510,22 @@ def _get_storage_account_key(self, **kwargs): template = 'To create a cluster a storage account is required. Please add ' \ 'decorator @{} in front of this cluster preparer.' raise AzureTestError(template.format(StorageAccountPreparer.__name__)) + + +def create_batchai_client(preparer): + """Creates a Batch AI management client for tests. + + To create a custom version of the client (e.g. for integration environment), create + custom_client.py file with create() method returning the instance of the client. + + :param AzureMgmtPreparer preparer: an instance of AzureMgmtPreparer + :returns BatchAIManagementClient: an instance of Batch AI management client + """ + try: + from . import custom_client + except ImportError: + custom_client = None + if custom_client is not None: + return custom_client.create() + else: + return preparer.create_mgmt_client(BatchAIManagementClient) diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_auto_scaling.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_auto_scaling.yaml index d5bc28802957..bdad11ebd921 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_auto_scaling.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_auto_scaling.yaml @@ -4,55 +4,56 @@ interactions: headers: Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.5.3; Linux 4.10.0-35-generic)] - x-ms-date: ['Wed, 27 Sep 2017 21:43:53 GMT'] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Thu, 15 Mar 2018 23:23:28 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://psdk9854121a.file.core.windows.net/share?restype=share response: body: {string: ''} headers: - date: ['Wed, 27 Sep 2017 21:43:53 GMT'] - etag: ['"0x8D505F0D8F4F7DB"'] - last-modified: ['Wed, 27 Sep 2017 21:43:53 GMT'] + date: ['Thu, 15 Mar 2018 23:23:28 GMT'] + etag: ['"0x8D58ACBC2B7CCE2"'] + last-modified: ['Thu, 15 Mar 2018 23:23:29 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] status: {code: 201, message: Created} - request: - body: '{"properties": {"userAccountSettings": {"adminUserName": "demoUser", "adminUserPassword": - "Dem0Pa$$w0rd"}, "scaleSettings": {"manual": {"nodeDeallocationOption": "requeue", - "targetNodeCount": 0}}, "vmSize": "STANDARD_D1", "vmPriority": "dedicated", - "nodeSetup": {"mountVolumes": {"azureFileShares": [{"azureFileUrl": "https://psdk9854121a.file.core.windows.net/share", - "fileMode": "0777", "relativeMountPath": "azfiles", "directoryMode": "0777", - "accountName": "psdk9854121a", "credentialsInfo": {"accountKey": "KnNuyNHc6uxQqm/6PD42od/hAZ6vaN1WeXvNl6BS8HiDG2n+ZyLU5T17uFofxElYP/s1043cQ0wb77yCJsoLJg=="}}]}}}, - "location": "eastus"}' + body: '{"location": "westeurope", "properties": {"vmSize": "STANDARD_D1", "vmPriority": + "lowpriority", "scaleSettings": {"manual": {"targetNodeCount": 0, "nodeDeallocationOption": + "requeue"}}, "nodeSetup": {"mountVolumes": {"azureFileShares": [{"accountName": + "psdk9854121a", "azureFileUrl": "https://psdk9854121a.file.core.windows.net/share", + "credentials": {"accountKey": "Vfp52bETpw9iB8x+u0WVw2vwQRHY5F4WMqkx1nrkyTqh8wzGQwgAXIEGwwROAejWb9D7/oyy22Prgn8IZQCsCQ=="}, + "relativeMountPath": "azfiles", "fileMode": "0777", "directoryMode": "0777"}]}}, + "userAccountSettings": {"adminUserName": "demoUser", "adminUserPassword": "Dem0Pa$$w0rd"}}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['630'] + Content-Length: ['632'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f2b5fa45-ff09-4fcf-9e82-96cb0cd726b2?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/ab5f9770-0679-4ef0-8556-2b6cd3c7df0b?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 21:43:55 GMT'] + date: ['Thu, 15 Mar 2018 23:23:32 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f2b5fa45-ff09-4fcf-9e82-96cb0cd726b2?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/ab5f9770-0679-4ef0-8556-2b6cd3c7df0b?api-version=2018-03-01'] pragma: [no-cache] - request-id: [bbd9df58-ab09-446f-b894-62386cce6aca] + request-id: [386da4de-8885-4bf0-ac5e-3d58c5e07dd6] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -60,22 +61,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f2b5fa45-ff09-4fcf-9e82-96cb0cd726b2?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/ab5f9770-0679-4ef0-8556-2b6cd3c7df0b?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f2b5fa45-ff09-4fcf-9e82-96cb0cd726b2","name":"f2b5fa45-ff09-4fcf-9e82-96cb0cd726b2","status":"Succeeded","startTime":"2017-09-27T21:43:55.231Z","endTime":"2017-09-27T21:43:56.288Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_auto_scaling9854121a$cluster9854121a"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/ab5f9770-0679-4ef0-8556-2b6cd3c7df0b","name":"ab5f9770-0679-4ef0-8556-2b6cd3c7df0b","status":"Succeeded","startTime":"2018-03-15T23:23:32.879Z","endTime":"2018-03-15T23:23:33.754Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_auto_scaling9854121a$cluster9854121a"}}'} headers: cache-control: [no-cache] - content-length: ['466'] + content-length: ['470'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:44:11 GMT'] + date: ['Thu, 15 Mar 2018 23:23:48 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [8a53e880-21e9-4512-9835-be9410e3e152] + request-id: [59490b79-7271-4cbd-b533-b76f90056d31] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -88,24 +88,23 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:43:57.664Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:23:34.184Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1235'] + content-length: ['1204'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:44:13 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:23:50 GMT'] + etag: ['"0x8D58ACBC4DFE537"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:32 GMT'] pragma: [no-cache] - request-id: [0e3c1cc8-ade0-462f-8b65-5b663f2a5ef0] + request-id: [adf156f4-469b-4284-a2a2-d6409e72b369] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -113,74 +112,132 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: '{"properties": {"scaleSettings": {"autoScale": {"initialNodeCount": 0, - "minimumNodeCount": 0, "maximumNodeCount": 1}}}}' + body: '{"properties": {"scaleSettings": {"autoScale": {"minimumNodeCount": 0, + "maximumNodeCount": 1, "initialNodeCount": 0}}}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['119'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:43:57.664Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:23:34.184Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1246'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:44:14 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:23:51 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [0c57b557-381b-49f2-b19b-9b6ec7f8c3a9] + request-id: [d528eacb-b5aa-4b38-8665-081e37714665] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: - body: 'b''{"properties": {"customToolkitSettings": {"commandLine": "echo hello - | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"}, "priority": 0, "inputDirectories": - [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "cluster": + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"}, - "nodeCount": 1, "outputDirectories": [{"createNew": true, "type": "custom", - "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "id": "OUTPUTS", "pathSuffix": - "files"}], "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles"}, "location": - "eastus"}''' + "nodeCount": 1, "customToolkitSettings": {"commandLine": "echo hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"}, + "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": + [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": + [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": + "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['659'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/8fe0d318-68c9-4676-b76e-1ebe7dc046ff?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/4a2592bb-f9bd-46eb-9403-34e9001edfb3?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 21:44:16 GMT'] + date: ['Thu, 15 Mar 2018 23:23:54 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/8fe0d318-68c9-4676-b76e-1ebe7dc046ff?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/4a2592bb-f9bd-46eb-9403-34e9001edfb3?api-version=2018-03-01'] pragma: [no-cache] - request-id: [27b7723a-5d36-411c-9cbb-53eedd276f18] + request-id: [4db6e362-20fb-458c-adcb-d7870d3baae7] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/4a2592bb-f9bd-46eb-9403-34e9001edfb3?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/4a2592bb-f9bd-46eb-9403-34e9001edfb3","name":"4a2592bb-f9bd-46eb-9403-34e9001edfb3","status":"Succeeded","startTime":"2018-03-15T23:23:55.323Z","endTime":"2018-03-15T23:23:56.198Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_auto_scaling9854121a$host_job"}}'} + headers: + cache-control: [no-cache] + content-length: ['463'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 23:24:11 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [4280bdb8-22dd-4ca5-ba52-9920cdbd8bce] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} + headers: + cache-control: [no-cache] + content-length: ['1279'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 23:24:13 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] + expires: ['-1'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] + pragma: [no-cache] + request-id: [3d64dc22-ba93-43c3-9982-c6fde8e6d0c7] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} - request: body: null headers: @@ -188,21 +245,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/8fe0d318-68c9-4676-b76e-1ebe7dc046ff?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/8fe0d318-68c9-4676-b76e-1ebe7dc046ff","name":"8fe0d318-68c9-4676-b76e-1ebe7dc046ff","status":"Succeeded","startTime":"2017-09-27T21:44:16.206Z","endTime":"2017-09-27T21:44:17.633Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_auto_scaling9854121a$host_job"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['459'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:44:32 GMT'] + date: ['Thu, 15 Mar 2018 23:24:14 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [a33f85cc-91fa-4b3c-8ccb-5df7fb764f8b] + request-id: [6a47557e-e19f-486b-90d0-107bbcae22cc] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -216,24 +277,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:44:34 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:24:37 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [57ebf1c7-5e14-46f0-8bdf-5946b362416e] + request-id: [2381afb9-3873-43c7-9e52-f11b25cff749] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -247,24 +309,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:44:34 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:24:59 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [8413fcd9-295b-4ed8-b1a4-f211c0fb16e0] + request-id: [a4c40ff2-d0c0-47e0-99f9-66775b88181e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -278,24 +341,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:44:56 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:25:20 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [e1b8e32e-d8ca-48b3-9d86-cf4649088843] + request-id: [2793ed5d-d37f-40b0-ab1e-3c8cfaa27ab4] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -309,24 +373,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:45:26 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:25:43 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [ce56e829-08c7-4b49-8a01-0a1d5b0dc007] + request-id: [e7b96eae-180d-4694-a831-7d0bb2158dd9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -340,24 +405,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:45:47 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:26:04 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [f8ea2b4d-e830-47d3-9316-0b0832c3c436] + request-id: [2c6117d8-4658-42f8-a810-136516497693] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -371,24 +437,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:46:09 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:26:26 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [3d4e4fe0-1235-426b-8033-bc144c6f68c3] + request-id: [35c7f17b-5375-487d-9c4c-64a0942d5fd5] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -402,24 +469,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:46:31 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:26:47 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [d5cdfbe6-b6ed-4d38-afd9-c4d2ee0a385a] + request-id: [bff1243a-cb7f-465f-a097-4ec09a9b5b14] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -433,24 +501,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:46:53 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:27:09 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [b0d1de19-3a94-4504-bf62-f8bf4fe58ac9] + request-id: [343c6a11-0baf-4d3e-9d8c-2fccd5766ac1] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -464,24 +533,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:47:15 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:27:30 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [6124c2e9-c21c-4378-9935-ee2f8fce4db3] + request-id: [2a1eef58-5065-4a59-90a0-fbaf5aec0b8a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -495,24 +565,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:47:35 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:27:52 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [b8316686-f5e6-483e-adee-ab390dec3830] + request-id: [4c023387-530e-41e0-bd95-c6a08cfef259] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -526,24 +597,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:47:58 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:28:13 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [1f25bdc5-7069-4c76-954f-95e27f06c4a0] + request-id: [f2726df5-e77c-4169-9bc8-a57b3d929a99] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -557,24 +629,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:48:19 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:28:35 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [457abf24-069e-4646-9d11-54114170da4d] + request-id: [67828e5e-58a5-453f-93bc-1d36c877177b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -588,24 +661,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:48:40 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:28:57 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [3b8bf15b-1750-401b-9903-06d8e646ae1f] + request-id: [eadd444e-bdce-4caa-ad67-81981b06d1b2] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -619,24 +693,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:49:04 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:29:18 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [27fa084b-0a76-4094-90bf-a34287f43b1f] + request-id: [1bf6f4c7-fe74-4f63-a437-cb874d9d1613] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -650,24 +725,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:49:26 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:29:40 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [8ababeda-d7d8-4957-a96f-fe68615b2dd3] + request-id: [0b965e53-ce0a-4dc6-8c16-459de4732632] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -681,24 +757,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:49:47 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:30:01 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [6132d144-f1c6-4223-8335-abfc7a163a2b] + request-id: [7ab121dd-98de-4193-9deb-c4fe207ae398] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -712,24 +789,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:50:08 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:30:22 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [90b7eaf4-f59b-4dcf-a2ae-53bfe3358aa2] + request-id: [c0499624-7edc-4caa-a03c-cbdf5a53bbde] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -743,24 +821,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:50:30 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:30:44 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [1fd16cde-d1d0-4ec3-9472-903c4c9480c7] + request-id: [940d008e-006e-4bee-81d3-e9101ce53355] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -774,24 +853,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:50:51 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:31:05 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [971abe15-e4f2-41af-b010-35228a3ca0a4] + request-id: [6da89d28-639f-4575-bd35-e4a6a26aa358] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -805,24 +885,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:51:13 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:31:27 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [e84eb922-21e4-485a-85a2-dcaf536d67f5] + request-id: [3c5957f3-cdaf-4f07-a0dc-27412beef860] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -836,24 +917,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:51:34 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:31:49 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [cca131e8-7a39-4650-860c-a20bf18e09a3] + request-id: [3b488179-af3f-43bb-8310-efe8979838fc] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -867,24 +949,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:51:55 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:32:10 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [191a8f28-7ebc-4778-805e-6ba98b6f920e] + request-id: [8ed19ea8-3f31-49fa-9ed3-3992201bb80a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -898,24 +981,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:52:17 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:32:32 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [e84c03c7-fad3-4f1e-b54c-976d2715e1ff] + request-id: [2f57e691-da0d-48f2-bec5-c61a9ac34c2c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -929,24 +1013,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:52:38 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:32:53 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [e0bc5856-15f6-4b4d-b309-96074f68f2c6] + request-id: [377795a5-de02-4da5-a9a9-fbe7b47e3333] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -960,24 +1045,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:53:00 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:33:14 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [705aa0eb-b926-42bb-ad22-9e989ff3e5d0] + request-id: [9b05e511-1cb4-4fb1-9539-b58939d52a0f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -991,24 +1077,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:53:21 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:33:36 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [fe03e944-44a5-41c5-9964-c326bc3ea0a8] + request-id: [1cf882f6-4089-4f46-a42e-9144aa8b624c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1022,24 +1109,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:53:43 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:33:57 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [6a4c04ff-fd06-4845-bab6-ce02371da43a] + request-id: [0305a991-a2d5-4224-bfd9-ce4b9475bb91] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1053,24 +1141,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:54:03 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:34:18 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [14d62956-97a3-43ed-8867-d540543b2afa] + request-id: [e384ae40-5675-49d8-b765-87c5ca72eb94] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1084,24 +1173,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:54:25 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:34:39 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [6cccf932-37a4-4164-93c7-608df6ce23d6] + request-id: [c8954e8f-4664-4106-a938-7366d9ab9f8a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1115,24 +1205,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:54:46 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:35:01 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [7e82f380-fe1e-409d-8984-5b7bb962e906] + request-id: [16b4166f-90b9-4e13-b3bb-0cdd89c90d1f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1146,24 +1237,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:55:06 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:35:22 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [4aab6b74-7f18-42e3-9335-dcdebb397719] + request-id: [68ae8ec1-ed96-472c-855c-abb54d3de11c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1177,24 +1269,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:55:27 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:35:44 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [33d19fa6-5430-4c66-a68b-76f35d926d40] + request-id: [11d4acf2-dff7-4edb-a436-1966c776df3f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1208,24 +1301,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:55:49 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:36:05 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [1e6e92e9-f141-46fd-871f-97586796c97b] + request-id: [04fce068-4744-4e55-816f-a2e78a10f96b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1239,24 +1333,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:56:11 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:36:27 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [4f0364aa-4a39-471d-8eda-19a19caea1b9] + request-id: [8d6b5726-7d24-40ff-841c-d84c0767160c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1270,24 +1365,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:56:32 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:36:49 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [8cbabbc5-e94d-4b28-b832-a3563574ad72] + request-id: [2f91d961-87b6-42c1-bc4f-ea5a5549b8ad] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1301,24 +1397,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:56:53 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:37:10 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [4954e418-1ca9-4a77-933f-373c63e56ff4] + request-id: [60eb4de8-4967-4316-aab4-7c5803299d4e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1332,24 +1429,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:57:15 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:37:32 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [ecab463f-d2bf-4100-b557-47a2c60eab6d] + request-id: [24a45570-80de-4f67-b7ee-054b6e472b1c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1363,24 +1461,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Queued","executionStateTransitionTime":"2017-09-27T21:44:18.022Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"queued","executionStateTransitionTime":"2018-03-15T23:23:55.308Z"}}'} headers: cache-control: [no-cache] - content-length: ['1125'] + content-length: ['1279'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:57:35 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:37:54 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [863ed302-a3ec-4fcf-80d1-51dd669633c1] + request-id: [f5030805-38e1-4194-a6b4-14e4c5d2f9c2] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1394,24 +1493,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:44:16.19Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:44:17.617Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T21:57:44.232Z","executionInfo":{"startTime":"2017-09-27T21:44:17.92Z","endTime":"2017-09-27T21:57:44.232Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-15T23:23:55.308Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-15T23:23:56.167Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-15T23:38:07.901Z","executionInfo":{"startTime":"2018-03-15T23:38:05.998Z","endTime":"2018-03-15T23:38:07.901Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1234'] + content-length: ['1389'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:57:57 GMT'] - etag: ['"0x8D505F0E6998E3E"'] + date: ['Thu, 15 Mar 2018 23:38:15 GMT'] + etag: ['"0x8D58ACBD23E3B4D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:44:16 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:55 GMT'] pragma: [no-cache] - request-id: [8d1ba644-8875-4955-b8e3-f02788ce5d6a] + request-id: [6ea53a9a-69c8-4c78-85ac-fc0d74ad426e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1426,21 +1526,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?linkexpiryinminutes=60&api-version=2017-09-01-preview&outputdirectoryid=OUTPUTS&maxresults=1000 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=OUTPUTS&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"hi.txt","downloadUrl":"https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=YemHcSffOH0rHlOrgOXlTIhLNclPDvpwt1htYJm%2FyW4%3D&se=2017-09-27T22%3A57%3A59Z&sp=rl","properties":{"lastModified":"2017-09-27T21:57:43Z","contentLength":6}}]}'} + body: {string: '{"value":[{"name":"hi.txt","isDirectory":false,"downloadUrl":"https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=LkoI6NfCx1mbOpQUfKMC2WBraQyvPTX%2BUmwoaP7UYPI%3D&se=2018-03-16T00%3A38%3A17Z&sp=rl","properties":{"lastModified":"2018-03-15T23:38:07Z","contentLength":6}}]}'} headers: cache-control: [no-cache] - content-length: ['396'] + content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:57:58 GMT'] + date: ['Thu, 15 Mar 2018 23:38:16 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [a66af2e3-0d26-4f24-8184-c1f810d954d9] + request-id: [bcd3c283-a638-4fdf-946d-9180ecbf1f86] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1455,7 +1556,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=YemHcSffOH0rHlOrgOXlTIhLNclPDvpwt1htYJm%2FyW4%3D&se=2017-09-27T22%3A57%3A59Z&sp=rl + uri: https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=LkoI6NfCx1mbOpQUfKMC2WBraQyvPTX%2BUmwoaP7UYPI%3D&se=2018-03-16T00%3A38%3A17Z&sp=rl response: body: {string: 'hello @@ -1464,9 +1565,9 @@ interactions: accept-ranges: [bytes] content-length: ['6'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 21:58:00 GMT'] - etag: ['"0x8D505F2C7E26432"'] - last-modified: ['Wed, 27 Sep 2017 21:57:43 GMT'] + date: ['Thu, 15 Mar 2018 23:38:17 GMT'] + etag: ['"0x8D58ACDCE0EEDC3"'] + last-modified: ['Thu, 15 Mar 2018 23:38:07 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -1479,21 +1580,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?linkexpiryinminutes=60&api-version=2017-09-01-preview&outputdirectoryid=stdouterr&maxresults=1000 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"stderr.txt","downloadUrl":"https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/stderr.txt?sv=2016-05-31&sr=f&sig=nsYFnnGH6ioMOC%2Bqcn4onLVZkxAbFQxy8zAACC3eTcw%3D&se=2017-09-27T22%3A58%3A01Z&sp=rl","properties":{"lastModified":"2017-09-27T21:57:43Z","contentLength":0}},{"name":"stdout.txt","downloadUrl":"https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/stdout.txt?sv=2016-05-31&sr=f&sig=KTukWnQsmviwzpf3Zmuyejlx35ootZI8vZDrI6hIWZg%3D&se=2017-09-27T22%3A58%3A01Z&sp=rl","properties":{"lastModified":"2017-09-27T21:57:43Z","contentLength":6}}]}'} + body: {string: '{"value":[{"name":"execution.log","isDirectory":false,"downloadUrl":"https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af/stdouterr/execution.log?sv=2016-05-31&sr=f&sig=PXnfKVikYupYp3IZHpYsQ8IDM0jI5uqZLU85fAie1JU%3D&se=2018-03-16T00%3A38%3A19Z&sp=rl","properties":{"lastModified":"2018-03-15T23:38:07Z","contentLength":181}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=99GMa5rZktzxS4OsBN8Z8tNBuVuOMvR7yxzJnq1Ctjs%3D&se=2018-03-16T00%3A38%3A19Z&sp=rl","properties":{"lastModified":"2018-03-15T23:38:07Z","contentLength":0}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=j9B%2BZNa2CQsrWC%2FWi%2FLFdqwIeD7qDWrZtJxzbI9N2ZE%3D&se=2018-03-16T00%3A38%3A19Z&sp=rl","properties":{"lastModified":"2018-03-15T23:38:07Z","contentLength":6}}]}'} headers: cache-control: [no-cache] - content-length: ['767'] + content-length: ['1357'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:58:00 GMT'] + date: ['Thu, 15 Mar 2018 23:38:18 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [42d24673-ee8c-475e-85fd-ec62d4118068] + request-id: [d38b86e0-7037-475b-9b96-2b4418cd795d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1508,16 +1610,16 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/stderr.txt?sv=2016-05-31&sr=f&sig=nsYFnnGH6ioMOC%2Bqcn4onLVZkxAbFQxy8zAACC3eTcw%3D&se=2017-09-27T22%3A58%3A01Z&sp=rl + uri: https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=99GMa5rZktzxS4OsBN8Z8tNBuVuOMvR7yxzJnq1Ctjs%3D&se=2018-03-16T00%3A38%3A19Z&sp=rl response: body: {string: ''} headers: accept-ranges: [bytes] content-length: ['0'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 21:58:00 GMT'] - etag: ['"0x8D505F2C7CFC30A"'] - last-modified: ['Wed, 27 Sep 2017 21:57:43 GMT'] + date: ['Thu, 15 Mar 2018 23:38:19 GMT'] + etag: ['"0x8D58ACDCE037A02"'] + last-modified: ['Thu, 15 Mar 2018 23:38:07 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -1530,7 +1632,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/stdout.txt?sv=2016-05-31&sr=f&sig=KTukWnQsmviwzpf3Zmuyejlx35ootZI8vZDrI6hIWZg%3D&se=2017-09-27T22%3A58%3A01Z&sp=rl + uri: https://psdk9854121a.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_auto_scaling9854121a/jobs/host_job/1762ced7-d948-4d8d-a67a-4fcf1b98e6af/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=j9B%2BZNa2CQsrWC%2FWi%2FLFdqwIeD7qDWrZtJxzbI9N2ZE%3D&se=2018-03-16T00%3A38%3A19Z&sp=rl response: body: {string: 'hello @@ -1539,9 +1641,9 @@ interactions: accept-ranges: [bytes] content-length: ['6'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 21:58:00 GMT'] - etag: ['"0x8D505F2C7E46067"'] - last-modified: ['Wed, 27 Sep 2017 21:57:43 GMT'] + date: ['Thu, 15 Mar 2018 23:38:20 GMT'] + etag: ['"0x8D58ACDCE10C2D8"'] + last-modified: ['Thu, 15 Mar 2018 23:38:07 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -1553,23 +1655,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:58:02 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:38:22 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [ba7c65da-3c6a-4d86-995f-7dca02fac9f2] + request-id: [ed7aff2e-b4b8-42b4-a6e1-2bab1ef24c2d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1583,23 +1686,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:58:23 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:38:44 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [4d1e60a6-0244-447e-a8e3-4771fe49d270] + request-id: [9e523e44-2a07-49e7-9524-bf7ee85e330a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1613,23 +1717,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:58:45 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:39:05 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [94140c52-faa6-4671-a31c-1ef65a22973e] + request-id: [dcef0027-44d0-4ec4-af82-96b7499f34bb] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1643,23 +1748,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:59:05 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:39:27 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [6722b337-ed6a-487f-bc53-3a5e6eb280c8] + request-id: [99c7adf1-ddc7-4350-9ff5-7df3685d5c46] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1673,23 +1779,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:59:27 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:39:49 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [ca4ec5a0-6568-4061-bd5d-a8547106b7d9] + request-id: [74b5ff94-b703-4a75-b961-dbbbdc40b1b6] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1703,23 +1810,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:59:48 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:40:09 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [32042894-775b-418e-aa93-0d9de2738251] + request-id: [04e367f0-1714-407f-965c-ae05f8ba23b8] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1733,23 +1841,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:00:09 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:40:32 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [e84767e6-c6dd-41de-b337-3ad951059a5c] + request-id: [62e2a2aa-244b-444d-a7b7-82d7e2415464] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1763,23 +1872,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:00:30 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:40:53 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [9b56994c-9705-42dd-83fc-388fd591495d] + request-id: [9b2959fd-3a57-4611-b17f-7f0adb221421] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1793,23 +1903,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:00:52 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:41:15 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [e8cf7cc8-d7e5-4d17-a3e1-ed0831c64c83] + request-id: [680a7077-d58c-42b8-b0b2-8cf05fa01e25] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1823,23 +1934,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:01:13 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:41:36 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [4d40ca60-27e7-4933-844c-b4242718bca4] + request-id: [c73b793d-7958-4dbd-8278-88fe39a60de8] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1853,23 +1965,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:01:34 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:41:57 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [7e9832c2-9f98-4f27-adbd-18d267a280bb] + request-id: [4704a650-fa1d-4884-99b9-8432c321ae05] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1883,23 +1996,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:01:55 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:42:19 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [117137d7-593b-4f4f-b67a-98a841f3893e] + request-id: [61627549-2178-419f-a09e-ce724f96a62a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1913,23 +2027,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:02:17 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:42:40 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [fe281eea-1edc-45e5-8d88-a67d74a3d0f0] + request-id: [f4aa3a28-07fc-40e4-896b-5144fffaa19d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1943,23 +2058,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:02:37 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:43:01 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [b7552772-aca7-474c-af34-16d5b17fcf0f] + request-id: [0402f2b9-bd10-49b4-b8a7-fa21f733fad0] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1973,23 +2089,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:35:14.079Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:02:59 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:43:23 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [2b591273-3013-4363-a736-83b63e193c8e] + request-id: [05c4409f-c7d9-416e-9dbe-e39d35e383bc] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2003,23 +2120,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:03:21 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:43:44 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [538d62d8-b4da-49da-8784-4a3ba5c92c12] + request-id: [e61477a3-6827-4187-b767-f5d3bbe546db] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2033,23 +2151,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:03:42 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:44:07 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [5c953811-649b-465f-81d6-ef1d5c9ca25c] + request-id: [f265a832-6656-436a-835d-9023a2980053] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2063,23 +2182,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T21:55:24.63Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1245'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:04:04 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:44:28 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [8a7c9ff7-9c17-4122-b09b-5f899a923069] + request-id: [d3496a5c-c650-43e1-9190-b711159f9364] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2093,23 +2213,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:03:57.72Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1247'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:04:25 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:44:50 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [1b16b18c-0b50-45f3-bd22-bda5490f5e0c] + request-id: [fc5cd415-a6ef-4f34-b457-2c8f152f2f0b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2123,23 +2244,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:03:57.72Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1247'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:04:47 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:45:11 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [57f69605-7b22-4832-ab4f-ab05f0a35164] + request-id: [f655ebd4-546a-43a1-bd44-3789ae09de0d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2153,23 +2275,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:03:57.72Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1247'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:05:07 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:45:33 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [8b699a87-edcf-446f-a4fc-33ab9888f339] + request-id: [15c66593-9e68-4995-8fca-80a30442b27f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2183,23 +2306,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:03:57.72Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1247'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:05:29 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:45:55 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [52fb8840-ab80-4147-89fa-abd564a52b8d] + request-id: [99a9ccc7-968b-4e2e-8976-566040329918] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2213,23 +2337,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:03:57.72Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1247'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:05:51 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:46:17 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [a9afaf14-845f-4152-a041-d37a892b5e57] + request-id: [44d219ba-3bec-49c8-92e0-898fd09d58d3] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2243,23 +2368,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:03:57.72Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1247'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:06:12 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:46:38 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [83e62a40-a78d-4fec-b54a-244eaaf9c0fb] + request-id: [24230f94-bf14-4a03-8331-47ea708d8431] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2273,23 +2399,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:03:57.72Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1247'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:06:34 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:46:59 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [cc0b5ee5-d00a-42a8-9b82-dc76299655a6] + request-id: [099684d9-0483-4468-bbb4-64e6223b15bf] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2303,23 +2430,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:03:57.72Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1247'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:06:55 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:47:21 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [0dfc0dbb-59ee-493a-80e7-900b134cbebc] + request-id: [615e8433-7a67-478c-a1df-bad4f2a73ff2] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2333,23 +2461,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:03:57.72Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1247'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:07:17 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:47:42 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [510a84dc-2b20-4a31-8c42-494922f41ea3] + request-id: [81820538-a3fd-433c-a166-147c1a125987] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2363,23 +2492,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:03:57.72Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:43:34.159Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1247'] + content-length: ['1217'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:07:37 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:48:04 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [5a3ba51a-ff5e-4f11-8e88-61e5a54ad12c] + request-id: [ff21bcde-847b-4cca-9777-76ce432cd63e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2393,53 +2523,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:03:57.72Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:23:32.879Z","allocationStateTransitionTime":"2018-03-15T23:48:25.626Z","provisioningStateTransitionTime":"2018-03-15T23:23:33.726Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1247'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:08:00 GMT'] - etag: ['"0x8D505F0DA191140"'] + date: ['Thu, 15 Mar 2018 23:48:25 GMT'] + etag: ['"0x8D58ACBD02DEC1D"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:23:51 GMT'] pragma: [no-cache] - request-id: [1a277211-9720-429f-822a-1a7f2bfc2321] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a","name":"cluster9854121a","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:43:55.215Z","lastModified":"2017-09-27T21:43:55.215Z","allocationStateTransitionTime":"2017-09-27T22:08:04.446Z","provisioningStateTransitionTime":"2017-09-27T21:43:56.238Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"autoScale":{"minimumNodeCount":0,"maximumNodeCount":1,"initialNodeCount":0}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk9854121a","azureFileUrl":"https://psdk9854121a.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} - headers: - cache-control: [no-cache] - content-length: ['1246'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:08:20 GMT'] - etag: ['"0x8D505F0DA191140"'] - expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:43:55 GMT'] - pragma: [no-cache] - request-id: [b9e8915b-4654-4f93-b1f5-693deb431b01] + request-id: [900b362d-3373-4a19-9a92-43dc04066e17] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2454,26 +2555,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_auto_scaling9854121a/providers/Microsoft.BatchAI/clusters/cluster9854121a?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/63a72acc-9797-46a1-ae4e-eeaf1399d641?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/dcd08b7d-c08c-4397-aff7-36b87c663030?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 22:08:22 GMT'] + date: ['Thu, 15 Mar 2018 23:48:28 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/63a72acc-9797-46a1-ae4e-eeaf1399d641?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/dcd08b7d-c08c-4397-aff7-36b87c663030?api-version=2018-03-01'] pragma: [no-cache] - request-id: [319d7eee-f765-4c0d-8578-87b953e274f5] + request-id: [2018258c-aaca-4d9f-9bbe-d33b48a434c6] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -2481,22 +2583,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/63a72acc-9797-46a1-ae4e-eeaf1399d641?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/dcd08b7d-c08c-4397-aff7-36b87c663030?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/63a72acc-9797-46a1-ae4e-eeaf1399d641","name":"63a72acc-9797-46a1-ae4e-eeaf1399d641","status":"InProgress","startTime":"2017-09-27T22:08:22.075Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/dcd08b7d-c08c-4397-aff7-36b87c663030","name":"dcd08b7d-c08c-4397-aff7-36b87c663030","status":"InProgress","startTime":"2018-03-15T23:48:28.266Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:08:38 GMT'] + date: ['Thu, 15 Mar 2018 23:48:43 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [1226dda8-48b3-47ea-bff1-5af26dac63d4] + request-id: [cf963f2e-3b0f-4185-8d69-12844b378fae] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2509,22 +2610,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/63a72acc-9797-46a1-ae4e-eeaf1399d641?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/dcd08b7d-c08c-4397-aff7-36b87c663030?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/63a72acc-9797-46a1-ae4e-eeaf1399d641","name":"63a72acc-9797-46a1-ae4e-eeaf1399d641","status":"Succeeded","startTime":"2017-09-27T22:08:22.075Z","endTime":"2017-09-27T22:08:52.846Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_auto_scaling9854121a$cluster9854121a"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/dcd08b7d-c08c-4397-aff7-36b87c663030","name":"dcd08b7d-c08c-4397-aff7-36b87c663030","status":"Succeeded","startTime":"2018-03-15T23:48:28.266Z","endTime":"2018-03-15T23:48:58.911Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_auto_scaling9854121a$cluster9854121a"}}'} headers: cache-control: [no-cache] - content-length: ['466'] + content-length: ['470'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:09:09 GMT'] + date: ['Thu, 15 Mar 2018 23:49:16 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [6f253c20-a4fa-4add-97a6-ef498375a534] + request-id: [b06dc683-3d09-4616-aa75-09d087b8e27f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_cluster_resizing.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_cluster_resizing.yaml index e816f11e753d..db14c4df7473 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_cluster_resizing.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_cluster_resizing.yaml @@ -4,55 +4,56 @@ interactions: headers: Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.5.3; Linux 4.10.0-35-generic)] - x-ms-date: ['Wed, 27 Sep 2017 22:09:55 GMT'] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Thu, 15 Mar 2018 23:49:55 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://psdke61f13ed.file.core.windows.net/share?restype=share response: body: {string: ''} headers: - date: ['Wed, 27 Sep 2017 22:09:55 GMT'] - etag: ['"0x8D505F47C3946C9"'] - last-modified: ['Wed, 27 Sep 2017 22:09:55 GMT'] + date: ['Thu, 15 Mar 2018 23:49:55 GMT'] + etag: ['"0x8D58ACF74620385"'] + last-modified: ['Thu, 15 Mar 2018 23:49:55 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] status: {code: 201, message: Created} - request: - body: '{"properties": {"userAccountSettings": {"adminUserName": "demoUser", "adminUserPassword": - "Dem0Pa$$w0rd"}, "scaleSettings": {"manual": {"nodeDeallocationOption": "requeue", - "targetNodeCount": 1}}, "vmSize": "STANDARD_D1", "vmPriority": "dedicated", - "nodeSetup": {"mountVolumes": {"azureFileShares": [{"azureFileUrl": "https://psdke61f13ed.file.core.windows.net/share", - "fileMode": "0777", "relativeMountPath": "azfiles", "directoryMode": "0777", - "accountName": "psdke61f13ed", "credentialsInfo": {"accountKey": "w5OZlbc53x4/z/58Gmc8oma0FYs/tj5+2iSqmdC4AFvWG03y7vEodqb8dKE0R1nohG0/1y3eLh107t1vjCEvWw=="}}]}}}, - "location": "eastus"}' + body: '{"location": "westeurope", "properties": {"vmSize": "STANDARD_D1", "vmPriority": + "lowpriority", "scaleSettings": {"manual": {"targetNodeCount": 1, "nodeDeallocationOption": + "requeue"}}, "nodeSetup": {"mountVolumes": {"azureFileShares": [{"accountName": + "psdke61f13ed", "azureFileUrl": "https://psdke61f13ed.file.core.windows.net/share", + "credentials": {"accountKey": "N1MdAnzjxFs+h/gVRCB35XH3FR+zI2yN2Nd//84yVqLVeyR7eTDaaG4HbxET6Xa2gj/zTznZapuGU5x0hdBQxg=="}, + "relativeMountPath": "azfiles", "fileMode": "0777", "directoryMode": "0777"}]}}, + "userAccountSettings": {"adminUserName": "demoUser", "adminUserPassword": "Dem0Pa$$w0rd"}}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['630'] + Content-Length: ['632'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/68b2107e-dffa-48b5-b3ee-609a1b4090cf?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/41823606-6819-4828-b8c4-6db910f71c4f?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 22:09:56 GMT'] + date: ['Thu, 15 Mar 2018 23:49:59 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/68b2107e-dffa-48b5-b3ee-609a1b4090cf?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/41823606-6819-4828-b8c4-6db910f71c4f?api-version=2018-03-01'] pragma: [no-cache] - request-id: [6b15cb09-eca4-41ef-990e-12502734eff6] + request-id: [d4bddb4e-9709-4f26-8ef5-79a8289c5ec4] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -60,22 +61,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/68b2107e-dffa-48b5-b3ee-609a1b4090cf?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/41823606-6819-4828-b8c4-6db910f71c4f?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/68b2107e-dffa-48b5-b3ee-609a1b4090cf","name":"68b2107e-dffa-48b5-b3ee-609a1b4090cf","status":"Succeeded","startTime":"2017-09-27T22:09:56.818Z","endTime":"2017-09-27T22:09:57.375Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed$clustere61f13ed"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/41823606-6819-4828-b8c4-6db910f71c4f","name":"41823606-6819-4828-b8c4-6db910f71c4f","status":"Succeeded","startTime":"2018-03-15T23:49:58.981Z","endTime":"2018-03-15T23:49:59.575Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed$clustere61f13ed"}}'} headers: cache-control: [no-cache] - content-length: ['470'] + content-length: ['474'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:10:13 GMT'] + date: ['Thu, 15 Mar 2018 23:50:15 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [f3c0bccb-3be6-4189-98e1-9e97d3f76e6d] + request-id: [468904aa-c7e5-405a-895c-31ff28fd65a6] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -88,24 +88,23 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:09:58.053Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:49:58.966Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:10:14 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:50:16 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [430d03c6-f67e-4573-9b72-23f0251c451b] + request-id: [e827b372-ddb4-4512-a8fa-e8330ef3aa34] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -119,23 +118,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:09:58.053Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:49:58.966Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:10:14 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:50:17 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [ad126ba6-f754-4ed8-86c2-92a21a72e9f1] + request-id: [a580ff87-ab1a-4699-9f77-2a73b2493cb3] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -149,23 +149,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:09:58.053Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:49:58.966Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:10:35 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:50:37 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [ce1bfd8c-dd27-4e54-ae36-8314aecae3b0] + request-id: [606c4076-666f-4f7c-8618-8d62a261628d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -179,23 +180,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:09:58.053Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:49:58.966Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:10:58 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:50:59 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [2ed48080-5dd0-42ff-8c90-338a79823301] + request-id: [cdeeb0d9-4dce-44c1-9dc6-80ec4504c5e7] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -209,23 +211,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:09:58.053Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:51:19.567Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:11:19 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:51:21 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [472582a7-7690-471c-aa46-d6425dbdc621] + request-id: [5f089092-db0e-46b7-8fe0-eb9471349aba] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -239,23 +242,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:09:58.053Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:51:19.567Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:11:40 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:51:42 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [88739e41-a3d3-4245-8310-afbc2a9be937] + request-id: [f0f6d19c-9d84-43cf-ad2f-9ff47e5a5204] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -269,23 +273,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:11:43.99Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:51:19.567Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1238'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:12:02 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:52:03 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [bba2b5fd-e843-4d25-9608-2aec8a23e6d5] + request-id: [735ff8c0-28d6-4aa6-8565-5b2e5612449e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -299,23 +304,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:11:43.99Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:51:19.567Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1238'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:12:23 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:52:25 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [0b9630f5-4cf5-4eee-8d1c-fc28243bec84] + request-id: [0d38da28-333c-4ee8-990e-8464767a3935] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -329,23 +335,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:11:43.99Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:51:19.567Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1238'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:12:44 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:52:47 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [10c810c9-56f5-4e32-b19f-42b072850039] + request-id: [a8c21a98-e3ba-43e5-bcef-4104b513f96e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -359,23 +366,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:11:43.99Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:51:19.567Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1238'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:13:05 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:53:07 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [6721b8d4-9bda-4fb6-a47c-9101d8839950] + request-id: [9eaaaabd-7acd-4a51-ab16-1824d0d0bb4a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -389,23 +397,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:11:43.99Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:51:19.567Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1238'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:13:26 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:53:29 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [a55f0f2f-9f37-419a-a309-b3a989e1c7ba] + request-id: [03f8132c-130f-4af4-98d0-11543ab32d52] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -419,23 +428,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:11:43.99Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:51:19.567Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1238'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:13:47 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:53:50 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [727037b8-6a80-4787-aa87-16fce361a412] + request-id: [6e9795d5-2433-49c5-8a0d-ee647bace093] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -449,23 +459,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:11:43.99Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:51:19.567Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1238'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:14:09 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:54:12 GMT'] + etag: ['"0x8D58ACF76418067"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:49:58 GMT'] pragma: [no-cache] - request-id: [e9dca3c6-ad50-471c-899c-6ddc53e1d1c5] + request-id: [b3fa86c8-4ad3-473e-9e2b-bfa10905300f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -480,21 +491,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed/listRemoteLoginInformation?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed/listRemoteLoginInformation?api-version=2018-03-01 response: - body: {string: '{"value":[{"nodeId":"tvm-3657382398_1-20170927t221142z","ipAddress":"52.168.33.181","port":50000}]}'} + body: {string: '{"value":[{"nodeId":"tvm-2346434939_1-20180315t235118z-p","ipAddress":"52.178.69.93","port":50000}]}'} headers: cache-control: [no-cache] - content-length: ['99'] + content-length: ['100'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:14:10 GMT'] + date: ['Thu, 15 Mar 2018 23:54:13 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [482e3729-7b60-4ee9-897d-8f4db45da4b5] + request-id: [7c39742a-01e4-4dab-89c8-ea3f530efbe1] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -502,31 +514,32 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: '{"properties": {"scaleSettings": {"manual": {"nodeDeallocationOption": - "requeue", "targetNodeCount": 0}}}}' + body: '{"properties": {"scaleSettings": {"manual": {"targetNodeCount": 0, "nodeDeallocationOption": + "requeue"}}}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['106'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:11:43.99Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:51:19.567Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1238'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:14:12 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:54:15 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [3ed5a7c1-842e-43e5-a519-f1f9d5e19b11] + request-id: [840f96e9-3826-4136-bcc3-3cfccf3309a9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -541,23 +554,117 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} + headers: + cache-control: [no-cache] + content-length: ['1210'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 23:54:16 GMT'] + etag: ['"0x8D58AD00F589631"'] + expires: ['-1'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] + pragma: [no-cache] + request-id: [57101468-5629-4865-bf07-8b883449a75e] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} + headers: + cache-control: [no-cache] + content-length: ['1210'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 23:54:38 GMT'] + etag: ['"0x8D58AD00F589631"'] + expires: ['-1'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] + pragma: [no-cache] + request-id: [6dcb9baa-4bb4-4d97-83d4-df497e9dd34b] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} + headers: + cache-control: [no-cache] + content-length: ['1210'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 23:55:00 GMT'] + etag: ['"0x8D58AD00F589631"'] + expires: ['-1'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] + pragma: [no-cache] + request-id: [7ca6735a-f3f2-48ef-85b9-16efcf2af386] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:11:43.99Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1238'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:14:12 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:55:21 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [8f5b61be-2ee6-4737-b1ff-537d285f1968] + request-id: [7bb482c2-61eb-4b1e-b341-d604a53bc57f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -571,23 +678,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:11:43.99Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1238'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:14:33 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:55:42 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [392e513d-9b4a-441a-ad3d-4e0a2a8c2f34] + request-id: [dd8f26e4-8083-4b59-95fe-146c0569ca93] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -601,23 +709,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:14:12.872Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:14:55 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:56:04 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [e9f58ef4-942c-4805-83ca-29b628a795ae] + request-id: [0607f29d-deeb-455a-bff4-557359740c1a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -631,23 +740,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:14:12.872Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:15:16 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:56:25 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [229e6d33-87dd-469c-bf38-c002522caeae] + request-id: [360b8916-27fb-46ab-9ff7-9a76c1178a47] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -661,23 +771,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:14:12.872Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:15:38 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:56:47 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [a5152138-4cf1-4264-9670-c947ffea87f5] + request-id: [00560c84-5b45-471d-9518-c46381f48233] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -691,23 +802,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:14:12.872Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:16:00 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:57:09 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [76fe9acc-5f6d-4805-a418-79a3376d8d0b] + request-id: [1b1cc085-103f-425e-8fb1-660dcea1e30b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -721,23 +833,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:14:12.872Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:16:20 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:57:30 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [7e72c4ef-781e-4f87-ac1d-0dd3e4590f63] + request-id: [43bd7751-829d-4694-80b7-7b75eda8e4d9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -751,23 +864,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:14:12.872Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:16:43 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:57:51 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [dc87359f-cabd-4585-9c81-46f1c85c1367] + request-id: [2def7f27-80c5-4d87-9e21-7b3228956541] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -781,23 +895,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:14:12.872Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:17:04 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:58:13 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [ca0b1554-f9de-4c67-83e3-1b33451f5ca4] + request-id: [1a8f1c73-17f4-4b4b-9cab-968ed9b737c2] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -811,23 +926,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:14:12.872Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:17:26 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:58:34 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [601dd837-7abc-4b15-a5ea-dd589041b61a] + request-id: [7891aaca-7d36-4369-9dbc-0321899af723] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -841,23 +957,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:14:12.872Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:17:47 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:58:56 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [8c6c87e6-e692-42b0-bb07-902923959a9a] + request-id: [f83a2f5c-2e5c-49c1-85bb-3c66d735aa03] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -871,23 +988,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:14:12.872Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:18:09 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:59:18 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [91784e03-e1ed-49d9-bbc6-1a1f099d63b4] + request-id: [ffe0c452-23fa-4446-82ad-0912052b8da9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -901,23 +1019,86 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:18:16.081Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:54:15.996Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":1},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1210'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:18:31 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Thu, 15 Mar 2018 23:59:39 GMT'] + etag: ['"0x8D58AD00F589631"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] pragma: [no-cache] - request-id: [aa5e2eb6-9cfb-4175-908b-486dd24dcea0] + request-id: [c858788f-cbf2-45f9-a4f5-32bf3bf89ed0] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:59:59.593Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} + headers: + cache-control: [no-cache] + content-length: ['1210'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:00:01 GMT'] + etag: ['"0x8D58AD00F589631"'] + expires: ['-1'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] + pragma: [no-cache] + request-id: [1b457c72-af41-4ae8-a62c-aa5d5adde9fb] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:59:47.923Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":0,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} + headers: + cache-control: [no-cache] + content-length: ['1208'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:00:22 GMT'] + etag: ['"0x8D58AD00F589631"'] + expires: ['-1'] + last-modified: ['Thu, 15 Mar 2018 23:54:15 GMT'] + pragma: [no-cache] + request-id: [2c956047-0a2a-4ff8-afc5-79bdc176937c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -932,21 +1113,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed/listRemoteLoginInformation?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed/listRemoteLoginInformation?api-version=2018-03-01 response: body: {string: '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:18:31 GMT'] + date: ['Fri, 16 Mar 2018 00:00:23 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [9752ba5d-b197-44a0-8add-2f1d075fad3f] + request-id: [5835d985-a46b-43c2-bd1e-c43b5b9f8a7d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -954,37 +1136,193 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: '{"properties": {"scaleSettings": {"manual": {"nodeDeallocationOption": - "requeue", "targetNodeCount": 1}}}}' + body: '{"properties": {"scaleSettings": {"manual": {"targetNodeCount": 1, "nodeDeallocationOption": + "requeue"}}}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['106'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:18:16.081Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:59:47.923Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:18:33 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:00:24 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [6f67ce97-805f-4fad-8f9e-8508f28842d2] + request-id: [610e7c7a-5629-4ee6-9836-7dbdbe146046] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:00:25.844Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} + headers: + cache-control: [no-cache] + content-length: ['1210'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:00:26 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] + pragma: [no-cache] + request-id: [d4e0db58-882c-41fe-b49a-e9e5f7e97d55] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:59:47.923Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} + headers: + cache-control: [no-cache] + content-length: ['1208'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:00:48 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] + pragma: [no-cache] + request-id: [0cbc0a8a-2e63-49eb-aa41-5287a1eeffa6] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:59:47.923Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} + headers: + cache-control: [no-cache] + content-length: ['1208'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:01:08 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] + pragma: [no-cache] + request-id: [4ab90e68-c1a7-487d-980e-afa3cfe31f0c] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:59:47.923Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} + headers: + cache-control: [no-cache] + content-length: ['1208'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:01:30 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] + pragma: [no-cache] + request-id: [27b6fc72-bcaa-4939-a3f7-a459153765f3] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:59:47.923Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} + headers: + cache-control: [no-cache] + content-length: ['1208'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:01:52 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] + pragma: [no-cache] + request-id: [ae2e2975-f29e-440f-96f1-0c4f407d60f6] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -993,23 +1331,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:18:16.081Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:59:47.923Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:18:34 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:02:13 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [45e32b3e-eb29-41b0-83af-9253cb6e8cb5] + request-id: [7693a251-ddb1-408b-b06a-368d592e2b18] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1023,23 +1362,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:18:16.081Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":1,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-15T23:59:47.923Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:18:54 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:02:34 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [459562d0-406f-4564-abcc-be00ebdbede5] + request-id: [4e180a44-5659-44d0-a4d2-5fe87dd54812] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1053,23 +1393,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:18:33.769Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:02:25.7Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:19:16 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:02:56 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [3665c0f3-37f5-4239-9553-f6e4e4eb14cb] + request-id: [3d59ccaa-7caf-4575-a4b1-54f474996e24] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1083,23 +1424,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:18:33.769Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:02:25.7Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1241'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:19:37 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:03:18 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [f954328e-af96-4319-a3e3-0436f2de5ce3] + request-id: [8961178b-b29a-4473-9dbb-a6553f4afd04] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1113,23 +1455,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:19:44.642Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:02:25.7Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:19:58 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:03:40 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [0e6844ae-698e-4bc5-8cf9-936d52dc1e3f] + request-id: [aa47a6f0-beff-4fc8-9a38-a5dd1affb7f8] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1143,23 +1486,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:19:44.642Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:04:00.326Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:20:19 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:04:01 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [66083206-3937-4b07-b565-945327e11af8] + request-id: [2392c390-b7d3-4227-831b-2c3a469f278d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1173,23 +1517,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:19:44.642Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:04:00.326Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:20:40 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:04:22 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [9450cfeb-3bd6-4938-85e7-efc83d313e17] + request-id: [f92c9764-0174-4813-9e79-249b4fd11f09] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1203,23 +1548,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:19:44.642Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:04:00.326Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:21:01 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:04:44 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [d006d15a-dadc-4c76-945f-a01a7368802d] + request-id: [35a0f356-9fd0-4075-a5ae-661de9e2f832] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1233,23 +1579,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:19:44.642Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:04:00.326Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:21:23 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:05:05 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [f50f1bd6-32dd-41ea-831c-66bccb648c2a] + request-id: [5712cc4a-4ca6-4df8-ad57-7f86a028ae69] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1263,23 +1610,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:19:44.642Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:04:00.326Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:21:45 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:05:26 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [4efbcb56-10da-4433-a61c-827c1dfc263f] + request-id: [6d72f198-e907-45e7-aa88-7d1a7db01b35] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1293,23 +1641,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:19:44.642Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:04:00.326Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:22:06 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:05:48 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [12280b74-a129-457c-bfeb-6cd16c10c29b] + request-id: [c33632fd-98b4-4407-b46c-a3a27a96d390] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1323,23 +1672,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:19:44.642Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:04:00.326Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:22:27 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:06:10 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [ce5dc2b1-c9ff-4842-b50e-cca1f50ea929] + request-id: [a7674234-b835-4032-b89a-0a40465d61ca] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1353,23 +1703,55 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:09:56.802Z","lastModified":"2017-09-27T22:09:56.802Z","allocationStateTransitionTime":"2017-09-27T22:19:44.642Z","provisioningStateTransitionTime":"2017-09-27T22:09:57.359Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:04:00.326Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1239'] + content-length: ['1208'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:22:48 GMT'] - etag: ['"0x8D505F47CE0566D"'] + date: ['Fri, 16 Mar 2018 00:06:31 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:09:56 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] pragma: [no-cache] - request-id: [de76e648-8caf-4d79-9504-d922c3ec8a14] + request-id: [8cfdb5fe-81c1-487e-88f6-0e23218ae2ff] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed","name":"clustere61f13ed","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-15T23:49:58.966Z","allocationStateTransitionTime":"2018-03-16T00:04:00.326Z","provisioningStateTransitionTime":"2018-03-15T23:49:59.559Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdke61f13ed","azureFileUrl":"https://psdke61f13ed.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} + headers: + cache-control: [no-cache] + content-length: ['1208'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:06:52 GMT'] + etag: ['"0x8D58AD0EBCFC239"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 00:00:25 GMT'] + pragma: [no-cache] + request-id: [ab7fc15e-1db2-4901-9f12-1140e0350552] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1384,21 +1766,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed/listRemoteLoginInformation?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed/listRemoteLoginInformation?api-version=2018-03-01 response: - body: {string: '{"value":[{"nodeId":"tvm-3657382398_2-20170927t221942z","ipAddress":"40.76.25.238","port":50000}]}'} + body: {string: '{"value":[{"nodeId":"tvm-2346434939_2-20180316t000359z-p","ipAddress":"52.232.67.181","port":50000}]}'} headers: cache-control: [no-cache] - content-length: ['98'] + content-length: ['101'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:22:50 GMT'] + date: ['Fri, 16 Mar 2018 00:06:55 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [2f193bd7-82e6-4df9-9f84-2886b28288fa] + request-id: [abea5e1d-513b-4ad7-bbfd-a44f26dd6839] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1406,40 +1789,40 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: 'b''{"properties": {"customToolkitSettings": {"commandLine": "echo hello - | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"}, "priority": 0, "inputDirectories": - [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "cluster": + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed"}, - "nodeCount": 1, "outputDirectories": [{"createNew": true, "type": "custom", - "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "id": "OUTPUTS", "pathSuffix": - "files"}], "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles"}, "location": - "eastus"}''' + "nodeCount": 1, "customToolkitSettings": {"commandLine": "echo hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"}, + "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": + [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": + [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": + "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['663'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/a0771ae4-20a7-44ef-94fd-73dc738de57f?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/e24de38d-33b2-48ba-a79d-34cc70c8905a?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 22:22:51 GMT'] + date: ['Fri, 16 Mar 2018 00:06:58 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/a0771ae4-20a7-44ef-94fd-73dc738de57f?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/e24de38d-33b2-48ba-a79d-34cc70c8905a?api-version=2018-03-01'] pragma: [no-cache] - request-id: [5636a356-dbb7-4cc3-ab76-1b5d3d2bec89] + request-id: [69f2fea5-0863-4a2b-ad1a-26a1c5da8d37] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -1447,22 +1830,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/a0771ae4-20a7-44ef-94fd-73dc738de57f?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/e24de38d-33b2-48ba-a79d-34cc70c8905a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/a0771ae4-20a7-44ef-94fd-73dc738de57f","name":"a0771ae4-20a7-44ef-94fd-73dc738de57f","status":"Succeeded","startTime":"2017-09-27T22:22:52.059Z","endTime":"2017-09-27T22:22:53.422Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed$host_job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/e24de38d-33b2-48ba-a79d-34cc70c8905a","name":"e24de38d-33b2-48ba-a79d-34cc70c8905a","status":"Succeeded","startTime":"2018-03-16T00:06:58.194Z","endTime":"2018-03-16T00:06:59.116Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed$host_job"}}'} headers: cache-control: [no-cache] - content-length: ['463'] + content-length: ['467'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:23:07 GMT'] + date: ['Fri, 16 Mar 2018 00:07:14 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [d9652cd3-440f-478a-9e65-84b630f8ae28] + request-id: [c7c567e4-0c6b-465e-86d1-31acac7c4d1d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1475,25 +1857,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T22:22:52.043Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T22:22:53.406Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T22:22:56.784Z","executionInfo":{"startTime":"2017-09-27T22:22:53.784Z","endTime":"2017-09-27T22:22:56.784Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/ef5e000e-b600-4388-a800-e878be41d352","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T00:06:58.169Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T00:06:59.101Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T00:07:02.368Z","executionInfo":{"startTime":"2018-03-16T00:07:00.027Z","endTime":"2018-03-16T00:07:02.368Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1244'] + content-length: ['1401'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:23:09 GMT'] - etag: ['"0x8D505F64AF4B2EB"'] + date: ['Fri, 16 Mar 2018 00:07:15 GMT'] + etag: ['"0x8D58AD1D5BF87F1"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:22:52 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:06:58 GMT'] pragma: [no-cache] - request-id: [64e5295b-fcb5-45bb-9089-faf5bbda5f68] + request-id: [1b221c21-d071-471d-bc12-0fb4ad61132f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1507,24 +1888,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T22:22:52.043Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T22:22:53.406Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T22:22:56.784Z","executionInfo":{"startTime":"2017-09-27T22:22:53.784Z","endTime":"2017-09-27T22:22:56.784Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/ef5e000e-b600-4388-a800-e878be41d352","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T00:06:58.169Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T00:06:59.101Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T00:07:02.368Z","executionInfo":{"startTime":"2018-03-16T00:07:00.027Z","endTime":"2018-03-16T00:07:02.368Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1244'] + content-length: ['1401'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:23:09 GMT'] - etag: ['"0x8D505F64AF4B2EB"'] + date: ['Fri, 16 Mar 2018 00:07:16 GMT'] + etag: ['"0x8D58AD1D5BF87F1"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:22:52 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:06:58 GMT'] pragma: [no-cache] - request-id: [205373b5-a439-4f33-bc8b-84d0cfe86b8a] + request-id: [770ec324-a791-43b9-8e5c-bf28ce634f0c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1539,21 +1921,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?linkexpiryinminutes=60&api-version=2017-09-01-preview&outputdirectoryid=OUTPUTS&maxresults=1000 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=OUTPUTS&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"hi.txt","downloadUrl":"https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=f1%2BFZSqiZMNwJ40azEzcujP2VXFj90%2B%2FTAdpxO5gd%2FM%3D&se=2017-09-27T23%3A23%3A11Z&sp=rl","properties":{"lastModified":"2017-09-27T22:22:56Z","contentLength":6}}]}'} + body: {string: '{"value":[{"name":"hi.txt","isDirectory":false,"downloadUrl":"https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/ef5e000e-b600-4388-a800-e878be41d352/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=VLsxas0TZ%2Bzv8ADnITRrqLHPcqG9F0TX%2Bp2EZtDwk8E%3D&se=2018-03-16T01%3A07%3A18Z&sp=rl","properties":{"lastModified":"2018-03-16T00:07:01Z","contentLength":6}}]}'} headers: cache-control: [no-cache] - content-length: ['406'] + content-length: ['459'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:23:10 GMT'] + date: ['Fri, 16 Mar 2018 00:07:17 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [539968af-d68e-436f-b06d-3759518a7e38] + request-id: [2499fd0c-105d-4ead-97a7-bc32fe8e1299] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1568,7 +1951,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=f1%2BFZSqiZMNwJ40azEzcujP2VXFj90%2B%2FTAdpxO5gd%2FM%3D&se=2017-09-27T23%3A23%3A11Z&sp=rl + uri: https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/ef5e000e-b600-4388-a800-e878be41d352/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=VLsxas0TZ%2Bzv8ADnITRrqLHPcqG9F0TX%2Bp2EZtDwk8E%3D&se=2018-03-16T01%3A07%3A18Z&sp=rl response: body: {string: 'hello @@ -1577,9 +1960,9 @@ interactions: accept-ranges: [bytes] content-length: ['6'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 22:23:11 GMT'] - etag: ['"0x8D505F64DAB5E3D"'] - last-modified: ['Wed, 27 Sep 2017 22:22:56 GMT'] + date: ['Fri, 16 Mar 2018 00:07:19 GMT'] + etag: ['"0x8D58AD1D7DA7E68"'] + last-modified: ['Fri, 16 Mar 2018 00:07:01 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -1592,21 +1975,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?linkexpiryinminutes=60&api-version=2017-09-01-preview&outputdirectoryid=stdouterr&maxresults=1000 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"stderr.txt","downloadUrl":"https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/stderr.txt?sv=2016-05-31&sr=f&sig=G4ladwaDVV1o%2FPzVj7rejXqgKrWjEyS0Gz%2FlWglq1sA%3D&se=2017-09-27T23%3A23%3A13Z&sp=rl","properties":{"lastModified":"2017-09-27T22:22:56Z","contentLength":0}},{"name":"stdout.txt","downloadUrl":"https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/stdout.txt?sv=2016-05-31&sr=f&sig=D%2FAuW6OUm0xVNbgxg2ggBDogbEjinBZG87x1VRYxXtg%3D&se=2017-09-27T23%3A23%3A13Z&sp=rl","properties":{"lastModified":"2017-09-27T22:22:56Z","contentLength":6}}]}'} + body: {string: '{"value":[{"name":"execution.log","isDirectory":false,"downloadUrl":"https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/ef5e000e-b600-4388-a800-e878be41d352/stdouterr/execution.log?sv=2016-05-31&sr=f&sig=MDhJl%2B6jL48g4419bB%2FsOIfCg56vNDuUMOI%2BDCh4%2B5E%3D&se=2018-03-16T01%3A07%3A20Z&sp=rl","properties":{"lastModified":"2018-03-16T00:07:01Z","contentLength":181}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/ef5e000e-b600-4388-a800-e878be41d352/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=NUYNsZxpFFWeI7hVkxSTJbv871dTISSb6Szuu2rt0oA%3D&se=2018-03-16T01%3A07%3A20Z&sp=rl","properties":{"lastModified":"2018-03-16T00:07:01Z","contentLength":0}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/ef5e000e-b600-4388-a800-e878be41d352/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=bm0SDSp28T4ZkAShH5p%2BpoC8jXXofc9%2BS%2Fh2FNjXb9I%3D&se=2018-03-16T01%3A07%3A20Z&sp=rl","properties":{"lastModified":"2018-03-16T00:07:01Z","contentLength":6}}]}'} headers: cache-control: [no-cache] - content-length: ['779'] + content-length: ['1377'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:23:12 GMT'] + date: ['Fri, 16 Mar 2018 00:07:20 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [98e5fee0-dc37-4b29-973c-cf3586682622] + request-id: [197fb75e-846d-4f8c-983c-772be0329f09] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1621,16 +2005,16 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/stderr.txt?sv=2016-05-31&sr=f&sig=G4ladwaDVV1o%2FPzVj7rejXqgKrWjEyS0Gz%2FlWglq1sA%3D&se=2017-09-27T23%3A23%3A13Z&sp=rl + uri: https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/ef5e000e-b600-4388-a800-e878be41d352/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=NUYNsZxpFFWeI7hVkxSTJbv871dTISSb6Szuu2rt0oA%3D&se=2018-03-16T01%3A07%3A20Z&sp=rl response: body: {string: ''} headers: accept-ranges: [bytes] content-length: ['0'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 22:23:12 GMT'] - etag: ['"0x8D505F64D7F162A"'] - last-modified: ['Wed, 27 Sep 2017 22:22:56 GMT'] + date: ['Fri, 16 Mar 2018 00:07:20 GMT'] + etag: ['"0x8D58AD1D7CCC064"'] + last-modified: ['Fri, 16 Mar 2018 00:07:01 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -1643,7 +2027,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/stdout.txt?sv=2016-05-31&sr=f&sig=D%2FAuW6OUm0xVNbgxg2ggBDogbEjinBZG87x1VRYxXtg%3D&se=2017-09-27T23%3A23%3A13Z&sp=rl + uri: https://psdke61f13ed.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/jobs/host_job/ef5e000e-b600-4388-a800-e878be41d352/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=bm0SDSp28T4ZkAShH5p%2BpoC8jXXofc9%2BS%2Fh2FNjXb9I%3D&se=2018-03-16T01%3A07%3A20Z&sp=rl response: body: {string: 'hello @@ -1652,9 +2036,9 @@ interactions: accept-ranges: [bytes] content-length: ['6'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 22:23:13 GMT'] - etag: ['"0x8D505F64DAD3351"'] - last-modified: ['Wed, 27 Sep 2017 22:22:56 GMT'] + date: ['Fri, 16 Mar 2018 00:07:22 GMT'] + etag: ['"0x8D58AD1D7DC2C65"'] + last-modified: ['Fri, 16 Mar 2018 00:07:01 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -1667,26 +2051,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed/providers/Microsoft.BatchAI/clusters/clustere61f13ed?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 22:23:14 GMT'] + date: ['Fri, 16 Mar 2018 00:07:24 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01'] pragma: [no-cache] - request-id: [b01be29c-4719-4e18-8e15-5cf08476dd1a] + request-id: [32746395-b200-4989-8592-8d66d6d365c0] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 202, message: Accepted} - request: body: null @@ -1694,22 +2079,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba","name":"402d349b-d4da-44bf-af87-90e8a16621ba","status":"InProgress","startTime":"2017-09-27T22:23:14.585Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7","name":"2a754ef7-f1d1-4e91-8991-7dd415389de7","status":"InProgress","startTime":"2018-03-16T00:07:24.383Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:23:31 GMT'] + date: ['Fri, 16 Mar 2018 00:07:40 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [71bf917d-d674-4dd6-9456-8127d81bc068] + request-id: [1f3278af-1c39-4250-8e17-740bdc20e7fb] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1722,22 +2106,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba","name":"402d349b-d4da-44bf-af87-90e8a16621ba","status":"InProgress","startTime":"2017-09-27T22:23:14.585Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7","name":"2a754ef7-f1d1-4e91-8991-7dd415389de7","status":"InProgress","startTime":"2018-03-16T00:07:24.383Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:24:01 GMT'] + date: ['Fri, 16 Mar 2018 00:08:11 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [9f585fa4-90db-49f1-9482-623b1c381523] + request-id: [35755d3b-8cad-4f75-be79-ad2c3b39eaf8] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1750,22 +2133,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba","name":"402d349b-d4da-44bf-af87-90e8a16621ba","status":"InProgress","startTime":"2017-09-27T22:23:14.585Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7","name":"2a754ef7-f1d1-4e91-8991-7dd415389de7","status":"InProgress","startTime":"2018-03-16T00:07:24.383Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:24:33 GMT'] + date: ['Fri, 16 Mar 2018 00:08:42 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [b2822296-4206-4fec-986d-3b8dc710303a] + request-id: [95b7bd85-e706-4881-8e1c-53f504a4a697] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1778,22 +2160,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba","name":"402d349b-d4da-44bf-af87-90e8a16621ba","status":"InProgress","startTime":"2017-09-27T22:23:14.585Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7","name":"2a754ef7-f1d1-4e91-8991-7dd415389de7","status":"InProgress","startTime":"2018-03-16T00:07:24.383Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:25:03 GMT'] + date: ['Fri, 16 Mar 2018 00:09:13 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [7ee9535f-b49a-4b85-b711-c3365b7b4417] + request-id: [b72087c5-2559-4feb-a419-da067db720ae] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1806,22 +2187,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba","name":"402d349b-d4da-44bf-af87-90e8a16621ba","status":"InProgress","startTime":"2017-09-27T22:23:14.585Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7","name":"2a754ef7-f1d1-4e91-8991-7dd415389de7","status":"InProgress","startTime":"2018-03-16T00:07:24.383Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:25:34 GMT'] + date: ['Fri, 16 Mar 2018 00:09:45 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [c8ee7213-cc30-4a1f-8909-772513ca8dad] + request-id: [2af4f4b4-e89c-4967-a970-c8f0fc7d9300] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1834,22 +2214,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba","name":"402d349b-d4da-44bf-af87-90e8a16621ba","status":"InProgress","startTime":"2017-09-27T22:23:14.585Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7","name":"2a754ef7-f1d1-4e91-8991-7dd415389de7","status":"InProgress","startTime":"2018-03-16T00:07:24.383Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:26:05 GMT'] + date: ['Fri, 16 Mar 2018 00:10:16 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [6427ebde-bfc4-4ee7-803e-d3b242b8d19e] + request-id: [f72c83a7-01b4-433e-8e19-6729c0395f54] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1862,22 +2241,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba","name":"402d349b-d4da-44bf-af87-90e8a16621ba","status":"InProgress","startTime":"2017-09-27T22:23:14.585Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7","name":"2a754ef7-f1d1-4e91-8991-7dd415389de7","status":"InProgress","startTime":"2018-03-16T00:07:24.383Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:26:36 GMT'] + date: ['Fri, 16 Mar 2018 00:10:47 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [0b0ae9f9-907f-498b-9eae-9af05bac8921] + request-id: [00807c32-7137-4834-8e24-d28476e4b82d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1890,22 +2268,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba","name":"402d349b-d4da-44bf-af87-90e8a16621ba","status":"InProgress","startTime":"2017-09-27T22:23:14.585Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7","name":"2a754ef7-f1d1-4e91-8991-7dd415389de7","status":"InProgress","startTime":"2018-03-16T00:07:24.383Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:27:08 GMT'] + date: ['Fri, 16 Mar 2018 00:11:19 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [f6ddb549-6998-4fad-b3af-501656855c17] + request-id: [7dd7fa43-db72-46d0-92f0-d44ec48e1a36] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1918,22 +2295,75 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7","name":"2a754ef7-f1d1-4e91-8991-7dd415389de7","status":"InProgress","startTime":"2018-03-16T00:07:24.383Z"}'} + headers: + cache-control: [no-cache] + content-length: ['298'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:11:50 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [ccba23c5-ce76-418e-93eb-b3b9b95352d8] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7","name":"2a754ef7-f1d1-4e91-8991-7dd415389de7","status":"InProgress","startTime":"2018-03-16T00:07:24.383Z"}'} + headers: + cache-control: [no-cache] + content-length: ['298'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:12:21 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [f3f6ae27-165e-4807-a85f-d4ca880e0b74] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/402d349b-d4da-44bf-af87-90e8a16621ba","name":"402d349b-d4da-44bf-af87-90e8a16621ba","status":"Succeeded","startTime":"2017-09-27T22:23:14.585Z","endTime":"2017-09-27T22:27:17.478Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed$clustere61f13ed"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a754ef7-f1d1-4e91-8991-7dd415389de7","name":"2a754ef7-f1d1-4e91-8991-7dd415389de7","status":"Succeeded","startTime":"2018-03-16T00:07:24.383Z","endTime":"2018-03-16T00:12:26.658Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_cluster_resizinge61f13ed$clustere61f13ed"}}'} headers: cache-control: [no-cache] - content-length: ['470'] + content-length: ['474'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:27:38 GMT'] + date: ['Fri, 16 Mar 2018 00:12:52 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [996eb840-91ce-4bb6-8fbb-463547ecd1a8] + request-id: [d5752ede-6300-478f-ac9a-9b87a4764792] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_creation_and_deletion.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_creation_and_deletion.yaml index 90b352e930ba..f9b4653f052e 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_creation_and_deletion.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_creation_and_deletion.yaml @@ -4,51 +4,52 @@ interactions: headers: Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.5.3; Linux 4.10.0-35-generic)] - x-ms-date: ['Wed, 27 Sep 2017 22:28:06 GMT'] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 00:13:30 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://psdk4c3c15bb.file.core.windows.net/share?restype=share response: body: {string: ''} headers: - date: ['Wed, 27 Sep 2017 22:28:06 GMT'] - etag: ['"0x8D505F7070077B3"'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + date: ['Fri, 16 Mar 2018 00:13:31 GMT'] + etag: ['"0x8D58AD2C05426EC"'] + last-modified: ['Fri, 16 Mar 2018 00:13:31 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] status: {code: 201, message: Created} - request: - body: '{"properties": {"userAccountSettings": {"adminUserName": "demoUser", "adminUserPassword": - "Dem0Pa$$w0rd"}, "scaleSettings": {"manual": {"nodeDeallocationOption": "requeue", - "targetNodeCount": 1}}, "vmSize": "STANDARD_D1", "vmPriority": "dedicated", - "nodeSetup": {"mountVolumes": {"azureFileShares": [{"azureFileUrl": "https://psdk4c3c15bb.file.core.windows.net/share", - "fileMode": "0777", "relativeMountPath": "azfiles", "directoryMode": "0777", - "accountName": "psdk4c3c15bb", "credentialsInfo": {"accountKey": "QZfP1uv2hTpfY00Gxd4X48TiwIShRcLtdbxz+GPSzhQAjGJyP+K+JpP0dcS3W/nqt4XvTVm/R/84n5vlSOMqcg=="}}]}}}, - "location": "eastus"}' + body: '{"location": "westeurope", "properties": {"vmSize": "STANDARD_D1", "vmPriority": + "lowpriority", "scaleSettings": {"manual": {"targetNodeCount": 1, "nodeDeallocationOption": + "requeue"}}, "nodeSetup": {"mountVolumes": {"azureFileShares": [{"accountName": + "psdk4c3c15bb", "azureFileUrl": "https://psdk4c3c15bb.file.core.windows.net/share", + "credentials": {"accountKey": "EHMRhzSTFq3lioCH0KoO3o5ljGGgumJrWIktQVEwAoMxpuxo4fL6b4MPSSN4bQbRhWM5uFYpXvK1LyA/0Ih/0w=="}, + "relativeMountPath": "azfiles", "fileMode": "0777", "directoryMode": "0777"}]}}, + "userAccountSettings": {"adminUserName": "demoUser", "adminUserPassword": "Dem0Pa$$w0rd"}}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['630'] + Content-Length: ['632'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/711dbbd4-a16d-4fee-a76a-f5feaa9f8a03?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/aaaa16d8-0160-438f-95dd-3f053464b0be?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 22:28:08 GMT'] + date: ['Fri, 16 Mar 2018 00:13:34 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/711dbbd4-a16d-4fee-a76a-f5feaa9f8a03?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/aaaa16d8-0160-438f-95dd-3f053464b0be?api-version=2018-03-01'] pragma: [no-cache] - request-id: [e10654d7-5e5a-4181-97ea-fbebdf6bff05] + request-id: [b2a4b2c0-51b0-4e26-aba3-ba2bfbc14213] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -60,22 +61,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/711dbbd4-a16d-4fee-a76a-f5feaa9f8a03?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/aaaa16d8-0160-438f-95dd-3f053464b0be?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/711dbbd4-a16d-4fee-a76a-f5feaa9f8a03","name":"711dbbd4-a16d-4fee-a76a-f5feaa9f8a03","status":"Succeeded","startTime":"2017-09-27T22:28:07.66Z","endTime":"2017-09-27T22:28:08.374Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb$cluster4c3c15bb"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/aaaa16d8-0160-438f-95dd-3f053464b0be","name":"aaaa16d8-0160-438f-95dd-3f053464b0be","status":"Succeeded","startTime":"2018-03-16T00:13:35.023Z","endTime":"2018-03-16T00:13:37.054Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb$cluster4c3c15bb"}}'} headers: cache-control: [no-cache] - content-length: ['474'] + content-length: ['479'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:28:23 GMT'] + date: ['Fri, 16 Mar 2018 00:13:51 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [1bdc75f9-530c-4e0e-b07f-b0aa1948604a] + request-id: [47047424-5a92-4527-be59-5b51aee38b08] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -88,24 +88,23 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:28:08.998Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:13:34.931Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1246'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:28:25 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:13:51 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [95bffa4e-0b5d-4de6-9ce2-6d3dcf51d1f9] + request-id: [3e2e6c20-996d-4698-ab46-862d1ea78ffd] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -119,21 +118,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters?api-version=2018-03-01 response: - body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:28:08.998Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}]}'} + body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:13:34.931Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}]}'} headers: cache-control: [no-cache] - content-length: ['1258'] + content-length: ['1227'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:28:26 GMT'] + date: ['Fri, 16 Mar 2018 00:13:53 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [075b7216-3cc0-401a-a12c-50eb57abae8f] + request-id: [2d21294e-7a66-4fb4-b00d-c3701105a217] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -147,23 +147,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:28:08.998Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:13:34.931Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1246'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:28:28 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:13:54 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [10309c67-f19b-4074-ab90-1fffcbe93149] + request-id: [4d3b951c-f817-42d6-8b5f-8bba68a46a81] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -177,23 +178,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:28:08.998Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:13:34.931Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1246'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:28:50 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:14:15 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [283c7275-ac2c-48ce-9e66-b7b1e241b75c] + request-id: [376a24c4-b958-4793-8a86-4ced62f14c42] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -207,23 +209,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:28:08.998Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:13:34.931Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1246'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:29:11 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:14:36 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [be40c8e1-ac17-477e-8ecd-d4015300e00e] + request-id: [4383b6ec-4ca6-4b65-b207-5110c869a5f3] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -237,23 +240,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:28:08.998Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:13:34.931Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1246'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:29:32 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:14:59 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [d32072fd-7c32-4b25-a065-b46fc14f9795] + request-id: [f28e2bae-ced4-4b3a-a5cd-6352b2742dad] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -267,23 +271,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:28:08.998Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:13:34.931Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1246'] + content-length: ['1215'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:29:54 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:15:20 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [a6f328e5-253c-4e3d-8fd0-b183eb8e85d3] + request-id: [56308400-f5a5-41f0-9659-2f7643f9b380] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -297,23 +302,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:30:04.925Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:15:27.161Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1244'] + content-length: ['1213'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:30:15 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:15:41 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [2a6132bc-e1df-4b10-8c79-be25bd9042d6] + request-id: [2968f7f8-365a-4084-a1be-ef498c3224cf] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -327,23 +333,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:30:04.925Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:15:27.161Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1244'] + content-length: ['1213'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:30:36 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:16:02 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [d738adc2-be03-4d29-98fa-1e1aee1f8bfb] + request-id: [293cdbb4-5cfc-430e-8d43-07bf9b38d8e0] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -357,23 +364,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:30:04.925Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:15:27.161Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1244'] + content-length: ['1213'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:30:58 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:16:23 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [63c34d8b-164c-4859-a26a-fba42395da37] + request-id: [486a9b20-03df-4d43-aa3c-d5031761f9b6] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -387,23 +395,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:30:04.925Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:15:27.161Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1244'] + content-length: ['1213'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:31:18 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:16:45 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [a2f0d885-e156-44e1-9d0a-7581a45ceff5] + request-id: [9360cddf-b9f2-4114-aab6-3e9793016782] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -417,23 +426,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:30:04.925Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:15:27.161Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1244'] + content-length: ['1213'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:31:39 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:17:06 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [50870015-62a3-42ae-b39c-91fe79cd9429] + request-id: [ad89e499-6459-4ed8-81a1-28b433f1175a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -447,23 +457,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:30:04.925Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:15:27.161Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1244'] + content-length: ['1213'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:32:05 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:17:28 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [d72a3e8e-1d48-4892-87df-06808136aaf8] + request-id: [0f3dcb32-0b2e-4813-95c9-a9d8feec8961] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -477,23 +488,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:28:07.645Z","lastModified":"2017-09-27T22:28:07.645Z","allocationStateTransitionTime":"2017-09-27T22:30:04.925Z","provisioningStateTransitionTime":"2017-09-27T22:28:08.327Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb","name":"cluster4c3c15bb","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:13:34.931Z","allocationStateTransitionTime":"2018-03-16T00:15:27.161Z","provisioningStateTransitionTime":"2018-03-16T00:13:37.054Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdk4c3c15bb","azureFileUrl":"https://psdk4c3c15bb.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1244'] + content-length: ['1213'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:32:27 GMT'] - etag: ['"0x8D505F70711A1F5"'] + date: ['Fri, 16 Mar 2018 00:17:49 GMT'] + etag: ['"0x8D58AD2C23CA67A"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:28:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:13:34 GMT'] pragma: [no-cache] - request-id: [1d845985-c2d2-4a9c-9326-391a5ff3b579] + request-id: [c9b7db45-f92e-41ef-b5c5-6993d2695e21] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -508,21 +520,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb/listRemoteLoginInformation?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb/listRemoteLoginInformation?api-version=2018-03-01 response: - body: {string: '{"value":[{"nodeId":"tvm-3657382398_1-20170927t223003z","ipAddress":"13.92.254.223","port":50000}]}'} + body: {string: '{"value":[{"nodeId":"tvm-1989762041_1-20180316t001525z-p","ipAddress":"51.144.237.38","port":50000}]}'} headers: cache-control: [no-cache] - content-length: ['99'] + content-length: ['101'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:32:27 GMT'] + date: ['Fri, 16 Mar 2018 00:17:50 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [630487bc-5a57-43e2-8f54-8c450623bc14] + request-id: [b2069f05-064a-47b4-a382-92916149a478] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -530,40 +543,40 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: 'b''{"properties": {"customToolkitSettings": {"commandLine": "echo hello - | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"}, "priority": 0, "inputDirectories": - [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "cluster": + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"}, - "nodeCount": 1, "outputDirectories": [{"createNew": true, "type": "custom", - "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "id": "OUTPUTS", "pathSuffix": - "files"}], "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles"}, "location": - "eastus"}''' + "nodeCount": 1, "customToolkitSettings": {"commandLine": "echo hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"}, + "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": + [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": + [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": + "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['668'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fbdd1615-8f7d-496d-ac38-6abe062a9aad?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7af9cec5-f53b-427a-9e37-aa50077139a3?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 22:32:30 GMT'] + date: ['Fri, 16 Mar 2018 00:17:53 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fbdd1615-8f7d-496d-ac38-6abe062a9aad?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/7af9cec5-f53b-427a-9e37-aa50077139a3?api-version=2018-03-01'] pragma: [no-cache] - request-id: [6204f104-32f1-445c-9e8a-9fccd33c4777] + request-id: [c29052f3-1293-4341-a24c-931236b785e0] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -571,22 +584,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fbdd1615-8f7d-496d-ac38-6abe062a9aad?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7af9cec5-f53b-427a-9e37-aa50077139a3?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fbdd1615-8f7d-496d-ac38-6abe062a9aad","name":"fbdd1615-8f7d-496d-ac38-6abe062a9aad","status":"Succeeded","startTime":"2017-09-27T22:32:29.814Z","endTime":"2017-09-27T22:32:32.005Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb$host_job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7af9cec5-f53b-427a-9e37-aa50077139a3","name":"7af9cec5-f53b-427a-9e37-aa50077139a3","status":"Succeeded","startTime":"2018-03-16T00:17:54.083Z","endTime":"2018-03-16T00:17:54.754Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb$host_job"}}'} headers: cache-control: [no-cache] - content-length: ['468'] + content-length: ['472'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:32:45 GMT'] + date: ['Fri, 16 Mar 2018 00:18:09 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [81361f34-2414-4c7f-8fe6-cc5fd95cb777] + request-id: [68d011bb-c3b1-4766-b177-07d8a10466ee] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -599,25 +611,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T22:32:29.799Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T22:32:31.99Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T22:32:33.996Z","executionInfo":{"startTime":"2017-09-27T22:32:31.344Z","endTime":"2017-09-27T22:32:33.996Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/47d16a0c-046c-4802-8386-3e75173a8fcc","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T00:17:54.067Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T00:17:54.739Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T00:17:58.548Z","executionInfo":{"startTime":"2018-03-16T00:17:55.976Z","endTime":"2018-03-16T00:17:58.548Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1253'] + content-length: ['1416'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:32:46 GMT'] - etag: ['"0x8D505F7A3533591"'] + date: ['Fri, 16 Mar 2018 00:18:11 GMT'] + etag: ['"0x8D58AD35CB1ADBC"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:32:29 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:17:54 GMT'] pragma: [no-cache] - request-id: [87eab9b5-6f3c-48ad-a618-57aff5e11950] + request-id: [d0927de9-8c32-42b9-b8ec-c4d189746c73] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -631,24 +642,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T22:32:29.799Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T22:32:31.99Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T22:32:33.996Z","executionInfo":{"startTime":"2017-09-27T22:32:31.344Z","endTime":"2017-09-27T22:32:33.996Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job","name":"host_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/47d16a0c-046c-4802-8386-3e75173a8fcc","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T00:17:54.067Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T00:17:54.739Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T00:17:58.548Z","executionInfo":{"startTime":"2018-03-16T00:17:55.976Z","endTime":"2018-03-16T00:17:58.548Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1253'] + content-length: ['1416'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:32:47 GMT'] - etag: ['"0x8D505F7A3533591"'] + date: ['Fri, 16 Mar 2018 00:18:12 GMT'] + etag: ['"0x8D58AD35CB1ADBC"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:32:29 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:17:54 GMT'] pragma: [no-cache] - request-id: [540dc2b6-5b36-46f6-bfd2-15dd943e1d33] + request-id: [9a0ffd45-957c-4fa6-86d2-2eea1b61c0b9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -663,21 +675,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?linkexpiryinminutes=60&api-version=2017-09-01-preview&outputdirectoryid=OUTPUTS&maxresults=1000 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=OUTPUTS&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"hi.txt","downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=ooHOTaGoZ7mvdpzJcsu5FE2QLSvJNPfCWK7SicIiKxY%3D&se=2017-09-27T23%3A32%3A49Z&sp=rl","properties":{"lastModified":"2017-09-27T22:32:34Z","contentLength":6}}]}'} + body: {string: '{"value":[{"name":"hi.txt","isDirectory":false,"downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/47d16a0c-046c-4802-8386-3e75173a8fcc/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=K37rmeV1H4EYNWfPkFj8AASuBAZXt1QpBqdWI%2BSHzDU%3D&se=2018-03-16T01%3A18%3A14Z&sp=rl","properties":{"lastModified":"2018-03-16T00:17:57Z","contentLength":6}}]}'} headers: cache-control: [no-cache] - content-length: ['403'] + content-length: ['462'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:32:49 GMT'] + date: ['Fri, 16 Mar 2018 00:18:14 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [d15c04c4-24c5-435e-9818-a0888a56567a] + request-id: [c02fdab2-9f11-4041-8355-630e239860fe] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -692,7 +705,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=ooHOTaGoZ7mvdpzJcsu5FE2QLSvJNPfCWK7SicIiKxY%3D&se=2017-09-27T23%3A32%3A49Z&sp=rl + uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/47d16a0c-046c-4802-8386-3e75173a8fcc/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=K37rmeV1H4EYNWfPkFj8AASuBAZXt1QpBqdWI%2BSHzDU%3D&se=2018-03-16T01%3A18%3A14Z&sp=rl response: body: {string: 'hello @@ -701,9 +714,9 @@ interactions: accept-ranges: [bytes] content-length: ['6'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 22:32:49 GMT'] - etag: ['"0x8D505F7A604FF4D"'] - last-modified: ['Wed, 27 Sep 2017 22:32:34 GMT'] + date: ['Fri, 16 Mar 2018 00:18:15 GMT'] + etag: ['"0x8D58AD35EF65415"'] + last-modified: ['Fri, 16 Mar 2018 00:17:57 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -716,21 +729,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?linkexpiryinminutes=60&api-version=2017-09-01-preview&outputdirectoryid=stdouterr&maxresults=1000 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/host_job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"stderr.txt","downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/stderr.txt?sv=2016-05-31&sr=f&sig=ROOFS6k%2FvUqikmHtErq8wWWLdbHXaBJqCOgVqq9BXXs%3D&se=2017-09-27T23%3A32%3A51Z&sp=rl","properties":{"lastModified":"2017-09-27T22:32:34Z","contentLength":0}},{"name":"stdout.txt","downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/stdout.txt?sv=2016-05-31&sr=f&sig=y%2FqZOQom1GKHmzh3bOmtqoZHzbOBwwwLOtCmKgmidP8%3D&se=2017-09-27T23%3A32%3A51Z&sp=rl","properties":{"lastModified":"2017-09-27T22:32:34Z","contentLength":6}}]}'} + body: {string: '{"value":[{"name":"execution.log","isDirectory":false,"downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/47d16a0c-046c-4802-8386-3e75173a8fcc/stdouterr/execution.log?sv=2016-05-31&sr=f&sig=zMY0x9PuP2RJ9wxFUrGxtwJbbktYpYny5LZnj9A3s54%3D&se=2018-03-16T01%3A18%3A16Z&sp=rl","properties":{"lastModified":"2018-03-16T00:17:57Z","contentLength":181}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/47d16a0c-046c-4802-8386-3e75173a8fcc/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=j%2B6p9qNPwaVnkLfZKZxaTB4KEJ%2BfGy%2Bc5YMJ5ynbVTU%3D&se=2018-03-16T01%3A18%3A16Z&sp=rl","properties":{"lastModified":"2018-03-16T00:17:57Z","contentLength":0}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/47d16a0c-046c-4802-8386-3e75173a8fcc/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=12X4KogQlUoBZzlo49juB7ktIfcMxy0d6f5hOoB%2FQxo%3D&se=2018-03-16T01%3A18%3A16Z&sp=rl","properties":{"lastModified":"2018-03-16T00:17:57Z","contentLength":6}}]}'} headers: cache-control: [no-cache] - content-length: ['787'] + content-length: ['1386'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:32:51 GMT'] + date: ['Fri, 16 Mar 2018 00:18:16 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [dbc12241-b140-4939-b1b2-96e517364431] + request-id: [855f49c6-e31d-4d20-ab2f-a23161a763de] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -745,16 +759,16 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/stderr.txt?sv=2016-05-31&sr=f&sig=ROOFS6k%2FvUqikmHtErq8wWWLdbHXaBJqCOgVqq9BXXs%3D&se=2017-09-27T23%3A32%3A51Z&sp=rl + uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/47d16a0c-046c-4802-8386-3e75173a8fcc/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=j%2B6p9qNPwaVnkLfZKZxaTB4KEJ%2BfGy%2Bc5YMJ5ynbVTU%3D&se=2018-03-16T01%3A18%3A16Z&sp=rl response: body: {string: ''} headers: accept-ranges: [bytes] content-length: ['0'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 22:32:51 GMT'] - etag: ['"0x8D505F7A5FC71BA"'] - last-modified: ['Wed, 27 Sep 2017 22:32:34 GMT'] + date: ['Fri, 16 Mar 2018 00:18:16 GMT'] + etag: ['"0x8D58AD35EE22AF3"'] + last-modified: ['Fri, 16 Mar 2018 00:17:57 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -767,7 +781,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/stdout.txt?sv=2016-05-31&sr=f&sig=y%2FqZOQom1GKHmzh3bOmtqoZHzbOBwwwLOtCmKgmidP8%3D&se=2017-09-27T23%3A32%3A51Z&sp=rl + uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/host_job/47d16a0c-046c-4802-8386-3e75173a8fcc/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=12X4KogQlUoBZzlo49juB7ktIfcMxy0d6f5hOoB%2FQxo%3D&se=2018-03-16T01%3A18%3A16Z&sp=rl response: body: {string: 'hello @@ -776,48 +790,49 @@ interactions: accept-ranges: [bytes] content-length: ['6'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 22:32:52 GMT'] - etag: ['"0x8D505F7A60610FD"'] - last-modified: ['Wed, 27 Sep 2017 22:32:34 GMT'] + date: ['Fri, 16 Mar 2018 00:18:18 GMT'] + etag: ['"0x8D58AD35EF89E9A"'] + last-modified: ['Fri, 16 Mar 2018 00:17:57 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] status: {code: 200, message: OK} - request: - body: 'b''{"properties": {"customToolkitSettings": {"commandLine": "echo hello - | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"}, "priority": 0, "containerSettings": - {"imageSourceRegistry": {"image": "ubuntu"}}, "inputDirectories": [{"id": "INPUT", - "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"}, - "nodeCount": 1, "outputDirectories": [{"createNew": true, "type": "custom", - "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "id": "OUTPUTS", "pathSuffix": - "files"}], "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles"}, "location": - "eastus"}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"}, + "nodeCount": 1, "containerSettings": {"imageSourceRegistry": {"image": "ubuntu"}}, + "customToolkitSettings": {"commandLine": "echo hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"}, + "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": + [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": + [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": + "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['735'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2fb995ba-a999-40ad-ad82-4ec54c32b2af?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/61e5804a-e8d8-4724-992a-f307784a4e34?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 22:32:53 GMT'] + date: ['Fri, 16 Mar 2018 00:18:21 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2fb995ba-a999-40ad-ad82-4ec54c32b2af?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/61e5804a-e8d8-4724-992a-f307784a4e34?api-version=2018-03-01'] pragma: [no-cache] - request-id: [ec65e36f-a8fa-42cd-b779-d28f2684b69c] + request-id: [896a021f-e81b-4263-b39a-fda4fd5847f9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -825,22 +840,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2fb995ba-a999-40ad-ad82-4ec54c32b2af?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/61e5804a-e8d8-4724-992a-f307784a4e34?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2fb995ba-a999-40ad-ad82-4ec54c32b2af","name":"2fb995ba-a999-40ad-ad82-4ec54c32b2af","status":"Succeeded","startTime":"2017-09-27T22:32:53.63Z","endTime":"2017-09-27T22:32:54.349Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb$container_job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/61e5804a-e8d8-4724-992a-f307784a4e34","name":"61e5804a-e8d8-4724-992a-f307784a4e34","status":"Succeeded","startTime":"2018-03-16T00:18:21.693Z","endTime":"2018-03-16T00:18:22.293Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb$container_job"}}'} headers: cache-control: [no-cache] - content-length: ['472'] + content-length: ['477'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:33:09 GMT'] + date: ['Fri, 16 Mar 2018 00:18:37 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [9a0d7f16-7ac5-415a-b933-596827187be3] + request-id: [db76e43b-a94e-4d9e-8b6e-2b732bb424e2] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -853,25 +867,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job","name":"container_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T22:32:53.614Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T22:32:54.317Z","executionState":"Running","executionStateTransitionTime":"2017-09-27T22:32:57.367Z","executionInfo":{"startTime":"2017-09-27T22:32:54.73Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job","name":"container_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/3bb54f57-beb7-413b-b1b7-0eb2f869ec5d","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T00:18:21.677Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T00:18:22.277Z","executionState":"running","executionStateTransitionTime":"2018-03-16T00:18:23.357Z","executionInfo":{"startTime":"2018-03-16T00:18:23.163Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1442'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:33:11 GMT'] - etag: ['"0x8D505F7B185232D"'] + date: ['Fri, 16 Mar 2018 00:18:38 GMT'] + etag: ['"0x8D58AD36D26B26E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:32:53 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:18:21 GMT'] pragma: [no-cache] - request-id: [b7b9bffa-900f-456f-ada9-acf1460ae526] + request-id: [aeceeb4c-328c-43b3-adff-69f33f5cd441] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -885,24 +898,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job","name":"container_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T22:32:53.614Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T22:32:54.317Z","executionState":"Running","executionStateTransitionTime":"2017-09-27T22:32:57.367Z","executionInfo":{"startTime":"2017-09-27T22:32:54.73Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job","name":"container_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/3bb54f57-beb7-413b-b1b7-0eb2f869ec5d","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T00:18:21.677Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T00:18:22.277Z","executionState":"running","executionStateTransitionTime":"2018-03-16T00:18:23.357Z","executionInfo":{"startTime":"2018-03-16T00:18:23.163Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1442'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:33:11 GMT'] - etag: ['"0x8D505F7B185232D"'] + date: ['Fri, 16 Mar 2018 00:18:39 GMT'] + etag: ['"0x8D58AD36D26B26E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:32:53 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:18:21 GMT'] pragma: [no-cache] - request-id: [a943c41b-f9ab-4837-89d5-17ece2c6df14] + request-id: [b0c4ac6c-3acc-48bd-8df6-6710f569ff73] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -916,24 +930,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job","name":"container_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T22:32:53.614Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T22:32:54.317Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T22:33:29.048Z","executionInfo":{"startTime":"2017-09-27T22:32:54.73Z","endTime":"2017-09-27T22:33:29.048Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job","name":"container_job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/3bb54f57-beb7-413b-b1b7-0eb2f869ec5d","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hello | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T00:18:21.677Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T00:18:22.277Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T00:18:57.183Z","executionInfo":{"startTime":"2018-03-16T00:18:23.163Z","endTime":"2018-03-16T00:18:57.183Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1326'] + content-length: ['1494'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:33:33 GMT'] - etag: ['"0x8D505F7B185232D"'] + date: ['Fri, 16 Mar 2018 00:19:01 GMT'] + etag: ['"0x8D58AD36D26B26E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:32:53 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:18:21 GMT'] pragma: [no-cache] - request-id: [ce4fd896-e98b-4ea1-9ea9-6f96b38dadc3] + request-id: [5c4b34f8-7450-4041-bdba-4033b8fa8fea] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -948,21 +963,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job/listOutputFiles?linkexpiryinminutes=60&api-version=2017-09-01-preview&outputdirectoryid=OUTPUTS&maxresults=1000 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=OUTPUTS&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"hi.txt","downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=WedgTGuDENZcuxGS%2Bjbr8bWeLdEFsRiaZ2H7DdgYPT0%3D&se=2017-09-27T23%3A33%3A36Z&sp=rl","properties":{"lastModified":"2017-09-27T22:33:29Z","contentLength":6}}]}'} + body: {string: '{"value":[{"name":"hi.txt","isDirectory":false,"downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/3bb54f57-beb7-413b-b1b7-0eb2f869ec5d/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=8FTPPC8yaI5XY8fwjuexotmg566zgTObEoN%2FiJ1RK68%3D&se=2018-03-16T01%3A19%3A03Z&sp=rl","properties":{"lastModified":"2018-03-16T00:18:56Z","contentLength":6}}]}'} headers: cache-control: [no-cache] - content-length: ['410'] + content-length: ['467'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:33:34 GMT'] + date: ['Fri, 16 Mar 2018 00:19:02 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [0b860bf2-c713-47fa-96f2-dfa451dea031] + request-id: [84fc8967-45a7-4adf-84de-b3c292041234] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -977,7 +993,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=WedgTGuDENZcuxGS%2Bjbr8bWeLdEFsRiaZ2H7DdgYPT0%3D&se=2017-09-27T23%3A33%3A36Z&sp=rl + uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/3bb54f57-beb7-413b-b1b7-0eb2f869ec5d/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=8FTPPC8yaI5XY8fwjuexotmg566zgTObEoN%2FiJ1RK68%3D&se=2018-03-16T01%3A19%3A03Z&sp=rl response: body: {string: 'hello @@ -986,9 +1002,9 @@ interactions: accept-ranges: [bytes] content-length: ['6'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 22:33:36 GMT'] - etag: ['"0x8D505F7C6D4B97A"'] - last-modified: ['Wed, 27 Sep 2017 22:33:29 GMT'] + date: ['Fri, 16 Mar 2018 00:19:03 GMT'] + etag: ['"0x8D58AD38212C322"'] + last-modified: ['Fri, 16 Mar 2018 00:18:56 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -1001,21 +1017,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job/listOutputFiles?linkexpiryinminutes=60&api-version=2017-09-01-preview&outputdirectoryid=stdouterr&maxresults=1000 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/jobs/container_job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"stderr.txt","downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/stderr.txt?sv=2016-05-31&sr=f&sig=p0OKS4wrAyOFOQSCPbd3ILsGMDdr415ZQc2aP7ZEYMU%3D&se=2017-09-27T23%3A33%3A37Z&sp=rl","properties":{"lastModified":"2017-09-27T22:33:29Z","contentLength":0}},{"name":"stdout.txt","downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/stdout.txt?sv=2016-05-31&sr=f&sig=uI%2FY46%2BZrM7zwEOJqP6U7Z1Ql%2BQvkXNmOC6bPnl1ha4%3D&se=2017-09-27T23%3A33%3A37Z&sp=rl","properties":{"lastModified":"2017-09-27T22:33:29Z","contentLength":6}}]}'} + body: {string: '{"value":[{"name":"execution.log","isDirectory":false,"downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/3bb54f57-beb7-413b-b1b7-0eb2f869ec5d/stdouterr/execution.log?sv=2016-05-31&sr=f&sig=UkCghoLRqTFxgqKeNoY5iO9AEY%2FP7b4rbYvuBjElEoY%3D&se=2018-03-16T01%3A19%3A05Z&sp=rl","properties":{"lastModified":"2018-03-16T00:18:56Z","contentLength":22564}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/3bb54f57-beb7-413b-b1b7-0eb2f869ec5d/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=XgpY2YPmT%2FRoyAmQt81o424CBg1TGZUGbQ9ml50I%2B0M%3D&se=2018-03-16T01%3A19%3A05Z&sp=rl","properties":{"lastModified":"2018-03-16T00:18:56Z","contentLength":0}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/3bb54f57-beb7-413b-b1b7-0eb2f869ec5d/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=Odk9vvtbySbun0LgSwPbleei%2F%2F7%2BP%2B%2Bms8H4CgMdE4c%3D&se=2018-03-16T01%3A19%3A05Z&sp=rl","properties":{"lastModified":"2018-03-16T00:18:56Z","contentLength":6}}]}'} headers: cache-control: [no-cache] - content-length: ['799'] + content-length: ['1411'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:33:36 GMT'] + date: ['Fri, 16 Mar 2018 00:19:04 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [ae216533-56e0-43fc-ae45-da94e34f59bc] + request-id: [5447fab6-67ca-4ea5-833c-38fcc88ddef1] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1030,16 +1047,16 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/stderr.txt?sv=2016-05-31&sr=f&sig=p0OKS4wrAyOFOQSCPbd3ILsGMDdr415ZQc2aP7ZEYMU%3D&se=2017-09-27T23%3A33%3A37Z&sp=rl + uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/3bb54f57-beb7-413b-b1b7-0eb2f869ec5d/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=XgpY2YPmT%2FRoyAmQt81o424CBg1TGZUGbQ9ml50I%2B0M%3D&se=2018-03-16T01%3A19%3A05Z&sp=rl response: body: {string: ''} headers: accept-ranges: [bytes] content-length: ['0'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 22:33:36 GMT'] - etag: ['"0x8D505F7C6CBDDA6"'] - last-modified: ['Wed, 27 Sep 2017 22:33:29 GMT'] + date: ['Fri, 16 Mar 2018 00:19:05 GMT'] + etag: ['"0x8D58AD382009648"'] + last-modified: ['Fri, 16 Mar 2018 00:18:56 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -1052,7 +1069,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/stdout.txt?sv=2016-05-31&sr=f&sig=uI%2FY46%2BZrM7zwEOJqP6U7Z1Ql%2BQvkXNmOC6bPnl1ha4%3D&se=2017-09-27T23%3A33%3A37Z&sp=rl + uri: https://psdk4c3c15bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/jobs/container_job/3bb54f57-beb7-413b-b1b7-0eb2f869ec5d/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=Odk9vvtbySbun0LgSwPbleei%2F%2F7%2BP%2B%2Bms8H4CgMdE4c%3D&se=2018-03-16T01%3A19%3A05Z&sp=rl response: body: {string: 'hello @@ -1061,9 +1078,9 @@ interactions: accept-ranges: [bytes] content-length: ['6'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 22:33:37 GMT'] - etag: ['"0x8D505F7C6D6407B"'] - last-modified: ['Wed, 27 Sep 2017 22:33:29 GMT'] + date: ['Fri, 16 Mar 2018 00:19:06 GMT'] + etag: ['"0x8D58AD38214BF79"'] + last-modified: ['Fri, 16 Mar 2018 00:18:56 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -1076,22 +1093,23 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters/cluster4c3c15bb?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 22:33:38 GMT'] + date: ['Fri, 16 Mar 2018 00:19:08 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01'] pragma: [no-cache] - request-id: [8cd5a1fc-4d49-47e4-b12b-607bc7a22402] + request-id: [b8cda3c0-b0d8-43ae-b980-4f3124f48187] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -1103,22 +1121,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7","name":"7e69f371-db62-4183-bba0-5ee577d43bd7","status":"InProgress","startTime":"2017-09-27T22:33:38.021Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:33:53 GMT'] + date: ['Fri, 16 Mar 2018 00:19:24 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [ba872d03-8ef4-4ca6-999b-7668a044686a] + request-id: [939f762c-3b23-40c4-b94e-2affb11d350e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1131,22 +1148,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7","name":"7e69f371-db62-4183-bba0-5ee577d43bd7","status":"InProgress","startTime":"2017-09-27T22:33:38.021Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:34:26 GMT'] + date: ['Fri, 16 Mar 2018 00:19:55 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [853bfa7d-98f8-408c-9901-ef684fa899f1] + request-id: [d97977cc-da2a-498b-82ad-edbb1056ae6d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1159,22 +1175,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7","name":"7e69f371-db62-4183-bba0-5ee577d43bd7","status":"InProgress","startTime":"2017-09-27T22:33:38.021Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:34:56 GMT'] + date: ['Fri, 16 Mar 2018 00:20:26 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [35e2d572-86fa-4e7d-98ec-76770ff375e3] + request-id: [ed1de4c7-397c-4250-b26d-2f842ecec5b8] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1187,22 +1202,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7","name":"7e69f371-db62-4183-bba0-5ee577d43bd7","status":"InProgress","startTime":"2017-09-27T22:33:38.021Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:35:27 GMT'] + date: ['Fri, 16 Mar 2018 00:20:58 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [0dc6aa73-f793-4b1f-ba1b-7f41ec364c85] + request-id: [37444923-1714-4202-a58a-1cc7b2295d87] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1215,22 +1229,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7","name":"7e69f371-db62-4183-bba0-5ee577d43bd7","status":"InProgress","startTime":"2017-09-27T22:33:38.021Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:35:59 GMT'] + date: ['Fri, 16 Mar 2018 00:21:29 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [6abc7939-e37a-431c-8418-4650b9a4ee62] + request-id: [5faf749f-e0db-4ac2-9043-a414efd5ec96] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1243,22 +1256,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7","name":"7e69f371-db62-4183-bba0-5ee577d43bd7","status":"InProgress","startTime":"2017-09-27T22:33:38.021Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:36:30 GMT'] + date: ['Fri, 16 Mar 2018 00:22:00 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [71fd73c5-9154-4525-9bc9-c81923185e97] + request-id: [ab2a4417-1c43-406a-b9c2-d134a477d34d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1271,22 +1283,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7","name":"7e69f371-db62-4183-bba0-5ee577d43bd7","status":"InProgress","startTime":"2017-09-27T22:33:38.021Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:37:00 GMT'] + date: ['Fri, 16 Mar 2018 00:22:32 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [a16fb9a1-7e7e-41b8-9c38-7da24bcbc5d6] + request-id: [1980ef1c-8ea4-4159-bbcd-9f7487224ca0] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1299,22 +1310,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7","name":"7e69f371-db62-4183-bba0-5ee577d43bd7","status":"InProgress","startTime":"2017-09-27T22:33:38.021Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:37:32 GMT'] + date: ['Fri, 16 Mar 2018 00:23:03 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [91933ade-6078-4dfe-80b7-f8544a52b522] + request-id: [920c42ef-07fb-4d4a-b1ba-b6371dbbe7cd] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1327,22 +1337,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7","name":"7e69f371-db62-4183-bba0-5ee577d43bd7","status":"InProgress","startTime":"2017-09-27T22:33:38.021Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:38:02 GMT'] + date: ['Fri, 16 Mar 2018 00:23:34 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [31fab65b-a689-4c33-98ad-5cfae1eb5ad0] + request-id: [6c6d506b-dbf0-46b3-8f82-6b97ef65d3b1] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1355,22 +1364,102 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/7e69f371-db62-4183-bba0-5ee577d43bd7","name":"7e69f371-db62-4183-bba0-5ee577d43bd7","status":"Succeeded","startTime":"2017-09-27T22:33:38.021Z","endTime":"2017-09-27T22:38:10.926Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb$cluster4c3c15bb"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} headers: cache-control: [no-cache] - content-length: ['475'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:38:33 GMT'] + date: ['Fri, 16 Mar 2018 00:24:05 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [d01469dd-9b8b-4681-b3a9-f896406f2509] + request-id: [883d4b42-e9c9-4aca-8cce-e2d75dd4c835] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} + headers: + cache-control: [no-cache] + content-length: ['298'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:24:37 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [4fd8d9a3-74a5-4dd0-be9d-c1f8b8169a16] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"InProgress","startTime":"2018-03-16T00:19:08.482Z"}'} + headers: + cache-control: [no-cache] + content-length: ['298'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:25:08 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [a2e3a5a6-3bae-435e-9142-00c03ec89bb3] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","name":"fa5ab30b-f489-4d04-a0f0-bf6e51ca0717","status":"Succeeded","startTime":"2018-03-16T00:19:08.482Z","endTime":"2018-03-16T00:25:11.46Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb$cluster4c3c15bb"}}'} + headers: + cache-control: [no-cache] + content-length: ['478'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:25:39 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [2336d832-ac50-4abb-a1e6-e025d62e886f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1384,24 +1473,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_creation_and_deletion4c3c15bb/providers/Microsoft.BatchAI/clusters?api-version=2018-03-01 response: body: {string: '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:38:34 GMT'] + date: ['Fri, 16 Mar 2018 00:25:39 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [545df049-5099-48ac-8de6-7cc8d5df29f1] - server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] status: {code: 200, message: OK} diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_setup_task_execution.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_setup_task_execution.yaml index 368db29bfc8d..84153b495a2f 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_setup_task_execution.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_clusters.test_setup_task_execution.yaml @@ -4,59 +4,59 @@ interactions: headers: Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.5.3; Linux 4.10.0-35-generic)] - x-ms-date: ['Wed, 27 Sep 2017 22:38:45 GMT'] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 00:26:20 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://psdk39da1597.file.core.windows.net/share?restype=share response: - body: {string: "\uFEFFShareAlreadyExistsThe\ - \ specified share already exists.\nRequestId:eadbc76b-001a-011d-78e1-373e92000000\n\ - Time:2017-09-27T22:38:45.7945134Z"} + body: {string: ''} headers: - content-length: ['222'] - content-type: [application/xml] - date: ['Wed, 27 Sep 2017 22:38:45 GMT'] + date: ['Fri, 16 Mar 2018 00:26:20 GMT'] + etag: ['"0x8D58AD48AE5FC64"'] + last-modified: ['Fri, 16 Mar 2018 00:26:21 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] - status: {code: 409, message: The specified share already exists.} -- request: - body: '{"properties": {"userAccountSettings": {"adminUserName": "demoUser", "adminUserPassword": - "Dem0Pa$$w0rd"}, "scaleSettings": {"manual": {"nodeDeallocationOption": "requeue", - "targetNodeCount": 1}}, "vmSize": "STANDARD_D1", "vmPriority": "dedicated", - "nodeSetup": {"setupTask": {"environmentVariables": [{"name": "GREETING", "value": - "setup task"}], "runElevated": false, "commandLine": "echo $GREETING", "stdOutErrPathPrefix": - "$AZ_BATCHAI_MOUNT_ROOT/azfiles"}, "mountVolumes": {"azureFileShares": [{"azureFileUrl": - "https://psdk39da1597.file.core.windows.net/share", "fileMode": "0777", "relativeMountPath": - "azfiles", "directoryMode": "0777", "accountName": "psdk39da1597", "credentialsInfo": - {"accountKey": "w14z+jAsb2Gz+D9ASTQqaIdkeGNfthVIgK7mlrQugsb8qCBJaLXYYd/IITK9J9Fm90YRdu1gocxkVeZXu9vmYg=="}}]}}}, - "location": "eastus"}' + status: {code: 201, message: Created} +- request: + body: '{"location": "westeurope", "properties": {"vmSize": "STANDARD_D1", "vmPriority": + "lowpriority", "scaleSettings": {"manual": {"targetNodeCount": 1, "nodeDeallocationOption": + "requeue"}}, "nodeSetup": {"setupTask": {"commandLine": "echo $GREETING $SECRET_GREETING", + "environmentVariables": [{"name": "GREETING", "value": "setup task"}], "secrets": + [{"name": "SECRET_GREETING", "value": "has a secret"}], "runElevated": false, + "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles"}, "mountVolumes": {"azureFileShares": + [{"accountName": "psdk39da1597", "azureFileUrl": "https://psdk39da1597.file.core.windows.net/share", + "credentials": {"accountKey": "YqXK3UQFbS9Jh6P8BprswmRWJUON+628lTWI1fYNFH9esAH9RiRiwyqolUaXD/kSf05gs4OCdOn/DS7Tq1z8mg=="}, + "relativeMountPath": "azfiles", "fileMode": "0777", "directoryMode": "0777"}]}}, + "userAccountSettings": {"adminUserName": "demoUser", "adminUserPassword": "Dem0Pa$$w0rd"}}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['829'] + Content-Length: ['914'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9e49db57-cab5-42f3-bb0a-66e4c2a742ad?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/280c66ad-a289-4d20-8d0c-01c5bfa1f3b7?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 22:38:47 GMT'] + date: ['Fri, 16 Mar 2018 00:26:23 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9e49db57-cab5-42f3-bb0a-66e4c2a742ad?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/280c66ad-a289-4d20-8d0c-01c5bfa1f3b7?api-version=2018-03-01'] pragma: [no-cache] - request-id: [f9439d53-c0db-46ee-8da6-0b17a010b129] + request-id: [df48db5a-5994-4bea-9363-4c289f5c6f58] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -64,22 +64,52 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/280c66ad-a289-4d20-8d0c-01c5bfa1f3b7?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/280c66ad-a289-4d20-8d0c-01c5bfa1f3b7","name":"280c66ad-a289-4d20-8d0c-01c5bfa1f3b7","status":"Succeeded","startTime":"2018-03-16T00:26:23.401Z","endTime":"2018-03-16T00:26:24.058Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_setup_task_execution39da1597$cluster39da1597"}}'} + headers: + cache-control: [no-cache] + content-length: ['478'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:26:38 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [c6aeb742-510c-4b4a-97b2-4f2f78f0430b] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9e49db57-cab5-42f3-bb0a-66e4c2a742ad?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9e49db57-cab5-42f3-bb0a-66e4c2a742ad","name":"9e49db57-cab5-42f3-bb0a-66e4c2a742ad","status":"Succeeded","startTime":"2017-09-27T22:38:46.644Z","endTime":"2017-09-27T22:38:47.239Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_setup_task_execution39da1597$cluster39da1597"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:26:23.386Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['474'] + content-length: ['1640'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:39:03 GMT'] + date: ['Fri, 16 Mar 2018 00:26:40 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [10e746a7-1983-4925-a76a-9299bdcad039] + request-id: [7658b85c-a74d-413d-8141-65d38a5809da] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -93,24 +123,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:38:47.9Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:26:23.386Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}]}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1652'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:39:05 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:26:41 GMT'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] pragma: [no-cache] - request-id: [1d1f023d-6b32-4d09-b1a5-acafcdd9b89c] + request-id: [aeedbf78-7942-42cb-b975-e7959c00cc34] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -124,22 +154,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:38:47.9Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}]}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:26:23.386Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1442'] + content-length: ['1640'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:39:07 GMT'] + date: ['Fri, 16 Mar 2018 00:26:43 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [6b02c384-5648-476f-8730-0c295620a62f] + request-id: [d21b41ed-8241-4828-a09e-fe947d838b72] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -153,24 +187,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:38:47.9Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:26:23.386Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1640'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:39:08 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:27:04 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [36ccc03c-0cc8-4827-8eaf-59db5a358886] + request-id: [9781dccc-fb6e-44a1-b836-556aee81b6c5] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -184,24 +220,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:38:47.9Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:26:23.386Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1640'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:39:30 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:27:26 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [180a4dfd-a2b3-4b85-8d08-11911189007e] + request-id: [c891ea8b-2a65-415a-a44f-a43ef753cdd8] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -215,24 +253,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:38:47.9Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:26:23.386Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1640'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:39:51 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:27:47 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [b0752cc6-4623-4edd-9921-f111e2a17db7] + request-id: [0673e6db-8742-433a-a2b4-f1dc12abf116] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -246,24 +286,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:39:53.296Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:27:58.91Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:40:12 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:28:10 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [0c68fa34-a044-4e69-994e-19fb8c0ee904] + request-id: [acb8ba9e-1ff6-4079-905d-63e1365c71c0] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -277,24 +319,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:39:53.296Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:27:58.91Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:40:33 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:28:31 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [01a4bdd9-531b-46eb-a47b-eef97a5def21] + request-id: [72f330d5-1fff-46c4-8a3a-d23667ceb917] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -308,24 +352,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:39:53.296Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:27:58.91Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:40:55 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:28:52 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [e8b86494-abb0-4173-80fb-26261c867ac2] + request-id: [f52a2843-fc13-4b0e-8704-165222f32dd9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -339,24 +385,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:39:53.296Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:27:58.91Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:41:16 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:29:15 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [65e5e912-0c04-4b1e-8d15-9760a3c688ec] + request-id: [bed062d9-9582-4d28-8c52-47cb9cef4137] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -370,24 +418,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:39:53.296Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:27:58.91Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:41:38 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:29:36 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [b220ceaa-6cd4-44d3-9390-b08fd53b81f6] + request-id: [9d171277-1a1a-42bb-86fd-1496079f1904] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -401,24 +451,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:39:53.296Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:27:58.91Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:41:59 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:29:57 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [207f3938-8769-41c5-ab1d-e404eb879936] + request-id: [1af6d4dc-8600-4712-b452-dad5a1ccb95a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -432,24 +484,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:39:53.296Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:27:58.91Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:42:22 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:30:18 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [348e91c0-a162-44c5-9f04-8f1b55f7fae6] + request-id: [ee0dd132-877d-4197-9680-68b841da7ae0] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -463,24 +517,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:39:53.296Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:27:58.91Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:42:44 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:30:40 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [c2e92f05-090c-423d-ba17-c590d69091d3] + request-id: [85ef09e2-65b9-4e5d-ae77-a7d5e776c287] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -494,24 +550,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T22:38:46.628Z","lastModified":"2017-09-27T22:38:46.628Z","allocationStateTransitionTime":"2017-09-27T22:39:53.296Z","provisioningStateTransitionTime":"2017-09-27T22:38:47.223Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo - $GREETING","environmentVariables":[{"name":"GREETING","value":"setup task"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}},"subnet":{}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597","name":"cluster39da1597","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T00:26:23.386Z","allocationStateTransitionTime":"2018-03-16T00:27:58.91Z","provisioningStateTransitionTime":"2018-03-16T00:26:24.042Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"setupTask":{"commandLine":"echo + $GREETING $SECRET_GREETING","environmentVariables":[{"name":"GREETING","value":"setup + task"}],"secrets":[{"name":"SECRET_GREETING"}],"runElevated":false,"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","stdOutErrPathSuffix":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910"},"mountVolumes":{"azureFileShares":[{"accountName":"psdk39da1597","azureFileUrl":"https://psdk39da1597.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}]}}}}'} headers: cache-control: [no-cache] - content-length: ['1430'] + content-length: ['1637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:43:06 GMT'] - etag: ['"0x8D505F883EEC8C7"'] + date: ['Fri, 16 Mar 2018 00:31:01 GMT'] + etag: ['"0x8D58AD48C458B92"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 22:38:46 GMT'] + last-modified: ['Fri, 16 Mar 2018 00:26:23 GMT'] pragma: [no-cache] - request-id: [22991609-2ab8-4950-a9d4-226d5489322b] + request-id: [c3337e4b-4b12-40bd-8fe7-f9553454b079] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -526,21 +584,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597/listRemoteLoginInformation?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597/listRemoteLoginInformation?api-version=2018-03-01 response: - body: {string: '{"value":[{"nodeId":"tvm-4283973576_1-20170927t223951z","ipAddress":"40.76.219.192","port":50000}]}'} + body: {string: '{"value":[{"nodeId":"tvm-3516245985_1-20180316t002758z-p","ipAddress":"52.232.47.117","port":50000}]}'} headers: cache-control: [no-cache] - content-length: ['99'] + content-length: ['101'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:43:08 GMT'] + date: ['Fri, 16 Mar 2018 00:31:03 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [fe0cccd6-d6a1-40d0-b49d-951b845ce05e] + request-id: [c44223ec-66d1-4e50-90f9-553bf4de7781] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -551,26 +610,26 @@ interactions: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.5.3; Linux 4.10.0-35-generic)] - x-ms-date: ['Wed, 27 Sep 2017 22:43:08 GMT'] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 00:31:03 GMT'] x-ms-range: [bytes=0-33554431] x-ms-version: ['2017-04-17'] method: GET - uri: https://psdk39da1597.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/stdout-tvm-4283973576_1-20170927t223951z.txt + uri: https://psdk39da1597.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910/stdout-tvm-3516245985_1-20180316t002758z-p.txt response: - body: {string: 'setup task + body: {string: 'setup task has a secret '} headers: accept-ranges: [bytes] - content-length: ['11'] - content-range: [bytes 0-10/11] + content-length: ['24'] + content-range: [bytes 0-23/24] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 22:43:08 GMT'] - etag: ['"0x8D505F9084DDB79"'] - last-modified: ['Wed, 27 Sep 2017 22:42:28 GMT'] + date: ['Fri, 16 Mar 2018 00:31:04 GMT'] + etag: ['"0x8D58AD525A8A047"'] + last-modified: ['Fri, 16 Mar 2018 00:30:40 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] - x-ms-server-encrypted: ['false'] + x-ms-server-encrypted: ['true'] x-ms-type: [File] x-ms-version: ['2017-04-17'] status: {code: 206, message: Partial Content} @@ -578,21 +637,21 @@ interactions: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.5.3; Linux 4.10.0-35-generic)] - x-ms-date: ['Wed, 27 Sep 2017 22:43:08 GMT'] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 00:31:04 GMT'] x-ms-range: [bytes=0-33554431] x-ms-version: ['2017-04-17'] method: GET - uri: https://psdk39da1597.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/stderr-tvm-4283973576_1-20170927t223951z.txt + uri: https://psdk39da1597.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910/stderr-tvm-3516245985_1-20180316t002758z-p.txt response: body: {string: "\uFEFFInvalidRangeThe\ - \ range specified is invalid for the current size of the resource.\nRequestId:5bbd30c9-001a-0026-57e1-373a99000000\n\ - Time:2017-09-27T22:43:09.4692984Z"} + \ range specified is invalid for the current size of the resource.\nRequestId:6889ab8b-601a-0049-14be-bc4253000000\n\ + Time:2018-03-16T00:31:05.2211093Z"} headers: content-length: ['249'] content-range: [bytes */0] content-type: [application/xml] - date: ['Wed, 27 Sep 2017 22:43:08 GMT'] + date: ['Fri, 16 Mar 2018 00:31:05 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2017-04-17'] status: {code: 416, message: The range specified is invalid for the current size @@ -601,22 +660,22 @@ interactions: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.5.3; Linux 4.10.0-35-generic)] - x-ms-date: ['Wed, 27 Sep 2017 22:43:09 GMT'] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 00:31:05 GMT'] x-ms-version: ['2017-04-17'] method: GET - uri: https://psdk39da1597.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/stderr-tvm-4283973576_1-20170927t223951z.txt + uri: https://psdk39da1597.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/clusters/cluster39da1597/f601ee14-b1f3-46f8-93c9-39c8937cf910/stderr-tvm-3516245985_1-20180316t002758z-p.txt response: body: {string: ''} headers: accept-ranges: [bytes] content-length: ['0'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 22:43:09 GMT'] - etag: ['"0x8D505F9084ACDAE"'] - last-modified: ['Wed, 27 Sep 2017 22:42:28 GMT'] + date: ['Fri, 16 Mar 2018 00:31:05 GMT'] + etag: ['"0x8D58AD52598254C"'] + last-modified: ['Fri, 16 Mar 2018 00:30:40 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] - x-ms-server-encrypted: ['false'] + x-ms-server-encrypted: ['true'] x-ms-type: [File] x-ms-version: ['2017-04-17'] status: {code: 200, message: OK} @@ -628,22 +687,23 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_clusters_test_setup_task_execution39da1597/providers/Microsoft.BatchAI/clusters/cluster39da1597?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 22:43:10 GMT'] + date: ['Fri, 16 Mar 2018 00:31:08 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01'] pragma: [no-cache] - request-id: [a18c9ee9-b533-4057-a561-763074beadb3] + request-id: [d7c61ac9-b458-4bd1-9e35-e92f6ade67c6] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -655,22 +715,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e","name":"9125abb6-3496-4a67-affc-2910e8f1ba0e","status":"InProgress","startTime":"2017-09-27T22:43:10.101Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644","name":"93b3a5e8-d19b-4d51-98db-735e91e60644","status":"InProgress","startTime":"2018-03-16T00:31:07.501Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:43:26 GMT'] + date: ['Fri, 16 Mar 2018 00:31:23 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [738dec24-0dc7-4126-82be-7ef4041d9f67] + request-id: [5f00c170-8342-4b01-b19d-cc11ac1082f8] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -683,22 +742,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e","name":"9125abb6-3496-4a67-affc-2910e8f1ba0e","status":"InProgress","startTime":"2017-09-27T22:43:10.101Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644","name":"93b3a5e8-d19b-4d51-98db-735e91e60644","status":"InProgress","startTime":"2018-03-16T00:31:07.501Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:43:58 GMT'] + date: ['Fri, 16 Mar 2018 00:31:55 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [26775b51-51ae-41b9-b62f-ea14514537fd] + request-id: [00e445a3-8622-402b-82fc-54d62dfa3449] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -711,22 +769,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e","name":"9125abb6-3496-4a67-affc-2910e8f1ba0e","status":"InProgress","startTime":"2017-09-27T22:43:10.101Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644","name":"93b3a5e8-d19b-4d51-98db-735e91e60644","status":"InProgress","startTime":"2018-03-16T00:31:07.501Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:44:29 GMT'] + date: ['Fri, 16 Mar 2018 00:32:26 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [95ddac8d-ee1b-4ebe-849d-b952e1e27da3] + request-id: [e3a9b59f-266f-4e13-9c8b-b4fa6fbcaa6d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -739,22 +796,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e","name":"9125abb6-3496-4a67-affc-2910e8f1ba0e","status":"InProgress","startTime":"2017-09-27T22:43:10.101Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644","name":"93b3a5e8-d19b-4d51-98db-735e91e60644","status":"InProgress","startTime":"2018-03-16T00:31:07.501Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:45:00 GMT'] + date: ['Fri, 16 Mar 2018 00:32:57 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [d4d332d0-bb8c-40d8-b54e-9afcebf3398a] + request-id: [7fc32838-7302-4ab6-a5c0-d9ddba827a30] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -767,22 +823,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e","name":"9125abb6-3496-4a67-affc-2910e8f1ba0e","status":"InProgress","startTime":"2017-09-27T22:43:10.101Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644","name":"93b3a5e8-d19b-4d51-98db-735e91e60644","status":"InProgress","startTime":"2018-03-16T00:31:07.501Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:45:31 GMT'] + date: ['Fri, 16 Mar 2018 00:33:28 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [9e02ac44-aae0-42fc-95d9-629b6492c88d] + request-id: [989c7d40-1fb4-4524-8945-1ddf120d4cae] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -795,22 +850,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e","name":"9125abb6-3496-4a67-affc-2910e8f1ba0e","status":"InProgress","startTime":"2017-09-27T22:43:10.101Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644","name":"93b3a5e8-d19b-4d51-98db-735e91e60644","status":"InProgress","startTime":"2018-03-16T00:31:07.501Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:46:03 GMT'] + date: ['Fri, 16 Mar 2018 00:33:59 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [7efcbec3-5599-4d33-816e-2e2cb28a397c] + request-id: [422769de-9326-4ac0-8088-6033b0c43bdc] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -823,22 +877,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e","name":"9125abb6-3496-4a67-affc-2910e8f1ba0e","status":"InProgress","startTime":"2017-09-27T22:43:10.101Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644","name":"93b3a5e8-d19b-4d51-98db-735e91e60644","status":"InProgress","startTime":"2018-03-16T00:31:07.501Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:46:34 GMT'] + date: ['Fri, 16 Mar 2018 00:34:31 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [d3674ef0-417d-4a49-a3fc-f64b800c9794] + request-id: [3d221430-d8a0-42ef-a5ef-ecf91091614e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -851,22 +904,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e","name":"9125abb6-3496-4a67-affc-2910e8f1ba0e","status":"InProgress","startTime":"2017-09-27T22:43:10.101Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644","name":"93b3a5e8-d19b-4d51-98db-735e91e60644","status":"InProgress","startTime":"2018-03-16T00:31:07.501Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:47:05 GMT'] + date: ['Fri, 16 Mar 2018 00:35:02 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [6c8db611-480a-4473-8077-b744dfb59d30] + request-id: [4b8a2800-36b7-4a10-875f-b1c16ef799b9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -879,22 +931,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e","name":"9125abb6-3496-4a67-affc-2910e8f1ba0e","status":"InProgress","startTime":"2017-09-27T22:43:10.101Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644","name":"93b3a5e8-d19b-4d51-98db-735e91e60644","status":"InProgress","startTime":"2018-03-16T00:31:07.501Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:47:36 GMT'] + date: ['Fri, 16 Mar 2018 00:35:34 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [1a84bd22-616e-48d2-9ee9-31f70de4f60a] + request-id: [ab83ded6-1b42-42e6-a062-50296566b474] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -907,22 +958,48 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644","name":"93b3a5e8-d19b-4d51-98db-735e91e60644","status":"InProgress","startTime":"2018-03-16T00:31:07.501Z"}'} + headers: + cache-control: [no-cache] + content-length: ['298'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 00:36:04 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [19032c44-2ef8-4bbc-9891-b5d7e134642e] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/9125abb6-3496-4a67-affc-2910e8f1ba0e","name":"9125abb6-3496-4a67-affc-2910e8f1ba0e","status":"Succeeded","startTime":"2017-09-27T22:43:10.101Z","endTime":"2017-09-27T22:47:44.023Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_setup_task_execution39da1597$cluster39da1597"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/93b3a5e8-d19b-4d51-98db-735e91e60644","name":"93b3a5e8-d19b-4d51-98db-735e91e60644","status":"Succeeded","startTime":"2018-03-16T00:31:07.501Z","endTime":"2018-03-16T00:36:11.06Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_clusters_test_setup_task_execution39da1597$cluster39da1597"}}'} headers: cache-control: [no-cache] - content-length: ['474'] + content-length: ['477'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:48:08 GMT'] + date: ['Fri, 16 Mar 2018 00:36:36 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [994a24a1-d0b8-4253-b357-6c6907b40a75] + request-id: [532fc7c7-de57-4829-90fe-cd6cf1b2f44a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_file_servers.test_file_server.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_file_servers.test_file_server.yaml index e6e857faaf4b..4f1c41d6b771 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_file_servers.test_file_server.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_file_servers.test_file_server.yaml @@ -1,31 +1,32 @@ interactions: - request: - body: '{"location": "eastus", "properties": {"sshConfiguration": {"userAccountSettings": - {"adminUserPassword": "Dem0Pa$$w0rd", "adminUserName": "demoUser"}}, "dataDisks": - {"diskSizeInGB": 10, "storageAccountType": "Standard_LRS", "diskCount": 2}, - "vmSize": "STANDARD_D1"}}' + body: '{"location": "westeurope", "properties": {"vmSize": "STANDARD_D1", "sshConfiguration": + {"userAccountSettings": {"adminUserName": "demoUser", "adminUserPassword": "Dem0Pa$$w0rd"}}, + "dataDisks": {"diskSizeInGB": 10, "cachingType": "none", "diskCount": 2, "storageAccountType": + "Standard_LRS"}}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['265'] + Content-Length: ['292'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers/fileservercedd134b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers/fileservercedd134b?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 21:45:28 GMT'] + date: ['Fri, 16 Mar 2018 07:50:09 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/b20d3aae-79e3-48e0-9048-db205fda9e24?api-version=2018-03-01'] pragma: [no-cache] - request-id: [abec9173-f289-44d3-bbe4-9cb19d2a22ef] + request-id: [771eee62-f6b8-414c-90c3-3a269bcb986d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -37,22 +38,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0","name":"814a680c-c01a-44a6-8f2f-ba09ff9639b0","status":"InProgress","startTime":"2017-09-27T21:45:28.159Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24","name":"b20d3aae-79e3-48e0-9048-db205fda9e24","status":"InProgress","startTime":"2018-03-16T07:50:09.503Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:45:45 GMT'] + date: ['Fri, 16 Mar 2018 07:50:25 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [7b9095e5-cb25-425a-9949-72a0e20e7b95] + request-id: [2ab66ade-45f7-44c4-b5e7-97f77d85cd38] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -65,22 +65,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0","name":"814a680c-c01a-44a6-8f2f-ba09ff9639b0","status":"InProgress","startTime":"2017-09-27T21:45:28.159Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24","name":"b20d3aae-79e3-48e0-9048-db205fda9e24","status":"InProgress","startTime":"2018-03-16T07:50:09.503Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:46:15 GMT'] + date: ['Fri, 16 Mar 2018 07:50:57 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [99efa555-879d-4f13-9ce3-e589b30050fb] + request-id: [c549b289-e354-4416-a082-7135ff43227a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -93,22 +92,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0","name":"814a680c-c01a-44a6-8f2f-ba09ff9639b0","status":"InProgress","startTime":"2017-09-27T21:45:28.159Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24","name":"b20d3aae-79e3-48e0-9048-db205fda9e24","status":"InProgress","startTime":"2018-03-16T07:50:09.503Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:46:46 GMT'] + date: ['Fri, 16 Mar 2018 07:51:29 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [9bb65a23-4faf-4e8e-99f7-94ace5d1b7a2] + request-id: [c7f2d0f0-dd27-4b25-97d4-3998cd9f6b93] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -121,22 +119,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0","name":"814a680c-c01a-44a6-8f2f-ba09ff9639b0","status":"InProgress","startTime":"2017-09-27T21:45:28.159Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24","name":"b20d3aae-79e3-48e0-9048-db205fda9e24","status":"InProgress","startTime":"2018-03-16T07:50:09.503Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:47:18 GMT'] + date: ['Fri, 16 Mar 2018 07:52:00 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [4251d882-772e-4f03-b2e8-8c2f98dfc7f4] + request-id: [c494e192-ffc0-4d7d-9933-3e250caac43d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -149,22 +146,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0","name":"814a680c-c01a-44a6-8f2f-ba09ff9639b0","status":"InProgress","startTime":"2017-09-27T21:45:28.159Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24","name":"b20d3aae-79e3-48e0-9048-db205fda9e24","status":"InProgress","startTime":"2018-03-16T07:50:09.503Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:47:49 GMT'] + date: ['Fri, 16 Mar 2018 07:52:31 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [92825342-8889-4451-9628-e68686ce3189] + request-id: [fa89b1db-8029-4299-a9b2-c429a992bb33] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -177,22 +173,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0","name":"814a680c-c01a-44a6-8f2f-ba09ff9639b0","status":"InProgress","startTime":"2017-09-27T21:45:28.159Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24","name":"b20d3aae-79e3-48e0-9048-db205fda9e24","status":"InProgress","startTime":"2018-03-16T07:50:09.503Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:48:20 GMT'] + date: ['Fri, 16 Mar 2018 07:53:02 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [24939c4a-9edc-4b99-83e3-a74cd36a0335] + request-id: [c34969b9-347e-4470-ab05-0b7be76a30a0] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -205,22 +200,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0","name":"814a680c-c01a-44a6-8f2f-ba09ff9639b0","status":"InProgress","startTime":"2017-09-27T21:45:28.159Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b20d3aae-79e3-48e0-9048-db205fda9e24","name":"b20d3aae-79e3-48e0-9048-db205fda9e24","status":"Succeeded","startTime":"2018-03-16T07:50:09.503Z","endTime":"2018-03-16T07:53:18.593Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$fileservercedd134b"}}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['476'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:48:51 GMT'] + date: ['Fri, 16 Mar 2018 07:53:33 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [4784fcbd-bd69-4f7e-b094-1300f94fd4a9] + request-id: [d242015a-c01f-4ef2-bd2b-dff19900c344] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -233,22 +227,23 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers/fileservercedd134b?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0","name":"814a680c-c01a-44a6-8f2f-ba09ff9639b0","status":"InProgress","startTime":"2017-09-27T21:45:28.159Z"}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b","name":"fileservercedd134b","type":"Microsoft.BatchAI/FileServers","location":"westeurope","properties":{"provisioningState":"succeeded","creationTime":"2018-03-16T07:50:09.472Z","provisioningStateTransitionTime":"2018-03-16T07:53:18.547Z","vmSize":"STANDARD_D1","sshConfiguration":{"userAccountSettings":{"adminUserName":"demoUser"}},"dataDisks":{"diskSizeInGB":10,"cachingType":"none","diskCount":2,"storageAccountType":"Standard_LRS"},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"},"mountSettings":{"mountPoint":"/data","fileServerPublicIP":"13.95.227.109","fileServerInternalIP":"10.0.0.4","fileServerType":"nfs"}}}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['999'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:49:25 GMT'] + date: ['Fri, 16 Mar 2018 07:53:34 GMT'] + etag: ['"0x8D58B128AA7E64B"'] expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 07:50:09 GMT'] pragma: [no-cache] - request-id: [f20691f2-0cfe-4657-8e5d-3e6a3baf5a00] + request-id: [8da15b67-6af4-4147-bb9f-40e7491bb63f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -257,26 +252,83 @@ interactions: status: {code: 200, message: OK} - request: body: null + headers: + Connection: [keep-alive] + Content-Length: ['0'] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 07:53:36 GMT'] + x-ms-version: ['2017-04-17'] + method: PUT + uri: https://psdkcedd134b.file.core.windows.net/share?restype=share + response: + body: {string: ''} + headers: + date: ['Fri, 16 Mar 2018 07:53:36 GMT'] + etag: ['"0x8D58B13067C8FF1"'] + last-modified: ['Fri, 16 Mar 2018 07:53:37 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + transfer-encoding: [chunked] + x-ms-version: ['2017-04-17'] + status: {code: 201, message: Created} +- request: + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"vmSize": "STANDARD_D1", + "vmPriority": "lowpriority", "scaleSettings": {"manual": {"targetNodeCount": + 1, "nodeDeallocationOption": "requeue"}}, "nodeSetup": {"mountVolumes": {"azureFileShares": + [{"accountName": "psdkcedd134b", "azureFileUrl": "https://psdkcedd134b.file.core.windows.net/share", + "credentials": {"accountKey": "+3NEhQ0KgQkaUf8Ht/OdYnQpl4LT2mRiZxFBx0Au2XSzzLcYvU1zvEfa64Qz/N7S1sv3PIrKNdIlwvCt4q2/+g=="}, + "relativeMountPath": "azfiles", "fileMode": "0777", "directoryMode": "0777"}], + "fileServers": [{"fileServer": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"}, + "relativeMountPath": "nfs", "mountOptions": "rw"}]}}, "userAccountSettings": + {"adminUserName": "demoUser", "adminUserPassword": "Dem0Pa$$w0rd"}}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] + Content-Length: ['908'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/cfc5060e-2654-48f9-913a-2d06a22912ca?api-version=2018-03-01'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Fri, 16 Mar 2018 07:53:40 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/cfc5060e-2654-48f9-913a-2d06a22912ca?api-version=2018-03-01'] + pragma: [no-cache] + request-id: [4744df81-ee30-433a-b937-62754617c353] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/cfc5060e-2654-48f9-913a-2d06a22912ca?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/814a680c-c01a-44a6-8f2f-ba09ff9639b0","name":"814a680c-c01a-44a6-8f2f-ba09ff9639b0","status":"Succeeded","startTime":"2017-09-27T21:45:28.159Z","endTime":"2017-09-27T21:49:25.463Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$fileservercedd134b"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/cfc5060e-2654-48f9-913a-2d06a22912ca","name":"cfc5060e-2654-48f9-913a-2d06a22912ca","status":"Succeeded","startTime":"2018-03-16T07:53:41.594Z","endTime":"2018-03-16T07:53:42.276Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$cluster1"}}'} headers: cache-control: [no-cache] - content-length: ['472'] + content-length: ['466'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:49:55 GMT'] + date: ['Fri, 16 Mar 2018 07:53:57 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [7c01ce98-27fd-4bda-9a51-271813f0b287] + request-id: [a919a47a-442c-40e1-a9c5-b2ef35ca1323] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -289,24 +341,23 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers/fileservercedd134b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b","name":"fileservercedd134b","type":"Microsoft.BatchAI/FileServers","location":"eastus","properties":{"provisioningState":"Succeeded","creationTime":"2017-09-27T21:45:28.159Z","provisioningStateTransitionTime":"2017-09-27T21:49:25.416Z","vmSize":"STANDARD_D1","sshConfiguration":{"userAccountSettings":{"adminUserName":"demoUser"}},"dataDisks":{"fileSystemType":"BRTFS","raidLevel":"NoRaid","diskSizeInGB":10,"cachingType":"None","diskCount":2,"storageAccountType":"Standard_LRS"},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"},"mountSettings":{"mountPoint":"/mnt/data","fileServerPublicIP":"13.90.141.66","fileServerInternalIP":"10.0.0.4","fileServerType":"NFS"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:53:41.578Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1044'] + content-length: ['1699'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:49:56 GMT'] - etag: ['"0x8D505F1117F19E5"'] + date: ['Fri, 16 Mar 2018 07:53:59 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:45:28 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [1fb51dc6-aa90-454e-b98b-da3305d6363c] + request-id: [7bc6ac7b-4951-4d30-994a-82dd209b4e56] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -318,57 +369,59 @@ interactions: headers: Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.5.3; Linux 4.10.0-35-generic)] - x-ms-date: ['Wed, 27 Sep 2017 21:50:00 GMT'] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 07:54:00 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://psdkcedd134b.file.core.windows.net/share?restype=share response: - body: {string: ''} + body: {string: "\uFEFFShareAlreadyExistsThe\ + \ specified share already exists.\nRequestId:8e2c8abe-e01a-0086-10fb-bc55a9000000\n\ + Time:2018-03-16T07:54:01.1737184Z"} headers: - date: ['Wed, 27 Sep 2017 21:50:00 GMT'] - etag: ['"0x8D505F1B40ECFE8"'] - last-modified: ['Wed, 27 Sep 2017 21:50:00 GMT'] + content-length: ['222'] + content-type: [application/xml] + date: ['Fri, 16 Mar 2018 07:54:00 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] - status: {code: 201, message: Created} + status: {code: 409, message: The specified share already exists.} - request: - body: 'b''{"location": "eastus", "properties": {"scaleSettings": {"manual": {"nodeDeallocationOption": - "requeue", "targetNodeCount": 1}}, "userAccountSettings": {"adminUserPassword": - "Dem0Pa$$w0rd", "adminUserName": "demoUser"}, "nodeSetup": {"mountVolumes": - {"fileServers": [{"fileServer": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"}, - "mountOptions": "rw", "relativeMountPath": "nfs"}], "azureFileShares": [{"relativeMountPath": - "azfiles", "directoryMode": "0777", "accountName": "psdkcedd134b", "azureFileUrl": - "https://psdkcedd134b.file.core.windows.net/share", "fileMode": "0777", "credentialsInfo": - {"accountKey": "EqpF5lDOKLlpjyTekdG3uGNu7kjAfb6vOnaypHz0A/tvrI1dIjgbVt2NLZcfTNCFq/CV/j3woK+XmRN3Sq9SBQ=="}}]}}, - "vmPriority": "dedicated", "vmSize": "STANDARD_D1"}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"vmSize": "STANDARD_D1", + "vmPriority": "lowpriority", "scaleSettings": {"manual": {"targetNodeCount": + 1, "nodeDeallocationOption": "requeue"}}, "nodeSetup": {"mountVolumes": {"azureFileShares": + [{"accountName": "psdkcedd134b", "azureFileUrl": "https://psdkcedd134b.file.core.windows.net/share", + "credentials": {"accountKey": "+3NEhQ0KgQkaUf8Ht/OdYnQpl4LT2mRiZxFBx0Au2XSzzLcYvU1zvEfa64Qz/N7S1sv3PIrKNdIlwvCt4q2/+g=="}, + "relativeMountPath": "azfiles", "fileMode": "0777", "directoryMode": "0777"}], + "fileServers": [{"fileServer": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"}, + "relativeMountPath": "nfs", "mountOptions": "rw"}]}}, "userAccountSettings": + {"adminUserName": "demoUser", "adminUserPassword": "Dem0Pa$$w0rd"}}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['906'] + Content-Length: ['908'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4e1eaeeb-7a53-44e9-b9df-ac27aa41bcb9?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/11063326-8fb8-4ae5-8494-8b00e157175c?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 21:50:03 GMT'] + date: ['Fri, 16 Mar 2018 07:54:04 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4e1eaeeb-7a53-44e9-b9df-ac27aa41bcb9?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/11063326-8fb8-4ae5-8494-8b00e157175c?api-version=2018-03-01'] pragma: [no-cache] - request-id: [39112375-6a5c-4279-b48f-e201e1623da7] + request-id: [942245a7-3edf-4696-abc3-0238c41f7152] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -376,22 +429,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4e1eaeeb-7a53-44e9-b9df-ac27aa41bcb9?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/11063326-8fb8-4ae5-8494-8b00e157175c?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4e1eaeeb-7a53-44e9-b9df-ac27aa41bcb9","name":"4e1eaeeb-7a53-44e9-b9df-ac27aa41bcb9","status":"Succeeded","startTime":"2017-09-27T21:50:02.425Z","endTime":"2017-09-27T21:50:03.924Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$cluster1"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/11063326-8fb8-4ae5-8494-8b00e157175c","name":"11063326-8fb8-4ae5-8494-8b00e157175c","status":"Succeeded","startTime":"2018-03-16T07:54:04.713Z","endTime":"2018-03-16T07:54:05.635Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$cluster2"}}'} headers: cache-control: [no-cache] - content-length: ['462'] + content-length: ['466'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:50:18 GMT'] + date: ['Fri, 16 Mar 2018 07:54:20 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [60164302-6688-4a03-ba66-47611dc65410] + request-id: [286c064d-0993-4bfb-8f75-d30aec28da5e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -404,24 +456,23 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:50:04.521Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2","name":"cluster2","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T07:54:04.713Z","allocationStateTransitionTime":"2018-03-16T07:54:04.713Z","provisioningStateTransitionTime":"2018-03-16T07:54:05.604Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1719'] + content-length: ['1700'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:50:20 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:54:21 GMT'] + etag: ['"0x8D58B1316DEE0FE"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:54:04 GMT'] pragma: [no-cache] - request-id: [d32bb716-a20c-41bf-b389-1db51f69dd42] + request-id: [b79bad05-374e-4688-9f1f-5100a3885ff2] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -431,61 +482,63 @@ interactions: - request: body: null headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['0'] - User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.5.3; Linux 4.10.0-35-generic)] - x-ms-date: ['Wed, 27 Sep 2017 21:50:20 GMT'] - x-ms-version: ['2017-04-17'] - method: PUT - uri: https://psdkcedd134b.file.core.windows.net/share?restype=share + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers?api-version=2018-03-01 response: - body: {string: "\uFEFFShareAlreadyExistsThe\ - \ specified share already exists.\nRequestId:4413208b-001a-000a-3fda-37d1c6000000\n\ - Time:2017-09-27T21:50:21.6619796Z"} + body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b","name":"fileservercedd134b","type":"Microsoft.BatchAI/FileServers","location":"westeurope","properties":{"provisioningState":"succeeded","creationTime":"2018-03-16T07:50:09.472Z","provisioningStateTransitionTime":"2018-03-16T07:53:18.547Z","vmSize":"STANDARD_D1","sshConfiguration":{"userAccountSettings":{"adminUserName":"demoUser"}},"dataDisks":{"diskSizeInGB":10,"cachingType":"none","diskCount":2,"storageAccountType":"Standard_LRS"},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"},"mountSettings":{"mountPoint":"/data","fileServerPublicIP":"13.95.227.109","fileServerInternalIP":"10.0.0.4","fileServerType":"nfs"}}}]}'} headers: - content-length: ['222'] - content-type: [application/xml] - date: ['Wed, 27 Sep 2017 21:50:20 GMT'] - server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] - x-ms-version: ['2017-04-17'] - status: {code: 409, message: The specified share already exists.} + cache-control: [no-cache] + content-length: ['1011'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 07:54:24 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [491df975-319d-46bf-aa01-f6dc1376677b] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} - request: - body: 'b''{"location": "eastus", "properties": {"scaleSettings": {"manual": {"nodeDeallocationOption": - "requeue", "targetNodeCount": 1}}, "userAccountSettings": {"adminUserPassword": - "Dem0Pa$$w0rd", "adminUserName": "demoUser"}, "nodeSetup": {"mountVolumes": - {"fileServers": [{"fileServer": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"}, - "mountOptions": "rw", "relativeMountPath": "nfs"}], "azureFileShares": [{"relativeMountPath": - "azfiles", "directoryMode": "0777", "accountName": "psdkcedd134b", "azureFileUrl": - "https://psdkcedd134b.file.core.windows.net/share", "fileMode": "0777", "credentialsInfo": - {"accountKey": "EqpF5lDOKLlpjyTekdG3uGNu7kjAfb6vOnaypHz0A/tvrI1dIjgbVt2NLZcfTNCFq/CV/j3woK+XmRN3Sq9SBQ=="}}]}}, - "vmPriority": "dedicated", "vmSize": "STANDARD_D1"}}''' + body: null headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['906'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2?api-version=2017-09-01-preview + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers/fileservercedd134b?api-version=2018-03-01 response: - body: {string: ''} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b","name":"fileservercedd134b","type":"Microsoft.BatchAI/FileServers","location":"westeurope","properties":{"provisioningState":"succeeded","creationTime":"2018-03-16T07:50:09.472Z","provisioningStateTransitionTime":"2018-03-16T07:53:18.547Z","vmSize":"STANDARD_D1","sshConfiguration":{"userAccountSettings":{"adminUserName":"demoUser"}},"dataDisks":{"diskSizeInGB":10,"cachingType":"none","diskCount":2,"storageAccountType":"Standard_LRS"},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"},"mountSettings":{"mountPoint":"/data","fileServerPublicIP":"13.95.227.109","fileServerInternalIP":"10.0.0.4","fileServerType":"nfs"}}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/42e2376c-f1a9-40e8-a6ba-3039510409be?api-version=2017-09-01-preview'] cache-control: [no-cache] - content-length: ['0'] - date: ['Wed, 27 Sep 2017 21:50:22 GMT'] + content-length: ['999'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 07:54:24 GMT'] + etag: ['"0x8D58B128AA7E64B"'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/42e2376c-f1a9-40e8-a6ba-3039510409be?api-version=2017-09-01-preview'] + last-modified: ['Fri, 16 Mar 2018 07:50:09 GMT'] pragma: [no-cache] - request-id: [7328c89c-1ded-406c-a04c-f2a6c50aa7a9] + request-id: [2c970861-04bf-48f9-999a-d090fa285123] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 202, message: Accepted} + status: {code: 200, message: OK} - request: body: null headers: @@ -493,21 +546,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/42e2376c-f1a9-40e8-a6ba-3039510409be?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers/fileservercedd134b?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/42e2376c-f1a9-40e8-a6ba-3039510409be","name":"42e2376c-f1a9-40e8-a6ba-3039510409be","status":"Succeeded","startTime":"2017-09-27T21:50:22.35Z","endTime":"2017-09-27T21:50:23.139Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$cluster2"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b","name":"fileservercedd134b","type":"Microsoft.BatchAI/FileServers","location":"westeurope","properties":{"provisioningState":"succeeded","creationTime":"2018-03-16T07:50:09.472Z","provisioningStateTransitionTime":"2018-03-16T07:53:18.547Z","vmSize":"STANDARD_D1","sshConfiguration":{"userAccountSettings":{"adminUserName":"demoUser"}},"dataDisks":{"diskSizeInGB":10,"cachingType":"none","diskCount":2,"storageAccountType":"Standard_LRS"},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"},"mountSettings":{"mountPoint":"/data","fileServerPublicIP":"13.95.227.109","fileServerInternalIP":"10.0.0.4","fileServerType":"nfs"}}}'} headers: cache-control: [no-cache] - content-length: ['461'] + content-length: ['999'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:50:39 GMT'] + date: ['Fri, 16 Mar 2018 07:54:27 GMT'] + etag: ['"0x8D58B128AA7E64B"'] expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 07:50:09 GMT'] pragma: [no-cache] - request-id: [87f37775-75f3-4f43-a00f-6e476ffd4897] + request-id: [8efafdad-941a-4934-9730-d594d8749a56] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -521,23 +577,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2","name":"cluster2","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:50:22.333Z","lastModified":"2017-09-27T21:50:22.333Z","allocationStateTransitionTime":"2017-09-27T21:50:23.832Z","provisioningStateTransitionTime":"2017-09-27T21:50:23.124Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:53:41.578Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1719'] + content-length: ['1699'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:50:40 GMT'] - etag: ['"0x8D505F1C0D67962"'] + date: ['Fri, 16 Mar 2018 07:54:28 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:22 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [de08d05c-4abd-42e8-9cf3-947cbf15d7ad] + request-id: [4cfd2c00-0904-438c-b8ac-b0782a5cce0c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -551,21 +608,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b","name":"fileservercedd134b","type":"Microsoft.BatchAI/FileServers","location":"eastus","properties":{"provisioningState":"Succeeded","creationTime":"2017-09-27T21:45:28.159Z","provisioningStateTransitionTime":"2017-09-27T21:49:25.416Z","vmSize":"STANDARD_D1","sshConfiguration":{"userAccountSettings":{"adminUserName":"demoUser"}},"dataDisks":{"fileSystemType":"BRTFS","raidLevel":"NoRaid","diskSizeInGB":10,"cachingType":"None","diskCount":2,"storageAccountType":"Standard_LRS"},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"},"mountSettings":{"mountPoint":"/mnt/data","fileServerPublicIP":"13.90.141.66","fileServerInternalIP":"10.0.0.4","fileServerType":"NFS"}}}]}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:53:41.578Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1056'] + content-length: ['1699'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:50:40 GMT'] + date: ['Fri, 16 Mar 2018 07:54:50 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [c9a6aad9-efb4-4e5e-93b9-59f06b794f04] + request-id: [a228b24f-b720-44ec-84bb-4dcdced10760] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -579,23 +639,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers/fileservercedd134b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b","name":"fileservercedd134b","type":"Microsoft.BatchAI/FileServers","location":"eastus","properties":{"provisioningState":"Succeeded","creationTime":"2017-09-27T21:45:28.159Z","provisioningStateTransitionTime":"2017-09-27T21:49:25.416Z","vmSize":"STANDARD_D1","sshConfiguration":{"userAccountSettings":{"adminUserName":"demoUser"}},"dataDisks":{"fileSystemType":"BRTFS","raidLevel":"NoRaid","diskSizeInGB":10,"cachingType":"None","diskCount":2,"storageAccountType":"Standard_LRS"},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"},"mountSettings":{"mountPoint":"/mnt/data","fileServerPublicIP":"13.90.141.66","fileServerInternalIP":"10.0.0.4","fileServerType":"NFS"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:53:41.578Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1044'] + content-length: ['1699'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:50:41 GMT'] - etag: ['"0x8D505F1117F19E5"'] + date: ['Fri, 16 Mar 2018 07:55:12 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:45:28 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [0ce43242-eece-49ab-954e-b1fa2ad58684] + request-id: [b963448d-f17b-48c8-8ded-ac0279700842] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -609,23 +670,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers/fileservercedd134b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b","name":"fileservercedd134b","type":"Microsoft.BatchAI/FileServers","location":"eastus","properties":{"provisioningState":"Succeeded","creationTime":"2017-09-27T21:45:28.159Z","provisioningStateTransitionTime":"2017-09-27T21:49:25.416Z","vmSize":"STANDARD_D1","sshConfiguration":{"userAccountSettings":{"adminUserName":"demoUser"}},"dataDisks":{"fileSystemType":"BRTFS","raidLevel":"NoRaid","diskSizeInGB":10,"cachingType":"None","diskCount":2,"storageAccountType":"Standard_LRS"},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"},"mountSettings":{"mountPoint":"/mnt/data","fileServerPublicIP":"13.90.141.66","fileServerInternalIP":"10.0.0.4","fileServerType":"NFS"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"resizing","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:53:41.578Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1044'] + content-length: ['1699'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:50:42 GMT'] - etag: ['"0x8D505F1117F19E5"'] + date: ['Fri, 16 Mar 2018 07:55:33 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:45:28 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [b91c0f63-2fb8-4ac6-8818-6a5163ed5f5c] + request-id: [127a5645-038e-4b77-95b2-cabcf889e5a8] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -639,23 +701,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:50:04.521Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:55:52.091Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1719'] + content-length: ['1697'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:50:43 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:55:56 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [8bfffe6c-c5e5-4c52-87d9-e79f7decfaca] + request-id: [6bedefff-54f1-43d6-a682-fd01e5b0f786] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -669,23 +732,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Resizing","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:50:04.521Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":0,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:55:52.091Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1719'] + content-length: ['1697'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:51:05 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:56:17 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [82eb4274-542e-4327-89d0-c6a364de686d] + request-id: [d76b3cc4-2306-47d8-8daf-cae8d2f9c67d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -699,23 +763,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:51:10.246Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:55:52.091Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1717'] + content-length: ['1697'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:51:27 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:56:40 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [3b78836e-146c-46e0-a03c-013bbf50ddf3] + request-id: [b24af7fb-673e-46f0-b917-9f7b611ccb16] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -729,23 +794,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:51:10.246Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:55:52.091Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1717'] + content-length: ['1697'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:51:48 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:57:00 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [26f4b16b-a98e-4873-8adc-0127752f7a1c] + request-id: [9506e269-f85c-427b-98b1-02385e50efeb] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -759,23 +825,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:51:10.246Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:55:52.091Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1717'] + content-length: ['1697'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:52:10 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:57:22 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [fe85472a-31c7-4f53-bf0b-210628331954] + request-id: [0ff7083f-4fe8-4f07-9751-4f615ac7f072] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -789,23 +856,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:51:10.246Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:55:52.091Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1717'] + content-length: ['1697'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:52:31 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:57:44 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [d836d87b-4141-4cdb-aefc-3d194dbcf104] + request-id: [f60c570e-86ab-4823-afb0-6240e7e4e701] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -819,23 +887,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:51:10.246Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:55:52.091Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1717'] + content-length: ['1697'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:52:53 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:58:06 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [85815d3b-d0cc-425e-a789-68129ddf218b] + request-id: [0c6a0586-2dc8-4c8b-8b31-a415d05ba65f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -849,23 +918,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:51:10.246Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:55:52.091Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1717'] + content-length: ['1697'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:53:13 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:58:28 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [8da0e897-8693-4cb6-8cae-7485847079cb] + request-id: [17769973-7f4a-4e8a-8fdd-dd4ca179895d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -879,23 +949,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:51:10.246Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:55:52.091Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1717'] + content-length: ['1697'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:53:35 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:58:49 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [4a86a2c4-6aa8-4267-a17b-c5c12e0df499] + request-id: [dec09cba-d8c2-4e9b-bdf7-7d2a754b2ede] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -909,23 +980,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:51:10.246Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:55:52.091Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":0,"unusableNodeCount":0,"preparingNodeCount":1,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1717'] + content-length: ['1697'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:53:56 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:59:11 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [6f31f071-5c3b-4060-b46e-085144e19401] + request-id: [bc73eeb9-026a-4b6c-a361-206014f9b754] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -939,23 +1011,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:50:02.377Z","lastModified":"2017-09-27T21:50:02.377Z","allocationStateTransitionTime":"2017-09-27T21:51:10.246Z","provisioningStateTransitionTime":"2017-09-27T21:50:03.828Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1","name":"cluster1","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:53:41.578Z","allocationStateTransitionTime":"2018-03-16T07:55:52.091Z","provisioningStateTransitionTime":"2018-03-16T07:53:42.26Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1717'] + content-length: ['1697'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:54:18 GMT'] - etag: ['"0x8D505F1B4F18DD1"'] + date: ['Fri, 16 Mar 2018 07:59:33 GMT'] + etag: ['"0x8D58B130914BE3E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:02 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:53:41 GMT'] pragma: [no-cache] - request-id: [1ebcef7b-d40d-4767-97ec-6bbe3f3d18b1] + request-id: [02120a13-6f12-4bd7-9efb-fc42a49ce73d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -969,23 +1042,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2","name":"cluster2","type":"Microsoft.BatchAI/Clusters","location":"eastus","properties":{"provisioningState":"Succeeded","allocationState":"Steady","creationTime":"2017-09-27T21:50:22.333Z","lastModified":"2017-09-27T21:50:22.333Z","allocationStateTransitionTime":"2017-09-27T21:51:25.283Z","provisioningStateTransitionTime":"2017-09-27T21:50:23.124Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0},"vmPriority":"Dedicated","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"Requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentialsInfo":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-7feb1976-8c31-4f1f-bea2-86cb1839a7ba/providers/Microsoft.Network/virtualNetworks/7feb1976-8c31-4f1f-bea2-86cb1839a7bavnet/subnets/Subnet-1"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2","name":"cluster2","type":"Microsoft.BatchAI/Clusters","location":"westeurope","properties":{"provisioningState":"succeeded","allocationState":"steady","creationTime":"2018-03-16T07:54:04.713Z","allocationStateTransitionTime":"2018-03-16T07:56:35.369Z","provisioningStateTransitionTime":"2018-03-16T07:54:05.604Z","vmSize":"STANDARD_D1","currentNodeCount":1,"nodeStateCounts":{"runningNodeCount":0,"idleNodeCount":1,"unusableNodeCount":0,"preparingNodeCount":0,"leavingNodeCount":0},"vmPriority":"lowpriority","scaleSettings":{"manual":{"targetNodeCount":1,"nodeDeallocationOption":"requeue"}},"virtualMachineConfiguration":{"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"16.04-LTS","version":"latest"}},"userAccountSettings":{"adminUserName":"demoUser"},"nodeSetup":{"mountVolumes":{"azureFileShares":[{"accountName":"psdkcedd134b","azureFileUrl":"https://psdkcedd134b.file.core.windows.net/share","credentials":{},"relativeMountPath":"azfiles","fileMode":"0777","directoryMode":"0777"}],"fileServers":[{"fileServer":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileservers/fileservercedd134b"},"relativeMountPath":"nfs","mountOptions":"rw"}]}},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fileserverrg-db760287-700e-4a83-8560-a5d5c54d0d67/providers/Microsoft.Network/virtualNetworks/db760287-700e-4a83-8560-a5d5c54d0d67vnet/subnets/Subnet-1"}}}'} headers: cache-control: [no-cache] - content-length: ['1717'] + content-length: ['1698'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:54:19 GMT'] - etag: ['"0x8D505F1C0D67962"'] + date: ['Fri, 16 Mar 2018 07:59:36 GMT'] + etag: ['"0x8D58B1316DEE0FE"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:50:22 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:54:04 GMT'] pragma: [no-cache] - request-id: [6f3bdded-6e1b-4db0-9a55-44593d1acf56] + request-id: [ecd38397-c1e2-4802-848d-d49c1ac7adfe] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -993,39 +1067,40 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: 'b''{"location": "eastus", "properties": {"priority": 0, "cluster": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"}, - "outputDirectories": [{"pathSuffix": "files", "id": "OUTPUTS", "createNew": - true, "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "type": "custom"}], - "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"}, "nodeCount": 1, "customToolkitSettings": {"commandLine": "echo hi from host - > $AZ_BATCHAI_MOUNT_ROOT/nfs/host.txt"}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles"}}''' + > $AZ_BATCHAI_MOUNT_ROOT/nfs/host.txt"}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", + "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], + "outputDirectories": [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", + "pathSuffix": "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['660'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/host_publisher?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/host_publisher?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/96dc700a-9b67-4d2c-a0f9-30bc06903c76?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/73049cad-b9a4-4526-ac10-dea9c9a79c48?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 21:54:21 GMT'] + date: ['Fri, 16 Mar 2018 07:59:39 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/96dc700a-9b67-4d2c-a0f9-30bc06903c76?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/73049cad-b9a4-4526-ac10-dea9c9a79c48?api-version=2018-03-01'] pragma: [no-cache] - request-id: [cea98951-8021-472a-8897-afc4785c9448] + request-id: [98516f4f-01d3-4935-84fe-12b68fb8eeaf] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -1033,22 +1108,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/96dc700a-9b67-4d2c-a0f9-30bc06903c76?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/73049cad-b9a4-4526-ac10-dea9c9a79c48?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/96dc700a-9b67-4d2c-a0f9-30bc06903c76","name":"96dc700a-9b67-4d2c-a0f9-30bc06903c76","status":"Succeeded","startTime":"2017-09-27T21:54:21.172Z","endTime":"2017-09-27T21:54:22.3Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$host_publisher"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/73049cad-b9a4-4526-ac10-dea9c9a79c48","name":"73049cad-b9a4-4526-ac10-dea9c9a79c48","status":"Succeeded","startTime":"2018-03-16T07:59:40.01Z","endTime":"2018-03-16T07:59:40.747Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$host_publisher"}}'} headers: cache-control: [no-cache] - content-length: ['466'] + content-length: ['471'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:54:37 GMT'] + date: ['Fri, 16 Mar 2018 07:59:56 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [d5645fb3-8a7f-4c2c-8f2e-feb251ae7c8e] + request-id: [2268cd00-503c-42db-bc44-27f612bc8d8e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1061,25 +1135,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/host_publisher?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/host_publisher?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/host_publisher","name":"host_publisher","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hi from host > $AZ_BATCHAI_MOUNT_ROOT/nfs/host.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:54:21.156Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:54:22.283Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T21:54:26.353Z","executionInfo":{"startTime":"2017-09-27T21:54:22.628Z","endTime":"2017-09-27T21:54:26.353Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/host_publisher","name":"host_publisher","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/host_publisher/64f92b71-7cf4-4cd5-8f44-f94848c61ff7","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hi from host > $AZ_BATCHAI_MOUNT_ROOT/nfs/host.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T07:59:39.994Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T07:59:40.732Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T07:59:45.043Z","executionInfo":{"startTime":"2018-03-16T07:59:42.663Z","endTime":"2018-03-16T07:59:45.043Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1252'] + content-length: ['1414'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:54:38 GMT'] - etag: ['"0x8D505F24F3001C3"'] + date: ['Fri, 16 Mar 2018 07:59:57 GMT'] + etag: ['"0x8D58B13DEB6AE81"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:54:21 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:59:39 GMT'] pragma: [no-cache] - request-id: [a006f583-b9d9-4109-8b58-e7e86f559aa6] + request-id: [b4343d58-da9f-4f3c-8a9a-44683cb51072] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1093,24 +1166,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/host_publisher?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/host_publisher?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/host_publisher","name":"host_publisher","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hi from host > $AZ_BATCHAI_MOUNT_ROOT/nfs/host.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:54:21.156Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:54:22.283Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T21:54:26.353Z","executionInfo":{"startTime":"2017-09-27T21:54:22.628Z","endTime":"2017-09-27T21:54:26.353Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/host_publisher","name":"host_publisher","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/host_publisher/64f92b71-7cf4-4cd5-8f44-f94848c61ff7","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hi from host > $AZ_BATCHAI_MOUNT_ROOT/nfs/host.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T07:59:39.994Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T07:59:40.732Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T07:59:45.043Z","executionInfo":{"startTime":"2018-03-16T07:59:42.663Z","endTime":"2018-03-16T07:59:45.043Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1252'] + content-length: ['1414'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:54:39 GMT'] - etag: ['"0x8D505F24F3001C3"'] + date: ['Fri, 16 Mar 2018 07:59:59 GMT'] + etag: ['"0x8D58B13DEB6AE81"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:54:21 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:59:39 GMT'] pragma: [no-cache] - request-id: [a19d392e-993d-48e1-bc8f-10a78286d627] + request-id: [ec2f8436-1e50-4172-b87a-f5f7021e2c02] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1118,36 +1192,37 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: 'b''{"location": "eastus", "properties": {"priority": 0, "cluster": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"}, - "outputDirectories": [{"pathSuffix": "files", "id": "OUTPUTS", "createNew": - true, "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "type": "custom"}], - "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], - "nodeCount": 1, "customToolkitSettings": {"commandLine": "echo hi from container - >> $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"}, "containerSettings": {"imageSourceRegistry": - {"image": "ubuntu"}}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles"}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"}, + "nodeCount": 1, "containerSettings": {"imageSourceRegistry": {"image": "ubuntu"}}, + "customToolkitSettings": {"commandLine": "echo hi from container >> $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"}, + "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": + [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": + [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": + "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['738'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/12690a7d-b449-4d07-8ba7-eb7f9b62d7d7?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/8eafd621-849a-4df1-835f-b462f009062e?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 21:54:41 GMT'] + date: ['Fri, 16 Mar 2018 08:00:02 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/12690a7d-b449-4d07-8ba7-eb7f9b62d7d7?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/8eafd621-849a-4df1-835f-b462f009062e?api-version=2018-03-01'] pragma: [no-cache] - request-id: [e2da6306-886d-4967-abc4-e1fbc09d6bcc] + request-id: [3a017ca9-937b-4b0e-a073-a996d1f8a68a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -1159,22 +1234,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/12690a7d-b449-4d07-8ba7-eb7f9b62d7d7?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/8eafd621-849a-4df1-835f-b462f009062e?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/12690a7d-b449-4d07-8ba7-eb7f9b62d7d7","name":"12690a7d-b449-4d07-8ba7-eb7f9b62d7d7","status":"Succeeded","startTime":"2017-09-27T21:54:41.395Z","endTime":"2017-09-27T21:54:42.146Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$container_publisher"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/8eafd621-849a-4df1-835f-b462f009062e","name":"8eafd621-849a-4df1-835f-b462f009062e","status":"Succeeded","startTime":"2018-03-16T08:00:03.023Z","endTime":"2018-03-16T08:00:03.743Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$container_publisher"}}'} headers: cache-control: [no-cache] - content-length: ['473'] + content-length: ['477'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:54:57 GMT'] + date: ['Fri, 16 Mar 2018 08:00:18 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [a86fea53-549f-4141-a73a-45473f942b5f] + request-id: [450f8bb7-ac2d-4024-9d07-9cc808614d58] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1187,25 +1261,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher","name":"container_publisher","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hi from container >> $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:54:41.38Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:54:42.13Z","executionState":"Running","executionStateTransitionTime":"2017-09-27T21:54:44.95Z","executionInfo":{"startTime":"2017-09-27T21:54:42.5Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher","name":"container_publisher","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/container_publisher/97e22996-a742-4096-9a0b-d00e728569e5","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hi from container >> $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T08:00:03.006Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T08:00:03.711Z","executionState":"running","executionStateTransitionTime":"2018-03-16T08:00:05.301Z","executionInfo":{"startTime":"2018-03-16T08:00:04.682Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1279'] + content-length: ['1451'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:54:58 GMT'] - etag: ['"0x8D505F25B3DEBA5"'] + date: ['Fri, 16 Mar 2018 08:00:20 GMT'] + etag: ['"0x8D58B13EC6E048B"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:54:41 GMT'] + last-modified: ['Fri, 16 Mar 2018 08:00:03 GMT'] pragma: [no-cache] - request-id: [d3420b5b-55f8-439d-a790-e952fa2f1471] + request-id: [f7b81550-6fc3-4358-a451-0016f6d78124] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1219,24 +1292,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher","name":"container_publisher","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hi from container >> $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:54:41.38Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:54:42.13Z","executionState":"Running","executionStateTransitionTime":"2017-09-27T21:54:44.95Z","executionInfo":{"startTime":"2017-09-27T21:54:42.5Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher","name":"container_publisher","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/container_publisher/97e22996-a742-4096-9a0b-d00e728569e5","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hi from container >> $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T08:00:03.006Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T08:00:03.711Z","executionState":"running","executionStateTransitionTime":"2018-03-16T08:00:05.301Z","executionInfo":{"startTime":"2018-03-16T08:00:04.682Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1279'] + content-length: ['1451'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:55:00 GMT'] - etag: ['"0x8D505F25B3DEBA5"'] + date: ['Fri, 16 Mar 2018 08:00:22 GMT'] + etag: ['"0x8D58B13EC6E048B"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:54:41 GMT'] + last-modified: ['Fri, 16 Mar 2018 08:00:03 GMT'] pragma: [no-cache] - request-id: [5801d479-213b-498a-bbb2-841654d83c6e] + request-id: [cd8ff430-c585-4642-a5ab-0e3243d8ee02] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1250,24 +1324,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher","name":"container_publisher","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hi from container >> $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:54:41.38Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:54:42.13Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T21:55:19.478Z","executionInfo":{"startTime":"2017-09-27T21:54:42.5Z","endTime":"2017-09-27T21:55:19.478Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/container_publisher","name":"container_publisher","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/container_publisher/97e22996-a742-4096-9a0b-d00e728569e5","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hi from container >> $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T08:00:03.006Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T08:00:03.711Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T08:00:40.958Z","executionInfo":{"startTime":"2018-03-16T08:00:04.682Z","endTime":"2018-03-16T08:00:40.958Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1332'] + content-length: ['1503'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:55:21 GMT'] - etag: ['"0x8D505F25B3DEBA5"'] + date: ['Fri, 16 Mar 2018 08:00:43 GMT'] + etag: ['"0x8D58B13EC6E048B"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:54:41 GMT'] + last-modified: ['Fri, 16 Mar 2018 08:00:03 GMT'] pragma: [no-cache] - request-id: [6941a067-9538-4fa3-a0ce-7ba01e8360b5] + request-id: [bb9dcd40-fe43-4e40-b2e1-ed2bc944dd1e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1275,39 +1350,40 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: 'b''{"location": "eastus", "properties": {"priority": 0, "cluster": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2"}, - "outputDirectories": [{"pathSuffix": "files", "id": "OUTPUTS", "createNew": - true, "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "type": "custom"}], - "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2"}, "nodeCount": 1, "customToolkitSettings": {"commandLine": "cat $AZ_BATCHAI_MOUNT_ROOT/nfs/host.txt; - cat $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles"}}''' + cat $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", + "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], + "outputDirectories": [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", + "pathSuffix": "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['691'] + Content-Length: ['690'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/248c4eb5-f3b4-4791-b0ce-0b845bcd0f64?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/365485a8-d631-419c-bfc3-5f468906b846?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 21:55:23 GMT'] + date: ['Fri, 16 Mar 2018 08:00:47 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/248c4eb5-f3b4-4791-b0ce-0b845bcd0f64?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/365485a8-d631-419c-bfc3-5f468906b846?api-version=2018-03-01'] pragma: [no-cache] - request-id: [71d57fb6-fad8-4d9f-8fc7-ff89d3464673] + request-id: [036dda2f-3fce-4443-a1e0-5133d9db8f20] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -1315,22 +1391,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/248c4eb5-f3b4-4791-b0ce-0b845bcd0f64?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/365485a8-d631-419c-bfc3-5f468906b846?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/248c4eb5-f3b4-4791-b0ce-0b845bcd0f64","name":"248c4eb5-f3b4-4791-b0ce-0b845bcd0f64","status":"Succeeded","startTime":"2017-09-27T21:55:23.556Z","endTime":"2017-09-27T21:55:24.295Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$consumer"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/365485a8-d631-419c-bfc3-5f468906b846","name":"365485a8-d631-419c-bfc3-5f468906b846","status":"Succeeded","startTime":"2018-03-16T08:00:48.066Z","endTime":"2018-03-16T08:00:48.661Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$consumer"}}'} headers: cache-control: [no-cache] - content-length: ['462'] + content-length: ['466'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:55:40 GMT'] + date: ['Fri, 16 Mar 2018 08:01:03 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [321320b8-bf06-4291-964d-beccdcedf475] + request-id: [9b00db83-1788-474c-9328-cb64626ff087] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1343,25 +1418,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer","name":"consumer","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"cat - $AZ_BATCHAI_MOUNT_ROOT/nfs/host.txt; cat $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:55:23.546Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:55:24.276Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T21:55:27.825Z","executionInfo":{"startTime":"2017-09-27T21:55:24.685Z","endTime":"2017-09-27T21:55:27.825Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer","name":"consumer","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/consumer/21357a45-21fe-4b9b-b05d-6814a7e7742a","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"cat + $AZ_BATCHAI_MOUNT_ROOT/nfs/host.txt; cat $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T08:00:48.019Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T08:00:48.63Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T08:00:52.228Z","executionInfo":{"startTime":"2018-03-16T08:00:50.121Z","endTime":"2018-03-16T08:00:52.228Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1271'] + content-length: ['1425'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:55:40 GMT'] - etag: ['"0x8D505F2746002C2"'] + date: ['Fri, 16 Mar 2018 08:01:05 GMT'] + etag: ['"0x8D58B140742679E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:55:23 GMT'] + last-modified: ['Fri, 16 Mar 2018 08:00:48 GMT'] pragma: [no-cache] - request-id: [9b95e6f2-6c05-4c4d-bdca-95ab44853143] + request-id: [26713f4a-ec27-42f1-aa77-75762d7b73f7] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1375,24 +1449,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer","name":"consumer","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"cat - $AZ_BATCHAI_MOUNT_ROOT/nfs/host.txt; cat $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T21:55:23.546Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T21:55:24.276Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T21:55:27.825Z","executionInfo":{"startTime":"2017-09-27T21:55:24.685Z","endTime":"2017-09-27T21:55:27.825Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer","name":"consumer","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/consumer/21357a45-21fe-4b9b-b05d-6814a7e7742a","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"cat + $AZ_BATCHAI_MOUNT_ROOT/nfs/host.txt; cat $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T08:00:48.019Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T08:00:48.63Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T08:00:52.228Z","executionInfo":{"startTime":"2018-03-16T08:00:50.121Z","endTime":"2018-03-16T08:00:52.228Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1271'] + content-length: ['1425'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:55:41 GMT'] - etag: ['"0x8D505F2746002C2"'] + date: ['Fri, 16 Mar 2018 08:01:07 GMT'] + etag: ['"0x8D58B140742679E"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 21:55:23 GMT'] + last-modified: ['Fri, 16 Mar 2018 08:00:48 GMT'] pragma: [no-cache] - request-id: [60d59467-c508-400c-b904-53e0222115e0] + request-id: [5e2cfa9e-783d-4366-9960-5a2053f52ed8] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1407,21 +1482,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer/listOutputFiles?maxresults=1000&linkexpiryinminutes=60&api-version=2017-09-01-preview&outputdirectoryid=stdouterr + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/jobs/consumer/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"stderr.txt","downloadUrl":"https://psdkcedd134b.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/consumer/stderr.txt?sv=2016-05-31&sr=f&sig=8a1XAzOUVSe3mnkgiFh0afNzQaBIN4R5QUhjdVjMASU%3D&se=2017-09-27T22%3A55%3A43Z&sp=rl","properties":{"lastModified":"2017-09-27T21:55:27Z","contentLength":0}},{"name":"stdout.txt","downloadUrl":"https://psdkcedd134b.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/consumer/stdout.txt?sv=2016-05-31&sr=f&sig=pIZF5xbVxrP32h8%2BoqcP2N0FMYoN5qQAMYNZUmbi5%2FI%3D&se=2017-09-27T22%3A55%3A43Z&sp=rl","properties":{"lastModified":"2017-09-27T21:55:27Z","contentLength":31}}]}'} + body: {string: '{"value":[{"name":"execution.log","isDirectory":false,"downloadUrl":"https://psdkcedd134b.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/consumer/21357a45-21fe-4b9b-b05d-6814a7e7742a/stdouterr/execution.log?sv=2016-05-31&sr=f&sig=n6OcH19Ticpyl6ADJE71H3%2B6vbVuzZlsZS1g%2Bt8RXrk%3D&se=2018-03-16T09%3A01%3A09Z&sp=rl","properties":{"lastModified":"2018-03-16T08:00:51Z","contentLength":181}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdkcedd134b.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/consumer/21357a45-21fe-4b9b-b05d-6814a7e7742a/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=FvcSjNURYpWkx1ntj0ZVX9WJR0cZ%2BuyYWzagke9eQHY%3D&se=2018-03-16T09%3A01%3A09Z&sp=rl","properties":{"lastModified":"2018-03-16T08:00:51Z","contentLength":0}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdkcedd134b.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/consumer/21357a45-21fe-4b9b-b05d-6814a7e7742a/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=2KtxG41xj4RLrTJtlPEjXS0yUjoo%2BSTYiXXtNaHxesM%3D&se=2018-03-16T09%3A01%3A09Z&sp=rl","properties":{"lastModified":"2018-03-16T08:00:51Z","contentLength":31}}]}'} headers: cache-control: [no-cache] - content-length: ['776'] + content-length: ['1369'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:55:43 GMT'] + date: ['Fri, 16 Mar 2018 08:01:09 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [2ebfb9b6-42ff-450f-935b-c653fc09a3a9] + request-id: [c410571e-57de-4f3a-84fc-9dfb6990d364] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1436,16 +1512,16 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdkcedd134b.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/consumer/stderr.txt?sv=2016-05-31&sr=f&sig=8a1XAzOUVSe3mnkgiFh0afNzQaBIN4R5QUhjdVjMASU%3D&se=2017-09-27T22%3A55%3A43Z&sp=rl + uri: https://psdkcedd134b.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/consumer/21357a45-21fe-4b9b-b05d-6814a7e7742a/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=FvcSjNURYpWkx1ntj0ZVX9WJR0cZ%2BuyYWzagke9eQHY%3D&se=2018-03-16T09%3A01%3A09Z&sp=rl response: body: {string: ''} headers: accept-ranges: [bytes] content-length: ['0'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 21:55:43 GMT'] - etag: ['"0x8D505F276D40B13"'] - last-modified: ['Wed, 27 Sep 2017 21:55:27 GMT'] + date: ['Fri, 16 Mar 2018 08:01:10 GMT'] + etag: ['"0x8D58B140951F5E9"'] + last-modified: ['Fri, 16 Mar 2018 08:00:51 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -1458,7 +1534,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdkcedd134b.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/consumer/stdout.txt?sv=2016-05-31&sr=f&sig=pIZF5xbVxrP32h8%2BoqcP2N0FMYoN5qQAMYNZUmbi5%2FI%3D&se=2017-09-27T22%3A55%3A43Z&sp=rl + uri: https://psdkcedd134b.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_file_servers_test_file_servercedd134b/jobs/consumer/21357a45-21fe-4b9b-b05d-6814a7e7742a/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=2KtxG41xj4RLrTJtlPEjXS0yUjoo%2BSTYiXXtNaHxesM%3D&se=2018-03-16T09%3A01%3A09Z&sp=rl response: body: {string: 'hi from host @@ -1469,9 +1545,9 @@ interactions: accept-ranges: [bytes] content-length: ['31'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 21:55:44 GMT'] - etag: ['"0x8D505F276E5C25D"'] - last-modified: ['Wed, 27 Sep 2017 21:55:27 GMT'] + date: ['Fri, 16 Mar 2018 08:01:10 GMT'] + etag: ['"0x8D58B1409630FE3"'] + last-modified: ['Fri, 16 Mar 2018 08:00:51 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -1484,26 +1560,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster1?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 21:55:44 GMT'] + date: ['Fri, 16 Mar 2018 08:01:13 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01'] pragma: [no-cache] - request-id: [bffd6a32-2f82-476b-b9ea-6a19648db746] + request-id: [a7f70140-a67c-45f2-ba31-63817ff32195] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -1511,22 +1588,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b","name":"fa036d23-7253-4b50-8b75-3ca951eaa40b","status":"InProgress","startTime":"2017-09-27T21:55:44.696Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0","name":"3a3f3f46-22c1-4520-9a21-7a0f1999def0","status":"InProgress","startTime":"2018-03-16T08:01:13.755Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:56:00 GMT'] + date: ['Fri, 16 Mar 2018 08:01:30 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [7b44ce9a-f99f-4286-a9d6-88362ab11eee] + request-id: [abf8387f-66fc-440a-850b-ec33c33a4350] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1539,22 +1615,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b","name":"fa036d23-7253-4b50-8b75-3ca951eaa40b","status":"InProgress","startTime":"2017-09-27T21:55:44.696Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0","name":"3a3f3f46-22c1-4520-9a21-7a0f1999def0","status":"InProgress","startTime":"2018-03-16T08:01:13.755Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:56:32 GMT'] + date: ['Fri, 16 Mar 2018 08:02:02 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [e0a6ed5d-341a-464f-a9ac-84ab549936ff] + request-id: [9ad7de49-6f4b-466e-8b66-a0a9717f61ab] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1567,22 +1642,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b","name":"fa036d23-7253-4b50-8b75-3ca951eaa40b","status":"InProgress","startTime":"2017-09-27T21:55:44.696Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0","name":"3a3f3f46-22c1-4520-9a21-7a0f1999def0","status":"InProgress","startTime":"2018-03-16T08:01:13.755Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:57:03 GMT'] + date: ['Fri, 16 Mar 2018 08:02:33 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [bf4aa991-09e0-434e-9892-a7a50fa3078d] + request-id: [aca149d1-cb54-418c-996d-e9430d703718] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1595,22 +1669,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b","name":"fa036d23-7253-4b50-8b75-3ca951eaa40b","status":"InProgress","startTime":"2017-09-27T21:55:44.696Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0","name":"3a3f3f46-22c1-4520-9a21-7a0f1999def0","status":"InProgress","startTime":"2018-03-16T08:01:13.755Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:57:33 GMT'] + date: ['Fri, 16 Mar 2018 08:03:05 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [ca8f8140-7002-4024-801b-359b1e54fc2e] + request-id: [f5e1b8f9-3d99-4730-baa5-6cdc917ed6b2] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1623,22 +1696,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b","name":"fa036d23-7253-4b50-8b75-3ca951eaa40b","status":"InProgress","startTime":"2017-09-27T21:55:44.696Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0","name":"3a3f3f46-22c1-4520-9a21-7a0f1999def0","status":"InProgress","startTime":"2018-03-16T08:01:13.755Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:58:05 GMT'] + date: ['Fri, 16 Mar 2018 08:03:35 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [450b2eef-ef15-4070-94b9-b82d6153b4f8] + request-id: [57fae378-1988-42d7-80ba-22c0a48552e9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1651,22 +1723,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b","name":"fa036d23-7253-4b50-8b75-3ca951eaa40b","status":"InProgress","startTime":"2017-09-27T21:55:44.696Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0","name":"3a3f3f46-22c1-4520-9a21-7a0f1999def0","status":"InProgress","startTime":"2018-03-16T08:01:13.755Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:58:36 GMT'] + date: ['Fri, 16 Mar 2018 08:04:07 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [4321ffb7-c830-47bc-a4bf-7411593e3a2f] + request-id: [c1affd33-f8b2-46f8-9175-402f6ec59323] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1679,22 +1750,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b","name":"fa036d23-7253-4b50-8b75-3ca951eaa40b","status":"InProgress","startTime":"2017-09-27T21:55:44.696Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0","name":"3a3f3f46-22c1-4520-9a21-7a0f1999def0","status":"InProgress","startTime":"2018-03-16T08:01:13.755Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:59:07 GMT'] + date: ['Fri, 16 Mar 2018 08:04:38 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [95e13448-f48b-4e55-9df5-30941ad1439d] + request-id: [914e53ea-bfcb-486f-a7c0-dbf9dfe3ea36] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1707,22 +1777,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/fa036d23-7253-4b50-8b75-3ca951eaa40b","name":"fa036d23-7253-4b50-8b75-3ca951eaa40b","status":"Succeeded","startTime":"2017-09-27T21:55:44.696Z","endTime":"2017-09-27T21:59:17.395Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$cluster1"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0","name":"3a3f3f46-22c1-4520-9a21-7a0f1999def0","status":"InProgress","startTime":"2018-03-16T08:01:13.755Z"}'} headers: cache-control: [no-cache] - content-length: ['462'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:59:38 GMT'] + date: ['Fri, 16 Mar 2018 08:05:10 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [a850b71c-134a-4527-b8b9-d31f5134f862] + request-id: [5ac4b6e5-025c-4f1c-a501-c71195736e18] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1735,51 +1804,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2?api-version=2017-09-01-preview - response: - body: {string: ''} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Wed, 27 Sep 2017 21:59:40 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview'] - pragma: [no-cache] - request-id: [2490de8a-5eb0-4b6a-acec-cd745b473b54] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0","name":"3a3f3f46-22c1-4520-9a21-7a0f1999def0","status":"InProgress","startTime":"2018-03-16T08:01:13.755Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 21:59:56 GMT'] + date: ['Fri, 16 Mar 2018 08:05:42 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [283de2f6-a913-484b-8e23-f5d72bbf78a0] + request-id: [38ca029c-9f42-4e53-86a5-bfb38f8318fd] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1792,22 +1831,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0","name":"3a3f3f46-22c1-4520-9a21-7a0f1999def0","status":"InProgress","startTime":"2018-03-16T08:01:13.755Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:00:27 GMT'] + date: ['Fri, 16 Mar 2018 08:06:14 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [dd4db5e3-11f8-4158-a072-0054deed4c1e] + request-id: [76cce47b-1c30-4259-8e2c-464b49f4e403] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1820,22 +1858,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/3a3f3f46-22c1-4520-9a21-7a0f1999def0","name":"3a3f3f46-22c1-4520-9a21-7a0f1999def0","status":"Succeeded","startTime":"2018-03-16T08:01:13.755Z","endTime":"2018-03-16T08:06:46.113Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$cluster1"}}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['466'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:00:58 GMT'] + date: ['Fri, 16 Mar 2018 08:06:45 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [73f03d5a-bdb2-49d8-9dd0-9aeadc35c73d] + request-id: [09ac8c3a-7d74-432c-9c65-1d592eba3d52] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1848,50 +1885,51 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] + Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/clusters/cluster2?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: ''} headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01'] cache-control: [no-cache] - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:01:29 GMT'] + content-length: ['0'] + date: ['Fri, 16 Mar 2018 08:06:48 GMT'] expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01'] pragma: [no-cache] - request-id: [293264f7-2a31-409c-9868-b6f478dcba8e] + request-id: [0365b64a-f5bc-4b31-862a-10eeeb122eb3] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] x-content-type-options: [nosniff] - status: {code: 200, message: OK} + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 202, message: Accepted} - request: body: null headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"InProgress","startTime":"2018-03-16T08:06:48.646Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:02:00 GMT'] + date: ['Fri, 16 Mar 2018 08:07:04 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [198709e1-d479-4dc6-a6a2-22ac2eecdbef] + request-id: [95e802d9-d762-4b82-a01c-695b89540cee] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1904,22 +1942,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"InProgress","startTime":"2018-03-16T08:06:48.646Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:02:32 GMT'] + date: ['Fri, 16 Mar 2018 08:07:36 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [9099f57d-f515-4714-81fc-1a2ca22295e6] + request-id: [17c7d9d9-40d6-4402-8aec-70d09704ec02] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1932,22 +1969,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"InProgress","startTime":"2018-03-16T08:06:48.646Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:03:02 GMT'] + date: ['Fri, 16 Mar 2018 08:08:08 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [dc3702c5-1b52-4ec6-a148-619ec13e1bf8] + request-id: [e497d8bc-8c96-47d3-a3ca-1475ee4c8235] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1960,22 +1996,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"InProgress","startTime":"2018-03-16T08:06:48.646Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:03:34 GMT'] + date: ['Fri, 16 Mar 2018 08:08:39 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [ddd9424b-5148-4bf5-a216-11886b19dd14] + request-id: [76992b69-3803-4537-929c-2c5c6ec9bb77] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -1988,22 +2023,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"InProgress","startTime":"2018-03-16T08:06:48.646Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:04:04 GMT'] + date: ['Fri, 16 Mar 2018 08:09:11 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [6982cae0-5a86-413a-b969-d44b5f5effb6] + request-id: [62d840f2-a8ad-43b8-abe9-0b35306926ca] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2016,22 +2050,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"InProgress","startTime":"2018-03-16T08:06:48.646Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:04:35 GMT'] + date: ['Fri, 16 Mar 2018 08:09:42 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [f57b3e68-2cfc-4b56-bfc1-b51549a3484c] + request-id: [8c67a844-4b69-4ba5-a8ae-014bf8bfa392] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2044,22 +2077,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"InProgress","startTime":"2018-03-16T08:06:48.646Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:05:07 GMT'] + date: ['Fri, 16 Mar 2018 08:10:12 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [27c645fc-aae1-44b2-a364-ac107a7dad63] + request-id: [7c2eced9-462c-4761-8784-a18d7d68e5bc] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2072,22 +2104,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"InProgress","startTime":"2018-03-16T08:06:48.646Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:05:38 GMT'] + date: ['Fri, 16 Mar 2018 08:10:44 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [143a1f9c-aef4-40c5-8177-e62f10655e16] + request-id: [5f1fdcf0-4ec7-424e-9b72-420082fd8d4b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2100,22 +2131,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"InProgress","startTime":"2018-03-16T08:06:48.646Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:06:09 GMT'] + date: ['Fri, 16 Mar 2018 08:11:15 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [76d3c4e2-5d81-473b-a44f-75496ffaa4d9] + request-id: [e535b0cd-3d7e-407c-8f51-2d30fee146bc] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2128,22 +2158,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"InProgress","startTime":"2017-09-27T21:59:40.062Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"InProgress","startTime":"2018-03-16T08:06:48.646Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:06:40 GMT'] + date: ['Fri, 16 Mar 2018 08:11:47 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [30ef6c5d-c897-4ae8-a60d-5a1b683b0d50] + request-id: [e01e3396-3d49-495d-a023-26dbac1893df] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2156,22 +2185,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/824c4b00-1464-4272-bf91-7a85caba2f30","name":"824c4b00-1464-4272-bf91-7a85caba2f30","status":"Succeeded","startTime":"2017-09-27T21:59:40.062Z","endTime":"2017-09-27T22:06:46.245Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$cluster2"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"InProgress","startTime":"2018-03-16T08:06:48.646Z"}'} headers: cache-control: [no-cache] - content-length: ['462'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:07:12 GMT'] + date: ['Fri, 16 Mar 2018 08:12:19 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [90f3e096-0d93-4746-88fc-19a96ccf8d2f] + request-id: [c7ea2efb-7aee-4342-a147-67fc95721c53] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2184,135 +2212,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers/fileservercedd134b?api-version=2017-09-01-preview - response: - body: {string: ''} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Wed, 27 Sep 2017 22:07:13 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview'] - pragma: [no-cache] - request-id: [685b1c7a-ff60-4c5b-a345-54eac081cdbd] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f441aa00-fb31-4b64-9f02-509d8638346a","name":"f441aa00-fb31-4b64-9f02-509d8638346a","status":"Succeeded","startTime":"2018-03-16T08:06:48.646Z","endTime":"2018-03-16T08:12:21.258Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$cluster2"}}'} headers: cache-control: [no-cache] - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:07:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - request-id: [19823623-a7b3-4292-8572-2328033e48dd] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview - response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} - headers: - cache-control: [no-cache] - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:08:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - request-id: [a1a240fa-8d81-4cc3-96a5-139f7c00e877] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview - response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} - headers: - cache-control: [no-cache] - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:08:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - request-id: [91b92a29-f279-4eac-a761-38a24b5444c5] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview - response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} - headers: - cache-control: [no-cache] - content-length: ['294'] + content-length: ['466'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:09:02 GMT'] + date: ['Fri, 16 Mar 2018 08:12:50 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [d5eef73c-94c1-4972-84b4-8f8cc3a435fb] + request-id: [e0a32f98-3f8e-4fc0-b229-419cf02cd3b0] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2325,50 +2239,51 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] + Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers/fileservercedd134b?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} + body: {string: ''} headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01'] cache-control: [no-cache] - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:09:34 GMT'] + content-length: ['0'] + date: ['Fri, 16 Mar 2018 08:12:52 GMT'] expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01'] pragma: [no-cache] - request-id: [9f23b5d1-60d2-478c-bc50-329e72e427e2] + request-id: [b123e581-6c41-4fb2-a1a4-72eafed11939] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] x-content-type-options: [nosniff] - status: {code: 200, message: OK} + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 202, message: Accepted} - request: body: null headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1","name":"1fff97de-902e-431a-9772-57821444c6e1","status":"InProgress","startTime":"2018-03-16T08:12:53.147Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:10:04 GMT'] + date: ['Fri, 16 Mar 2018 08:13:09 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [b08184db-eda6-4360-886c-c3291814a772] + request-id: [01ecd738-e793-47bf-82f7-d6cddf625d11] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2381,22 +2296,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1","name":"1fff97de-902e-431a-9772-57821444c6e1","status":"InProgress","startTime":"2018-03-16T08:12:53.147Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:10:35 GMT'] + date: ['Fri, 16 Mar 2018 08:13:40 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [9adf80a4-d22c-49bc-b5e1-3bfb0bc29f50] + request-id: [54cc0312-6b8c-43ee-828f-5f01787e59e6] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2409,22 +2323,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1","name":"1fff97de-902e-431a-9772-57821444c6e1","status":"InProgress","startTime":"2018-03-16T08:12:53.147Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:11:06 GMT'] + date: ['Fri, 16 Mar 2018 08:14:12 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [6fa624c7-5219-4a16-b68c-372cb24ea527] + request-id: [b3db1278-d5b6-40af-9d01-0d141027a5fc] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2437,22 +2350,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1","name":"1fff97de-902e-431a-9772-57821444c6e1","status":"InProgress","startTime":"2018-03-16T08:12:53.147Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:11:38 GMT'] + date: ['Fri, 16 Mar 2018 08:14:44 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [f7117dea-feff-44ac-80e3-e07569b8b3eb] + request-id: [d2ee1d2c-208a-4ce3-9751-9a1a11105461] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2465,22 +2377,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1","name":"1fff97de-902e-431a-9772-57821444c6e1","status":"InProgress","startTime":"2018-03-16T08:12:53.147Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:12:09 GMT'] + date: ['Fri, 16 Mar 2018 08:15:14 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [a93d580d-2998-4f8c-bc2e-de99c74a94c2] + request-id: [967b27b2-d21a-400b-89a4-667300da5019] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2493,22 +2404,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1","name":"1fff97de-902e-431a-9772-57821444c6e1","status":"InProgress","startTime":"2018-03-16T08:12:53.147Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:12:39 GMT'] + date: ['Fri, 16 Mar 2018 08:15:46 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [0532511b-3570-4d67-a4a2-70b1898e92ce] + request-id: [7c58c820-6d6a-4fa6-a504-38b063901657] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2521,22 +2431,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1","name":"1fff97de-902e-431a-9772-57821444c6e1","status":"InProgress","startTime":"2018-03-16T08:12:53.147Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:13:11 GMT'] + date: ['Fri, 16 Mar 2018 08:16:18 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [a4415250-d58a-4448-b493-b553963091ef] + request-id: [fee9b922-8124-45db-ae25-2cc9413a197c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2549,22 +2458,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1","name":"1fff97de-902e-431a-9772-57821444c6e1","status":"InProgress","startTime":"2018-03-16T08:12:53.147Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:13:42 GMT'] + date: ['Fri, 16 Mar 2018 08:16:49 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [0478e8ba-7913-44e3-b23e-b22f89a09602] + request-id: [fe679040-ea03-4575-a0ee-6a12018be2fb] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2577,22 +2485,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"InProgress","startTime":"2017-09-27T22:07:12.993Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1","name":"1fff97de-902e-431a-9772-57821444c6e1","status":"InProgress","startTime":"2018-03-16T08:12:53.147Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:14:12 GMT'] + date: ['Fri, 16 Mar 2018 08:17:21 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [5b4a7703-56af-48c5-8666-39e13de14b72] + request-id: [1bbcf418-6ba1-4a70-89fa-4c8546c54fc8] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2605,22 +2512,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/39cc5c85-501a-44e1-97e2-9ec947e6b433","name":"39cc5c85-501a-44e1-97e2-9ec947e6b433","status":"Succeeded","startTime":"2017-09-27T22:07:12.993Z","endTime":"2017-09-27T22:14:13.769Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$fileservercedd134b"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/1fff97de-902e-431a-9772-57821444c6e1","name":"1fff97de-902e-431a-9772-57821444c6e1","status":"Succeeded","startTime":"2018-03-16T08:12:53.147Z","endTime":"2018-03-16T08:17:29.433Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_file_servers_test_file_servercedd134b$fileservercedd134b"}}'} headers: cache-control: [no-cache] - content-length: ['472'] + content-length: ['476'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:14:44 GMT'] + date: ['Fri, 16 Mar 2018 08:17:52 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [8a342a14-7c97-4881-80dc-7924b7ab54fb] + request-id: [0afc8c7f-93fb-40dd-a015-83e9a127fa6c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -2634,24 +2540,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_file_servers_test_file_servercedd134b/providers/Microsoft.BatchAI/fileServers?api-version=2018-03-01 response: body: {string: '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 22:14:46 GMT'] + date: ['Fri, 16 Mar 2018 08:17:53 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [4d698559-61f1-4854-8e39-2fb1356bfcf3] - server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] status: {code: 200, message: OK} diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_completed_job_termination.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_completed_job_termination.yaml index 63b80d2e0bb6..4944ced42f45 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_completed_job_termination.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_completed_job_termination.yaml @@ -1,33 +1,35 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", - "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/clusters/cluster490915ba"}, - "nodeCount": 1, "customToolkitSettings": {"commandLine": "true"}, "inputDirectories": - [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "priority": - 0, "outputDirectories": [{"pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", - "type": "custom", "id": "OUTPUTS", "pathSuffix": "files", "createNew": true}]}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/clusters/cluster490915ba"}, + "nodeCount": 1, "customToolkitSettings": {"commandLine": "true"}, "stdOutErrPathPrefix": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": [{"id": "INPUT", "path": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": [{"id": "OUTPUTS", + "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": "files", "type": + "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['621'] + Content-Length: ['622'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/20c0fbcf-d49d-4a3a-b10f-651b271bf4c3?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f695945d-f8ad-4271-8379-59c75641e1de?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 23:03:29 GMT'] + date: ['Fri, 16 Mar 2018 04:24:30 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/20c0fbcf-d49d-4a3a-b10f-651b271bf4c3?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/f695945d-f8ad-4271-8379-59c75641e1de?api-version=2018-03-01'] pragma: [no-cache] - request-id: [ea5993d5-9a12-4b83-b7a4-3fc66cf4fc55] + request-id: [99f3a38c-c643-4e65-a00f-5690929ef21b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -39,22 +41,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/20c0fbcf-d49d-4a3a-b10f-651b271bf4c3?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f695945d-f8ad-4271-8379-59c75641e1de?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/20c0fbcf-d49d-4a3a-b10f-651b271bf4c3","name":"20c0fbcf-d49d-4a3a-b10f-651b271bf4c3","status":"Succeeded","startTime":"2017-09-27T23:03:29.053Z","endTime":"2017-09-27T23:03:30.085Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_completed_job_termination490915ba$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/f695945d-f8ad-4271-8379-59c75641e1de","name":"f695945d-f8ad-4271-8379-59c75641e1de","status":"Succeeded","startTime":"2018-03-16T04:24:30.113Z","endTime":"2018-03-16T04:24:30.818Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_completed_job_termination490915ba$job"}}'} headers: cache-control: [no-cache] - content-length: ['463'] + content-length: ['467'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:03:45 GMT'] + date: ['Fri, 16 Mar 2018 04:24:46 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [b79f9042-beb9-492d-b608-e9b8ba571383] + request-id: [80bab8a6-da81-467f-a631-2f3b5c4416e6] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -67,24 +68,23 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/clusters/cluster490915ba"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:03:29.037Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:03:30.069Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T23:03:33.095Z","executionInfo":{"startTime":"2017-09-27T23:03:30.44Z","endTime":"2017-09-27T23:03:33.095Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/clusters/cluster490915ba"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/jobs/job/0d6b79f9-95fe-474f-ba2a-32d473fa3b59","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T04:24:30.097Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T04:24:30.787Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T04:24:35.542Z","executionInfo":{"startTime":"2018-03-16T04:24:32.948Z","endTime":"2018-03-16T04:24:35.542Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1196'] + content-length: ['1355'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:03:46 GMT'] - etag: ['"0x8D505FBF7847FE1"'] + date: ['Fri, 16 Mar 2018 04:24:47 GMT'] + etag: ['"0x8D58AF5CFD0A3FB"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:03:29 GMT'] + last-modified: ['Fri, 16 Mar 2018 04:24:30 GMT'] pragma: [no-cache] - request-id: [42830efa-d5d5-4747-ab31-68069b0b5021] + request-id: [1a390164-6879-40bd-9bd3-4d15ecd0202d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -98,23 +98,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/clusters/cluster490915ba"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:03:29.037Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:03:30.069Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T23:03:33.095Z","executionInfo":{"startTime":"2017-09-27T23:03:30.44Z","endTime":"2017-09-27T23:03:33.095Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/clusters/cluster490915ba"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/jobs/job/0d6b79f9-95fe-474f-ba2a-32d473fa3b59","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T04:24:30.097Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T04:24:30.787Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T04:24:35.542Z","executionInfo":{"startTime":"2018-03-16T04:24:32.948Z","endTime":"2018-03-16T04:24:35.542Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1196'] + content-length: ['1355'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:03:47 GMT'] - etag: ['"0x8D505FBF7847FE1"'] + date: ['Fri, 16 Mar 2018 04:24:47 GMT'] + etag: ['"0x8D58AF5CFD0A3FB"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:03:29 GMT'] + last-modified: ['Fri, 16 Mar 2018 04:24:30 GMT'] pragma: [no-cache] - request-id: [a025d68c-d7ee-4d9d-8eab-8bf8b3d56034] + request-id: [11f613c7-095d-418f-b13c-5d8772a2a26c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -129,24 +130,25 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job/terminate?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job/terminate?api-version=2018-03-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 23:03:49 GMT'] + date: ['Fri, 16 Mar 2018 04:24:49 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [8b34dca0-9386-43ae-bbb5-5360ca6478c7] + request-id: [5cc4d443-a1b2-46e0-8db9-e397a4142c4e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -155,23 +157,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/clusters/cluster490915ba"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:03:29.037Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:03:30.069Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T23:03:33.095Z","executionInfo":{"startTime":"2017-09-27T23:03:30.44Z","endTime":"2017-09-27T23:03:33.095Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/clusters/cluster490915ba"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/jobs/job/0d6b79f9-95fe-474f-ba2a-32d473fa3b59","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T04:24:30.097Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T04:24:30.787Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T04:24:35.542Z","executionInfo":{"startTime":"2018-03-16T04:24:32.948Z","endTime":"2018-03-16T04:24:35.542Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1196'] + content-length: ['1355'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:03:50 GMT'] - etag: ['"0x8D505FBF7847FE1"'] + date: ['Fri, 16 Mar 2018 04:24:51 GMT'] + etag: ['"0x8D58AF5CFD0A3FB"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:03:29 GMT'] + last-modified: ['Fri, 16 Mar 2018 04:24:30 GMT'] pragma: [no-cache] - request-id: [a8f76075-7ee1-4347-b0e2-76c226c8da41] + request-id: [b956bcc0-0d21-4816-b275-1b56e8cd8b30] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -186,26 +189,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f0c26705-c814-45fe-bfdb-49a1c0615216?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/84a1a54b-fb78-4cf5-bc69-a72acf69fb55?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 23:03:51 GMT'] + date: ['Fri, 16 Mar 2018 04:24:53 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f0c26705-c814-45fe-bfdb-49a1c0615216?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/84a1a54b-fb78-4cf5-bc69-a72acf69fb55?api-version=2018-03-01'] pragma: [no-cache] - request-id: [08336103-633c-4c9a-a743-6459e07aca17] + request-id: [bc5bad4b-5853-437f-81e4-2fbca0facb5d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -213,22 +217,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f0c26705-c814-45fe-bfdb-49a1c0615216?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/84a1a54b-fb78-4cf5-bc69-a72acf69fb55?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f0c26705-c814-45fe-bfdb-49a1c0615216","name":"f0c26705-c814-45fe-bfdb-49a1c0615216","status":"InProgress","startTime":"2017-09-27T23:03:51.578Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/84a1a54b-fb78-4cf5-bc69-a72acf69fb55","name":"84a1a54b-fb78-4cf5-bc69-a72acf69fb55","status":"InProgress","startTime":"2018-03-16T04:24:53.726Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:04:07 GMT'] + date: ['Fri, 16 Mar 2018 04:25:09 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [a6a30ae0-b195-4be8-a69d-66cc29fa0fc4] + request-id: [9a51a944-e93f-4ac4-b240-416dda0c01fd] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -241,22 +244,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f0c26705-c814-45fe-bfdb-49a1c0615216?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/84a1a54b-fb78-4cf5-bc69-a72acf69fb55?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f0c26705-c814-45fe-bfdb-49a1c0615216","name":"f0c26705-c814-45fe-bfdb-49a1c0615216","status":"InProgress","startTime":"2017-09-27T23:03:51.578Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/84a1a54b-fb78-4cf5-bc69-a72acf69fb55","name":"84a1a54b-fb78-4cf5-bc69-a72acf69fb55","status":"InProgress","startTime":"2018-03-16T04:24:53.726Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:04:38 GMT'] + date: ['Fri, 16 Mar 2018 04:25:41 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [efbf1790-6c99-461a-ad59-2229e5237992] + request-id: [0f918340-fbb9-4045-8252-941aef28fe5b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -269,22 +271,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f0c26705-c814-45fe-bfdb-49a1c0615216?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/84a1a54b-fb78-4cf5-bc69-a72acf69fb55?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f0c26705-c814-45fe-bfdb-49a1c0615216","name":"f0c26705-c814-45fe-bfdb-49a1c0615216","status":"Succeeded","startTime":"2017-09-27T23:03:51.578Z","endTime":"2017-09-27T23:04:52.549Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_completed_job_termination490915ba$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/84a1a54b-fb78-4cf5-bc69-a72acf69fb55","name":"84a1a54b-fb78-4cf5-bc69-a72acf69fb55","status":"Succeeded","startTime":"2018-03-16T04:24:53.726Z","endTime":"2018-03-16T04:25:54.394Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_completed_job_termination490915ba$job"}}'} headers: cache-control: [no-cache] - content-length: ['463'] + content-length: ['467'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:05:09 GMT'] + date: ['Fri, 16 Mar 2018 04:26:12 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [e813ec7d-b70f-4c5b-bedc-eae1de1bc664] + request-id: [4f890583-cbbf-48bf-9300-faf8f7bdb6f5] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -298,11 +299,12 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_completed_job_termination490915ba/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.BatchAI/jobs/job'' under resource group ''test_mgmt_batchai_jobs_test_completed_job_termination490915ba'' @@ -311,10 +313,11 @@ interactions: cache-control: [no-cache] content-length: ['191'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:05:09 GMT'] + date: ['Fri, 16 Mar 2018 04:26:14 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] x-ms-failure-cause: [gateway] status: {code: 404, message: Not Found} version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_failed_job_reporting.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_failed_job_reporting.yaml index d7f1511eec5c..5cb18c6520d1 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_failed_job_reporting.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_failed_job_reporting.yaml @@ -1,37 +1,39 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", - "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/clusters/clusterdee81392"}, - "nodeCount": 1, "customToolkitSettings": {"commandLine": "false"}, "inputDirectories": - [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "priority": - 0, "outputDirectories": [{"pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", - "type": "custom", "id": "OUTPUTS", "pathSuffix": "files", "createNew": true}]}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/clusters/clusterdee81392"}, + "nodeCount": 1, "customToolkitSettings": {"commandLine": "false"}, "stdOutErrPathPrefix": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": [{"id": "INPUT", "path": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": [{"id": "OUTPUTS", + "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": "files", "type": + "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['617'] + Content-Length: ['618'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/787bf561-1d71-44c8-afe9-069f91309625?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fe2b7b88-fa58-4575-8e41-fbbbf7a61b18?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 23:14:09 GMT'] + date: ['Fri, 16 Mar 2018 04:38:07 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/787bf561-1d71-44c8-afe9-069f91309625?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/fe2b7b88-fa58-4575-8e41-fbbbf7a61b18?api-version=2018-03-01'] pragma: [no-cache] - request-id: [253e4ad3-605f-4867-a755-63cfc7bddfe1] + request-id: [439e1a45-85b4-4499-a43d-fa97d3f51816] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -39,22 +41,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/787bf561-1d71-44c8-afe9-069f91309625?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fe2b7b88-fa58-4575-8e41-fbbbf7a61b18?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/787bf561-1d71-44c8-afe9-069f91309625","name":"787bf561-1d71-44c8-afe9-069f91309625","status":"Succeeded","startTime":"2017-09-27T23:14:09.777Z","endTime":"2017-09-27T23:14:11.065Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_failed_job_reportingdee81392$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fe2b7b88-fa58-4575-8e41-fbbbf7a61b18","name":"fe2b7b88-fa58-4575-8e41-fbbbf7a61b18","status":"Succeeded","startTime":"2018-03-16T04:38:07.595Z","endTime":"2018-03-16T04:38:08.397Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_failed_job_reportingdee81392$job"}}'} headers: cache-control: [no-cache] - content-length: ['458'] + content-length: ['462'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:14:26 GMT'] + date: ['Fri, 16 Mar 2018 04:38:23 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [15a6a984-d9ab-44cf-bc32-492302f219ff] + request-id: [4e18789e-bf26-4794-8c8a-86f9cbf77571] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -67,25 +68,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/clusters/clusterdee81392"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:14:09.761Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:14:11.034Z","executionState":"Failed","executionStateTransitionTime":"2017-09-27T23:14:13.152Z","executionInfo":{"startTime":"2017-09-27T23:14:11.275Z","endTime":"2017-09-27T23:14:13.152Z","exitCode":1,"errors":[{"code":"JobFailed","message":" - job failed with non-zero exit code"}]}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/clusters/clusterdee81392"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/jobs/job/0b38ffbc-ae3c-4790-9828-862bafe696d2","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T04:38:07.579Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T04:38:08.366Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T04:38:11.526Z","executionInfo":{"startTime":"2018-03-16T04:38:09.298Z","endTime":"2018-03-16T04:38:11.526Z","exitCode":1,"errors":[{"code":"JobFailed","message":"Job + failed with non-zero exit code"}]}}}'} headers: cache-control: [no-cache] - content-length: ['1282'] + content-length: ['1417'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:14:27 GMT'] - etag: ['"0x8D505FD756B3367"'] + date: ['Fri, 16 Mar 2018 04:38:25 GMT'] + etag: ['"0x8D58AF7B7129E2C"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:14:09 GMT'] + last-modified: ['Fri, 16 Mar 2018 04:38:07 GMT'] pragma: [no-cache] - request-id: [5ce7d8c5-21fd-43b1-9087-4ef9bd749041] + request-id: [702ed41a-ab4e-4fc7-bfe3-9451283a636e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -99,24 +99,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/clusters/clusterdee81392"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:14:09.761Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:14:11.034Z","executionState":"Failed","executionStateTransitionTime":"2017-09-27T23:14:13.152Z","executionInfo":{"startTime":"2017-09-27T23:14:11.275Z","endTime":"2017-09-27T23:14:13.152Z","exitCode":1,"errors":[{"code":"JobFailed","message":" - job failed with non-zero exit code"}]}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/clusters/clusterdee81392"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/jobs/job/0b38ffbc-ae3c-4790-9828-862bafe696d2","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T04:38:07.579Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T04:38:08.366Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T04:38:11.526Z","executionInfo":{"startTime":"2018-03-16T04:38:09.298Z","endTime":"2018-03-16T04:38:11.526Z","exitCode":1,"errors":[{"code":"JobFailed","message":"Job + failed with non-zero exit code"}]}}}'} headers: cache-control: [no-cache] - content-length: ['1282'] + content-length: ['1417'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:14:31 GMT'] - etag: ['"0x8D505FD756B3367"'] + date: ['Fri, 16 Mar 2018 04:38:26 GMT'] + etag: ['"0x8D58AF7B7129E2C"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:14:09 GMT'] + last-modified: ['Fri, 16 Mar 2018 04:38:07 GMT'] pragma: [no-cache] - request-id: [095a63b8-3f47-4a10-87b1-3338eed1c298] + request-id: [bc694bd9-e0d3-4dd2-8710-3384f492b8e3] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -130,24 +131,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/clusters/clusterdee81392"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:14:09.761Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:14:11.034Z","executionState":"Failed","executionStateTransitionTime":"2017-09-27T23:14:13.152Z","executionInfo":{"startTime":"2017-09-27T23:14:11.275Z","endTime":"2017-09-27T23:14:13.152Z","exitCode":1,"errors":[{"code":"JobFailed","message":" - job failed with non-zero exit code"}]}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/clusters/clusterdee81392"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/jobs/job/0b38ffbc-ae3c-4790-9828-862bafe696d2","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T04:38:07.579Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T04:38:08.366Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T04:38:11.526Z","executionInfo":{"startTime":"2018-03-16T04:38:09.298Z","endTime":"2018-03-16T04:38:11.526Z","exitCode":1,"errors":[{"code":"JobFailed","message":"Job + failed with non-zero exit code"}]}}}'} headers: cache-control: [no-cache] - content-length: ['1282'] + content-length: ['1417'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:14:35 GMT'] - etag: ['"0x8D505FD756B3367"'] + date: ['Fri, 16 Mar 2018 04:38:28 GMT'] + etag: ['"0x8D58AF7B7129E2C"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:14:09 GMT'] + last-modified: ['Fri, 16 Mar 2018 04:38:07 GMT'] pragma: [no-cache] - request-id: [7e3b5518-3c58-4b9d-a29e-99fd23443b57] + request-id: [286376f2-30ad-4ade-9911-ef3f1efd6e5f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -162,22 +164,23 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/3b27c705-a94d-4e47-a4a6-af5411eeec19?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0b2b8180-a545-4da9-ba70-800ca88f5123?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 23:14:36 GMT'] + date: ['Fri, 16 Mar 2018 04:38:30 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/3b27c705-a94d-4e47-a4a6-af5411eeec19?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/0b2b8180-a545-4da9-ba70-800ca88f5123?api-version=2018-03-01'] pragma: [no-cache] - request-id: [79e1e776-0c1d-4256-ac06-6ead40afa1d9] + request-id: [0ff9c261-daab-48e4-bd60-9f9d81ac1b58] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -189,22 +192,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/3b27c705-a94d-4e47-a4a6-af5411eeec19?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0b2b8180-a545-4da9-ba70-800ca88f5123?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/3b27c705-a94d-4e47-a4a6-af5411eeec19","name":"3b27c705-a94d-4e47-a4a6-af5411eeec19","status":"InProgress","startTime":"2017-09-27T23:14:36.931Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0b2b8180-a545-4da9-ba70-800ca88f5123","name":"0b2b8180-a545-4da9-ba70-800ca88f5123","status":"InProgress","startTime":"2018-03-16T04:38:31.307Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:14:53 GMT'] + date: ['Fri, 16 Mar 2018 04:38:47 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [75c3f978-41de-4061-99bb-59f05b3a17b7] + request-id: [11a95536-795b-49bc-b765-3bebd6b40ab3] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -217,22 +219,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/3b27c705-a94d-4e47-a4a6-af5411eeec19?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0b2b8180-a545-4da9-ba70-800ca88f5123?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/3b27c705-a94d-4e47-a4a6-af5411eeec19","name":"3b27c705-a94d-4e47-a4a6-af5411eeec19","status":"InProgress","startTime":"2017-09-27T23:14:36.931Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0b2b8180-a545-4da9-ba70-800ca88f5123","name":"0b2b8180-a545-4da9-ba70-800ca88f5123","status":"Succeeded","startTime":"2018-03-16T04:38:31.307Z","endTime":"2018-03-16T04:39:01.721Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_failed_job_reportingdee81392$job"}}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['462'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:15:24 GMT'] + date: ['Fri, 16 Mar 2018 04:39:18 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [01b664c7-80e8-4158-b386-cdf4fdb35083] + request-id: [69149d92-19f0-4a49-ba3b-c9961e4bf6f7] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -246,39 +247,12 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/3b27c705-a94d-4e47-a4a6-af5411eeec19?api-version=2017-09-01-preview - response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/3b27c705-a94d-4e47-a4a6-af5411eeec19","name":"3b27c705-a94d-4e47-a4a6-af5411eeec19","status":"Succeeded","startTime":"2017-09-27T23:14:36.931Z","endTime":"2017-09-27T23:15:37.897Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_failed_job_reportingdee81392$job"}}'} - headers: - cache-control: [no-cache] - content-length: ['458'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:15:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - request-id: [21ecd62c-b157-4ee9-a16f-32cc0c9602d4] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_failed_job_reportingdee81392/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.BatchAI/jobs/job'' under resource group ''test_mgmt_batchai_jobs_test_failed_job_reportingdee81392'' @@ -287,10 +261,11 @@ interactions: cache-control: [no-cache] content-length: ['186'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:15:56 GMT'] + date: ['Fri, 16 Mar 2018 04:39:18 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] x-ms-failure-cause: [gateway] status: {code: 404, message: Not Found} version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_container_preparation_failure_reporting.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_container_preparation_failure_reporting.yaml index 660084f7f615..5b7f0313ce93 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_container_preparation_failure_reporting.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_container_preparation_failure_reporting.yaml @@ -1,38 +1,40 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"jobPreparation": {"commandLine": - "false"}, "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/clusters/cluster163b1d3b"}, - "nodeCount": 1, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "customToolkitSettings": - {"commandLine": "true"}, "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], - "priority": 0, "containerSettings": {"imageSourceRegistry": {"image": "ubuntu"}}, - "outputDirectories": [{"pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "type": - "custom", "id": "OUTPUTS", "pathSuffix": "files", "createNew": true}]}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/clusters/cluster163b1d3b"}, + "nodeCount": 1, "containerSettings": {"imageSourceRegistry": {"image": "ubuntu"}}, + "customToolkitSettings": {"commandLine": "true"}, "jobPreparation": {"commandLine": + "false"}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": + [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": + [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": + "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['750'] + Content-Length: ['751'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/918c0e4e-fd05-438b-a319-b7770b4db277?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/509c03bb-8143-4ba0-9e61-8edc4024fa91?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 23:26:07 GMT'] + date: ['Fri, 16 Mar 2018 04:50:11 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/918c0e4e-fd05-438b-a319-b7770b4db277?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/509c03bb-8143-4ba0-9e61-8edc4024fa91?api-version=2018-03-01'] pragma: [no-cache] - request-id: [798d8f92-9837-41d2-8abb-6cc94d64c230] + request-id: [0ada0f27-aa15-4901-9a58-7a1450a6495e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -40,22 +42,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/918c0e4e-fd05-438b-a319-b7770b4db277?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/509c03bb-8143-4ba0-9e61-8edc4024fa91?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/918c0e4e-fd05-438b-a319-b7770b4db277","name":"918c0e4e-fd05-438b-a319-b7770b4db277","status":"Succeeded","startTime":"2017-09-27T23:26:07.489Z","endTime":"2017-09-27T23:26:08.533Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/509c03bb-8143-4ba0-9e61-8edc4024fa91","name":"509c03bb-8143-4ba0-9e61-8edc4024fa91","status":"Succeeded","startTime":"2018-03-16T04:50:12Z","endTime":"2018-03-16T04:50:13.032Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b$job"}}'} headers: cache-control: [no-cache] content-length: ['481'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:26:23 GMT'] + date: ['Fri, 16 Mar 2018 04:50:29 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [e7a40d48-9a5b-4e46-8f1e-b15941b885eb] + request-id: [f9314d82-40a0-41ca-82d7-25aea7965432] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -68,24 +69,23 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/clusters/cluster163b1d3b"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:26:07.474Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:26:08.47Z","executionState":"Running","executionStateTransitionTime":"2017-09-27T23:26:10.301Z","executionInfo":{"startTime":"2017-09-27T23:26:08.834Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/clusters/cluster163b1d3b"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/jobs/job/d20a3edb-52dc-4d0e-a2d3-5cc3c3fb4dcd","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T04:50:11.985Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T04:50:13.016Z","executionState":"running","executionStateTransitionTime":"2018-03-16T04:50:15.307Z","executionInfo":{"startTime":"2018-03-16T04:50:15.1Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1284'] + content-length: ['1459'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:26:24 GMT'] - etag: ['"0x8D505FF21356AFF"'] + date: ['Fri, 16 Mar 2018 04:50:30 GMT'] + etag: ['"0x8D58AF966DA12B0"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:26:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 04:50:11 GMT'] pragma: [no-cache] - request-id: [5e1dfc41-ccbe-4863-8cf0-d3ab41e2931f] + request-id: [5e13aaeb-bf2b-4a3f-a3d4-06bcf8febf71] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -99,23 +99,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/clusters/cluster163b1d3b"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:26:07.474Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:26:08.47Z","executionState":"Running","executionStateTransitionTime":"2017-09-27T23:26:10.301Z","executionInfo":{"startTime":"2017-09-27T23:26:08.834Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/clusters/cluster163b1d3b"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/jobs/job/d20a3edb-52dc-4d0e-a2d3-5cc3c3fb4dcd","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T04:50:11.985Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T04:50:13.016Z","executionState":"running","executionStateTransitionTime":"2018-03-16T04:50:15.307Z","executionInfo":{"startTime":"2018-03-16T04:50:15.1Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1284'] + content-length: ['1459'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:26:26 GMT'] - etag: ['"0x8D505FF21356AFF"'] + date: ['Fri, 16 Mar 2018 04:50:32 GMT'] + etag: ['"0x8D58AF966DA12B0"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:26:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 04:50:11 GMT'] pragma: [no-cache] - request-id: [848a226d-77f3-4dae-9b6f-d6a4a7d9ac1e] + request-id: [14889b4a-b524-4fd2-88c4-dc8807ef356f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -129,24 +130,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/clusters/cluster163b1d3b"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:26:07.474Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:26:08.47Z","executionState":"Failed","executionStateTransitionTime":"2017-09-27T23:26:47.134Z","executionInfo":{"startTime":"2017-09-27T23:26:08.834Z","endTime":"2017-09-27T23:26:47.134Z","exitCode":1,"errors":[{"code":"JobNodePreparationFailed","message":" - job node preparation task failed with non-zero exit code"}]}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/clusters/cluster163b1d3b"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/jobs/job/d20a3edb-52dc-4d0e-a2d3-5cc3c3fb4dcd","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T04:50:11.985Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T04:50:13.016Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T04:50:51.026Z","executionInfo":{"startTime":"2018-03-16T04:50:15.1Z","endTime":"2018-03-16T04:50:51.026Z","exitCode":1,"errors":[{"code":"JobPreparationFailed","message":"Job + preparation task failed with non-zero exit code"}]}}}'} headers: cache-control: [no-cache] - content-length: ['1467'] + content-length: ['1615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:26:47 GMT'] - etag: ['"0x8D505FF21356AFF"'] + date: ['Fri, 16 Mar 2018 04:50:55 GMT'] + etag: ['"0x8D58AF966DA12B0"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:26:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 04:50:11 GMT'] pragma: [no-cache] - request-id: [2dc095c7-5649-48d6-8ff0-5619812a9827] + request-id: [8cb79546-9081-4dc4-a05f-b00a744273d1] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -160,24 +162,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/clusters/cluster163b1d3b"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:26:07.474Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:26:08.47Z","executionState":"Failed","executionStateTransitionTime":"2017-09-27T23:26:47.134Z","executionInfo":{"startTime":"2017-09-27T23:26:08.834Z","endTime":"2017-09-27T23:26:47.134Z","exitCode":1,"errors":[{"code":"JobNodePreparationFailed","message":" - job node preparation task failed with non-zero exit code"}]}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/clusters/cluster163b1d3b"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/jobs/job/d20a3edb-52dc-4d0e-a2d3-5cc3c3fb4dcd","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T04:50:11.985Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T04:50:13.016Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T04:50:51.026Z","executionInfo":{"startTime":"2018-03-16T04:50:15.1Z","endTime":"2018-03-16T04:50:51.026Z","exitCode":1,"errors":[{"code":"JobPreparationFailed","message":"Job + preparation task failed with non-zero exit code"}]}}}'} headers: cache-control: [no-cache] - content-length: ['1467'] + content-length: ['1615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:26:48 GMT'] - etag: ['"0x8D505FF21356AFF"'] + date: ['Fri, 16 Mar 2018 04:50:57 GMT'] + etag: ['"0x8D58AF966DA12B0"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:26:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 04:50:11 GMT'] pragma: [no-cache] - request-id: [820a9e40-9022-4937-afa8-7c933b2f4368] + request-id: [061ae4bf-ccd6-4e5f-9b51-d15b16128d5d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -192,22 +195,23 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2947afd8-63fb-4824-a102-4ec924059e68?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/89485abc-87ca-479a-af60-3b71e355fd5a?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 23:26:50 GMT'] + date: ['Fri, 16 Mar 2018 04:50:59 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2947afd8-63fb-4824-a102-4ec924059e68?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/89485abc-87ca-479a-af60-3b71e355fd5a?api-version=2018-03-01'] pragma: [no-cache] - request-id: [e1c87339-993a-4687-9780-b5e800c5900d] + request-id: [e3667f21-2c4c-49b2-863c-1471ae085f77] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -219,22 +223,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2947afd8-63fb-4824-a102-4ec924059e68?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/89485abc-87ca-479a-af60-3b71e355fd5a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2947afd8-63fb-4824-a102-4ec924059e68","name":"2947afd8-63fb-4824-a102-4ec924059e68","status":"InProgress","startTime":"2017-09-27T23:26:50.291Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/89485abc-87ca-479a-af60-3b71e355fd5a","name":"89485abc-87ca-479a-af60-3b71e355fd5a","status":"InProgress","startTime":"2018-03-16T04:51:00.189Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:27:06 GMT'] + date: ['Fri, 16 Mar 2018 04:51:16 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [a180758e-7c24-41bd-babf-276670c0cff4] + request-id: [e4fdd696-3cf5-41f4-ae5e-4c08df419a3e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -247,22 +250,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2947afd8-63fb-4824-a102-4ec924059e68?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/89485abc-87ca-479a-af60-3b71e355fd5a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2947afd8-63fb-4824-a102-4ec924059e68","name":"2947afd8-63fb-4824-a102-4ec924059e68","status":"Succeeded","startTime":"2017-09-27T23:26:50.291Z","endTime":"2017-09-27T23:27:20.92Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/89485abc-87ca-479a-af60-3b71e355fd5a","name":"89485abc-87ca-479a-af60-3b71e355fd5a","status":"Succeeded","startTime":"2018-03-16T04:51:00.189Z","endTime":"2018-03-16T04:51:31.54Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b$job"}}'} headers: cache-control: [no-cache] - content-length: ['480'] + content-length: ['484'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:27:37 GMT'] + date: ['Fri, 16 Mar 2018 04:51:47 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [2183568a-744b-42c8-b9cc-48e019ff6857] + request-id: [ee7785ea-aeaf-4f8a-a1fb-e3e072548b16] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -276,11 +278,12 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.BatchAI/jobs/job'' under resource group ''test_mgmt_batchai_jobs_test_job_container_preparation_failure_reporting163b1d3b'' @@ -289,10 +292,11 @@ interactions: cache-control: [no-cache] content-length: ['209'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:27:38 GMT'] + date: ['Fri, 16 Mar 2018 04:51:49 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] x-ms-failure-cause: [gateway] status: {code: 404, message: Not Found} version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_creation_and_deletion.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_creation_and_deletion.yaml index bf4ce5b5c266..e6771bed908a 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_creation_and_deletion.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_creation_and_deletion.yaml @@ -1,38 +1,40 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", - "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/clusters/cluster46b2158e"}, - "nodeCount": 1, "customToolkitSettings": {"commandLine": "echo hi | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"}, - "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], - "priority": 0, "containerSettings": {"imageSourceRegistry": {"image": "ubuntu"}}, - "outputDirectories": [{"pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "type": - "custom", "id": "OUTPUTS", "pathSuffix": "files", "createNew": true}]}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/clusters/cluster46b2158e"}, + "nodeCount": 1, "containerSettings": {"imageSourceRegistry": {"image": "ubuntu"}}, + "customToolkitSettings": {"commandLine": "echo hi | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"}, + "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": + [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": + [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": + "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['732'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/36dcbad2-27ea-45d3-b1d7-2181d2e86730?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a4db850-39c6-426b-8411-653a12c79754?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 23:36:52 GMT'] + date: ['Fri, 16 Mar 2018 05:02:35 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/36dcbad2-27ea-45d3-b1d7-2181d2e86730?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/2a4db850-39c6-426b-8411-653a12c79754?api-version=2018-03-01'] pragma: [no-cache] - request-id: [f23fe78a-6e45-4387-9f0a-fefa4caad4fb] + request-id: [c6f3c9be-e9be-4426-8646-fa5a2427c44e] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -40,53 +42,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/36dcbad2-27ea-45d3-b1d7-2181d2e86730?api-version=2017-09-01-preview - response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/36dcbad2-27ea-45d3-b1d7-2181d2e86730","name":"36dcbad2-27ea-45d3-b1d7-2181d2e86730","status":"Succeeded","startTime":"2017-09-27T23:36:52.627Z","endTime":"2017-09-27T23:36:53.716Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e$job"}}'} - headers: - cache-control: [no-cache] - content-length: ['463'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - request-id: [36d4ff7d-2444-4da8-b315-20effedae3e7] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a4db850-39c6-426b-8411-653a12c79754?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/clusters/cluster46b2158e"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hi | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:36:52.611Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:36:53.701Z","executionState":"Running","executionStateTransitionTime":"2017-09-27T23:36:56.395Z","executionInfo":{"startTime":"2017-09-27T23:36:54.115Z"}}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/2a4db850-39c6-426b-8411-653a12c79754","name":"2a4db850-39c6-426b-8411-653a12c79754","status":"Succeeded","startTime":"2018-03-16T05:02:36.245Z","endTime":"2018-03-16T05:02:37.967Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e$job"}}'} headers: cache-control: [no-cache] - content-length: ['1252'] + content-length: ['467'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:37:10 GMT'] - etag: ['"0x8D50600A1BD9BCF"'] + date: ['Fri, 16 Mar 2018 05:02:52 GMT'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:36:52 GMT'] pragma: [no-cache] - request-id: [1ba97567-31a8-4943-a644-305662ceb9a3] + request-id: [eead7fb2-fc35-4899-9f0b-ad4abe030a70] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -99,25 +69,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/clusters/cluster46b2158e"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hi | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:36:52.611Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:36:53.701Z","executionState":"Running","executionStateTransitionTime":"2017-09-27T23:36:56.395Z","executionInfo":{"startTime":"2017-09-27T23:36:54.115Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/clusters/cluster46b2158e"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/8e9922ca-3244-407e-ad7d-70105131b37a","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hi | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:02:36.229Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:02:37.952Z","executionState":"running","executionStateTransitionTime":"2018-03-16T05:02:40.173Z","executionInfo":{"startTime":"2018-03-16T05:02:39.582Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1252'] + content-length: ['1409'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:37:12 GMT'] - etag: ['"0x8D50600A1BD9BCF"'] + date: ['Fri, 16 Mar 2018 05:02:54 GMT'] + etag: ['"0x8D58AFB2274D630"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:36:52 GMT'] + last-modified: ['Fri, 16 Mar 2018 05:02:36 GMT'] pragma: [no-cache] - request-id: [0243265b-86a7-46ec-8bdd-d7e7636b24db] + request-id: [b7ee68f6-4cc5-4e77-b2f9-585f557efdf7] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -131,24 +100,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/clusters/cluster46b2158e"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hi | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:36:52.611Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:36:53.701Z","executionState":"Running","executionStateTransitionTime":"2017-09-27T23:36:56.395Z","executionInfo":{"startTime":"2017-09-27T23:36:54.115Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/clusters/cluster46b2158e"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/8e9922ca-3244-407e-ad7d-70105131b37a","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hi | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:02:36.229Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:02:37.952Z","executionState":"running","executionStateTransitionTime":"2018-03-16T05:02:40.173Z","executionInfo":{"startTime":"2018-03-16T05:02:39.582Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1252'] + content-length: ['1409'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:37:32 GMT'] - etag: ['"0x8D50600A1BD9BCF"'] + date: ['Fri, 16 Mar 2018 05:02:56 GMT'] + etag: ['"0x8D58AFB2274D630"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:36:52 GMT'] + last-modified: ['Fri, 16 Mar 2018 05:02:36 GMT'] pragma: [no-cache] - request-id: [03af73a1-6330-407a-978b-8c3eb5f01777] + request-id: [4212982c-e0ce-4c2c-8a74-3991ee4c3be9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -162,24 +132,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/clusters/cluster46b2158e"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"echo - hi | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:36:52.611Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:36:53.701Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-27T23:37:35.016Z","executionInfo":{"startTime":"2017-09-27T23:36:54.115Z","endTime":"2017-09-27T23:37:35.016Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/clusters/cluster46b2158e"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/8e9922ca-3244-407e-ad7d-70105131b37a","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + hi | tee $AZ_BATCHAI_OUTPUT_OUTPUTS/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:02:36.229Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:02:37.952Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T05:03:10.957Z","executionInfo":{"startTime":"2018-03-16T05:02:39.582Z","endTime":"2018-03-16T05:03:10.957Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1304'] + content-length: ['1461'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:37:54 GMT'] - etag: ['"0x8D50600A1BD9BCF"'] + date: ['Fri, 16 Mar 2018 05:03:19 GMT'] + etag: ['"0x8D58AFB2274D630"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:36:52 GMT'] + last-modified: ['Fri, 16 Mar 2018 05:02:36 GMT'] pragma: [no-cache] - request-id: [75ef7aa4-1504-4bee-ae9c-4e0570e94e0e] + request-id: [fe85884f-8f2c-4119-bd20-08de5ce9849c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -194,21 +165,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?outputdirectoryid=stdouterr&maxresults=1000&api-version=2017-09-01-preview&linkexpiryinminutes=60 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"stderr.txt","downloadUrl":"https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/stderr.txt?sv=2016-05-31&sr=f&sig=gzeeaovwjNqmpfIudK6OIBv1KmnZv3yH%2BQ4Mw0STsgw%3D&se=2017-09-28T00%3A37%3A55Z&sp=rl","properties":{"lastModified":"2017-09-27T23:37:34Z","contentLength":0}},{"name":"stdout.txt","downloadUrl":"https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/stdout.txt?sv=2016-05-31&sr=f&sig=fNtRp%2Fx610ADpv2We%2FFAjl9NR1gJ0Nklg98dST4KhdA%3D&se=2017-09-28T00%3A37%3A55Z&sp=rl","properties":{"lastModified":"2017-09-27T23:37:34Z","contentLength":3}}]}'} + body: {string: '{"value":[{"name":"execution.log","isDirectory":false,"downloadUrl":"https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/8e9922ca-3244-407e-ad7d-70105131b37a/stdouterr/execution.log?sv=2016-05-31&sr=f&sig=pn7BgKtZgqGtWdqgWV%2Fr792OEc9gF6ec1ZyaF%2BFdO6c%3D&se=2018-03-16T06%3A03%3A21Z&sp=rl","properties":{"lastModified":"2018-03-16T05:03:10Z","contentLength":22932}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/8e9922ca-3244-407e-ad7d-70105131b37a/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=DDk8eSzWpsOm3eu5ikzoCglnTr723T%2BDFqIqDnr3X8k%3D&se=2018-03-16T06%3A03%3A21Z&sp=rl","properties":{"lastModified":"2018-03-16T05:03:10Z","contentLength":0}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/8e9922ca-3244-407e-ad7d-70105131b37a/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=yjz68QWOrHXyInMUhxw84mlShpueM6FARfl6SFUdj3k%3D&se=2018-03-16T06%3A03%3A21Z&sp=rl","properties":{"lastModified":"2018-03-16T05:03:10Z","contentLength":3}}]}'} headers: cache-control: [no-cache] - content-length: ['779'] + content-length: ['1371'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:37:54 GMT'] + date: ['Fri, 16 Mar 2018 05:03:21 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [20156ccb-6b57-4f07-9776-18d262777bc3] + request-id: [d447b1f5-2864-4bab-aa0d-376ae81d42cb] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -223,16 +195,16 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/stderr.txt?sv=2016-05-31&sr=f&sig=gzeeaovwjNqmpfIudK6OIBv1KmnZv3yH%2BQ4Mw0STsgw%3D&se=2017-09-28T00%3A37%3A55Z&sp=rl + uri: https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/8e9922ca-3244-407e-ad7d-70105131b37a/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=DDk8eSzWpsOm3eu5ikzoCglnTr723T%2BDFqIqDnr3X8k%3D&se=2018-03-16T06%3A03%3A21Z&sp=rl response: body: {string: ''} headers: accept-ranges: [bytes] content-length: ['0'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 23:37:55 GMT'] - etag: ['"0x8D50600BAA3F315"'] - last-modified: ['Wed, 27 Sep 2017 23:37:34 GMT'] + date: ['Fri, 16 Mar 2018 05:03:22 GMT'] + etag: ['"0x8D58AFB36988251"'] + last-modified: ['Fri, 16 Mar 2018 05:03:10 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -245,7 +217,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/stdout.txt?sv=2016-05-31&sr=f&sig=fNtRp%2Fx610ADpv2We%2FFAjl9NR1gJ0Nklg98dST4KhdA%3D&se=2017-09-28T00%3A37%3A55Z&sp=rl + uri: https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/8e9922ca-3244-407e-ad7d-70105131b37a/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=yjz68QWOrHXyInMUhxw84mlShpueM6FARfl6SFUdj3k%3D&se=2018-03-16T06%3A03%3A21Z&sp=rl response: body: {string: 'hi @@ -254,9 +226,9 @@ interactions: accept-ranges: [bytes] content-length: ['3'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 23:37:55 GMT'] - etag: ['"0x8D50600BABB28AA"'] - last-modified: ['Wed, 27 Sep 2017 23:37:34 GMT'] + date: ['Fri, 16 Mar 2018 05:03:24 GMT'] + etag: ['"0x8D58AFB36B18E8B"'] + last-modified: ['Fri, 16 Mar 2018 05:03:10 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -269,21 +241,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?outputdirectoryid=OUTPUTS&maxresults=1000&api-version=2017-09-01-preview&linkexpiryinminutes=60 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=OUTPUTS&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"hi.txt","downloadUrl":"https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=c%2Fc6iZ%2FGce7z7TzHWYNWFdIMrqOma8xW9%2BnxJpvL01A%3D&se=2017-09-28T00%3A37%3A58Z&sp=rl","properties":{"lastModified":"2017-09-27T23:37:34Z","contentLength":3}}]}'} + body: {string: '{"value":[{"name":"hi.txt","isDirectory":false,"downloadUrl":"https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/8e9922ca-3244-407e-ad7d-70105131b37a/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=xS%2FTdykZ5e7DFcuEC0ISpEcbKwABPG5gLFNUDLVZh6k%3D&se=2018-03-16T06%3A03%3A26Z&sp=rl","properties":{"lastModified":"2018-03-16T05:03:10Z","contentLength":3}}]}'} headers: cache-control: [no-cache] - content-length: ['404'] + content-length: ['457'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:37:57 GMT'] + date: ['Fri, 16 Mar 2018 05:03:26 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [aac17948-9e51-478d-90e3-c0f3b605729b] + request-id: [0c1a1601-3730-43a2-aaf3-7825fc80b6f4] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -298,7 +271,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=c%2Fc6iZ%2FGce7z7TzHWYNWFdIMrqOma8xW9%2BnxJpvL01A%3D&se=2017-09-28T00%3A37%3A58Z&sp=rl + uri: https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/8e9922ca-3244-407e-ad7d-70105131b37a/outputs/files/hi.txt?sv=2016-05-31&sr=f&sig=xS%2FTdykZ5e7DFcuEC0ISpEcbKwABPG5gLFNUDLVZh6k%3D&se=2018-03-16T06%3A03%3A26Z&sp=rl response: body: {string: 'hi @@ -307,13 +280,40 @@ interactions: accept-ranges: [bytes] content-length: ['3'] content-type: [application/octet-stream] - date: ['Wed, 27 Sep 2017 23:37:57 GMT'] - etag: ['"0x8D50600BAB9C8E0"'] - last-modified: ['Wed, 27 Sep 2017 23:37:34 GMT'] + date: ['Fri, 16 Mar 2018 05:03:26 GMT'] + etag: ['"0x8D58AFB36AF9237"'] + last-modified: ['Fri, 16 Mar 2018 05:03:10 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] status: {code: 200, message: OK} +- request: + body: null + headers: + Connection: [keep-alive] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 05:03:27 GMT'] + x-ms-range: [bytes=0-33554431] + x-ms-version: ['2017-04-17'] + method: GET + uri: https://psdk46b2158e.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/jobs/job/8e9922ca-3244-407e-ad7d-70105131b37a/stdouterr/stdout.txt + response: + body: {string: 'hi + + '} + headers: + accept-ranges: [bytes] + content-length: ['3'] + content-range: [bytes 0-2/3] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:03:27 GMT'] + etag: ['"0x8D58AFB36B18E8B"'] + last-modified: ['Fri, 16 Mar 2018 05:03:10 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-server-encrypted: ['true'] + x-ms-type: [File] + x-ms-version: ['2017-04-17'] + status: {code: 206, message: Partial Content} - request: body: null headers: @@ -322,22 +322,23 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4a89e269-1282-46a0-835d-598ac1ad8b40?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/82b48cd3-4d4e-4f62-91c7-70fb473a498e?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 23:37:59 GMT'] + date: ['Fri, 16 Mar 2018 05:03:29 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4a89e269-1282-46a0-835d-598ac1ad8b40?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/82b48cd3-4d4e-4f62-91c7-70fb473a498e?api-version=2018-03-01'] pragma: [no-cache] - request-id: [3b81dbf0-3987-4607-9553-8950a9a2ac47] + request-id: [6114fc8e-d45c-40f4-8cac-90357ec50f28] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -349,22 +350,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4a89e269-1282-46a0-835d-598ac1ad8b40?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/82b48cd3-4d4e-4f62-91c7-70fb473a498e?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4a89e269-1282-46a0-835d-598ac1ad8b40","name":"4a89e269-1282-46a0-835d-598ac1ad8b40","status":"InProgress","startTime":"2017-09-27T23:37:59.033Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/82b48cd3-4d4e-4f62-91c7-70fb473a498e","name":"82b48cd3-4d4e-4f62-91c7-70fb473a498e","status":"InProgress","startTime":"2018-03-16T05:03:30.327Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:38:15 GMT'] + date: ['Fri, 16 Mar 2018 05:03:46 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [64ac3773-9c16-4df5-b93a-dd8799703833] + request-id: [51bfc0da-9d66-410c-a7e6-1bd5b26712f1] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -377,22 +377,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4a89e269-1282-46a0-835d-598ac1ad8b40?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/82b48cd3-4d4e-4f62-91c7-70fb473a498e?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4a89e269-1282-46a0-835d-598ac1ad8b40","name":"4a89e269-1282-46a0-835d-598ac1ad8b40","status":"InProgress","startTime":"2017-09-27T23:37:59.033Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/82b48cd3-4d4e-4f62-91c7-70fb473a498e","name":"82b48cd3-4d4e-4f62-91c7-70fb473a498e","status":"InProgress","startTime":"2018-03-16T05:03:30.327Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:38:47 GMT'] + date: ['Fri, 16 Mar 2018 05:04:18 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [78be5628-1715-4691-90e4-fb23235fb00e] + request-id: [6e586cb4-8620-4b69-b030-2ef08561e9b9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -405,22 +404,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4a89e269-1282-46a0-835d-598ac1ad8b40?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/82b48cd3-4d4e-4f62-91c7-70fb473a498e?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4a89e269-1282-46a0-835d-598ac1ad8b40","name":"4a89e269-1282-46a0-835d-598ac1ad8b40","status":"Succeeded","startTime":"2017-09-27T23:37:59.033Z","endTime":"2017-09-27T23:39:00.504Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/82b48cd3-4d4e-4f62-91c7-70fb473a498e","name":"82b48cd3-4d4e-4f62-91c7-70fb473a498e","status":"Succeeded","startTime":"2018-03-16T05:03:30.327Z","endTime":"2018-03-16T05:04:31.272Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e$job"}}'} headers: cache-control: [no-cache] - content-length: ['463'] + content-length: ['467'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:39:18 GMT'] + date: ['Fri, 16 Mar 2018 05:04:49 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [04f0833c-751f-49f3-8fc7-4763466a950a] + request-id: [a75ea3a2-7ccb-49ac-9049-2add935d2756] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -434,11 +432,12 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.BatchAI/jobs/job'' under resource group ''test_mgmt_batchai_jobs_test_job_creation_and_deletion46b2158e'' @@ -447,10 +446,11 @@ interactions: cache-control: [no-cache] content-length: ['191'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:39:18 GMT'] + date: ['Fri, 16 Mar 2018 05:04:51 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] x-ms-failure-cause: [gateway] status: {code: 404, message: Not Found} version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_environment_variables_and_secrets.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_environment_variables_and_secrets.yaml new file mode 100644 index 000000000000..2036e4a121d3 --- /dev/null +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_environment_variables_and_secrets.yaml @@ -0,0 +1,250 @@ +interactions: +- request: + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/providers/Microsoft.BatchAI/clusters/cluster6e5e1aab"}, + "nodeCount": 1, "customToolkitSettings": {"commandLine": "echo $VARIABLE $SECRET_VARIABLE"}, + "jobPreparation": {"commandLine": "echo $VARIABLE $SECRET_VARIABLE"}, "stdOutErrPathPrefix": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "environmentVariables": [{"name": "VARIABLE", + "value": "VALUE"}], "secrets": [{"name": "SECRET_VARIABLE", "value": "SECRET"}]}}\\\''\''''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['620'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/6e6f84d6-e33b-43fd-bdb8-dda1c964f33a?api-version=2018-03-01'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Fri, 16 Mar 2018 05:15:43 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/6e6f84d6-e33b-43fd-bdb8-dda1c964f33a?api-version=2018-03-01'] + pragma: [no-cache] + request-id: [c9308964-5427-4e6b-914f-12d13868cbdd] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/6e6f84d6-e33b-43fd-bdb8-dda1c964f33a?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/6e6f84d6-e33b-43fd-bdb8-dda1c964f33a","name":"6e6f84d6-e33b-43fd-bdb8-dda1c964f33a","status":"Succeeded","startTime":"2018-03-16T05:15:43.619Z","endTime":"2018-03-16T05:15:45.026Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab$job"}}'} + headers: + cache-control: [no-cache] + content-length: ['479'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:16:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [bb731b9a-6bfc-475e-9f5f-90661047b685] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/providers/Microsoft.BatchAI/clusters/cluster6e5e1aab"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/jobs/job/949a27fb-fd45-4ad7-829f-13ee6d8e1597","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + $VARIABLE $SECRET_VARIABLE"},"jobPreparation":{"commandLine":"echo $VARIABLE + $SECRET_VARIABLE"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","environmentVariables":[{"name":"VARIABLE","value":"VALUE"}],"secrets":[{"name":"SECRET_VARIABLE"}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:15:43.619Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:15:45.01Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T05:15:47.826Z","executionInfo":{"startTime":"2018-03-16T05:15:45.281Z","endTime":"2018-03-16T05:15:47.826Z","exitCode":0}}}'} + headers: + cache-control: [no-cache] + content-length: ['1362'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:16:01 GMT'] + etag: ['"0x8D58AFCF7C6FF40"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 05:15:43 GMT'] + pragma: [no-cache] + request-id: [661345d9-892c-4ced-9c8d-20a052dc8123] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/providers/Microsoft.BatchAI/clusters/cluster6e5e1aab"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/jobs/job/949a27fb-fd45-4ad7-829f-13ee6d8e1597","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + $VARIABLE $SECRET_VARIABLE"},"jobPreparation":{"commandLine":"echo $VARIABLE + $SECRET_VARIABLE"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","environmentVariables":[{"name":"VARIABLE","value":"VALUE"}],"secrets":[{"name":"SECRET_VARIABLE"}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:15:43.619Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:15:45.01Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T05:15:47.826Z","executionInfo":{"startTime":"2018-03-16T05:15:45.281Z","endTime":"2018-03-16T05:15:47.826Z","exitCode":0}}}'} + headers: + cache-control: [no-cache] + content-length: ['1362'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:16:02 GMT'] + etag: ['"0x8D58AFCF7C6FF40"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 05:15:43 GMT'] + pragma: [no-cache] + request-id: [eb6ae570-4aa3-41ff-bd55-d593c1042bd5] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 + response: + body: {string: '{"value":[{"name":"execution.log","isDirectory":false,"downloadUrl":"https://psdk6e5e1aab.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/jobs/job/949a27fb-fd45-4ad7-829f-13ee6d8e1597/stdouterr/execution.log?sv=2016-05-31&sr=f&sig=Vv0V0V22bVLCYd8qYOO%2Bmv8RtTHag8OtzK%2Bo2WAaoAM%3D&se=2018-03-16T06%3A16%3A04Z&sp=rl","properties":{"lastModified":"2018-03-16T05:15:47Z","contentLength":181}},{"name":"stderr-job_prep.txt","isDirectory":false,"downloadUrl":"https://psdk6e5e1aab.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/jobs/job/949a27fb-fd45-4ad7-829f-13ee6d8e1597/stdouterr/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=65JgNQQiwl4nDjUFBvELX621Hi%2Bhh19fEDXca%2FSoeiI%3D&se=2018-03-16T06%3A16%3A04Z&sp=rl","properties":{"lastModified":"2018-03-16T05:15:47Z","contentLength":0}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdk6e5e1aab.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/jobs/job/949a27fb-fd45-4ad7-829f-13ee6d8e1597/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=349%2FL5nImMqTpMxZuAaXKZhc5M%2Fn%2BGoYrMIRLhQXUoY%3D&se=2018-03-16T06%3A16%3A04Z&sp=rl","properties":{"lastModified":"2018-03-16T05:15:47Z","contentLength":0}},{"name":"stdout-job_prep.txt","isDirectory":false,"downloadUrl":"https://psdk6e5e1aab.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/jobs/job/949a27fb-fd45-4ad7-829f-13ee6d8e1597/stdouterr/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=e5peBuoBEnZC8EbPXyPKwYwVzwZy94AnjAMWa04b43U%3D&se=2018-03-16T06%3A16%3A04Z&sp=rl","properties":{"lastModified":"2018-03-16T05:15:47Z","contentLength":13}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdk6e5e1aab.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/jobs/job/949a27fb-fd45-4ad7-829f-13ee6d8e1597/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=fm0rrhUz68dIFYqrxWu4bmJLlaTa%2F5sB6CqyvvJv4zI%3D&se=2018-03-16T06%3A16%3A04Z&sp=rl","properties":{"lastModified":"2018-03-16T05:15:47Z","contentLength":13}}]}'} + headers: + cache-control: [no-cache] + content-length: ['2373'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:16:04 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [02a811de-5cb9-4058-8981-3f52198e7a12] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdk6e5e1aab.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/jobs/job/949a27fb-fd45-4ad7-829f-13ee6d8e1597/stdouterr/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=65JgNQQiwl4nDjUFBvELX621Hi%2Bhh19fEDXca%2FSoeiI%3D&se=2018-03-16T06%3A16%3A04Z&sp=rl + response: + body: {string: ''} + headers: + accept-ranges: [bytes] + content-length: ['0'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:16:05 GMT'] + etag: ['"0x8D58AFCF9D03940"'] + last-modified: ['Fri, 16 Mar 2018 05:15:47 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdk6e5e1aab.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/jobs/job/949a27fb-fd45-4ad7-829f-13ee6d8e1597/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=349%2FL5nImMqTpMxZuAaXKZhc5M%2Fn%2BGoYrMIRLhQXUoY%3D&se=2018-03-16T06%3A16%3A04Z&sp=rl + response: + body: {string: ''} + headers: + accept-ranges: [bytes] + content-length: ['0'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:16:07 GMT'] + etag: ['"0x8D58AFCF9F2B54E"'] + last-modified: ['Fri, 16 Mar 2018 05:15:47 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdk6e5e1aab.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/jobs/job/949a27fb-fd45-4ad7-829f-13ee6d8e1597/stdouterr/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=e5peBuoBEnZC8EbPXyPKwYwVzwZy94AnjAMWa04b43U%3D&se=2018-03-16T06%3A16%3A04Z&sp=rl + response: + body: {string: 'VALUE SECRET + + '} + headers: + accept-ranges: [bytes] + content-length: ['13'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:16:08 GMT'] + etag: ['"0x8D58AFCF9DCBC2E"'] + last-modified: ['Fri, 16 Mar 2018 05:15:47 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdk6e5e1aab.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_environment_variables_and_secrets6e5e1aab/jobs/job/949a27fb-fd45-4ad7-829f-13ee6d8e1597/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=fm0rrhUz68dIFYqrxWu4bmJLlaTa%2F5sB6CqyvvJv4zI%3D&se=2018-03-16T06%3A16%3A04Z&sp=rl + response: + body: {string: 'VALUE SECRET + + '} + headers: + accept-ranges: [bytes] + content-length: ['13'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:16:09 GMT'] + etag: ['"0x8D58AFCF9F9450E"'] + last-modified: ['Fri, 16 Mar 2018 05:15:47 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_host_preparation_failure_reporting.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_host_preparation_failure_reporting.yaml index 14739e706101..b9e2ac32952d 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_host_preparation_failure_reporting.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_host_preparation_failure_reporting.yaml @@ -1,37 +1,39 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"jobPreparation": {"commandLine": - "false"}, "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/clusters/cluster8a5d1b36"}, - "nodeCount": 1, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "customToolkitSettings": - {"commandLine": "true"}, "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], - "priority": 0, "outputDirectories": [{"pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", - "type": "custom", "id": "OUTPUTS", "pathSuffix": "files", "createNew": true}]}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/clusters/cluster8a5d1b36"}, + "nodeCount": 1, "customToolkitSettings": {"commandLine": "true"}, "jobPreparation": + {"commandLine": "false"}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", + "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], + "outputDirectories": [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", + "pathSuffix": "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['678'] + Content-Length: ['679'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/a07b9059-198c-40ee-bbc4-05aab137976d?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/25b0e7cf-02fb-43d0-9f1d-c576595f6150?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 23:48:08 GMT'] + date: ['Fri, 16 Mar 2018 05:26:30 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/a07b9059-198c-40ee-bbc4-05aab137976d?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/25b0e7cf-02fb-43d0-9f1d-c576595f6150?api-version=2018-03-01'] pragma: [no-cache] - request-id: [04d7ec13-59ed-4110-a68c-352ea743c16f] + request-id: [3bdd25b3-b878-4ac1-b51d-392a1b529439] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -39,22 +41,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/a07b9059-198c-40ee-bbc4-05aab137976d?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/25b0e7cf-02fb-43d0-9f1d-c576595f6150?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/a07b9059-198c-40ee-bbc4-05aab137976d","name":"a07b9059-198c-40ee-bbc4-05aab137976d","status":"Succeeded","startTime":"2017-09-27T23:48:07.615Z","endTime":"2017-09-27T23:48:08.62Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/25b0e7cf-02fb-43d0-9f1d-c576595f6150","name":"25b0e7cf-02fb-43d0-9f1d-c576595f6150","status":"Succeeded","startTime":"2018-03-16T05:26:30.37Z","endTime":"2018-03-16T05:26:31.027Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36$job"}}'} headers: cache-control: [no-cache] - content-length: ['475'] + content-length: ['479'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:48:23 GMT'] + date: ['Fri, 16 Mar 2018 05:26:46 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [f7d9a95a-5cd9-4912-a866-3676123d2250] + request-id: [a0a7acf6-19aa-473c-8439-881ce004fc5d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -67,25 +68,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/clusters/cluster8a5d1b36"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:48:07.599Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:48:08.557Z","executionState":"Failed","executionStateTransitionTime":"2017-09-27T23:48:11.376Z","executionInfo":{"startTime":"2017-09-27T23:48:08.914Z","endTime":"2017-09-27T23:48:11.376Z","exitCode":1,"errors":[{"code":"JobNodePreparationFailed","message":" - job node preparation task failed with non-zero exit code"}]}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/clusters/cluster8a5d1b36"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/jobs/job/7cc2fb16-4ee3-4e31-b402-22d35a046e92","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:26:30.37Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:26:30.995Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T05:26:35.177Z","executionInfo":{"startTime":"2018-03-16T05:26:32.437Z","endTime":"2018-03-16T05:26:35.177Z","exitCode":1,"errors":[{"code":"JobPreparationFailed","message":"Job + preparation task failed with non-zero exit code"}]}}}'} headers: cache-control: [no-cache] - content-length: ['1395'] + content-length: ['1538'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:48:24 GMT'] - etag: ['"0x8D5060234108D6A"'] + date: ['Fri, 16 Mar 2018 05:26:48 GMT'] + etag: ['"0x8D58AFE79455D76"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:48:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 05:26:30 GMT'] pragma: [no-cache] - request-id: [15692ccc-5539-41de-b33c-1d1a991cc7f2] + request-id: [4ad034ce-7555-4a6e-8c0e-3bb3990770ca] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -99,24 +99,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/clusters/cluster8a5d1b36"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:48:07.599Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:48:08.557Z","executionState":"Failed","executionStateTransitionTime":"2017-09-27T23:48:11.376Z","executionInfo":{"startTime":"2017-09-27T23:48:08.914Z","endTime":"2017-09-27T23:48:11.376Z","exitCode":1,"errors":[{"code":"JobNodePreparationFailed","message":" - job node preparation task failed with non-zero exit code"}]}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/clusters/cluster8a5d1b36"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/jobs/job/7cc2fb16-4ee3-4e31-b402-22d35a046e92","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:26:30.37Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:26:30.995Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T05:26:35.177Z","executionInfo":{"startTime":"2018-03-16T05:26:32.437Z","endTime":"2018-03-16T05:26:35.177Z","exitCode":1,"errors":[{"code":"JobPreparationFailed","message":"Job + preparation task failed with non-zero exit code"}]}}}'} headers: cache-control: [no-cache] - content-length: ['1395'] + content-length: ['1538'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:48:26 GMT'] - etag: ['"0x8D5060234108D6A"'] + date: ['Fri, 16 Mar 2018 05:26:50 GMT'] + etag: ['"0x8D58AFE79455D76"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:48:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 05:26:30 GMT'] pragma: [no-cache] - request-id: [bb72d20d-6341-4c97-a2de-89b50d1bc75c] + request-id: [8e1bc034-ccdd-4650-a650-c512999d8a18] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -130,24 +131,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/clusters/cluster8a5d1b36"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-27T23:48:07.599Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-27T23:48:08.557Z","executionState":"Failed","executionStateTransitionTime":"2017-09-27T23:48:11.376Z","executionInfo":{"startTime":"2017-09-27T23:48:08.914Z","endTime":"2017-09-27T23:48:11.376Z","exitCode":1,"errors":[{"code":"JobNodePreparationFailed","message":" - job node preparation task failed with non-zero exit code"}]}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/clusters/cluster8a5d1b36"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/jobs/job/7cc2fb16-4ee3-4e31-b402-22d35a046e92","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"jobPreparation":{"commandLine":"false"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:26:30.37Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:26:30.995Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T05:26:35.177Z","executionInfo":{"startTime":"2018-03-16T05:26:32.437Z","endTime":"2018-03-16T05:26:35.177Z","exitCode":1,"errors":[{"code":"JobPreparationFailed","message":"Job + preparation task failed with non-zero exit code"}]}}}'} headers: cache-control: [no-cache] - content-length: ['1395'] + content-length: ['1538'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:48:26 GMT'] - etag: ['"0x8D5060234108D6A"'] + date: ['Fri, 16 Mar 2018 05:26:51 GMT'] + etag: ['"0x8D58AFE79455D76"'] expires: ['-1'] - last-modified: ['Wed, 27 Sep 2017 23:48:07 GMT'] + last-modified: ['Fri, 16 Mar 2018 05:26:30 GMT'] pragma: [no-cache] - request-id: [2baa95dd-6b3a-40fb-9d8b-fd8b5a26c908] + request-id: [24b54ded-505c-4881-b66c-559b7825b15c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -162,26 +164,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4809538c-efed-47c9-963e-42b9bd1ee4eb?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0dde8ec3-c467-4b9f-b448-2ca2c10946f3?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 27 Sep 2017 23:48:27 GMT'] + date: ['Fri, 16 Mar 2018 05:26:54 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4809538c-efed-47c9-963e-42b9bd1ee4eb?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/0dde8ec3-c467-4b9f-b448-2ca2c10946f3?api-version=2018-03-01'] pragma: [no-cache] - request-id: [e4e880ff-ee3d-4995-81eb-e2a2432350ff] + request-id: [3de1fef9-5941-4a1b-8d46-3ad65a48e835] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -189,22 +192,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4809538c-efed-47c9-963e-42b9bd1ee4eb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0dde8ec3-c467-4b9f-b448-2ca2c10946f3?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4809538c-efed-47c9-963e-42b9bd1ee4eb","name":"4809538c-efed-47c9-963e-42b9bd1ee4eb","status":"InProgress","startTime":"2017-09-27T23:48:27.581Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0dde8ec3-c467-4b9f-b448-2ca2c10946f3","name":"0dde8ec3-c467-4b9f-b448-2ca2c10946f3","status":"InProgress","startTime":"2018-03-16T05:26:55.289Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:48:44 GMT'] + date: ['Fri, 16 Mar 2018 05:27:11 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [9b6a29c3-d90c-4bb5-ae06-5d18bac99183] + request-id: [52436778-08b6-44fb-b3b3-0b8d8c14187c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -217,22 +219,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4809538c-efed-47c9-963e-42b9bd1ee4eb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0dde8ec3-c467-4b9f-b448-2ca2c10946f3?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4809538c-efed-47c9-963e-42b9bd1ee4eb","name":"4809538c-efed-47c9-963e-42b9bd1ee4eb","status":"InProgress","startTime":"2017-09-27T23:48:27.581Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0dde8ec3-c467-4b9f-b448-2ca2c10946f3","name":"0dde8ec3-c467-4b9f-b448-2ca2c10946f3","status":"InProgress","startTime":"2018-03-16T05:26:55.289Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:49:14 GMT'] + date: ['Fri, 16 Mar 2018 05:27:43 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [3cf4581f-a68a-4fbc-a103-bb308caf0fdb] + request-id: [8b2dae91-eb0c-4687-911c-80a4205526f2] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -245,22 +246,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4809538c-efed-47c9-963e-42b9bd1ee4eb?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0dde8ec3-c467-4b9f-b448-2ca2c10946f3?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/4809538c-efed-47c9-963e-42b9bd1ee4eb","name":"4809538c-efed-47c9-963e-42b9bd1ee4eb","status":"Succeeded","startTime":"2017-09-27T23:48:27.581Z","endTime":"2017-09-27T23:49:28.48Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/0dde8ec3-c467-4b9f-b448-2ca2c10946f3","name":"0dde8ec3-c467-4b9f-b448-2ca2c10946f3","status":"Succeeded","startTime":"2018-03-16T05:26:55.289Z","endTime":"2018-03-16T05:27:56.05Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36$job"}}'} headers: cache-control: [no-cache] - content-length: ['475'] + content-length: ['479'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:49:45 GMT'] + date: ['Fri, 16 Mar 2018 05:28:15 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [9f0717b5-1156-4259-8444-d8ce36e61dfa] + request-id: [01a641ef-cf92-4009-81e4-47954babc149] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -274,11 +274,12 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.BatchAI/jobs/job'' under resource group ''test_mgmt_batchai_jobs_test_job_host_preparation_failure_reporting8a5d1b36'' @@ -287,10 +288,11 @@ interactions: cache-control: [no-cache] content-length: ['204'] content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Sep 2017 23:49:45 GMT'] + date: ['Fri, 16 Mar 2018 05:28:16 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] x-ms-failure-cause: [gateway] status: {code: 404, message: Not Found} version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_level_mounting.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_level_mounting.yaml new file mode 100644 index 000000000000..22ba62f6b46e --- /dev/null +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_level_mounting.yaml @@ -0,0 +1,905 @@ +interactions: +- request: + body: null + headers: + Connection: [keep-alive] + Content-Length: ['0'] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 05:39:22 GMT'] + x-ms-version: ['2017-04-17'] + method: PUT + uri: https://psdkb9dd12dc.file.core.windows.net/jobshare?restype=share + response: + body: {string: ''} + headers: + date: ['Fri, 16 Mar 2018 05:39:23 GMT'] + etag: ['"0x8D58B004649AA6B"'] + last-modified: ['Fri, 16 Mar 2018 05:39:23 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + transfer-encoding: [chunked] + x-ms-version: ['2017-04-17'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Connection: [keep-alive] + Content-Length: ['0'] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 05:39:24 GMT'] + x-ms-version: ['2017-04-17'] + method: PUT + uri: https://psdkb9dd12dc.blob.core.windows.net/jobcontainer?restype=container + response: + body: {string: ''} + headers: + date: ['Fri, 16 Mar 2018 05:39:24 GMT'] + etag: ['"0x8D58B004731DC08"'] + last-modified: ['Fri, 16 Mar 2018 05:39:25 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + transfer-encoding: [chunked] + x-ms-version: ['2017-04-17'] + status: {code: 201, message: Created} +- request: + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/clusters/clusterb9dd12dc"}, + "mountVolumes": {"azureFileShares": [{"accountName": "psdkb9dd12dc", "azureFileUrl": + "https://psdkb9dd12dc.file.core.windows.net/jobshare", "credentials": {"accountKey": + "bLqH17XVJY+4CmSzVoJYwTU5iF+opwaL7V9JbD9+T68edXkELhTtMC342t5+hpEC+xaxkTCWN9n6YL54C+7ExA=="}, + "relativeMountPath": "job_afs", "fileMode": "0777", "directoryMode": "0777"}], + "azureBlobFileSystems": [{"accountName": "psdkb9dd12dc", "containerName": "jobcontainer", + "credentials": {"accountKey": "bLqH17XVJY+4CmSzVoJYwTU5iF+opwaL7V9JbD9+T68edXkELhTtMC342t5+hpEC+xaxkTCWN9n6YL54C+7ExA=="}, + "relativeMountPath": "job_bfs"}]}, "nodeCount": 1, "customToolkitSettings": + {"commandLine": "echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/job_afs.txt; echo bfs + > $AZ_BATCHAI_OUTPUT_OUTPUT2/job_bfs.txt; mkdir $AZ_BATCHAI_OUTPUT_OUTPUT1/afs; + echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/afs/job_afs.txt; mkdir $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs; + echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs/job_bfs.txt; echo done"}, "jobPreparation": + {"commandLine": "echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/prep_afs.txt; echo bfs + > $AZ_BATCHAI_OUTPUT_OUTPUT2/prep_bfs.txt; echo done"}, "stdOutErrPathPrefix": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "outputDirectories": [{"id": "OUTPUT1", "pathPrefix": + "$AZ_BATCHAI_JOB_MOUNT_ROOT/job_afs", "type": "custom", "createNew": true}, + {"id": "OUTPUT2", "pathPrefix": "$AZ_BATCHAI_JOB_MOUNT_ROOT/job_bfs", "type": + "custom", "createNew": true}]}}\\\''\''''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['1651'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/a4bcedae-58db-4de3-b381-16bb6ba9061d?api-version=2018-03-01'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Fri, 16 Mar 2018 05:39:29 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/a4bcedae-58db-4de3-b381-16bb6ba9061d?api-version=2018-03-01'] + pragma: [no-cache] + request-id: [1e989c6c-850b-4036-83b3-8e4508a5d874] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/a4bcedae-58db-4de3-b381-16bb6ba9061d?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/a4bcedae-58db-4de3-b381-16bb6ba9061d","name":"a4bcedae-58db-4de3-b381-16bb6ba9061d","status":"Succeeded","startTime":"2018-03-16T05:39:29.342Z","endTime":"2018-03-16T05:39:30.038Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc$job"}}'} + headers: + cache-control: [no-cache] + content-length: ['460'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:39:45 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [973d8411-68a5-4e44-af0d-e49648a1c62a] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/clusters/clusterb9dd12dc"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d","nodeCount":1,"mountVolumes":{"azureFileShares":[{"accountName":"psdkb9dd12dc","azureFileUrl":"https://psdkb9dd12dc.file.core.windows.net/jobshare","credentials":{},"relativeMountPath":"job_afs","fileMode":"0777","directoryMode":"0777"}],"azureBlobFileSystems":[{"accountName":"psdkb9dd12dc","containerName":"jobcontainer","credentials":{},"relativeMountPath":"job_bfs"}]},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/job_afs.txt; echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/job_bfs.txt; + mkdir $AZ_BATCHAI_OUTPUT_OUTPUT1/afs; echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/afs/job_afs.txt; + mkdir $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs; echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs/job_bfs.txt; + echo done"},"jobPreparation":{"commandLine":"echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/prep_afs.txt; + echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/prep_bfs.txt; echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","outputDirectories":[{"id":"OUTPUT1","pathPrefix":"$AZ_BATCHAI_JOB_MOUNT_ROOT/job_afs","type":"custom","createNew":true},{"id":"OUTPUT2","pathPrefix":"$AZ_BATCHAI_JOB_MOUNT_ROOT/job_bfs","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:39:29.326Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:39:30.022Z","executionState":"running","executionStateTransitionTime":"2018-03-16T05:39:31.276Z","executionInfo":{"startTime":"2018-03-16T05:39:30.835Z"}}}'} + headers: + cache-control: [no-cache] + content-length: ['2083'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:39:45 GMT'] + etag: ['"0x8D58B0049909C4B"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 05:39:29 GMT'] + pragma: [no-cache] + request-id: [11f4d3e7-5ce6-45f7-b0f0-7b4625e2db74] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/clusters/clusterb9dd12dc"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d","nodeCount":1,"mountVolumes":{"azureFileShares":[{"accountName":"psdkb9dd12dc","azureFileUrl":"https://psdkb9dd12dc.file.core.windows.net/jobshare","credentials":{},"relativeMountPath":"job_afs","fileMode":"0777","directoryMode":"0777"}],"azureBlobFileSystems":[{"accountName":"psdkb9dd12dc","containerName":"jobcontainer","credentials":{},"relativeMountPath":"job_bfs"}]},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/job_afs.txt; echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/job_bfs.txt; + mkdir $AZ_BATCHAI_OUTPUT_OUTPUT1/afs; echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/afs/job_afs.txt; + mkdir $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs; echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs/job_bfs.txt; + echo done"},"jobPreparation":{"commandLine":"echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/prep_afs.txt; + echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/prep_bfs.txt; echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","outputDirectories":[{"id":"OUTPUT1","pathPrefix":"$AZ_BATCHAI_JOB_MOUNT_ROOT/job_afs","type":"custom","createNew":true},{"id":"OUTPUT2","pathPrefix":"$AZ_BATCHAI_JOB_MOUNT_ROOT/job_bfs","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:39:29.326Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:39:30.022Z","executionState":"running","executionStateTransitionTime":"2018-03-16T05:39:31.276Z","executionInfo":{"startTime":"2018-03-16T05:39:30.835Z"}}}'} + headers: + cache-control: [no-cache] + content-length: ['2083'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:39:47 GMT'] + etag: ['"0x8D58B0049909C4B"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 05:39:29 GMT'] + pragma: [no-cache] + request-id: [c2c5bcb8-fd1a-4160-a998-29800f2e7123] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/clusters/clusterb9dd12dc"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d","nodeCount":1,"mountVolumes":{"azureFileShares":[{"accountName":"psdkb9dd12dc","azureFileUrl":"https://psdkb9dd12dc.file.core.windows.net/jobshare","credentials":{},"relativeMountPath":"job_afs","fileMode":"0777","directoryMode":"0777"}],"azureBlobFileSystems":[{"accountName":"psdkb9dd12dc","containerName":"jobcontainer","credentials":{},"relativeMountPath":"job_bfs"}]},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/job_afs.txt; echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/job_bfs.txt; + mkdir $AZ_BATCHAI_OUTPUT_OUTPUT1/afs; echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/afs/job_afs.txt; + mkdir $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs; echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs/job_bfs.txt; + echo done"},"jobPreparation":{"commandLine":"echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/prep_afs.txt; + echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/prep_bfs.txt; echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","outputDirectories":[{"id":"OUTPUT1","pathPrefix":"$AZ_BATCHAI_JOB_MOUNT_ROOT/job_afs","type":"custom","createNew":true},{"id":"OUTPUT2","pathPrefix":"$AZ_BATCHAI_JOB_MOUNT_ROOT/job_bfs","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:39:29.326Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:39:30.022Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T05:39:47.209Z","executionInfo":{"startTime":"2018-03-16T05:39:30.835Z","endTime":"2018-03-16T05:39:47.209Z","exitCode":0}}}'} + headers: + cache-control: [no-cache] + content-length: ['2135'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:40:09 GMT'] + etag: ['"0x8D58B0049909C4B"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 05:39:29 GMT'] + pragma: [no-cache] + request-id: [f16d0ee5-6fe4-4daa-ade5-dacdbaa6b76e] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/clusters/clusterb9dd12dc"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d","nodeCount":1,"mountVolumes":{"azureFileShares":[{"accountName":"psdkb9dd12dc","azureFileUrl":"https://psdkb9dd12dc.file.core.windows.net/jobshare","credentials":{},"relativeMountPath":"job_afs","fileMode":"0777","directoryMode":"0777"}],"azureBlobFileSystems":[{"accountName":"psdkb9dd12dc","containerName":"jobcontainer","credentials":{},"relativeMountPath":"job_bfs"}]},"toolType":"custom","customToolkitSettings":{"commandLine":"echo + afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/job_afs.txt; echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/job_bfs.txt; + mkdir $AZ_BATCHAI_OUTPUT_OUTPUT1/afs; echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/afs/job_afs.txt; + mkdir $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs; echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs/job_bfs.txt; + echo done"},"jobPreparation":{"commandLine":"echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/prep_afs.txt; + echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/prep_bfs.txt; echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","outputDirectories":[{"id":"OUTPUT1","pathPrefix":"$AZ_BATCHAI_JOB_MOUNT_ROOT/job_afs","type":"custom","createNew":true},{"id":"OUTPUT2","pathPrefix":"$AZ_BATCHAI_JOB_MOUNT_ROOT/job_bfs","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:39:29.326Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:39:30.022Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T05:39:47.209Z","executionInfo":{"startTime":"2018-03-16T05:39:30.835Z","endTime":"2018-03-16T05:39:47.209Z","exitCode":0}}}'} + headers: + cache-control: [no-cache] + content-length: ['2135'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:40:11 GMT'] + etag: ['"0x8D58B0049909C4B"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 05:39:29 GMT'] + pragma: [no-cache] + request-id: [b288358f-438e-4bfc-853d-beeb132eeb5e] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 + response: + body: {string: '{"value":[{"name":"execution.log","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/stdouterr/execution.log?sv=2016-05-31&sr=f&sig=JskcJ1lF1HJ0VkPXQjJf1dx%2FFdlJhPa6xVxnxsQYcC0%3D&se=2018-03-16T06%3A40%3A13Z&sp=rl","properties":{"lastModified":"2018-03-16T05:39:46Z","contentLength":181}},{"name":"stderr-job_prep.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/stdouterr/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=xV1Hht5N%2FBbJCn4u%2BysQisCakIjTCY9%2FukrOM5zKm84%3D&se=2018-03-16T06%3A40%3A13Z&sp=rl","properties":{"lastModified":"2018-03-16T05:39:45Z","contentLength":0}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=s37MeBIMfkUAV%2BB%2Fw55U%2FKZhJFLT9ARvMQh8Nd3y6fE%3D&se=2018-03-16T06%3A40%3A13Z&sp=rl","properties":{"lastModified":"2018-03-16T05:39:45Z","contentLength":0}},{"name":"stdout-job_prep.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/stdouterr/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=gJKBIyPyDu343Nz8kOTE2bGD%2BLkyOxJuUKrOiDjMbGc%3D&se=2018-03-16T06%3A40%3A13Z&sp=rl","properties":{"lastModified":"2018-03-16T05:39:45Z","contentLength":5}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=MYcTOesC8tNAMFfY94hiELcgtURHrNd0XOJfP%2FZAVOs%3D&se=2018-03-16T06%3A40%3A13Z&sp=rl","properties":{"lastModified":"2018-03-16T05:39:46Z","contentLength":5}}]}'} + headers: + cache-control: [no-cache] + content-length: ['2278'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:40:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [d23dcb45-f0f9-45e0-be07-fdf73f38790d] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/stdouterr/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=xV1Hht5N%2FBbJCn4u%2BysQisCakIjTCY9%2FukrOM5zKm84%3D&se=2018-03-16T06%3A40%3A13Z&sp=rl + response: + body: {string: ''} + headers: + accept-ranges: [bytes] + content-length: ['0'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:14 GMT'] + etag: ['"0x8D58B005321BC31"'] + last-modified: ['Fri, 16 Mar 2018 05:39:45 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=s37MeBIMfkUAV%2BB%2Fw55U%2FKZhJFLT9ARvMQh8Nd3y6fE%3D&se=2018-03-16T06%3A40%3A13Z&sp=rl + response: + body: {string: ''} + headers: + accept-ranges: [bytes] + content-length: ['0'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:15 GMT'] + etag: ['"0x8D58B00536CDC42"'] + last-modified: ['Fri, 16 Mar 2018 05:39:45 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/stdouterr/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=gJKBIyPyDu343Nz8kOTE2bGD%2BLkyOxJuUKrOiDjMbGc%3D&se=2018-03-16T06%3A40%3A13Z&sp=rl + response: + body: {string: 'done + + '} + headers: + accept-ranges: [bytes] + content-length: ['5'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:16 GMT'] + etag: ['"0x8D58B005349214C"'] + last-modified: ['Fri, 16 Mar 2018 05:39:45 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=MYcTOesC8tNAMFfY94hiELcgtURHrNd0XOJfP%2FZAVOs%3D&se=2018-03-16T06%3A40%3A13Z&sp=rl + response: + body: {string: 'done + + '} + headers: + accept-ranges: [bytes] + content-length: ['5'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:17 GMT'] + etag: ['"0x8D58B0053A73074"'] + last-modified: ['Fri, 16 Mar 2018 05:39:46 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=OUTPUT1&directory=.&linkexpiryinminutes=60&maxresults=1000 + response: + body: {string: '{"value":[{"name":"afs","isDirectory":true},{"name":"job_afs.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.file.core.windows.net/jobshare/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/job_afs.txt?sv=2016-05-31&sr=f&sig=vkV5pIOtX7UuacPxUCVRtjtl2cc9jNjgUCQRhhObzr4%3D&se=2018-03-16T06%3A40%3A18Z&sp=rl","properties":{"lastModified":"2018-03-16T05:39:45Z","contentLength":4}},{"name":"prep_afs.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.file.core.windows.net/jobshare/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/prep_afs.txt?sv=2016-05-31&sr=f&sig=ngRSWrmTEaoaIdhzDUUuQshbSq%2FHK2BXHupV2PsAz7Y%3D&se=2018-03-16T06%3A40%3A18Z&sp=rl","properties":{"lastModified":"2018-03-16T05:39:45Z","contentLength":4}}]}'} + headers: + cache-control: [no-cache] + content-length: ['937'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:40:17 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [f6b846c6-1b37-4c16-86be-c08dcec3bb5b] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.file.core.windows.net/jobshare/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/job_afs.txt?sv=2016-05-31&sr=f&sig=vkV5pIOtX7UuacPxUCVRtjtl2cc9jNjgUCQRhhObzr4%3D&se=2018-03-16T06%3A40%3A18Z&sp=rl + response: + body: {string: 'afs + + '} + headers: + accept-ranges: [bytes] + content-length: ['4'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:18 GMT'] + etag: ['"0x8D58B005375B773"'] + last-modified: ['Fri, 16 Mar 2018 05:39:45 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.file.core.windows.net/jobshare/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/prep_afs.txt?sv=2016-05-31&sr=f&sig=ngRSWrmTEaoaIdhzDUUuQshbSq%2FHK2BXHupV2PsAz7Y%3D&se=2018-03-16T06%3A40%3A18Z&sp=rl + response: + body: {string: 'afs + + '} + headers: + accept-ranges: [bytes] + content-length: ['4'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:20 GMT'] + etag: ['"0x8D58B00533B3C2A"'] + last-modified: ['Fri, 16 Mar 2018 05:39:45 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=OUTPUT2&directory=.&linkexpiryinminutes=60&maxresults=1000 + response: + body: {string: '{"value":[{"name":"bfs","isDirectory":true},{"name":"job_bfs.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.blob.core.windows.net/jobcontainer/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/job_bfs.txt?sv=2016-05-31&sr=b&sig=gGNHMlQFxwyudXzpkxu%2FSMPoSUkRPnyR16qbt%2BNDl%2BM%3D&se=2018-03-16T06%3A40%3A21Z&sp=rl","properties":{"lastModified":"2018-03-16T05:39:46Z","contentLength":4}},{"name":"prep_bfs.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.blob.core.windows.net/jobcontainer/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/prep_bfs.txt?sv=2016-05-31&sr=b&sig=6SqCyueBXXpUNG56IJtbcIMcLuQWZckB9m3vTch3MSk%3D&se=2018-03-16T06%3A40%3A21Z&sp=rl","properties":{"lastModified":"2018-03-16T05:39:45Z","contentLength":4}}]}'} + headers: + cache-control: [no-cache] + content-length: ['949'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:40:21 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [7f9bc984-b859-4e7f-b488-3e8fe920d4b7] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.blob.core.windows.net/jobcontainer/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/job_bfs.txt?sv=2016-05-31&sr=b&sig=gGNHMlQFxwyudXzpkxu%2FSMPoSUkRPnyR16qbt%2BNDl%2BM%3D&se=2018-03-16T06%3A40%3A21Z&sp=rl + response: + body: {string: 'bfs + + '} + headers: + accept-ranges: [bytes] + content-length: ['4'] + content-md5: [zu85brLZ1ciog+mqQlIqog==] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:22 GMT'] + etag: ['"0x8D58B0053856E17"'] + last-modified: ['Fri, 16 Mar 2018 05:39:46 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + x-ms-blob-type: [BlockBlob] + x-ms-lease-state: [available] + x-ms-lease-status: [unlocked] + x-ms-server-encrypted: ['true'] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.blob.core.windows.net/jobcontainer/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/prep_bfs.txt?sv=2016-05-31&sr=b&sig=6SqCyueBXXpUNG56IJtbcIMcLuQWZckB9m3vTch3MSk%3D&se=2018-03-16T06%3A40%3A21Z&sp=rl + response: + body: {string: 'bfs + + '} + headers: + accept-ranges: [bytes] + content-length: ['4'] + content-md5: [zu85brLZ1ciog+mqQlIqog==] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:23 GMT'] + etag: ['"0x8D58B00534880AD"'] + last-modified: ['Fri, 16 Mar 2018 05:39:45 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + x-ms-blob-type: [BlockBlob] + x-ms-lease-state: [available] + x-ms-lease-status: [unlocked] + x-ms-server-encrypted: ['true'] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=OUTPUT1&directory=afs&linkexpiryinminutes=60&maxresults=1000 + response: + body: {string: '{"value":[{"name":"job_afs.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.file.core.windows.net/jobshare/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/afs/job_afs.txt?sv=2016-05-31&sr=f&sig=Xb45upIiU%2FAPw7GcsK2xy41Mk1tEz63kD0wGbLDRstI%3D&se=2018-03-16T06%3A40%3A25Z&sp=rl","properties":{"lastModified":"2018-03-16T05:39:46Z","contentLength":4}}]}'} + headers: + cache-control: [no-cache] + content-length: ['461'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:40:25 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [70eddfd1-6ce4-44d8-9fb3-b160110c74b4] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.file.core.windows.net/jobshare/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/afs/job_afs.txt?sv=2016-05-31&sr=f&sig=Xb45upIiU%2FAPw7GcsK2xy41Mk1tEz63kD0wGbLDRstI%3D&se=2018-03-16T06%3A40%3A25Z&sp=rl + response: + body: {string: 'afs + + '} + headers: + accept-ranges: [bytes] + content-length: ['4'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:26 GMT'] + etag: ['"0x8D58B005391F705"'] + last-modified: ['Fri, 16 Mar 2018 05:39:46 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=OUTPUT2&directory=bfs&linkexpiryinminutes=60&maxresults=1000 + response: + body: {string: '{"value":[{"name":"job_bfs.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.blob.core.windows.net/jobcontainer/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/bfs/job_bfs.txt?sv=2016-05-31&sr=b&sig=9JzPUNviY5Iv%2BUamFGxUSt7k6i5i96UHN36jkg0b8II%3D&se=2018-03-16T06%3A40%3A28Z&sp=rl","properties":{"lastModified":"2018-03-16T05:39:46Z","contentLength":4}}]}'} + headers: + cache-control: [no-cache] + content-length: ['465'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:40:27 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [b4a4f184-ad46-403c-a993-262fc78def9a] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.blob.core.windows.net/jobcontainer/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/bfs/job_bfs.txt?sv=2016-05-31&sr=b&sig=9JzPUNviY5Iv%2BUamFGxUSt7k6i5i96UHN36jkg0b8II%3D&se=2018-03-16T06%3A40%3A28Z&sp=rl + response: + body: {string: 'bfs + + '} + headers: + accept-ranges: [bytes] + content-length: ['4'] + content-md5: [zu85brLZ1ciog+mqQlIqog==] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:30 GMT'] + etag: ['"0x8D58B0053A6B807"'] + last-modified: ['Fri, 16 Mar 2018 05:39:46 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + x-ms-blob-type: [BlockBlob] + x-ms-lease-state: [available] + x-ms-lease-status: [unlocked] + x-ms-server-encrypted: ['true'] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Connection: [keep-alive] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 05:40:30 GMT'] + x-ms-version: ['2017-04-17'] + method: HEAD + uri: https://psdkb9dd12dc.file.core.windows.net/jobshare/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/job_afs.txt + response: + body: {string: ''} + headers: + content-length: ['4'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:31 GMT'] + etag: ['"0x8D58B005375B773"'] + last-modified: ['Fri, 16 Mar 2018 05:39:45 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-server-encrypted: ['true'] + x-ms-type: [File] + x-ms-version: ['2017-04-17'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Connection: [keep-alive] + User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.4; Linux 4.15.6-300.fc27.x86_64)] + x-ms-date: ['Fri, 16 Mar 2018 05:40:31 GMT'] + x-ms-version: ['2017-04-17'] + method: HEAD + uri: https://psdkb9dd12dc.blob.core.windows.net/jobcontainer/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/job/4af7a400-a53f-4d6d-a591-312122f8305d/outputs/job_bfs.txt + response: + body: {string: ''} + headers: + accept-ranges: [bytes] + content-length: ['4'] + content-md5: [zu85brLZ1ciog+mqQlIqog==] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:31 GMT'] + etag: ['"0x8D58B0053856E17"'] + last-modified: ['Fri, 16 Mar 2018 05:39:46 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + x-ms-blob-type: [BlockBlob] + x-ms-lease-state: [available] + x-ms-lease-status: [unlocked] + x-ms-server-encrypted: ['true'] + x-ms-version: ['2017-04-17'] + status: {code: 200, message: OK} +- request: + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/clusters/clusterb9dd12dc"}, + "nodeCount": 1, "customToolkitSettings": {"commandLine": "echo job; df | grep + -E \\\\\\\\"job_bfs|job_afs\\\\\\\\""}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles"}}\\\''\''''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['415'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/checker?api-version=2018-03-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/8a5761eb-5421-4280-9800-d13141f17418?api-version=2018-03-01'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Fri, 16 Mar 2018 05:40:35 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/8a5761eb-5421-4280-9800-d13141f17418?api-version=2018-03-01'] + pragma: [no-cache] + request-id: [07551698-9672-4d59-9a8f-c0eef5270fed] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/8a5761eb-5421-4280-9800-d13141f17418?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/8a5761eb-5421-4280-9800-d13141f17418","name":"8a5761eb-5421-4280-9800-d13141f17418","status":"Succeeded","startTime":"2018-03-16T05:40:35.861Z","endTime":"2018-03-16T05:40:36.52Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc$checker"}}'} + headers: + cache-control: [no-cache] + content-length: ['463'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:40:51 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [341340d8-98cd-4e60-8168-c1a08566ed86] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/checker?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/checker","name":"checker","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/clusters/clusterb9dd12dc"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/checker/fbb3d0bc-bc9f-41cc-bb7a-c62c3cc6dae2","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + job; df | grep -E \"job_bfs|job_afs\""},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:40:35.845Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:40:36.502Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T05:40:38.247Z","executionInfo":{"startTime":"2018-03-16T05:40:36.877Z","endTime":"2018-03-16T05:40:38.247Z","exitCode":1,"errors":[{"code":"JobFailed","message":"Job + failed with non-zero exit code"}]}}}'} + headers: + cache-control: [no-cache] + content-length: ['1238'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:40:53 GMT'] + etag: ['"0x8D58B0071369C4A"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 05:40:35 GMT'] + pragma: [no-cache] + request-id: [f89d2e41-0294-4ef5-9acc-659b86c7b64c] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/checker?api-version=2018-03-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/checker","name":"checker","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/clusters/clusterb9dd12dc"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/checker/fbb3d0bc-bc9f-41cc-bb7a-c62c3cc6dae2","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"echo + job; df | grep -E \"job_bfs|job_afs\""},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:40:35.845Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:40:36.502Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T05:40:38.247Z","executionInfo":{"startTime":"2018-03-16T05:40:36.877Z","endTime":"2018-03-16T05:40:38.247Z","exitCode":1,"errors":[{"code":"JobFailed","message":"Job + failed with non-zero exit code"}]}}}'} + headers: + cache-control: [no-cache] + content-length: ['1238'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:40:54 GMT'] + etag: ['"0x8D58B0071369C4A"'] + expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 05:40:35 GMT'] + pragma: [no-cache] + request-id: [e72851a2-c58e-4c60-86d8-a59a3a8c63a2] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/providers/Microsoft.BatchAI/jobs/checker/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 + response: + body: {string: '{"value":[{"name":"execution.log","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/checker/fbb3d0bc-bc9f-41cc-bb7a-c62c3cc6dae2/stdouterr/execution.log?sv=2016-05-31&sr=f&sig=agNuLaPB%2FVcSrcuqKAADXP%2BU%2FhRYktQwiiIAFqAD54s%3D&se=2018-03-16T06%3A40%3A57Z&sp=rl","properties":{"lastModified":"2018-03-16T05:40:37Z","contentLength":181}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/checker/fbb3d0bc-bc9f-41cc-bb7a-c62c3cc6dae2/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=USpBLRS4MpvySpLduu1h5GcZnPaL1%2BgF3hEw0dxeQGg%3D&se=2018-03-16T06%3A40%3A57Z&sp=rl","properties":{"lastModified":"2018-03-16T05:40:37Z","contentLength":0}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/checker/fbb3d0bc-bc9f-41cc-bb7a-c62c3cc6dae2/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=LFaiklH4V%2Bjk3vrGYqLqIVLEroX4%2BsFZ7Q4tcYMorDg%3D&se=2018-03-16T06%3A40%3A57Z&sp=rl","properties":{"lastModified":"2018-03-16T05:40:37Z","contentLength":4}}]}'} + headers: + cache-control: [no-cache] + content-length: ['1366'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:40:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [0101902b-4f4c-4ac5-9a72-d4ac8ef00d62] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/checker/fbb3d0bc-bc9f-41cc-bb7a-c62c3cc6dae2/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=USpBLRS4MpvySpLduu1h5GcZnPaL1%2BgF3hEw0dxeQGg%3D&se=2018-03-16T06%3A40%3A57Z&sp=rl + response: + body: {string: ''} + headers: + accept-ranges: [bytes] + content-length: ['0'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:58 GMT'] + etag: ['"0x8D58B00726F9261"'] + last-modified: ['Fri, 16 Mar 2018 05:40:37 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: https://psdkb9dd12dc.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_level_mountingb9dd12dc/jobs/checker/fbb3d0bc-bc9f-41cc-bb7a-c62c3cc6dae2/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=LFaiklH4V%2Bjk3vrGYqLqIVLEroX4%2BsFZ7Q4tcYMorDg%3D&se=2018-03-16T06%3A40%3A57Z&sp=rl + response: + body: {string: 'job + + '} + headers: + accept-ranges: [bytes] + content-length: ['4'] + content-type: [application/octet-stream] + date: ['Fri, 16 Mar 2018 05:40:59 GMT'] + etag: ['"0x8D58B0072744E2E"'] + last-modified: ['Fri, 16 Mar 2018 05:40:37 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2016-05-31'] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_preparation_container.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_preparation_container.yaml index 6e08f92fa547..a35c81edc8b9 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_preparation_container.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_preparation_container.yaml @@ -1,40 +1,41 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"jobPreparation": {"commandLine": - "mkdir -p $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"}, - "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/clusters/cluster494215bb"}, - "nodeCount": 1, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "customToolkitSettings": - {"commandLine": "cat $AZ_BATCHAI_INPUT_INPUT/hi.txt"}, "inputDirectories": - [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "priority": - 0, "containerSettings": {"imageSourceRegistry": {"image": "ubuntu"}}, "outputDirectories": - [{"pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "type": "custom", "id": - "OUTPUTS", "pathSuffix": "files", "createNew": true}]}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/clusters/cluster494215bb"}, + "nodeCount": 1, "containerSettings": {"imageSourceRegistry": {"image": "ubuntu"}}, + "customToolkitSettings": {"commandLine": "cat $AZ_BATCHAI_INPUT_INPUT/hi.txt"}, + "jobPreparation": {"commandLine": "mkdir -p $AZ_BATCHAI_INPUT_INPUT && echo + hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", + "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], + "outputDirectories": [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", + "pathSuffix": "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['843'] + Content-Length: ['841'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f35079e0-82fa-4936-a8c7-acc339ae4872?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/34259e55-59ac-4248-8a62-9c81ec899f17?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 00:11:05 GMT'] + date: ['Fri, 16 Mar 2018 05:52:23 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f35079e0-82fa-4936-a8c7-acc339ae4872?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/34259e55-59ac-4248-8a62-9c81ec899f17?api-version=2018-03-01'] pragma: [no-cache] - request-id: [be16b0c5-c795-461a-a35c-df86987d0522] + request-id: [74b672d6-6171-4644-8e01-0a840077baec] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -42,22 +43,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f35079e0-82fa-4936-a8c7-acc339ae4872?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/34259e55-59ac-4248-8a62-9c81ec899f17?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f35079e0-82fa-4936-a8c7-acc339ae4872","name":"f35079e0-82fa-4936-a8c7-acc339ae4872","status":"Succeeded","startTime":"2017-09-28T00:11:04.982Z","endTime":"2017-09-28T00:11:05.967Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_preparation_container494215bb$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/34259e55-59ac-4248-8a62-9c81ec899f17","name":"34259e55-59ac-4248-8a62-9c81ec899f17","status":"Succeeded","startTime":"2018-03-16T05:52:23.975Z","endTime":"2018-03-16T05:52:24.557Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_preparation_container494215bb$job"}}'} headers: cache-control: [no-cache] - content-length: ['463'] + content-length: ['467'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:11:21 GMT'] + date: ['Fri, 16 Mar 2018 05:52:40 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [b8529949-5917-40dc-a51b-1f123fa0cd86] + request-id: [44b18ff6-930e-448f-9db5-393a06b83206] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -70,26 +70,25 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/clusters/cluster494215bb"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"cat + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/clusters/cluster494215bb"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"cat $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"jobPreparation":{"commandLine":"mkdir -p - $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:11:04.928Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:11:05.92Z","executionState":"Running","executionStateTransitionTime":"2017-09-28T00:11:08.586Z","executionInfo":{"startTime":"2017-09-28T00:11:06.288Z"}}}'} + $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:52:23.96Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:52:24.557Z","executionState":"running","executionStateTransitionTime":"2018-03-16T05:52:26.398Z","executionInfo":{"startTime":"2018-03-16T05:52:25.819Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1359'] + content-length: ['1514'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:11:22 GMT'] - etag: ['"0x8D5060569044344"'] + date: ['Fri, 16 Mar 2018 05:52:41 GMT'] + etag: ['"0x8D58B02174843CB"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:11:04 GMT'] + last-modified: ['Fri, 16 Mar 2018 05:52:23 GMT'] pragma: [no-cache] - request-id: [5d5d8d55-4a46-4e73-935c-ed37207fece0] + request-id: [57035818-873e-481e-9b5f-d60123363470] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -103,25 +102,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/clusters/cluster494215bb"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"cat + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/clusters/cluster494215bb"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"cat $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"jobPreparation":{"commandLine":"mkdir -p - $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:11:04.928Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:11:05.92Z","executionState":"Running","executionStateTransitionTime":"2017-09-28T00:11:08.586Z","executionInfo":{"startTime":"2017-09-28T00:11:06.288Z"}}}'} + $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:52:23.96Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:52:24.557Z","executionState":"running","executionStateTransitionTime":"2018-03-16T05:52:26.398Z","executionInfo":{"startTime":"2018-03-16T05:52:25.819Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1359'] + content-length: ['1514'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:11:23 GMT'] - etag: ['"0x8D5060569044344"'] + date: ['Fri, 16 Mar 2018 05:52:42 GMT'] + etag: ['"0x8D58B02174843CB"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:11:04 GMT'] + last-modified: ['Fri, 16 Mar 2018 05:52:23 GMT'] pragma: [no-cache] - request-id: [4c134e5d-e828-4d4c-93e4-43f7d8f77e82] + request-id: [9bd66c68-6fdb-4a18-b8c0-3b09e3d192d3] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -135,25 +135,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/clusters/cluster494215bb"},"nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"cat + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/clusters/cluster494215bb"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e","nodeCount":1,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"cat $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"jobPreparation":{"commandLine":"mkdir -p - $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:11:04.928Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:11:05.92Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-28T00:11:37.699Z","executionInfo":{"startTime":"2017-09-28T00:11:06.288Z","endTime":"2017-09-28T00:11:37.699Z","exitCode":0}}}'} + $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T05:52:23.96Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T05:52:24.557Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T05:53:03.658Z","executionInfo":{"startTime":"2018-03-16T05:52:25.819Z","endTime":"2018-03-16T05:53:03.658Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1411'] + content-length: ['1566'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:11:44 GMT'] - etag: ['"0x8D5060569044344"'] + date: ['Fri, 16 Mar 2018 05:53:04 GMT'] + etag: ['"0x8D58B02174843CB"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:11:04 GMT'] + last-modified: ['Fri, 16 Mar 2018 05:52:23 GMT'] pragma: [no-cache] - request-id: [5ba01d19-c611-4a92-89dd-e6aed6741987] + request-id: [5d1ca13b-9600-4972-80fe-bee90f1e191a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -168,21 +169,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?outputdirectoryid=stdouterr&maxresults=1000&api-version=2017-09-01-preview&linkexpiryinminutes=60 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"stderr-job_prep.txt","downloadUrl":"https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=P4gWcDa4TuCzCQCsT5HgsFi47EJBqgavHD6njmv7f98%3D&se=2017-09-28T01%3A11%3A45Z&sp=rl","properties":{"lastModified":"2017-09-28T00:11:37Z","contentLength":0}},{"name":"stdout-job_prep.txt","downloadUrl":"https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=3nIAqfmkQd2kaqzPtLamyIusSlOX2OtvqTEIjmyqjno%3D&se=2017-09-28T01%3A11%3A45Z&sp=rl","properties":{"lastModified":"2017-09-28T00:11:37Z","contentLength":6}},{"name":"stderr.txt","downloadUrl":"https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/stderr.txt?sv=2016-05-31&sr=f&sig=1MW14EaqhHfkNmg9n%2F%2FIHIH7PUgeImdaqdCXn19JSUM%3D&se=2017-09-28T01%3A11%3A45Z&sp=rl","properties":{"lastModified":"2017-09-28T00:11:37Z","contentLength":0}},{"name":"stdout.txt","downloadUrl":"https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/stdout.txt?sv=2016-05-31&sr=f&sig=QTM4gC5B3ifpOZNdaCduYmbEyeHBm1zrBtyK6ERIVGw%3D&se=2017-09-28T01%3A11%3A45Z&sp=rl","properties":{"lastModified":"2017-09-28T00:11:37Z","contentLength":6}}]}'} + body: {string: '{"value":[{"name":"execution.log","isDirectory":false,"downloadUrl":"https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e/stdouterr/execution.log?sv=2016-05-31&sr=f&sig=O5k2gW6vohCmz0a7OvxKfjtEyQdRXojyzAPonkkS1pc%3D&se=2018-03-16T06%3A53%3A07Z&sp=rl","properties":{"lastModified":"2018-03-16T05:53:02Z","contentLength":24014}},{"name":"stderr-job_prep.txt","isDirectory":false,"downloadUrl":"https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e/stdouterr/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=nPs1mPtA37ePjgtU7n28bEc2MdecvKA0Dg4OGqlqE3k%3D&se=2018-03-16T06%3A53%3A07Z&sp=rl","properties":{"lastModified":"2018-03-16T05:53:02Z","contentLength":0}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=ZKxh8MuW9D0CsTPk2vSednmlczdk6LpUom6m1rAhf%2Fs%3D&se=2018-03-16T06%3A53%3A07Z&sp=rl","properties":{"lastModified":"2018-03-16T05:53:02Z","contentLength":0}},{"name":"stdout-job_prep.txt","isDirectory":false,"downloadUrl":"https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e/stdouterr/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=C84pBeQe1w2IQmRq2nWx83iMwI3OejBbuGeZerkYUTw%3D&se=2018-03-16T06%3A53%3A07Z&sp=rl","properties":{"lastModified":"2018-03-16T05:53:02Z","contentLength":6}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=KNSmbwEMNQUjqS%2FONNGJ4aqPImbN7Zf3yrUDBvRVZGQ%3D&se=2018-03-16T06%3A53%3A07Z&sp=rl","properties":{"lastModified":"2018-03-16T05:53:02Z","contentLength":6}}]}'} headers: cache-control: [no-cache] - content-length: ['1579'] + content-length: ['2301'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:11:45 GMT'] + date: ['Fri, 16 Mar 2018 05:53:07 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [f8ec3b95-f5da-4dc7-9c39-30d16200b8a7] + request-id: [4aa28f70-127e-4242-b676-91396912b664] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -197,16 +199,16 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=P4gWcDa4TuCzCQCsT5HgsFi47EJBqgavHD6njmv7f98%3D&se=2017-09-28T01%3A11%3A45Z&sp=rl + uri: https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e/stdouterr/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=nPs1mPtA37ePjgtU7n28bEc2MdecvKA0Dg4OGqlqE3k%3D&se=2018-03-16T06%3A53%3A07Z&sp=rl response: body: {string: ''} headers: accept-ranges: [bytes] content-length: ['0'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:11:45 GMT'] - etag: ['"0x8D506057C42A076"'] - last-modified: ['Thu, 28 Sep 2017 00:11:37 GMT'] + date: ['Fri, 16 Mar 2018 05:53:08 GMT'] + etag: ['"0x8D58B022E0D3A8F"'] + last-modified: ['Fri, 16 Mar 2018 05:53:02 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -219,18 +221,16 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=3nIAqfmkQd2kaqzPtLamyIusSlOX2OtvqTEIjmyqjno%3D&se=2017-09-28T01%3A11%3A45Z&sp=rl + uri: https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=ZKxh8MuW9D0CsTPk2vSednmlczdk6LpUom6m1rAhf%2Fs%3D&se=2018-03-16T06%3A53%3A07Z&sp=rl response: - body: {string: 'hello - - '} + body: {string: ''} headers: accept-ranges: [bytes] - content-length: ['6'] + content-length: ['0'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:11:46 GMT'] - etag: ['"0x8D506057C6374DF"'] - last-modified: ['Thu, 28 Sep 2017 00:11:37 GMT'] + date: ['Fri, 16 Mar 2018 05:53:09 GMT'] + etag: ['"0x8D58B022E582711"'] + last-modified: ['Fri, 16 Mar 2018 05:53:02 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -243,16 +243,18 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/stderr.txt?sv=2016-05-31&sr=f&sig=1MW14EaqhHfkNmg9n%2F%2FIHIH7PUgeImdaqdCXn19JSUM%3D&se=2017-09-28T01%3A11%3A45Z&sp=rl + uri: https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e/stdouterr/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=C84pBeQe1w2IQmRq2nWx83iMwI3OejBbuGeZerkYUTw%3D&se=2018-03-16T06%3A53%3A07Z&sp=rl response: - body: {string: ''} + body: {string: 'hello + + '} headers: accept-ranges: [bytes] - content-length: ['0'] + content-length: ['6'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:11:46 GMT'] - etag: ['"0x8D506057C7C7FFD"'] - last-modified: ['Thu, 28 Sep 2017 00:11:37 GMT'] + date: ['Fri, 16 Mar 2018 05:53:10 GMT'] + etag: ['"0x8D58B022E32761D"'] + last-modified: ['Fri, 16 Mar 2018 05:53:02 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -265,7 +267,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/stdout.txt?sv=2016-05-31&sr=f&sig=QTM4gC5B3ifpOZNdaCduYmbEyeHBm1zrBtyK6ERIVGw%3D&se=2017-09-28T01%3A11%3A45Z&sp=rl + uri: https://psdk494215bb.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/jobs/job/0c1c2562-6b0f-43fb-82dc-3bd05ff2981e/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=KNSmbwEMNQUjqS%2FONNGJ4aqPImbN7Zf3yrUDBvRVZGQ%3D&se=2018-03-16T06%3A53%3A07Z&sp=rl response: body: {string: 'hello @@ -274,9 +276,9 @@ interactions: accept-ranges: [bytes] content-length: ['6'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:11:47 GMT'] - etag: ['"0x8D506057C831097"'] - last-modified: ['Thu, 28 Sep 2017 00:11:37 GMT'] + date: ['Fri, 16 Mar 2018 05:53:10 GMT'] + etag: ['"0x8D58B022E6594A7"'] + last-modified: ['Fri, 16 Mar 2018 05:53:02 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -289,26 +291,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/18ab5e05-c6c7-44b7-8948-0c642f79b7f4?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0848060-e82c-4666-84e9-69579bc64878?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 00:11:48 GMT'] + date: ['Fri, 16 Mar 2018 05:53:12 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/18ab5e05-c6c7-44b7-8948-0c642f79b7f4?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/d0848060-e82c-4666-84e9-69579bc64878?api-version=2018-03-01'] pragma: [no-cache] - request-id: [e30f3332-7bb3-4c18-96cf-8886e5c3970b] + request-id: [d06164ac-5ada-40d9-a941-1de606f040e3] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -316,22 +319,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/18ab5e05-c6c7-44b7-8948-0c642f79b7f4?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0848060-e82c-4666-84e9-69579bc64878?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/18ab5e05-c6c7-44b7-8948-0c642f79b7f4","name":"18ab5e05-c6c7-44b7-8948-0c642f79b7f4","status":"InProgress","startTime":"2017-09-28T00:11:48.049Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0848060-e82c-4666-84e9-69579bc64878","name":"d0848060-e82c-4666-84e9-69579bc64878","status":"InProgress","startTime":"2018-03-16T05:53:13.175Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:12:04 GMT'] + date: ['Fri, 16 Mar 2018 05:53:29 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [f28f21be-9009-4a76-be3a-39c903bcbbe0] + request-id: [ef640512-97b3-41e5-9d90-b94072f9e2d1] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -344,22 +346,48 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0848060-e82c-4666-84e9-69579bc64878?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0848060-e82c-4666-84e9-69579bc64878","name":"d0848060-e82c-4666-84e9-69579bc64878","status":"InProgress","startTime":"2018-03-16T05:53:13.175Z"}'} + headers: + cache-control: [no-cache] + content-length: ['298'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 05:54:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [f9ac15f9-3e2e-46ea-b7a2-6bc00fda0f9e] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/18ab5e05-c6c7-44b7-8948-0c642f79b7f4?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0848060-e82c-4666-84e9-69579bc64878?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/18ab5e05-c6c7-44b7-8948-0c642f79b7f4","name":"18ab5e05-c6c7-44b7-8948-0c642f79b7f4","status":"Succeeded","startTime":"2017-09-28T00:11:48.049Z","endTime":"2017-09-28T00:12:18.71Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_preparation_container494215bb$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0848060-e82c-4666-84e9-69579bc64878","name":"d0848060-e82c-4666-84e9-69579bc64878","status":"Succeeded","startTime":"2018-03-16T05:53:13.175Z","endTime":"2018-03-16T05:54:13.872Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_preparation_container494215bb$job"}}'} headers: cache-control: [no-cache] - content-length: ['462'] + content-length: ['467'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:12:35 GMT'] + date: ['Fri, 16 Mar 2018 05:54:32 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [e441829c-b147-497d-8986-dd0df87ebcdb] + request-id: [e2787859-74e0-4de6-9b6d-73beee07a056] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -373,11 +401,12 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_container494215bb/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.BatchAI/jobs/job'' under resource group ''test_mgmt_batchai_jobs_test_job_preparation_container494215bb'' @@ -386,10 +415,11 @@ interactions: cache-control: [no-cache] content-length: ['191'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:12:35 GMT'] + date: ['Fri, 16 Mar 2018 05:54:32 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] x-ms-failure-cause: [gateway] status: {code: 404, message: Not Found} version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_preparation_host.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_preparation_host.yaml index 91b453adddb9..b63dc0a8fd50 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_preparation_host.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_job_preparation_host.yaml @@ -1,35 +1,36 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"jobPreparation": {"commandLine": - "mkdir -p $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"}, - "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/clusters/clustere0e613b6"}, - "nodeCount": 1, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "customToolkitSettings": - {"commandLine": "cat $AZ_BATCHAI_INPUT_INPUT/hi.txt"}, "inputDirectories": - [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "priority": - 0, "outputDirectories": [{"pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", - "type": "custom", "id": "OUTPUTS", "pathSuffix": "files", "createNew": true}]}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/clusters/clustere0e613b6"}, + "nodeCount": 1, "customToolkitSettings": {"commandLine": "cat $AZ_BATCHAI_INPUT_INPUT/hi.txt"}, + "jobPreparation": {"commandLine": "mkdir -p $AZ_BATCHAI_INPUT_INPUT && echo + hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", + "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], + "outputDirectories": [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", + "pathSuffix": "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['771'] + Content-Length: ['769'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/eeea3f76-6940-4472-aeb1-d2ad9e1302f2?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/4e880450-efeb-461a-a733-88cfcfc857eb?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 00:22:15 GMT'] + date: ['Fri, 16 Mar 2018 06:07:28 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/eeea3f76-6940-4472-aeb1-d2ad9e1302f2?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/4e880450-efeb-461a-a733-88cfcfc857eb?api-version=2018-03-01'] pragma: [no-cache] - request-id: [b0a9362c-0c2e-4e9e-8327-268e36a4d430] + request-id: [232ba585-53fd-44f8-8346-26ac010776dc] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -41,22 +42,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/eeea3f76-6940-4472-aeb1-d2ad9e1302f2?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/4e880450-efeb-461a-a733-88cfcfc857eb?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/eeea3f76-6940-4472-aeb1-d2ad9e1302f2","name":"eeea3f76-6940-4472-aeb1-d2ad9e1302f2","status":"Succeeded","startTime":"2017-09-28T00:22:15.788Z","endTime":"2017-09-28T00:22:16.68Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/4e880450-efeb-461a-a733-88cfcfc857eb","name":"4e880450-efeb-461a-a733-88cfcfc857eb","status":"Succeeded","startTime":"2018-03-16T06:07:29.144Z","endTime":"2018-03-16T06:07:30.539Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6$job"}}'} headers: cache-control: [no-cache] - content-length: ['457'] + content-length: ['462'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:22:31 GMT'] + date: ['Fri, 16 Mar 2018 06:07:44 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [a7d47eeb-4cac-441d-8441-cf0ef04e2271] + request-id: [6aa46ae0-e22c-4656-bbd1-d1f9540ab86f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -69,26 +69,25 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/clusters/clustere0e613b6"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"cat + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/clusters/clustere0e613b6"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/607f653a-aa97-40f5-baf1-f48737fac2be","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"cat $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"jobPreparation":{"commandLine":"mkdir -p - $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:22:15.772Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:22:16.664Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-28T00:22:20.117Z","executionInfo":{"startTime":"2017-09-28T00:22:16.943Z","endTime":"2017-09-28T00:22:20.117Z","exitCode":0}}}'} + $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:07:29.144Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:07:30.523Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T06:07:34.263Z","executionInfo":{"startTime":"2018-03-16T06:07:31.501Z","endTime":"2018-03-16T06:07:34.263Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1339'] + content-length: ['1489'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:22:32 GMT'] - etag: ['"0x8D50606F8DEF713"'] + date: ['Fri, 16 Mar 2018 06:07:47 GMT'] + etag: ['"0x8D58B0432D077FC"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:22:15 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:07:29 GMT'] pragma: [no-cache] - request-id: [b2bdd17f-3ce2-4fee-a2e3-6fecbd9a20f3] + request-id: [19ea9bae-fed8-4373-96da-a4a5cec7060f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -102,25 +101,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/clusters/clustere0e613b6"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"cat + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/clusters/clustere0e613b6"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/607f653a-aa97-40f5-baf1-f48737fac2be","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"cat $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"jobPreparation":{"commandLine":"mkdir -p - $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:22:15.772Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:22:16.664Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-28T00:22:20.117Z","executionInfo":{"startTime":"2017-09-28T00:22:16.943Z","endTime":"2017-09-28T00:22:20.117Z","exitCode":0}}}'} + $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:07:29.144Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:07:30.523Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T06:07:34.263Z","executionInfo":{"startTime":"2018-03-16T06:07:31.501Z","endTime":"2018-03-16T06:07:34.263Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1339'] + content-length: ['1489'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:22:34 GMT'] - etag: ['"0x8D50606F8DEF713"'] + date: ['Fri, 16 Mar 2018 06:07:48 GMT'] + etag: ['"0x8D58B0432D077FC"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:22:15 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:07:29 GMT'] pragma: [no-cache] - request-id: [3d9db118-2622-4345-b401-603478d9960a] + request-id: [c49391ea-72c2-4202-8a84-db03138dc456] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -135,21 +135,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?outputdirectoryid=stdouterr&maxresults=1000&api-version=2017-09-01-preview&linkexpiryinminutes=60 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"stderr-job_prep.txt","downloadUrl":"https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=CNPJmjDQT9Anld9%2FdnQ52ZBpfOff2el8r4el6J%2BnpJE%3D&se=2017-09-28T01%3A22%3A35Z&sp=rl","properties":{"lastModified":"2017-09-28T00:22:19Z","contentLength":0}},{"name":"stdout-job_prep.txt","downloadUrl":"https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=yK%2F5acWSTdcmBZGGL9%2F3IqeZ7N%2B1sRXfwB%2FaCkoRS%2Bc%3D&se=2017-09-28T01%3A22%3A35Z&sp=rl","properties":{"lastModified":"2017-09-28T00:22:19Z","contentLength":6}},{"name":"stderr.txt","downloadUrl":"https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/stderr.txt?sv=2016-05-31&sr=f&sig=TdvHhdQjvWWA0Z7aPb0oZpPgGbBPOyDarNXWHFnRS3c%3D&se=2017-09-28T01%3A22%3A35Z&sp=rl","properties":{"lastModified":"2017-09-28T00:22:19Z","contentLength":0}},{"name":"stdout.txt","downloadUrl":"https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/stdout.txt?sv=2016-05-31&sr=f&sig=nyydEjNnYpQfovknJc%2B5G%2F05g0IV4acWKlfkM35lh00%3D&se=2017-09-28T01%3A22%3A35Z&sp=rl","properties":{"lastModified":"2017-09-28T00:22:19Z","contentLength":6}}]}'} + body: {string: '{"value":[{"name":"execution.log","isDirectory":false,"downloadUrl":"https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/607f653a-aa97-40f5-baf1-f48737fac2be/stdouterr/execution.log?sv=2016-05-31&sr=f&sig=R3VbiDOaifTxYR0Z51kQMMuk4H1vfwq4kfWELogUbgM%3D&se=2018-03-16T07%3A07%3A49Z&sp=rl","properties":{"lastModified":"2018-03-16T06:07:33Z","contentLength":181}},{"name":"stderr-job_prep.txt","isDirectory":false,"downloadUrl":"https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/607f653a-aa97-40f5-baf1-f48737fac2be/stdouterr/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=5ls2W2BwyrTq2mAMf4ghAQM1PpqRFpEH2Fp3AkBMdZk%3D&se=2018-03-16T07%3A07%3A49Z&sp=rl","properties":{"lastModified":"2018-03-16T06:07:33Z","contentLength":0}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/607f653a-aa97-40f5-baf1-f48737fac2be/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=MfncXImH%2BD3HlL03rarz0czqHH3a4ze4fNw7rHWKvCo%3D&se=2018-03-16T07%3A07%3A49Z&sp=rl","properties":{"lastModified":"2018-03-16T06:07:33Z","contentLength":0}},{"name":"stdout-job_prep.txt","isDirectory":false,"downloadUrl":"https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/607f653a-aa97-40f5-baf1-f48737fac2be/stdouterr/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=u0RsadGAtw6NE66lAjLfA6ChnxOoeGqdKvCNkg%2Few1I%3D&se=2018-03-16T07%3A07%3A49Z&sp=rl","properties":{"lastModified":"2018-03-16T06:07:33Z","contentLength":6}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/607f653a-aa97-40f5-baf1-f48737fac2be/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=UUAMYfKXt0SQkhyrGa7ojsY5UR496RVdG1laJXOwXhs%3D&se=2018-03-16T07%3A07%3A49Z&sp=rl","properties":{"lastModified":"2018-03-16T06:07:33Z","contentLength":6}}]}'} headers: cache-control: [no-cache] - content-length: ['1573'] + content-length: ['2274'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:22:35 GMT'] + date: ['Fri, 16 Mar 2018 06:07:49 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [df54f375-0aac-4ae0-826b-5e4eea1ab1cd] + request-id: [102e9e05-5334-46d6-91b6-d4a131bca1da] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -164,16 +165,16 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=CNPJmjDQT9Anld9%2FdnQ52ZBpfOff2el8r4el6J%2BnpJE%3D&se=2017-09-28T01%3A22%3A35Z&sp=rl + uri: https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/607f653a-aa97-40f5-baf1-f48737fac2be/stdouterr/stderr-job_prep.txt?sv=2016-05-31&sr=f&sig=5ls2W2BwyrTq2mAMf4ghAQM1PpqRFpEH2Fp3AkBMdZk%3D&se=2018-03-16T07%3A07%3A49Z&sp=rl response: body: {string: ''} headers: accept-ranges: [bytes] content-length: ['0'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:22:35 GMT'] - etag: ['"0x8D50606FAED1671"'] - last-modified: ['Thu, 28 Sep 2017 00:22:19 GMT'] + date: ['Fri, 16 Mar 2018 06:07:49 GMT'] + etag: ['"0x8D58B0435456D4C"'] + last-modified: ['Fri, 16 Mar 2018 06:07:33 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -186,18 +187,16 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=yK%2F5acWSTdcmBZGGL9%2F3IqeZ7N%2B1sRXfwB%2FaCkoRS%2Bc%3D&se=2017-09-28T01%3A22%3A35Z&sp=rl + uri: https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/607f653a-aa97-40f5-baf1-f48737fac2be/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=MfncXImH%2BD3HlL03rarz0czqHH3a4ze4fNw7rHWKvCo%3D&se=2018-03-16T07%3A07%3A49Z&sp=rl response: - body: {string: 'hello - - '} + body: {string: ''} headers: accept-ranges: [bytes] - content-length: ['6'] + content-length: ['0'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:22:35 GMT'] - etag: ['"0x8D50606FB070BAC"'] - last-modified: ['Thu, 28 Sep 2017 00:22:19 GMT'] + date: ['Fri, 16 Mar 2018 06:07:50 GMT'] + etag: ['"0x8D58B04357622CA"'] + last-modified: ['Fri, 16 Mar 2018 06:07:33 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -210,16 +209,18 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/stderr.txt?sv=2016-05-31&sr=f&sig=TdvHhdQjvWWA0Z7aPb0oZpPgGbBPOyDarNXWHFnRS3c%3D&se=2017-09-28T01%3A22%3A35Z&sp=rl + uri: https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/607f653a-aa97-40f5-baf1-f48737fac2be/stdouterr/stdout-job_prep.txt?sv=2016-05-31&sr=f&sig=u0RsadGAtw6NE66lAjLfA6ChnxOoeGqdKvCNkg%2Few1I%3D&se=2018-03-16T07%3A07%3A49Z&sp=rl response: - body: {string: ''} + body: {string: 'hello + + '} headers: accept-ranges: [bytes] - content-length: ['0'] + content-length: ['6'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:22:36 GMT'] - etag: ['"0x8D50606FB16298E"'] - last-modified: ['Thu, 28 Sep 2017 00:22:19 GMT'] + date: ['Fri, 16 Mar 2018 06:07:51 GMT'] + etag: ['"0x8D58B0435641E41"'] + last-modified: ['Fri, 16 Mar 2018 06:07:33 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -232,7 +233,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/stdout.txt?sv=2016-05-31&sr=f&sig=nyydEjNnYpQfovknJc%2B5G%2F05g0IV4acWKlfkM35lh00%3D&se=2017-09-28T01%3A22%3A35Z&sp=rl + uri: https://psdke0e613b6.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/jobs/job/607f653a-aa97-40f5-baf1-f48737fac2be/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=UUAMYfKXt0SQkhyrGa7ojsY5UR496RVdG1laJXOwXhs%3D&se=2018-03-16T07%3A07%3A49Z&sp=rl response: body: {string: 'hello @@ -241,9 +242,9 @@ interactions: accept-ranges: [bytes] content-length: ['6'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:22:36 GMT'] - etag: ['"0x8D50606FB24AB08"'] - last-modified: ['Thu, 28 Sep 2017 00:22:19 GMT'] + date: ['Fri, 16 Mar 2018 06:07:52 GMT'] + etag: ['"0x8D58B04357FE880"'] + last-modified: ['Fri, 16 Mar 2018 06:07:33 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -256,26 +257,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/e53727c6-b292-4978-b837-2ec2e9409b5b?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/943a9460-d5f5-4c87-9307-af1b4f7f53db?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 00:22:37 GMT'] + date: ['Fri, 16 Mar 2018 06:07:54 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/e53727c6-b292-4978-b837-2ec2e9409b5b?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/943a9460-d5f5-4c87-9307-af1b4f7f53db?api-version=2018-03-01'] pragma: [no-cache] - request-id: [0cbcbc4b-98bf-4f39-bb10-08b86a64bacd] + request-id: [ae0abe10-e742-4040-ae18-307ced796a90] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -283,50 +285,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/e53727c6-b292-4978-b837-2ec2e9409b5b?api-version=2017-09-01-preview - response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/e53727c6-b292-4978-b837-2ec2e9409b5b","name":"e53727c6-b292-4978-b837-2ec2e9409b5b","status":"InProgress","startTime":"2017-09-28T00:22:37.61Z"}'} - headers: - cache-control: [no-cache] - content-length: ['293'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:22:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - request-id: [4443f3d4-2690-4a2e-ad04-e806e190672b] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/e53727c6-b292-4978-b837-2ec2e9409b5b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/943a9460-d5f5-4c87-9307-af1b4f7f53db?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/e53727c6-b292-4978-b837-2ec2e9409b5b","name":"e53727c6-b292-4978-b837-2ec2e9409b5b","status":"InProgress","startTime":"2017-09-28T00:22:37.61Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/943a9460-d5f5-4c87-9307-af1b4f7f53db","name":"943a9460-d5f5-4c87-9307-af1b4f7f53db","status":"InProgress","startTime":"2018-03-16T06:07:55.173Z"}'} headers: cache-control: [no-cache] - content-length: ['293'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:23:24 GMT'] + date: ['Fri, 16 Mar 2018 06:08:11 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [ed113fde-4737-4cf3-b084-02a92aa23b97] + request-id: [3ae4e2b1-3164-4a63-a1ec-498a9af2175a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -339,22 +312,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/e53727c6-b292-4978-b837-2ec2e9409b5b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/943a9460-d5f5-4c87-9307-af1b4f7f53db?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/e53727c6-b292-4978-b837-2ec2e9409b5b","name":"e53727c6-b292-4978-b837-2ec2e9409b5b","status":"Succeeded","startTime":"2017-09-28T00:22:37.61Z","endTime":"2017-09-28T00:23:38.624Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/943a9460-d5f5-4c87-9307-af1b4f7f53db","name":"943a9460-d5f5-4c87-9307-af1b4f7f53db","status":"Succeeded","startTime":"2018-03-16T06:07:55.173Z","endTime":"2018-03-16T06:08:25.73Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6$job"}}'} headers: cache-control: [no-cache] - content-length: ['457'] + content-length: ['461'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:23:54 GMT'] + date: ['Fri, 16 Mar 2018 06:08:42 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [1549aef0-f7a7-4a2f-8cd1-da40c0dfdb36] + request-id: [86055006-033a-46b6-b6c9-a76bf3db891a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -368,11 +340,12 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.BatchAI/jobs/job'' under resource group ''test_mgmt_batchai_jobs_test_job_preparation_hoste0e613b6'' @@ -381,10 +354,11 @@ interactions: cache-control: [no-cache] content-length: ['186'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:23:55 GMT'] + date: ['Fri, 16 Mar 2018 06:08:44 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] x-ms-failure-cause: [gateway] status: {code: 404, message: Not Found} version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_password_less_ssh.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_password_less_ssh.yaml index cf1e609bdc4a..bc02e4cd15de 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_password_less_ssh.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_password_less_ssh.yaml @@ -1,38 +1,39 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", - "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/clusters/clustera9071290"}, + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/clusters/clustera9071290"}, "nodeCount": 2, "customToolkitSettings": {"commandLine": "ssh 10.0.0.4 echo - done && ssh 10.0.0.5 echo done"}, "inputDirectories": [{"id": "INPUT", "path": - "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "priority": 0, "outputDirectories": - [{"pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "type": "custom", "id": - "OUTPUTS", "pathSuffix": "files", "createNew": true}]}}''' + done && ssh 10.0.0.5 echo done"}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", + "inputDirectories": [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], + "outputDirectories": [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", + "pathSuffix": "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['657'] + Content-Length: ['658'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/478f08fe-51d0-4cd0-b9b0-4d885f90f3bf?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fcf78e64-3b60-4bbe-bdb3-b7dd17c1c043?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 00:33:16 GMT'] + date: ['Fri, 16 Mar 2018 07:48:47 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/478f08fe-51d0-4cd0-b9b0-4d885f90f3bf?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/fcf78e64-3b60-4bbe-bdb3-b7dd17c1c043?api-version=2018-03-01'] pragma: [no-cache] - request-id: [1037b1cb-6b7c-4b49-a8e5-8bab6870838a] + request-id: [7c008ae3-bd15-4f7e-a740-352c3c25a9e7] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -40,22 +41,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/478f08fe-51d0-4cd0-b9b0-4d885f90f3bf?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fcf78e64-3b60-4bbe-bdb3-b7dd17c1c043?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/478f08fe-51d0-4cd0-b9b0-4d885f90f3bf","name":"478f08fe-51d0-4cd0-b9b0-4d885f90f3bf","status":"Succeeded","startTime":"2017-09-28T00:33:16.788Z","endTime":"2017-09-28T00:33:18.045Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_password_less_ssha9071290$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/fcf78e64-3b60-4bbe-bdb3-b7dd17c1c043","name":"fcf78e64-3b60-4bbe-bdb3-b7dd17c1c043","status":"Succeeded","startTime":"2018-03-16T07:48:48.424Z","endTime":"2018-03-16T07:48:49.487Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_password_less_ssha9071290$job"}}'} headers: cache-control: [no-cache] - content-length: ['455'] + content-length: ['459'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:33:33 GMT'] + date: ['Fri, 16 Mar 2018 07:49:05 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [bb84f01a-66e1-4c7a-8b27-bd329c520a81] + request-id: [0f673a03-bd9f-48dc-a6b6-b757fe14aaa4] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -68,25 +68,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/clusters/clustera9071290"},"nodeCount":2,"toolType":"Custom","customToolkitSettings":{"commandLine":"ssh - 10.0.0.4 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:33:16.772Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:33:18.014Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-28T00:33:23.181Z","executionInfo":{"startTime":"2017-09-28T00:33:18.256Z","endTime":"2017-09-28T00:33:23.181Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/clusters/clustera9071290"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/be661859-d6af-48c1-b7ef-44f7eb95d31e","nodeCount":2,"toolType":"custom","customToolkitSettings":{"commandLine":"ssh + 10.0.0.4 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T07:48:48.409Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T07:48:49.471Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T07:48:57.442Z","executionInfo":{"startTime":"2018-03-16T07:48:51.069Z","endTime":"2018-03-16T07:48:57.442Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1225'] + content-length: ['1375'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:33:33 GMT'] - etag: ['"0x8D5060882DB9C73"'] + date: ['Fri, 16 Mar 2018 07:49:06 GMT'] + etag: ['"0x8D58B125A569A6E"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:33:16 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:48:48 GMT'] pragma: [no-cache] - request-id: [ef7aecb9-8bdb-421c-bf4b-1df35d50bab0] + request-id: [76c76bd8-35fe-4105-b3bb-b7e33ff5bb67] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -100,24 +99,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/clusters/clustera9071290"},"nodeCount":2,"toolType":"Custom","customToolkitSettings":{"commandLine":"ssh - 10.0.0.4 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:33:16.772Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:33:18.014Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-28T00:33:23.181Z","executionInfo":{"startTime":"2017-09-28T00:33:18.256Z","endTime":"2017-09-28T00:33:23.181Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/clusters/clustera9071290"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/be661859-d6af-48c1-b7ef-44f7eb95d31e","nodeCount":2,"toolType":"custom","customToolkitSettings":{"commandLine":"ssh + 10.0.0.4 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T07:48:48.409Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T07:48:49.471Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T07:48:57.442Z","executionInfo":{"startTime":"2018-03-16T07:48:51.069Z","endTime":"2018-03-16T07:48:57.442Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1225'] + content-length: ['1375'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:33:34 GMT'] - etag: ['"0x8D5060882DB9C73"'] + date: ['Fri, 16 Mar 2018 07:49:07 GMT'] + etag: ['"0x8D58B125A569A6E"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:33:16 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:48:48 GMT'] pragma: [no-cache] - request-id: [9a98a88d-d8d5-40d2-bb29-ccb3ef4e0037] + request-id: [749c3797-130d-43fb-810a-8a8af516e0a7] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -131,24 +131,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/clusters/clustera9071290"},"nodeCount":2,"toolType":"Custom","customToolkitSettings":{"commandLine":"ssh - 10.0.0.4 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:33:16.772Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:33:18.014Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-28T00:33:23.181Z","executionInfo":{"startTime":"2017-09-28T00:33:18.256Z","endTime":"2017-09-28T00:33:23.181Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/clusters/clustera9071290"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/be661859-d6af-48c1-b7ef-44f7eb95d31e","nodeCount":2,"toolType":"custom","customToolkitSettings":{"commandLine":"ssh + 10.0.0.4 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T07:48:48.409Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T07:48:49.471Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T07:48:57.442Z","executionInfo":{"startTime":"2018-03-16T07:48:51.069Z","endTime":"2018-03-16T07:48:57.442Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1225'] + content-length: ['1375'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:33:35 GMT'] - etag: ['"0x8D5060882DB9C73"'] + date: ['Fri, 16 Mar 2018 07:49:09 GMT'] + etag: ['"0x8D58B125A569A6E"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:33:16 GMT'] + last-modified: ['Fri, 16 Mar 2018 07:48:48 GMT'] pragma: [no-cache] - request-id: [6e32db10-b264-4432-b616-36c9fb5db09d] + request-id: [8eb27d70-927d-4d33-8691-21373b29555b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -163,21 +164,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?outputdirectoryid=stdouterr&maxresults=1000&api-version=2017-09-01-preview&linkexpiryinminutes=60 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"stderr.txt","downloadUrl":"https://psdka9071290.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/stderr.txt?sv=2016-05-31&sr=f&sig=696XbDNLUtPN8R1b1p%2FC%2Fv38A75jTYUlDoQNkCkQ5%2BI%3D&se=2017-09-28T01%3A33%3A37Z&sp=rl","properties":{"lastModified":"2017-09-28T00:33:22Z","contentLength":150}},{"name":"stdout.txt","downloadUrl":"https://psdka9071290.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/stdout.txt?sv=2016-05-31&sr=f&sig=ke%2BBDblgAIEkmvqkcpK0JNrvc6Hn8%2Bwp4X2UEYcAyf4%3D&se=2017-09-28T01%3A33%3A37Z&sp=rl","properties":{"lastModified":"2017-09-28T00:33:22Z","contentLength":10}}]}'} + body: {string: '{"value":[{"name":"execution-tvm-1457105007_1-20180316t074531z-p.log","isDirectory":false,"downloadUrl":"https://psdka9071290.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/be661859-d6af-48c1-b7ef-44f7eb95d31e/stdouterr/execution-tvm-1457105007_1-20180316t074531z-p.log?sv=2016-05-31&sr=f&sig=dk831Ae8cYzqEFo%2BMzQTFskhlWIE2YNr%2BHDCA1oNTBI%3D&se=2018-03-16T08%3A49%3A11Z&sp=rl","properties":{"lastModified":"2018-03-16T07:48:54Z","contentLength":212}},{"name":"execution-tvm-1457105007_2-20180316t074531z-p.log","isDirectory":false,"downloadUrl":"https://psdka9071290.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/be661859-d6af-48c1-b7ef-44f7eb95d31e/stdouterr/execution-tvm-1457105007_2-20180316t074531z-p.log?sv=2016-05-31&sr=f&sig=xvM1CEGcz1r22wYyUjO2lzRpVbpFyzFOsocdxus4jLM%3D&se=2018-03-16T08%3A49%3A11Z&sp=rl","properties":{"lastModified":"2018-03-16T07:48:56Z","contentLength":442}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdka9071290.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/be661859-d6af-48c1-b7ef-44f7eb95d31e/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=Tp9qarhoGfaRLXhYKzMblPw%2FGsu1TptOkVWLDcLXDsA%3D&se=2018-03-16T08%3A49%3A11Z&sp=rl","properties":{"lastModified":"2018-03-16T07:48:56Z","contentLength":150}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdka9071290.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/be661859-d6af-48c1-b7ef-44f7eb95d31e/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=zmT1gRfLjrDNzplrCPpDqkdEgD7SjSIci7ddLCcItts%3D&se=2018-03-16T08%3A49%3A11Z&sp=rl","properties":{"lastModified":"2018-03-16T07:48:56Z","contentLength":10}}]}'} headers: cache-control: [no-cache] - content-length: ['770'] + content-length: ['1940'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:33:36 GMT'] + date: ['Fri, 16 Mar 2018 07:49:10 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [80e460c1-f8c1-4ff0-b324-f339f3c54155] + request-id: [acbd5ace-660a-452b-b2c6-8f35d019f6ca] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -192,7 +194,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdka9071290.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/stderr.txt?sv=2016-05-31&sr=f&sig=696XbDNLUtPN8R1b1p%2FC%2Fv38A75jTYUlDoQNkCkQ5%2BI%3D&se=2017-09-28T01%3A33%3A37Z&sp=rl + uri: https://psdka9071290.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/be661859-d6af-48c1-b7ef-44f7eb95d31e/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=Tp9qarhoGfaRLXhYKzMblPw%2FGsu1TptOkVWLDcLXDsA%3D&se=2018-03-16T08%3A49%3A11Z&sp=rl response: body: {string: "Warning: Permanently added '10.0.0.4' (ECDSA) to the list of known\ \ hosts.\r\nWarning: Permanently added '10.0.0.5' (ECDSA) to the list of known\ @@ -201,9 +203,9 @@ interactions: accept-ranges: [bytes] content-length: ['150'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:33:37 GMT'] - etag: ['"0x8D506088651A34F"'] - last-modified: ['Thu, 28 Sep 2017 00:33:22 GMT'] + date: ['Fri, 16 Mar 2018 07:49:11 GMT'] + etag: ['"0x8D58B125F4DD853"'] + last-modified: ['Fri, 16 Mar 2018 07:48:56 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -216,7 +218,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdka9071290.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/stdout.txt?sv=2016-05-31&sr=f&sig=ke%2BBDblgAIEkmvqkcpK0JNrvc6Hn8%2Bwp4X2UEYcAyf4%3D&se=2017-09-28T01%3A33%3A37Z&sp=rl + uri: https://psdka9071290.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssha9071290/jobs/job/be661859-d6af-48c1-b7ef-44f7eb95d31e/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=zmT1gRfLjrDNzplrCPpDqkdEgD7SjSIci7ddLCcItts%3D&se=2018-03-16T08%3A49%3A11Z&sp=rl response: body: {string: 'done @@ -227,9 +229,9 @@ interactions: accept-ranges: [bytes] content-length: ['10'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:33:37 GMT'] - etag: ['"0x8D5060886504378"'] - last-modified: ['Thu, 28 Sep 2017 00:33:22 GMT'] + date: ['Fri, 16 Mar 2018 07:49:14 GMT'] + etag: ['"0x8D58B125F48F649"'] + last-modified: ['Fri, 16 Mar 2018 07:48:56 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -242,26 +244,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/65ae5937-6c79-4c18-9460-085190d05bd1?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0077c99-784f-4243-813d-a72a8fb9ba70?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 00:33:38 GMT'] + date: ['Fri, 16 Mar 2018 07:49:16 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/65ae5937-6c79-4c18-9460-085190d05bd1?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/d0077c99-784f-4243-813d-a72a8fb9ba70?api-version=2018-03-01'] pragma: [no-cache] - request-id: [f7b1af51-6b02-4b21-a1fb-02a501b47d5e] + request-id: [04498465-038b-40cf-be0a-6038ebf5c752] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -269,22 +272,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/65ae5937-6c79-4c18-9460-085190d05bd1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0077c99-784f-4243-813d-a72a8fb9ba70?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/65ae5937-6c79-4c18-9460-085190d05bd1","name":"65ae5937-6c79-4c18-9460-085190d05bd1","status":"InProgress","startTime":"2017-09-28T00:33:38.459Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0077c99-784f-4243-813d-a72a8fb9ba70","name":"d0077c99-784f-4243-813d-a72a8fb9ba70","status":"InProgress","startTime":"2018-03-16T07:49:16.386Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:33:54 GMT'] + date: ['Fri, 16 Mar 2018 07:49:32 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [7cafc1ce-217a-4867-89b2-39080e054422] + request-id: [2e9d71d2-61d5-446d-b6c2-07efbe34d984] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -297,22 +299,48 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0077c99-784f-4243-813d-a72a8fb9ba70?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0077c99-784f-4243-813d-a72a8fb9ba70","name":"d0077c99-784f-4243-813d-a72a8fb9ba70","status":"InProgress","startTime":"2018-03-16T07:49:16.386Z"}'} + headers: + cache-control: [no-cache] + content-length: ['298'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 07:50:04 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [410c334a-9db0-4385-aabb-4a7a3785090a] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/65ae5937-6c79-4c18-9460-085190d05bd1?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0077c99-784f-4243-813d-a72a8fb9ba70?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/65ae5937-6c79-4c18-9460-085190d05bd1","name":"65ae5937-6c79-4c18-9460-085190d05bd1","status":"Succeeded","startTime":"2017-09-28T00:33:38.459Z","endTime":"2017-09-28T00:34:09.598Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_password_less_ssha9071290$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/d0077c99-784f-4243-813d-a72a8fb9ba70","name":"d0077c99-784f-4243-813d-a72a8fb9ba70","status":"Succeeded","startTime":"2018-03-16T07:49:16.386Z","endTime":"2018-03-16T07:50:17.708Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_password_less_ssha9071290$job"}}'} headers: cache-control: [no-cache] - content-length: ['455'] + content-length: ['459'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:34:25 GMT'] + date: ['Fri, 16 Mar 2018 07:50:35 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [2afd4106-031f-4b41-ad6c-1181c35a67e8] + request-id: [c4ff8cfd-2e66-4099-a17e-180d247ca391] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -326,11 +354,12 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssha9071290/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.BatchAI/jobs/job'' under resource group ''test_mgmt_batchai_jobs_test_password_less_ssha9071290'' @@ -339,10 +368,11 @@ interactions: cache-control: [no-cache] content-length: ['183'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:34:26 GMT'] + date: ['Fri, 16 Mar 2018 07:50:36 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] x-ms-failure-cause: [gateway] status: {code: 404, message: Not Found} version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_password_less_ssh_in_container.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_password_less_ssh_in_container.yaml index eb732989459e..bfa9e792d5d4 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_password_less_ssh_in_container.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_password_less_ssh_in_container.yaml @@ -1,35 +1,36 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", - "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"}, - "nodeCount": 2, "customToolkitSettings": {"commandLine": "ssh 10.0.0.5 echo - done && ssh 10.0.0.5 echo done"}, "inputDirectories": [{"id": "INPUT", "path": - "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "priority": 0, "containerSettings": - {"imageSourceRegistry": {"image": "ubuntu"}}, "outputDirectories": [{"pathPrefix": - "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "type": "custom", "id": "OUTPUTS", "pathSuffix": - "files", "createNew": true}]}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"}, + "nodeCount": 2, "containerSettings": {"imageSourceRegistry": {"image": "ubuntu"}}, + "customToolkitSettings": {"commandLine": "ssh 10.0.0.5 echo done && ssh 10.0.0.5 + echo done"}, "stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": + [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": + [{"id": "OUTPUTS", "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": + "files", "type": "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['737'] + Content-Length: ['738'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/36d1312a-d8e5-4204-a9b4-16076a4c0699?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b78b601f-f6b4-47e0-9eb7-4b4e387d5485?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 00:44:06 GMT'] + date: ['Fri, 16 Mar 2018 06:26:59 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/36d1312a-d8e5-4204-a9b4-16076a4c0699?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/b78b601f-f6b4-47e0-9eb7-4b4e387d5485?api-version=2018-03-01'] pragma: [no-cache] - request-id: [123663e3-9d15-438b-be36-9431c3bede04] + request-id: [62b52db2-6b09-43bf-92c0-92e18f504615] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -41,22 +42,51 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b78b601f-f6b4-47e0-9eb7-4b4e387d5485?api-version=2018-03-01 + response: + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b78b601f-f6b4-47e0-9eb7-4b4e387d5485","name":"b78b601f-f6b4-47e0-9eb7-4b4e387d5485","status":"Succeeded","startTime":"2018-03-16T06:27:00.03Z","endTime":"2018-03-16T06:27:00.86Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8$job"}}'} + headers: + cache-control: [no-cache] + content-length: ['470'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 06:27:15 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [44c6a83b-283a-4f61-aee8-faa5965c66c1] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/36d1312a-d8e5-4204-a9b4-16076a4c0699?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/36d1312a-d8e5-4204-a9b4-16076a4c0699","name":"36d1312a-d8e5-4204-a9b4-16076a4c0699","status":"Succeeded","startTime":"2017-09-28T00:44:06.255Z","endTime":"2017-09-28T00:44:07.524Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8$job"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7","nodeCount":2,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"ssh + 10.0.0.5 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:27:00.014Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:27:00.844Z","executionState":"running","executionStateTransitionTime":"2018-03-16T06:27:02.436Z","executionInfo":{"startTime":"2018-03-16T06:27:01.849Z"}}}'} headers: cache-control: [no-cache] - content-length: ['468'] + content-length: ['1425'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:44:22 GMT'] + date: ['Fri, 16 Mar 2018 06:27:17 GMT'] + etag: ['"0x8D58B06ECB51370"'] expires: ['-1'] + last-modified: ['Fri, 16 Mar 2018 06:27:00 GMT'] pragma: [no-cache] - request-id: [f79dcdc1-07e4-4c36-8d73-5931ca6731bf] + request-id: [9c59d8cd-505d-4ff1-b74b-cd3d193d435b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -70,24 +100,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"},"nodeCount":2,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"ssh - 10.0.0.5 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:44:06.24Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:44:07.477Z","executionState":"Running","executionStateTransitionTime":"2017-09-28T00:44:10.056Z","executionInfo":{"startTime":"2017-09-28T00:44:07.692Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7","nodeCount":2,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"ssh + 10.0.0.5 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:27:00.014Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:27:00.844Z","executionState":"running","executionStateTransitionTime":"2018-03-16T06:27:02.436Z","executionInfo":{"startTime":"2018-03-16T06:27:01.849Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1261'] + content-length: ['1425'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:44:23 GMT'] - etag: ['"0x8D5060A05F874B2"'] + date: ['Fri, 16 Mar 2018 06:27:19 GMT'] + etag: ['"0x8D58B06ECB51370"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:44:06 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:27:00 GMT'] pragma: [no-cache] - request-id: [0484985b-db34-4b29-98d1-5fab6f54f199] + request-id: [6b3bfce6-1446-4ecc-8cf9-edef64078098] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -101,24 +132,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"},"nodeCount":2,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"ssh - 10.0.0.5 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:44:06.24Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:44:07.477Z","executionState":"Running","executionStateTransitionTime":"2017-09-28T00:44:10.056Z","executionInfo":{"startTime":"2017-09-28T00:44:07.692Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7","nodeCount":2,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"ssh + 10.0.0.5 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:27:00.014Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:27:00.844Z","executionState":"running","executionStateTransitionTime":"2018-03-16T06:27:02.436Z","executionInfo":{"startTime":"2018-03-16T06:27:01.849Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1261'] + content-length: ['1425'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:44:25 GMT'] - etag: ['"0x8D5060A05F874B2"'] + date: ['Fri, 16 Mar 2018 06:27:40 GMT'] + etag: ['"0x8D58B06ECB51370"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:44:06 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:27:00 GMT'] pragma: [no-cache] - request-id: [3aef156b-7243-4902-a519-1ba59292f771] + request-id: [1110c492-5321-4721-a885-48e8413edc82] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -132,24 +164,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"},"nodeCount":2,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"ssh - 10.0.0.5 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:44:06.24Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:44:07.477Z","executionState":"Running","executionStateTransitionTime":"2017-09-28T00:44:10.056Z","executionInfo":{"startTime":"2017-09-28T00:44:07.692Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7","nodeCount":2,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"ssh + 10.0.0.5 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:27:00.014Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:27:00.844Z","executionState":"running","executionStateTransitionTime":"2018-03-16T06:27:02.436Z","executionInfo":{"startTime":"2018-03-16T06:27:01.849Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1261'] + content-length: ['1425'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:44:45 GMT'] - etag: ['"0x8D5060A05F874B2"'] + date: ['Fri, 16 Mar 2018 06:28:03 GMT'] + etag: ['"0x8D58B06ECB51370"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:44:06 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:27:00 GMT'] pragma: [no-cache] - request-id: [2170b4d1-7bf3-49d8-b8b4-afcf3ca2289d] + request-id: [c676e0e8-1f11-40c8-ad15-dc49705882b2] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -163,24 +196,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"},"nodeCount":2,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"ssh - 10.0.0.5 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:44:06.24Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:44:07.477Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-28T00:44:47.44Z","executionInfo":{"startTime":"2017-09-28T00:44:07.692Z","endTime":"2017-09-28T00:44:47.44Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7","nodeCount":2,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"ssh + 10.0.0.5 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:27:00.014Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:27:00.844Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T06:28:14.129Z","executionInfo":{"startTime":"2018-03-16T06:27:01.849Z","endTime":"2018-03-16T06:28:14.129Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1311'] + content-length: ['1477'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:45:07 GMT'] - etag: ['"0x8D5060A05F874B2"'] + date: ['Fri, 16 Mar 2018 06:28:25 GMT'] + etag: ['"0x8D58B06ECB51370"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:44:06 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:27:00 GMT'] pragma: [no-cache] - request-id: [d4183526-6de8-4ec2-9fa3-ac3322e4e534] + request-id: [79cb651f-f04c-494b-9a60-8b387d93cb8d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -194,24 +228,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"},"nodeCount":2,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"Custom","customToolkitSettings":{"commandLine":"ssh - 10.0.0.5 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T00:44:06.24Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T00:44:07.477Z","executionState":"Succeeded","executionStateTransitionTime":"2017-09-28T00:44:47.44Z","executionInfo":{"startTime":"2017-09-28T00:44:07.692Z","endTime":"2017-09-28T00:44:47.44Z","exitCode":0}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/clusters/clusterbf5117e8"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7","nodeCount":2,"containerSettings":{"imageSourceRegistry":{"image":"ubuntu"}},"toolType":"custom","customToolkitSettings":{"commandLine":"ssh + 10.0.0.5 echo done && ssh 10.0.0.5 echo done"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:27:00.014Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:27:00.844Z","executionState":"succeeded","executionStateTransitionTime":"2018-03-16T06:28:14.129Z","executionInfo":{"startTime":"2018-03-16T06:27:01.849Z","endTime":"2018-03-16T06:28:14.129Z","exitCode":0}}}'} headers: cache-control: [no-cache] - content-length: ['1311'] + content-length: ['1477'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:45:08 GMT'] - etag: ['"0x8D5060A05F874B2"'] + date: ['Fri, 16 Mar 2018 06:28:27 GMT'] + etag: ['"0x8D58B06ECB51370"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 00:44:06 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:27:00 GMT'] pragma: [no-cache] - request-id: [6a71e2a5-276a-4f75-9a96-6fb324f31b42] + request-id: [e6407ade-08d0-44dd-a254-0177ade0d89d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -226,21 +261,22 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?outputdirectoryid=stdouterr&maxresults=1000&api-version=2017-09-01-preview&linkexpiryinminutes=60 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job/listOutputFiles?api-version=2018-03-01&outputdirectoryid=stdouterr&directory=.&linkexpiryinminutes=60&maxresults=1000 response: - body: {string: '{"value":[{"name":"stderr.txt","downloadUrl":"https://psdkbf5117e8.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/stderr.txt?sv=2016-05-31&sr=f&sig=FV5BPmUT%2BnwUcR8AxckLC2Papzv6XTz6MgGuUgLavqo%3D&se=2017-09-28T01%3A45%3A08Z&sp=rl","properties":{"lastModified":"2017-09-28T00:44:47Z","contentLength":160}},{"name":"stdout.txt","downloadUrl":"https://psdkbf5117e8.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/stdout.txt?sv=2016-05-31&sr=f&sig=dmooZ3uOMBonUCdxa7XbA95yXU00fx5kZM0BmOgJJI8%3D&se=2017-09-28T01%3A45%3A08Z&sp=rl","properties":{"lastModified":"2017-09-28T00:44:47Z","contentLength":10}}]}'} + body: {string: '{"value":[{"name":"execution-tvm-3516245985_1-20180316t062352z-p.log","isDirectory":false,"downloadUrl":"https://psdkbf5117e8.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7/stdouterr/execution-tvm-3516245985_1-20180316t062352z-p.log?sv=2016-05-31&sr=f&sig=J8WyZr0%2FCuKR5yCrgQOcwxQ9FQhwLmXNFabVkfk8iPY%3D&se=2018-03-16T07%3A28%3A29Z&sp=rl","properties":{"lastModified":"2018-03-16T06:28:11Z","contentLength":28569}},{"name":"execution-tvm-3516245985_2-20180316t062352z-p.log","isDirectory":false,"downloadUrl":"https://psdkbf5117e8.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7/stdouterr/execution-tvm-3516245985_2-20180316t062352z-p.log?sv=2016-05-31&sr=f&sig=JFMrgrFwLiZNuBeuThYfO6BC0J1GF74mCQA02nu0k5g%3D&se=2018-03-16T07%3A28%3A29Z&sp=rl","properties":{"lastModified":"2018-03-16T06:28:13Z","contentLength":23801}},{"name":"stderr.txt","isDirectory":false,"downloadUrl":"https://psdkbf5117e8.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=MmSDOG8pDIa4lgPWljC82KQ4qvW9rZWlPV%2FOC57BSOU%3D&se=2018-03-16T07%3A28%3A29Z&sp=rl","properties":{"lastModified":"2018-03-16T06:28:13Z","contentLength":160}},{"name":"stdout.txt","isDirectory":false,"downloadUrl":"https://psdkbf5117e8.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=YBipOqz8%2F%2FmLAtuo2QoP%2Fd8O0cT%2F2Y3ugepR3KGr%2BtI%3D&se=2018-03-16T07%3A28%3A29Z&sp=rl","properties":{"lastModified":"2018-03-16T06:28:13Z","contentLength":10}}]}'} headers: cache-control: [no-cache] - content-length: ['788'] + content-length: ['2004'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:45:08 GMT'] + date: ['Fri, 16 Mar 2018 06:28:29 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [6c45be37-979a-43bd-a905-0fb79bec254b] + request-id: [5ae09f4b-c74a-48eb-9729-afa6df1847dd] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -255,7 +291,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdkbf5117e8.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/stderr.txt?sv=2016-05-31&sr=f&sig=FV5BPmUT%2BnwUcR8AxckLC2Papzv6XTz6MgGuUgLavqo%3D&se=2017-09-28T01%3A45%3A08Z&sp=rl + uri: https://psdkbf5117e8.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7/stdouterr/stderr.txt?sv=2016-05-31&sr=f&sig=MmSDOG8pDIa4lgPWljC82KQ4qvW9rZWlPV%2FOC57BSOU%3D&se=2018-03-16T07%3A28%3A29Z&sp=rl response: body: {string: "Warning: Permanently added '[10.0.0.5]:23' (ECDSA) to the list\ \ of known hosts.\r\nWarning: Permanently added '[10.0.0.5]:23' (ECDSA) to\ @@ -264,9 +300,9 @@ interactions: accept-ranges: [bytes] content-length: ['160'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:45:09 GMT'] - etag: ['"0x8D5060A1E6E583C"'] - last-modified: ['Thu, 28 Sep 2017 00:44:47 GMT'] + date: ['Fri, 16 Mar 2018 06:28:30 GMT'] + etag: ['"0x8D58B071858F027"'] + last-modified: ['Fri, 16 Mar 2018 06:28:13 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -279,7 +315,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: https://psdkbf5117e8.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/stdout.txt?sv=2016-05-31&sr=f&sig=dmooZ3uOMBonUCdxa7XbA95yXU00fx5kZM0BmOgJJI8%3D&se=2017-09-28T01%3A45%3A08Z&sp=rl + uri: https://psdkbf5117e8.file.core.windows.net/share/00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/jobs/job/39d507e2-d04a-4354-88ab-8faa73410ec7/stdouterr/stdout.txt?sv=2016-05-31&sr=f&sig=YBipOqz8%2F%2FmLAtuo2QoP%2Fd8O0cT%2F2Y3ugepR3KGr%2BtI%3D&se=2018-03-16T07%3A28%3A29Z&sp=rl response: body: {string: 'done @@ -290,9 +326,9 @@ interactions: accept-ranges: [bytes] content-length: ['10'] content-type: [application/octet-stream] - date: ['Thu, 28 Sep 2017 00:45:09 GMT'] - etag: ['"0x8D5060A1E670436"'] - last-modified: ['Thu, 28 Sep 2017 00:44:47 GMT'] + date: ['Fri, 16 Mar 2018 06:28:32 GMT'] + etag: ['"0x8D58B0718579095"'] + last-modified: ['Fri, 16 Mar 2018 06:28:13 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2016-05-31'] @@ -305,22 +341,23 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/db4ee4c6-3913-4795-b492-25b93a3ceade?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7ff1d4e6-31ba-4e43-a91d-1d15d3a014c1?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 00:45:10 GMT'] + date: ['Fri, 16 Mar 2018 06:28:34 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/db4ee4c6-3913-4795-b492-25b93a3ceade?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/7ff1d4e6-31ba-4e43-a91d-1d15d3a014c1?api-version=2018-03-01'] pragma: [no-cache] - request-id: [8d8a8be3-f4cb-4262-b39e-82f41808ba10] + request-id: [9c101216-8b94-45a3-8873-999da7b21744] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] @@ -332,22 +369,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/db4ee4c6-3913-4795-b492-25b93a3ceade?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7ff1d4e6-31ba-4e43-a91d-1d15d3a014c1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/db4ee4c6-3913-4795-b492-25b93a3ceade","name":"db4ee4c6-3913-4795-b492-25b93a3ceade","status":"InProgress","startTime":"2017-09-28T00:45:10.977Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7ff1d4e6-31ba-4e43-a91d-1d15d3a014c1","name":"7ff1d4e6-31ba-4e43-a91d-1d15d3a014c1","status":"InProgress","startTime":"2018-03-16T06:28:34.946Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:45:26 GMT'] + date: ['Fri, 16 Mar 2018 06:28:50 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [a7f26f2b-e7a8-48a3-88ec-c2730a1be0e4] + request-id: [f51a8301-8c44-459b-b3a9-be3f8615476b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -360,22 +396,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/db4ee4c6-3913-4795-b492-25b93a3ceade?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7ff1d4e6-31ba-4e43-a91d-1d15d3a014c1?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/db4ee4c6-3913-4795-b492-25b93a3ceade","name":"db4ee4c6-3913-4795-b492-25b93a3ceade","status":"InProgress","startTime":"2017-09-28T00:45:10.977Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7ff1d4e6-31ba-4e43-a91d-1d15d3a014c1","name":"7ff1d4e6-31ba-4e43-a91d-1d15d3a014c1","status":"Succeeded","startTime":"2018-03-16T06:28:34.946Z","endTime":"2018-03-16T06:29:05.729Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8$job"}}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['472'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:45:57 GMT'] + date: ['Fri, 16 Mar 2018 06:29:23 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [3a4a4349-aadf-43d3-b73c-1511e18694e0] + request-id: [e6d8d037-b110-4df0-bcaf-0248c74b429c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -389,39 +424,12 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/db4ee4c6-3913-4795-b492-25b93a3ceade?api-version=2017-09-01-preview - response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/db4ee4c6-3913-4795-b492-25b93a3ceade","name":"db4ee4c6-3913-4795-b492-25b93a3ceade","status":"Succeeded","startTime":"2017-09-28T00:45:10.977Z","endTime":"2017-09-28T00:46:12.185Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8$job"}}'} - headers: - cache-control: [no-cache] - content-length: ['468'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:46:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - request-id: [9da2cbde-9665-48fa-b36a-23a14eb7cd14] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.BatchAI/jobs/job'' under resource group ''test_mgmt_batchai_jobs_test_password_less_ssh_in_containerbf5117e8'' @@ -430,10 +438,11 @@ interactions: cache-control: [no-cache] content-length: ['196'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 00:46:29 GMT'] + date: ['Fri, 16 Mar 2018 06:29:24 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] x-ms-failure-cause: [gateway] status: {code: 404, message: Not Found} version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_queued_job_termination.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_queued_job_termination.yaml index 04d58725499c..db66b32ed4a4 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_queued_job_termination.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_queued_job_termination.yaml @@ -1,37 +1,39 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", - "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/clusters/clustera031486"}, - "nodeCount": 1, "customToolkitSettings": {"commandLine": "true"}, "inputDirectories": - [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "priority": - 0, "outputDirectories": [{"pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", - "type": "custom", "id": "OUTPUTS", "pathSuffix": "files", "createNew": true}]}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/clusters/clustera031486"}, + "nodeCount": 1, "customToolkitSettings": {"commandLine": "true"}, "stdOutErrPathPrefix": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": [{"id": "INPUT", "path": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": [{"id": "OUTPUTS", + "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": "files", "type": + "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['616'] + Content-Length: ['617'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/b5736a42-4260-4882-94e2-2a85ba5fc716?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b8e9a405-74d2-4085-9037-cc20bfbc0d1f?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 02:12:27 GMT'] + date: ['Fri, 16 Mar 2018 06:36:36 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/b5736a42-4260-4882-94e2-2a85ba5fc716?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/b8e9a405-74d2-4085-9037-cc20bfbc0d1f?api-version=2018-03-01'] pragma: [no-cache] - request-id: [3a486d81-1576-46df-8b22-9b9f8a79c39a] + request-id: [f55c17bd-e4d5-4bfb-9c19-dce389ed60c3] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] status: {code: 202, message: Accepted} - request: body: null @@ -39,22 +41,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/b5736a42-4260-4882-94e2-2a85ba5fc716?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b8e9a405-74d2-4085-9037-cc20bfbc0d1f?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/b5736a42-4260-4882-94e2-2a85ba5fc716","name":"b5736a42-4260-4882-94e2-2a85ba5fc716","status":"Succeeded","startTime":"2017-09-28T02:12:27.436Z","endTime":"2017-09-28T02:12:28.92Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_queued_job_terminationa031486$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b8e9a405-74d2-4085-9037-cc20bfbc0d1f","name":"b8e9a405-74d2-4085-9037-cc20bfbc0d1f","status":"Succeeded","startTime":"2018-03-16T06:36:36.607Z","endTime":"2018-03-16T06:36:37.263Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_queued_job_terminationa031486$job"}}'} headers: cache-control: [no-cache] - content-length: ['458'] + content-length: ['463'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:12:43 GMT'] + date: ['Fri, 16 Mar 2018 06:36:52 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [f8b41cdf-06ed-4b0a-9849-14cfa39dc104] + request-id: [034d57af-3ffa-421a-8e9e-3a39625efba7] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -67,24 +68,23 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/clusters/clustera031486"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T02:12:27.42Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T02:12:28.873Z","executionState":"Queued","executionStateTransitionTime":"2017-09-28T02:12:29.012Z"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/clusters/clustera031486"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/jobs/job/44894223-ba3f-4566-97aa-2197fdea0243","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:36:36.591Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:36:37.232Z","executionState":"queued","executionStateTransitionTime":"2018-03-16T06:36:36.591Z"}}'} headers: cache-control: [no-cache] - content-length: ['1077'] + content-length: ['1232'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:12:45 GMT'] - etag: ['"0x8D506165DB8601D"'] + date: ['Fri, 16 Mar 2018 06:36:54 GMT'] + etag: ['"0x8D58B08445FC36E"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 02:12:27 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:36:36 GMT'] pragma: [no-cache] - request-id: [3271a814-f2be-405a-a939-e2a55f1d6984] + request-id: [762e955e-44f2-4c64-96ce-bee15773bab0] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -99,26 +99,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job/terminate?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job/terminate?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/312d2d45-1dd2-405d-874f-34b27c5b1d72?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/ff1e97f4-4d97-44be-a6c3-a90340ef27db?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 02:12:45 GMT'] + date: ['Fri, 16 Mar 2018 06:36:56 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/312d2d45-1dd2-405d-874f-34b27c5b1d72?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/ff1e97f4-4d97-44be-a6c3-a90340ef27db?api-version=2018-03-01'] pragma: [no-cache] - request-id: [4a4b8cb6-71cf-4504-98d9-728e9641b42f] + request-id: [ef973ccf-e42f-459a-90de-7c3e176e899b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -126,22 +127,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/312d2d45-1dd2-405d-874f-34b27c5b1d72?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/ff1e97f4-4d97-44be-a6c3-a90340ef27db?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/312d2d45-1dd2-405d-874f-34b27c5b1d72","name":"312d2d45-1dd2-405d-874f-34b27c5b1d72","status":"InProgress","startTime":"2017-09-28T02:12:45.932Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/ff1e97f4-4d97-44be-a6c3-a90340ef27db","name":"ff1e97f4-4d97-44be-a6c3-a90340ef27db","status":"Succeeded","startTime":"2018-03-16T06:36:57.123Z","endTime":"2018-03-16T06:36:57.435Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_queued_job_terminationa031486$job"}}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['463'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:13:02 GMT'] + date: ['Fri, 16 Mar 2018 06:37:12 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [12ab3349-a6d8-4577-834b-7d526487e948] + request-id: [3f17ce73-fe8a-48c3-94a5-116531a88787] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -155,52 +155,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/312d2d45-1dd2-405d-874f-34b27c5b1d72?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/312d2d45-1dd2-405d-874f-34b27c5b1d72","name":"312d2d45-1dd2-405d-874f-34b27c5b1d72","status":"Succeeded","startTime":"2017-09-28T02:12:45.932Z","endTime":"2017-09-28T02:13:17.852Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_queued_job_terminationa031486$job"}}'} - headers: - cache-control: [no-cache] - content-length: ['459'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:13:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - request-id: [02ee0edd-67f3-413e-adf3-b0f49048b477] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/clusters/clustera031486"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"true"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T02:12:27.42Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T02:12:28.873Z","executionState":"Failed","executionStateTransitionTime":"2017-09-28T02:13:17.836Z","executionInfo":{"startTime":"2017-09-28T02:12:45.979Z","endTime":"2017-09-28T02:13:17.836Z","errors":[{"code":"JobTerminate","message":"The + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/clusters/clustera031486"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/jobs/job/44894223-ba3f-4566-97aa-2197fdea0243","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"true"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:36:36.591Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:36:37.232Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T06:36:57.424Z","executionInfo":{"startTime":"2018-03-16T06:36:57.232Z","endTime":"2018-03-16T06:36:57.424Z","errors":[{"code":"JobTerminate","message":"The specified job has been terminated by the user"}]}}}'} headers: cache-control: [no-cache] - content-length: ['1268'] + content-length: ['1423'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:13:33 GMT'] - etag: ['"0x8D506165DB8601D"'] + date: ['Fri, 16 Mar 2018 06:37:14 GMT'] + etag: ['"0x8D58B08445FC36E"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 02:12:27 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:36:36 GMT'] pragma: [no-cache] - request-id: [b3cb2ae2-d05c-4222-8235-c5f8e991b5fd] + request-id: [91326118-d7f7-416e-8e1b-4cc5c4da363c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -215,26 +188,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/913e1dd7-3320-4823-84f7-0e71307846b6?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/a4c65ebb-536b-41e3-9fa2-f717141ac2dd?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 02:13:35 GMT'] + date: ['Fri, 16 Mar 2018 06:37:17 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/913e1dd7-3320-4823-84f7-0e71307846b6?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/a4c65ebb-536b-41e3-9fa2-f717141ac2dd?api-version=2018-03-01'] pragma: [no-cache] - request-id: [fd797458-fa18-4947-a4dc-36c371687f10] + request-id: [48a27aa6-e16f-4079-85f4-515a3efb9c7b] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -242,22 +216,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/913e1dd7-3320-4823-84f7-0e71307846b6?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/a4c65ebb-536b-41e3-9fa2-f717141ac2dd?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/913e1dd7-3320-4823-84f7-0e71307846b6","name":"913e1dd7-3320-4823-84f7-0e71307846b6","status":"Succeeded","startTime":"2017-09-28T02:13:35.249Z","endTime":"2017-09-28T02:13:36.034Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_queued_job_terminationa031486$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/a4c65ebb-536b-41e3-9fa2-f717141ac2dd","name":"a4c65ebb-536b-41e3-9fa2-f717141ac2dd","status":"Succeeded","startTime":"2018-03-16T06:37:17.395Z","endTime":"2018-03-16T06:37:18.124Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_queued_job_terminationa031486$job"}}'} headers: cache-control: [no-cache] - content-length: ['459'] + content-length: ['463'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:13:51 GMT'] + date: ['Fri, 16 Mar 2018 06:37:34 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [52c94f24-cba0-4eb7-a9a7-04d6461798b6] + request-id: [22e91e4b-85f8-43c8-be08-27ed084576db] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -271,23 +244,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_queued_job_terminationa031486/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.BatchAI/jobs/job'' - under resource group ''test_mgmt_batchai_jobs_test_queued_job_terminationa031486'' - was not found."}}'} + body: {string: '{"error":{"code":"JobNotFound","message":"The specified job job + is not found"}}'} headers: cache-control: [no-cache] - content-length: ['187'] + content-length: ['79'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:13:51 GMT'] + date: ['Fri, 16 Mar 2018 06:37:34 GMT'] expires: ['-1'] pragma: [no-cache] + request-id: [cd3aa173-a48e-4c4e-b619-4b231dcb355a] + server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-failure-cause: [gateway] - status: {code: 404, message: Not Found} + x-content-type-options: [nosniff] + status: {code: 404, message: The specified job job is not found} version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_running_job_deletion.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_running_job_deletion.yaml index 1d507b8cf7bf..fd40d1d22739 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_running_job_deletion.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_running_job_deletion.yaml @@ -1,37 +1,39 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", - "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/clusters/clustere1ae13a8"}, - "nodeCount": 1, "customToolkitSettings": {"commandLine": "sleep 600"}, "inputDirectories": - [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "priority": - 0, "outputDirectories": [{"pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", - "type": "custom", "id": "OUTPUTS", "pathSuffix": "files", "createNew": true}]}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/clusters/clustere1ae13a8"}, + "nodeCount": 1, "customToolkitSettings": {"commandLine": "sleep 600"}, "stdOutErrPathPrefix": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": [{"id": "INPUT", "path": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": [{"id": "OUTPUTS", + "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": "files", "type": + "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['621'] + Content-Length: ['622'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/c8109be8-5999-4791-a635-741175707729?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b12255f8-b7de-40e9-893a-a981dc38536a?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 02:18:48 GMT'] + date: ['Fri, 16 Mar 2018 06:43:34 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/c8109be8-5999-4791-a635-741175707729?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/b12255f8-b7de-40e9-893a-a981dc38536a?api-version=2018-03-01'] pragma: [no-cache] - request-id: [f4456461-bf58-4190-87be-c94d2394aa6d] + request-id: [29ded49e-2ebf-4de9-8101-5fec87ddc9b0] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -39,22 +41,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/c8109be8-5999-4791-a635-741175707729?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b12255f8-b7de-40e9-893a-a981dc38536a?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/c8109be8-5999-4791-a635-741175707729","name":"c8109be8-5999-4791-a635-741175707729","status":"Succeeded","startTime":"2017-09-28T02:18:48.647Z","endTime":"2017-09-28T02:18:49.622Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8$job"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/b12255f8-b7de-40e9-893a-a981dc38536a","name":"b12255f8-b7de-40e9-893a-a981dc38536a","status":"Succeeded","startTime":"2018-03-16T06:43:33.719Z","endTime":"2018-03-16T06:43:34.829Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8$job"}}'} headers: cache-control: [no-cache] - content-length: ['458'] + content-length: ['462'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:19:04 GMT'] + date: ['Fri, 16 Mar 2018 06:43:49 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [7c466295-ff7f-4608-9ceb-fae86184a044] + request-id: [af0e808c-fe2a-4c74-9df8-2f6fdebd5c50] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -67,25 +68,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/clusters/clustere1ae13a8"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"sleep - 600"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T02:18:48.631Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T02:18:49.606Z","executionState":"Running","executionStateTransitionTime":"2017-09-28T02:18:50.792Z","executionInfo":{"startTime":"2017-09-28T02:18:49.877Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/clusters/clustere1ae13a8"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/jobs/job/9447624d-9fd2-4b1c-bd5e-e5c6d4bf275a","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"sleep + 600"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:43:33.688Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:43:34.813Z","executionState":"running","executionStateTransitionTime":"2018-03-16T06:43:36.747Z","executionInfo":{"startTime":"2018-03-16T06:43:36.174Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1140'] + content-length: ['1293'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:19:06 GMT'] - etag: ['"0x8D5061740F09077"'] + date: ['Fri, 16 Mar 2018 06:43:52 GMT'] + etag: ['"0x8D58B093CFBA2F0"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 02:18:48 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:43:33 GMT'] pragma: [no-cache] - request-id: [eef5d93f-f651-424b-9e9f-cb4f1aa7e96a] + request-id: [333a31e6-5fc9-4d87-b2da-c7e69f510db9] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -99,24 +99,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/clusters/clustere1ae13a8"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"sleep - 600"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T02:18:48.631Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T02:18:49.606Z","executionState":"Running","executionStateTransitionTime":"2017-09-28T02:18:50.792Z","executionInfo":{"startTime":"2017-09-28T02:18:49.877Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job","name":"job","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/clusters/clustere1ae13a8"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/jobs/job/9447624d-9fd2-4b1c-bd5e-e5c6d4bf275a","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"sleep + 600"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:43:33.688Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:43:34.813Z","executionState":"running","executionStateTransitionTime":"2018-03-16T06:43:36.747Z","executionInfo":{"startTime":"2018-03-16T06:43:36.174Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1140'] + content-length: ['1293'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:19:07 GMT'] - etag: ['"0x8D5061740F09077"'] + date: ['Fri, 16 Mar 2018 06:43:53 GMT'] + etag: ['"0x8D58B093CFBA2F0"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 02:18:48 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:43:33 GMT'] pragma: [no-cache] - request-id: [d250b91c-61d1-449d-b89b-3fe7b14d32f0] + request-id: [8d6bae66-a480-4af3-9eea-a1bab54a6e4a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -131,26 +132,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/6fca55a6-f568-4311-a476-998b2572a766?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7999638e-3f2c-454c-8bef-948134b83c12?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 02:19:08 GMT'] + date: ['Fri, 16 Mar 2018 06:43:56 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/6fca55a6-f568-4311-a476-998b2572a766?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/7999638e-3f2c-454c-8bef-948134b83c12?api-version=2018-03-01'] pragma: [no-cache] - request-id: [98eaa054-b916-4dc7-b7f0-1c75f9d2b089] + request-id: [d9ff4c6a-2bb9-464d-b1a0-55a6045f5f96] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -158,22 +160,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/6fca55a6-f568-4311-a476-998b2572a766?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7999638e-3f2c-454c-8bef-948134b83c12?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/6fca55a6-f568-4311-a476-998b2572a766","name":"6fca55a6-f568-4311-a476-998b2572a766","status":"InProgress","startTime":"2017-09-28T02:19:08.608Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7999638e-3f2c-454c-8bef-948134b83c12","name":"7999638e-3f2c-454c-8bef-948134b83c12","status":"InProgress","startTime":"2018-03-16T06:43:56.189Z"}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:19:25 GMT'] + date: ['Fri, 16 Mar 2018 06:44:12 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [52d984b6-cb5a-4816-8065-3aeb56696141] + request-id: [03191573-6fbf-44c9-9822-13fec107d45d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -186,22 +187,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/6fca55a6-f568-4311-a476-998b2572a766?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7999638e-3f2c-454c-8bef-948134b83c12?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/6fca55a6-f568-4311-a476-998b2572a766","name":"6fca55a6-f568-4311-a476-998b2572a766","status":"InProgress","startTime":"2017-09-28T02:19:08.608Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/7999638e-3f2c-454c-8bef-948134b83c12","name":"7999638e-3f2c-454c-8bef-948134b83c12","status":"Succeeded","startTime":"2018-03-16T06:43:56.189Z","endTime":"2018-03-16T06:44:29.442Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8$job"}}'} headers: cache-control: [no-cache] - content-length: ['294'] + content-length: ['462'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:19:56 GMT'] + date: ['Fri, 16 Mar 2018 06:44:43 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [ce4bcfa0-a3a3-433c-8e68-2d6b0b872a3b] + request-id: [9cd12b1c-840a-4eab-96e6-047fc8e26018] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -215,51 +215,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/6fca55a6-f568-4311-a476-998b2572a766?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/6fca55a6-f568-4311-a476-998b2572a766","name":"6fca55a6-f568-4311-a476-998b2572a766","status":"Succeeded","startTime":"2017-09-28T02:19:08.608Z","endTime":"2017-09-28T02:20:09.599Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8$job"}}'} + body: {string: '{"error":{"code":"JobNotFound","message":"The specified job job + is not found"}}'} headers: cache-control: [no-cache] - content-length: ['458'] + content-length: ['79'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:20:27 GMT'] + date: ['Fri, 16 Mar 2018 06:44:45 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [ac25a0a8-e1ce-4b5a-a746-7e4e8a04145e] + request-id: [c3fa719b-e609-4351-b4b3-6c1ffc80aebb] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8/providers/Microsoft.BatchAI/jobs/job?api-version=2017-09-01-preview - response: - body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.BatchAI/jobs/job'' - under resource group ''test_mgmt_batchai_jobs_test_running_job_deletione1ae13a8'' - was not found."}}'} - headers: - cache-control: [no-cache] - content-length: ['186'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:20:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-failure-cause: [gateway] - status: {code: 404, message: Not Found} + status: {code: 404, message: The specified job job is not found} version: 1 diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_running_job_termination.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_running_job_termination.yaml index 58e9cb549419..caf6fed5757f 100644 --- a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_running_job_termination.yaml +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_jobs.test_running_job_termination.yaml @@ -1,37 +1,39 @@ interactions: - request: - body: 'b''{"location": "eastus", "properties": {"stdOutErrPathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles", - "cluster": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/clusters/cluster200514fe"}, - "nodeCount": 1, "customToolkitSettings": {"commandLine": "sleep 600"}, "inputDirectories": - [{"id": "INPUT", "path": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "priority": - 0, "outputDirectories": [{"pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", - "type": "custom", "id": "OUTPUTS", "pathSuffix": "files", "createNew": true}]}}''' + body: 'b''b\''b\\\''{"location": "westeurope", "properties": {"priority": 0, "cluster": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/clusters/cluster200514fe"}, + "nodeCount": 1, "customToolkitSettings": {"commandLine": "sleep 600"}, "stdOutErrPathPrefix": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles", "inputDirectories": [{"id": "INPUT", "path": + "$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}], "outputDirectories": [{"id": "OUTPUTS", + "pathPrefix": "$AZ_BATCHAI_MOUNT_ROOT/azfiles/", "pathSuffix": "files", "type": + "custom", "createNew": true}]}}\\\''\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Length: ['624'] + Content-Length: ['625'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f1ac9771-94b7-4091-b66f-632c50cf656b?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/13030a46-3048-47a2-a1b2-27867425b105?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 02:29:52 GMT'] + date: ['Fri, 16 Mar 2018 06:56:28 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f1ac9771-94b7-4091-b66f-632c50cf656b?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/13030a46-3048-47a2-a1b2-27867425b105?api-version=2018-03-01'] pragma: [no-cache] - request-id: [2ce3e892-5497-4cd8-a6cb-ddcbd3b25e80] + request-id: [250f6611-3828-4bdc-b50b-84b87d0e9d47] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -39,22 +41,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f1ac9771-94b7-4091-b66f-632c50cf656b?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/13030a46-3048-47a2-a1b2-27867425b105?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/f1ac9771-94b7-4091-b66f-632c50cf656b","name":"f1ac9771-94b7-4091-b66f-632c50cf656b","status":"Succeeded","startTime":"2017-09-28T02:29:52.89Z","endTime":"2017-09-28T02:29:53.921Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_running_job_termination200514fe$longrunning"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/13030a46-3048-47a2-a1b2-27867425b105","name":"13030a46-3048-47a2-a1b2-27867425b105","status":"Succeeded","startTime":"2018-03-16T06:56:29.699Z","endTime":"2018-03-16T06:56:30.432Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_running_job_termination200514fe$longrunning"}}'} headers: cache-control: [no-cache] - content-length: ['468'] + content-length: ['473'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:30:08 GMT'] + date: ['Fri, 16 Mar 2018 06:56:45 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [5e629f62-79ce-41c1-8ecf-8a3b1bc0a867] + request-id: [5ec93803-1393-437b-9dbc-93d8b591739c] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -67,25 +68,24 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning","name":"longrunning","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/clusters/cluster200514fe"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"sleep - 600"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T02:29:52.874Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T02:29:53.903Z","executionState":"Running","executionStateTransitionTime":"2017-09-28T02:29:56.92Z","executionInfo":{"startTime":"2017-09-28T02:29:54.19Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning","name":"longrunning","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/clusters/cluster200514fe"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_running_job_termination200514fe/jobs/longrunning/947bc0cb-a474-479b-ab2d-086229c33e1a","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"sleep + 600"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:56:29.699Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:56:30.417Z","executionState":"running","executionStateTransitionTime":"2018-03-16T06:56:31.614Z","executionInfo":{"startTime":"2018-03-16T06:56:31.03Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1160'] + content-length: ['1325'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:30:09 GMT'] - etag: ['"0x8D50618CCDC0F69"'] + date: ['Fri, 16 Mar 2018 06:56:47 GMT'] + etag: ['"0x8D58B0B0B857EC4"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 02:29:52 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:56:29 GMT'] pragma: [no-cache] - request-id: [7c26d927-932f-458a-a057-f2ee1bff523f] + request-id: [7c6204f0-0316-4fd9-93b7-676ed268113d] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -99,24 +99,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning","name":"longrunning","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/clusters/cluster200514fe"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"sleep - 600"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T02:29:52.874Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T02:29:53.903Z","executionState":"Running","executionStateTransitionTime":"2017-09-28T02:29:56.92Z","executionInfo":{"startTime":"2017-09-28T02:29:54.19Z"}}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning","name":"longrunning","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/clusters/cluster200514fe"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_running_job_termination200514fe/jobs/longrunning/947bc0cb-a474-479b-ab2d-086229c33e1a","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"sleep + 600"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:56:29.699Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:56:30.417Z","executionState":"running","executionStateTransitionTime":"2018-03-16T06:56:31.614Z","executionInfo":{"startTime":"2018-03-16T06:56:31.03Z"}}}'} headers: cache-control: [no-cache] - content-length: ['1160'] + content-length: ['1325'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:30:10 GMT'] - etag: ['"0x8D50618CCDC0F69"'] + date: ['Fri, 16 Mar 2018 06:56:48 GMT'] + etag: ['"0x8D58B0B0B857EC4"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 02:29:52 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:56:29 GMT'] pragma: [no-cache] - request-id: [41033795-5f19-4410-a520-5f39551dae28] + request-id: [cdae6d4d-3a9a-4a76-afb3-53fe7bfeb8f2] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -131,26 +132,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning/terminate?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning/terminate?api-version=2018-03-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2942730e-5547-459e-a647-6811cc8a010c?api-version=2017-09-01-preview'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/86a2cd34-719e-4c6c-b172-8f685f426ce5?api-version=2018-03-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Sep 2017 02:30:11 GMT'] + date: ['Fri, 16 Mar 2018 06:56:50 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2942730e-5547-459e-a647-6811cc8a010c?api-version=2017-09-01-preview'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationstatuses/86a2cd34-719e-4c6c-b172-8f685f426ce5?api-version=2018-03-01'] pragma: [no-cache] - request-id: [ec63832a-95c6-41c6-a89f-8bf165a9c60a] + request-id: [0c500a2b-a41a-4a1a-b2b4-1e3f983d503f] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -158,22 +160,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2942730e-5547-459e-a647-6811cc8a010c?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/86a2cd34-719e-4c6c-b172-8f685f426ce5?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2942730e-5547-459e-a647-6811cc8a010c","name":"2942730e-5547-459e-a647-6811cc8a010c","status":"InProgress","startTime":"2017-09-28T02:30:11.76Z"}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/86a2cd34-719e-4c6c-b172-8f685f426ce5","name":"86a2cd34-719e-4c6c-b172-8f685f426ce5","status":"InProgress","startTime":"2018-03-16T06:56:50.328Z"}'} headers: cache-control: [no-cache] - content-length: ['293'] + content-length: ['298'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:30:27 GMT'] + date: ['Fri, 16 Mar 2018 06:57:06 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [409b6425-347f-4815-b987-6937b67b74e3] + request-id: [42293516-8a99-4ed3-a48d-b4870c8421f2] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -186,50 +187,21 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2942730e-5547-459e-a647-6811cc8a010c?api-version=2017-09-01-preview - response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2942730e-5547-459e-a647-6811cc8a010c","name":"2942730e-5547-459e-a647-6811cc8a010c","status":"InProgress","startTime":"2017-09-28T02:30:11.76Z"}'} - headers: - cache-control: [no-cache] - content-length: ['293'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:30:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - request-id: [33b4eed3-574c-4a56-b95b-39a58a6014ab] - server: [Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2942730e-5547-459e-a647-6811cc8a010c?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/86a2cd34-719e-4c6c-b172-8f685f426ce5?api-version=2018-03-01 response: - body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/eastus/operationresults/2942730e-5547-459e-a647-6811cc8a010c","name":"2942730e-5547-459e-a647-6811cc8a010c","status":"Succeeded","startTime":"2017-09-28T02:30:11.76Z","endTime":"2017-09-28T02:31:12.674Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_running_job_termination200514fe$longrunning"}}'} + body: {string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/operationresults/86a2cd34-719e-4c6c-b172-8f685f426ce5","name":"86a2cd34-719e-4c6c-b172-8f685f426ce5","status":"Succeeded","startTime":"2018-03-16T06:56:50.328Z","endTime":"2018-03-16T06:57:20.885Z","properties":{"resourceId":"00000000-0000-0000-0000-000000000000$test_mgmt_batchai_jobs_test_running_job_termination200514fe$longrunning"}}'} headers: cache-control: [no-cache] - content-length: ['468'] + content-length: ['473'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:31:30 GMT'] + date: ['Fri, 16 Mar 2018 06:57:38 GMT'] expires: ['-1'] pragma: [no-cache] - request-id: [793dcecb-915a-4735-8e14-630b1a28db65] + request-id: [fad63804-d1d4-4ccb-9400-9a850d42977a] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] @@ -243,25 +215,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Linux-4.10.0-35-generic-x86_64-with-Ubuntu-17.04-zesty) - requests/2.18.4 msrest/0.4.14 msrest_azure/0.4.14 batchaiclient/0.2.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning?api-version=2017-09-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning?api-version=2018-03-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning","name":"longrunning","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/clusters/cluster200514fe"},"nodeCount":1,"toolType":"Custom","customToolkitSettings":{"commandLine":"sleep - 600"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"Custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D","maxRetryCount":0},"creationTime":"2017-09-28T02:29:52.874Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-09-28T02:29:53.903Z","executionState":"Failed","executionStateTransitionTime":"2017-09-28T02:31:12.656Z","executionInfo":{"startTime":"2017-09-28T02:29:54.19Z","endTime":"2017-09-28T02:31:12.656Z","errors":[{"code":"JobTerminate","message":"The + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/jobs/longrunning","name":"longrunning","type":"Microsoft.BatchAI/Jobs","properties":{"priority":0,"cluster":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batchai_jobs_test_running_job_termination200514fe/providers/Microsoft.BatchAI/clusters/cluster200514fe"},"jobOutputDirectoryPathSegment":"00000000-0000-0000-0000-000000000000/test_mgmt_batchai_jobs_test_running_job_termination200514fe/jobs/longrunning/947bc0cb-a474-479b-ab2d-086229c33e1a","nodeCount":1,"toolType":"custom","customToolkitSettings":{"commandLine":"sleep + 600"},"stdOutErrPathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles","inputDirectories":[{"id":"INPUT","path":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/input"}],"outputDirectories":[{"id":"OUTPUTS","pathPrefix":"$AZ_BATCHAI_MOUNT_ROOT/azfiles/","pathSuffix":"files","type":"custom","createNew":true}],"constraints":{"maxWallClockTime":"P7D"},"creationTime":"2018-03-16T06:56:29.699Z","provisioningState":"succeeded","provisioningStateTransitionTime":"2018-03-16T06:56:30.417Z","executionState":"failed","executionStateTransitionTime":"2018-03-16T06:57:20.838Z","executionInfo":{"startTime":"2018-03-16T06:56:31.03Z","endTime":"2018-03-16T06:57:20.838Z","errors":[{"code":"JobTerminate","message":"The specified job has been terminated by the user"}]}}}'} headers: cache-control: [no-cache] - content-length: ['1294'] + content-length: ['1458'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Sep 2017 02:31:31 GMT'] - etag: ['"0x8D50618CCDC0F69"'] + date: ['Fri, 16 Mar 2018 06:57:38 GMT'] + etag: ['"0x8D58B0B0B857EC4"'] expires: ['-1'] - last-modified: ['Thu, 28 Sep 2017 02:29:52 GMT'] + last-modified: ['Fri, 16 Mar 2018 06:56:29 GMT'] pragma: [no-cache] - request-id: [217aa48c-bf6c-4970-9849-473b4695b0f9] + request-id: [aad8c3ae-59fb-4674-91ea-92a66d9407e8] server: [Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] diff --git a/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_quota_and_usage.test_quota_and_usage.yaml b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_quota_and_usage.test_quota_and_usage.yaml new file mode 100644 index 000000000000..f58efe02fe51 --- /dev/null +++ b/azure-mgmt-batchai/tests/recordings/test_mgmt_batchai_quota_and_usage.test_quota_and_usage.yaml @@ -0,0 +1,52 @@ +interactions: +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Linux-4.15.6-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven) + requests/2.18.4 msrest/0.4.27 msrest_azure/0.4.22 azure-mgmt-batchai/1.0.0 + Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.BatchAI/locations/westeurope/usages?api-version=2018-03-01 + response: + body: {string: '{"value":[{"unit":"Count","currentValue":3,"limit":20,"name":{"value":"Clusters","localizedValue":"Clusters"}},{"unit":"Count","currentValue":3,"limit":24,"name":{"value":"Total + Cluster Dedicated Regional vCPUs","localizedValue":"Total Cluster Dedicated + Regional vCPUs"}},{"unit":"Count","currentValue":3,"limit":24,"name":{"value":"Standard + D Family Cluster Dedicated vCPUs","localizedValue":"Standard D Family Cluster + Dedicated vCPUs"}},{"unit":"Count","currentValue":0,"limit":24,"name":{"value":"Standard + Dv2 Family Cluster Dedicated vCPUs","localizedValue":"Standard Dv2 Family + Cluster Dedicated vCPUs"}},{"unit":"Count","currentValue":0,"limit":24,"name":{"value":"Standard + NC Family Cluster Dedicated vCPUs","localizedValue":"Standard NC Family Cluster + Dedicated vCPUs"}},{"unit":"Count","currentValue":0,"limit":24,"name":{"value":"Standard + NV Family Cluster Dedicated vCPUs","localizedValue":"Standard NV Family Cluster + Dedicated vCPUs"}},{"unit":"Count","currentValue":0,"limit":24,"name":{"value":"Total + Cluster LowPriority Regional vCPUs","localizedValue":"Total Cluster Low Priority + Regional vCPUs"}},{"unit":"Count","currentValue":0,"limit":24,"name":{"value":"Standard + D Family Cluster LowPriority vCPUs","localizedValue":"Standard D Family Cluster + Low Priority vCPUs"}},{"unit":"Count","currentValue":0,"limit":24,"name":{"value":"Standard + Dv2 Family Cluster LowPriority vCPUs","localizedValue":"Standard Dv2 Family + Cluster Low Priority vCPUs"}},{"unit":"Count","currentValue":0,"limit":24,"name":{"value":"Standard + NC Family Cluster LowPriority vCPUs","localizedValue":"Standard NC Family + Cluster Low Priority vCPUs"}},{"unit":"Count","currentValue":0,"limit":24,"name":{"value":"Standard + NV Family Cluster LowPriority vCPUs","localizedValue":"Standard NV Family + Cluster Low Priority vCPUs"}},{"unit":"Count","currentValue":0,"limit":20,"name":{"value":"ActiveJobs","localizedValue":"Active + Jobs"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['1917'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 16 Mar 2018 17:32:50 GMT'] + expires: ['-1'] + pragma: [no-cache] + request-id: [f4ce8722-55d5-48d0-b40c-3f1cffd9feb8] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt-batchai/tests/test_mgmt_batchai_clusters.py b/azure-mgmt-batchai/tests/test_mgmt_batchai_clusters.py index afa1e699c3a6..2afd734761d8 100644 --- a/azure-mgmt-batchai/tests/test_mgmt_batchai_clusters.py +++ b/azure-mgmt-batchai/tests/test_mgmt_batchai_clusters.py @@ -18,7 +18,7 @@ class ClusterTestCase(AzureMgmtTestCase): def setUp(self): super(ClusterTestCase, self).setUp() - self.client = self.create_mgmt_client(BatchAIManagementClient) # type: BatchAIManagementClient + self.client = helpers.create_batchai_client(self) # type: BatchAIManagementClient self.cluster_name = self.get_resource_name('cluster') @ResourceGroupPreparer(location=helpers.LOCATION) @@ -62,11 +62,12 @@ def test_creation_and_deletion(self, resource_group, location, storage_account, def test_setup_task_execution(self, resource_group, location, storage_account, storage_account_key): """Tests setup task execution. """ - helpers.create_cluster( + cluster = helpers.create_cluster( self.client, location, resource_group.name, self.cluster_name, 'STANDARD_D1', 1, storage_account.name, storage_account_key, - setup_task_cmd='echo $GREETING', - setup_task_env={"GREETING": "setup task"}) + setup_task_cmd='echo $GREETING $SECRET_GREETING', + setup_task_env={'GREETING': 'setup task'}, + setup_task_secrets={'SECRET_GREETING': 'has a secret'}) # type: models.Cluster # Verify that the cluster is reported in the list of clusters helpers.assert_existing_clusters_are(self, self.client, resource_group.name, [self.cluster_name]) @@ -76,14 +77,20 @@ def test_setup_task_execution(self, resource_group, location, storage_account, s helpers.wait_for_nodes(self.is_live, self.client, resource_group.name, self.cluster_name, 1, helpers.NODE_STARTUP_TIMEOUT_SEC), 1) - # Verify that the setup task is completed by checking generated output - setup_task_output_path = '{0}/{1}/clusters/{2}'.format(self.client.config.subscription_id, - resource_group.name, self.cluster_name) + # Check that server doesn't return values for secrets + self.assertEqual(len(cluster.node_setup.setup_task.secrets), 1) + self.assertEqual(cluster.node_setup.setup_task.secrets[0].name, 'SECRET_GREETING') + self.assertIsNone(cluster.node_setup.setup_task.secrets[0].value) + # Verify that the setup task is completed by checking generated output. BatchAI reports a path which was auto- + # generated for storing setup output logs. + setup_task_output_path = cluster.node_setup.setup_task.std_out_err_path_suffix nodes = helpers.get_node_ids(self.client, resource_group.name, self.cluster_name) self.assertEqual(len(nodes), 1) node_id = nodes[0] helpers.assert_file_in_file_share(self, storage_account.name, storage_account_key, - setup_task_output_path, 'stdout-{0}.txt'.format(node_id), u'setup task\n') + setup_task_output_path, + 'stdout-{0}.txt'.format(node_id), + u'setup task has a secret\n') helpers.assert_file_in_file_share(self, storage_account.name, storage_account_key, setup_task_output_path, 'stderr-{0}.txt'.format(node_id), u'') self.client.clusters.delete(resource_group.name, self.cluster_name).result() @@ -137,7 +144,8 @@ def test_auto_scaling(self, resource_group, location, storage_account, storage_a def assertCanRunJobInContainer(self, resource_group, location, cluster_id, timeout_sec=helpers.MINUTE): self.assertCanRunJob(resource_group, location, cluster_id, 'container_job', - models.ContainerSettings(models.ImageSourceRegistry(image="ubuntu")), timeout_sec) + models.ContainerSettings(image_source_registry=models.ImageSourceRegistry(image="ubuntu")), + timeout_sec) def assertCanRunJobOnHost(self, resource_group, location, cluster_id, timeout_sec=helpers.MINUTE): self.assertCanRunJob(resource_group, location, cluster_id, 'host_job', None, timeout_sec) diff --git a/azure-mgmt-batchai/tests/test_mgmt_batchai_file_servers.py b/azure-mgmt-batchai/tests/test_mgmt_batchai_file_servers.py index 8bda21cdfe0c..d504983de4c5 100644 --- a/azure-mgmt-batchai/tests/test_mgmt_batchai_file_servers.py +++ b/azure-mgmt-batchai/tests/test_mgmt_batchai_file_servers.py @@ -19,7 +19,7 @@ class FileServerTestCase(AzureMgmtTestCase): def setUp(self): super(FileServerTestCase, self).setUp() - self.client = self.create_mgmt_client(BatchAIManagementClient) # type: BatchAIManagementClient + self.client = helpers.create_batchai_client(self) # type: BatchAIManagementClient self.file_server_name = self.get_resource_name('fileserver') @ResourceGroupPreparer(location=helpers.LOCATION) @@ -40,14 +40,14 @@ def test_file_server(self, resource_group, location, storage_account, storage_ac 'STANDARD_D1', 1, storage_account.name, storage_account_key, file_servers=[models.FileServerReference( - file_server=models.ResourceId(server.id), + file_server=models.ResourceId(id=server.id), relative_mount_path='nfs', mount_options="rw")]) cluster2 = helpers.create_cluster(self.client, location, resource_group.name, 'cluster2', 'STANDARD_D1', 1, storage_account.name, storage_account_key, file_servers=[models.FileServerReference( - file_server=models.ResourceId(server.id), + file_server=models.ResourceId(id=server.id), relative_mount_path='nfs', mount_options="rw")]) # Verify the file server is reported. @@ -81,7 +81,8 @@ def test_file_server(self, resource_group, location, storage_account, storage_ac job2 = helpers.create_custom_job(self.client, resource_group.name, location, cluster1.id, 'container_publisher', 1, 'echo hi from container >> $AZ_BATCHAI_MOUNT_ROOT/nfs/container.txt', - container=models.ContainerSettings(models.ImageSourceRegistry(image="ubuntu"))) + container=models.ContainerSettings( + image_source_registry=models.ImageSourceRegistry(image="ubuntu"))) self.assertEqual( helpers.wait_for_job_completion(self.is_live, self.client, resource_group.name, job2.name, helpers.MINUTE), models.ExecutionState.succeeded) diff --git a/azure-mgmt-batchai/tests/test_mgmt_batchai_jobs.py b/azure-mgmt-batchai/tests/test_mgmt_batchai_jobs.py index 0710e6b1764f..b40b1558a9aa 100644 --- a/azure-mgmt-batchai/tests/test_mgmt_batchai_jobs.py +++ b/azure-mgmt-batchai/tests/test_mgmt_batchai_jobs.py @@ -7,6 +7,8 @@ # -------------------------------------------------------------------------- # pylint: disable=line-too-long import re +from azure.storage.blob import BlockBlobService +from azure.storage.file import FileService from devtools_testutils import AzureMgmtTestCase, StorageAccountPreparer from devtools_testutils import ResourceGroupPreparer from msrestazure.azure_exceptions import CloudError @@ -19,16 +21,18 @@ class JobTestCase(AzureMgmtTestCase): def setUp(self): super(JobTestCase, self).setUp() - self.client = self.create_mgmt_client(BatchAIManagementClient) # type: BatchAIManagementClient + self.client = helpers.create_batchai_client(self) # type: BatchAIManagementClient @ResourceGroupPreparer(location=helpers.LOCATION) @StorageAccountPreparer(name_prefix='psdk', location=helpers.LOCATION, playback_fake_resource=helpers.FAKE_STORAGE) @helpers.ClusterPreparer() - def test_job_creation_and_deletion(self, resource_group, location, cluster): + def test_job_creation_and_deletion(self, resource_group, location, cluster, storage_account, storage_account_key): """Tests simple scenario for a job - submit, check results, delete.""" job = helpers.create_custom_job(self.client, resource_group.name, location, cluster.id, 'job', 1, 'echo hi | tee {0}/hi.txt'.format(helpers.JOB_OUTPUT_DIRECTORY_PATH_ENV), - container=models.ContainerSettings(models.ImageSourceRegistry('ubuntu'))) + container=models.ContainerSettings( + image_source_registry=models.ImageSourceRegistry(image='ubuntu')) + ) # type: models.Job self.assertEqual( helpers.wait_for_job_completion(self.is_live, self.client, resource_group.name, job.name, helpers.MINUTE), models.ExecutionState.succeeded) @@ -40,6 +44,10 @@ def test_job_creation_and_deletion(self, resource_group, location, cluster): helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, helpers.JOB_OUTPUT_DIRECTORY_ID, {u'hi.txt': u'hi\n'}) + # Check that we can access the output files directly in storage using path segment returned by the server + helpers.assert_file_in_file_share(self, storage_account.name, storage_account_key, + job.job_output_directory_path_segment + '/' + helpers.STDOUTERR_FOLDER_NAME, + 'stdout.txt', u'hi\n') self.client.jobs.delete(resource_group.name, job.name).result() self.assertRaises(CloudError, lambda: self.client.jobs.get(resource_group.name, job.name)) @@ -144,7 +152,8 @@ def test_job_preparation_host(self, resource_group, location, cluster): helpers.MINUTE), models.ExecutionState.succeeded) - helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, 'stdouterr', + helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, + helpers.STANDARD_OUTPUT_DIRECTORY_ID, {u'stdout.txt': u'hello\n', u'stderr.txt': u'', u'stdout-job_prep.txt': u'hello\n', @@ -162,13 +171,15 @@ def test_job_preparation_container(self, resource_group, location, cluster): self.client, resource_group.name, location, cluster.id, 'job', 1, 'cat $AZ_BATCHAI_INPUT_INPUT/hi.txt', 'mkdir -p $AZ_BATCHAI_INPUT_INPUT && echo hello | tee $AZ_BATCHAI_INPUT_INPUT/hi.txt', - container=models.ContainerSettings(models.ImageSourceRegistry('ubuntu'))) + container=models.ContainerSettings( + image_source_registry=models.ImageSourceRegistry(image='ubuntu'))) self.assertEqual( helpers.wait_for_job_completion(self.is_live, self.client, resource_group.name, job.name, helpers.MINUTE), models.ExecutionState.succeeded) - helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, 'stdouterr', + helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, + helpers.STANDARD_OUTPUT_DIRECTORY_ID, {u'stdout.txt': u'hello\n', u'stderr.txt': u'', u'stdout-job_prep.txt': u'hello\n', @@ -192,7 +203,7 @@ def test_job_host_preparation_failure_reporting(self, resource_group, location, job = self.client.jobs.get(resource_group.name, job.name) self.assertEqual(job.execution_info.exit_code, 1) self.assertEqual(len(job.execution_info.errors), 1) - self.assertEqual(job.execution_info.errors[0].code, 'JobNodePreparationFailed') + self.assertEqual(job.execution_info.errors[0].code, 'JobPreparationFailed') print(job.serialize()) self.client.jobs.delete(resource_group.name, job.name).result() self.assertRaises(CloudError, lambda: self.client.jobs.get(resource_group.name, job.name)) @@ -205,7 +216,8 @@ def test_job_container_preparation_failure_reporting(self, resource_group, locat # create a job with failing job preparation job = helpers.create_custom_job(self.client, resource_group.name, location, cluster.id, 'job', 1, 'true', 'false', - container=models.ContainerSettings(models.ImageSourceRegistry('ubuntu'))) + container=models.ContainerSettings( + image_source_registry=models.ImageSourceRegistry(image='ubuntu'))) self.assertEqual( helpers.wait_for_job_completion(self.is_live, self.client, resource_group.name, job.name, helpers.MINUTE), @@ -214,7 +226,7 @@ def test_job_container_preparation_failure_reporting(self, resource_group, locat job = self.client.jobs.get(resource_group.name, job.name) self.assertEqual(job.execution_info.exit_code, 1) self.assertEqual(len(job.execution_info.errors), 1) - self.assertEqual(job.execution_info.errors[0].code, 'JobNodePreparationFailed') + self.assertEqual(job.execution_info.errors[0].code, 'JobPreparationFailed') self.client.jobs.delete(resource_group.name, job.name).result() self.assertRaises(CloudError, lambda: self.client.jobs.get(resource_group.name, job.name)) @@ -232,7 +244,8 @@ def test_password_less_ssh(self, resource_group, location, cluster): job = self.client.jobs.get(resource_group.name, job.name) - helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, 'stdouterr', + helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, + helpers.STANDARD_OUTPUT_DIRECTORY_ID, {u'stdout.txt': u'done\ndone\n', u'stderr.txt': re.compile('Permanently added.*')}) self.client.jobs.delete(resource_group.name, job.name).result() @@ -245,16 +258,192 @@ def test_password_less_ssh_in_container(self, resource_group, location, cluster) """Tests if password-less ssh is configured in containers.""" job = helpers.create_custom_job(self.client, resource_group.name, location, cluster.id, 'job', 2, 'ssh 10.0.0.5 echo done && ssh 10.0.0.5 echo done', - container=models.ContainerSettings(models.ImageSourceRegistry('ubuntu'))) + container=models.ContainerSettings( + image_source_registry=models.ImageSourceRegistry(image='ubuntu'))) self.assertEqual( helpers.wait_for_job_completion(self.is_live, self.client, resource_group.name, job.name, helpers.MINUTE), models.ExecutionState.succeeded) job = self.client.jobs.get(resource_group.name, job.name) - helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, 'stdouterr', + helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, + helpers.STANDARD_OUTPUT_DIRECTORY_ID, {u'stdout.txt': u'done\ndone\n', u'stderr.txt': re.compile('Permanently added.*')}) self.client.jobs.delete(resource_group.name, job.name).result() self.assertRaises(CloudError, lambda: self.client.jobs.get(resource_group.name, job.name)) + @ResourceGroupPreparer(location=helpers.LOCATION) + @StorageAccountPreparer(name_prefix='psdk', location=helpers.LOCATION, playback_fake_resource=helpers.FAKE_STORAGE) + @helpers.ClusterPreparer(target_nodes=1) + def test_job_level_mounting(self, resource_group, location, cluster, storage_account, storage_account_key): + """Tests if it's possible to mount external file systems for a job.""" + job_name = 'job' + + # Create file share and container to mount on the job level + if storage_account.name != helpers.FAKE_STORAGE.name: + files = FileService(storage_account.name, storage_account_key) + files.create_share('jobshare', fail_on_exist=False) + blobs = BlockBlobService(storage_account.name, storage_account_key) + blobs.create_container('jobcontainer', fail_on_exist=False) + + job = self.client.jobs.create( + resource_group.name, + job_name, + parameters=models.JobCreateParameters( + location=location, + cluster=models.ResourceId(id=cluster.id), + node_count=1, + mount_volumes=models.MountVolumes( + azure_file_shares=[ + models.AzureFileShareReference( + account_name=storage_account.name, + azure_file_url='https://{0}.file.core.windows.net/{1}'.format( + storage_account.name, 'jobshare'), + relative_mount_path='job_afs', + credentials=models.AzureStorageCredentialsInfo( + account_key=storage_account_key + ), + ) + ], + azure_blob_file_systems=[ + models.AzureBlobFileSystemReference( + account_name=storage_account.name, + container_name='jobcontainer', + relative_mount_path='job_bfs', + credentials=models.AzureStorageCredentialsInfo( + account_key=storage_account_key + ), + ) + ] + ), + # Put standard output on cluster level AFS to check that the job has access to it. + std_out_err_path_prefix='$AZ_BATCHAI_MOUNT_ROOT/{0}'.format(helpers.AZURE_FILES_MOUNTING_PATH), + # Create two output directories on job level AFS and blobfuse. + output_directories=[ + models.OutputDirectory(id='OUTPUT1', path_prefix='$AZ_BATCHAI_JOB_MOUNT_ROOT/job_afs'), + models.OutputDirectory(id='OUTPUT2', path_prefix='$AZ_BATCHAI_JOB_MOUNT_ROOT/job_bfs') + ], + # Check that the job preparation has access to job level file systems. + job_preparation=models.JobPreparation( + command_line='echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/prep_afs.txt; ' + 'echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/prep_bfs.txt; ' + 'echo done' + ), + # Check that the job has access to job + custom_toolkit_settings=models.CustomToolkitSettings( + command_line='echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/job_afs.txt; ' + 'echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/job_bfs.txt; ' + 'mkdir $AZ_BATCHAI_OUTPUT_OUTPUT1/afs; ' + 'echo afs > $AZ_BATCHAI_OUTPUT_OUTPUT1/afs/job_afs.txt; ' + 'mkdir $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs; ' + 'echo bfs > $AZ_BATCHAI_OUTPUT_OUTPUT2/bfs/job_bfs.txt; ' + 'echo done' + ) + ) + ).result() + self.assertEqual( + helpers.wait_for_job_completion(self.is_live, self.client, resource_group.name, job.name, + helpers.MINUTE), + models.ExecutionState.succeeded) + + job = self.client.jobs.get(resource_group.name, job.name) + # Assert job and job prep standard output is populated on cluster level filesystem + helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, + helpers.STANDARD_OUTPUT_DIRECTORY_ID, + {u'stdout.txt': u'done\n', u'stderr.txt': u'', + u'stdout-job_prep.txt': u'done\n', u'stderr-job_prep.txt': u''}) + # Assert files are generated on job level AFS + helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, 'OUTPUT1', + {u'job_afs.txt': u'afs\n', u'prep_afs.txt': u'afs\n', u'afs': None}) + # Assert files are generated on job level blobfuse + helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, 'OUTPUT2', + {u'job_bfs.txt': u'bfs\n', u'prep_bfs.txt': u'bfs\n', u'bfs': None}) + # Assert subfolders are available via API + helpers.assert_job_files_in_path_are(self, self.client, resource_group.name, job.name, 'OUTPUT1', + 'afs', {u'job_afs.txt': u'afs\n'}) + helpers.assert_job_files_in_path_are(self, self.client, resource_group.name, job.name, 'OUTPUT2', + 'bfs', {u'job_bfs.txt': u'bfs\n'}) + + # Assert that we can access the output files created on job level mount volumes directly in storage using path + # segment returned by the server. + if storage_account.name != helpers.FAKE_STORAGE.name: + files = FileService(storage_account.name, storage_account_key) + self.assertTrue( + files.exists('jobshare', job.job_output_directory_path_segment + + '/' + helpers.OUTPUT_DIRECTORIES_FOLDER_NAME, 'job_afs.txt')) + blobs = BlockBlobService(storage_account.name, storage_account_key) + self.assertTrue( + blobs.exists('jobcontainer', job.job_output_directory_path_segment + + '/' + helpers.OUTPUT_DIRECTORIES_FOLDER_NAME + '/job_bfs.txt')) + # After the job is done the filesystems should be unmounted automatically, check this by submitting a new job. + checker = self.client.jobs.create( + resource_group.name, + 'checker', + parameters=models.JobCreateParameters( + location=location, + cluster=models.ResourceId(id=cluster.id), + node_count=1, + std_out_err_path_prefix='$AZ_BATCHAI_MOUNT_ROOT/{0}'.format(helpers.AZURE_FILES_MOUNTING_PATH), + custom_toolkit_settings=models.CustomToolkitSettings( + command_line='echo job; df | grep -E "job_bfs|job_afs"' + ) + ) + ).result() + # Check the job failed because there are not job level mount volumes anymore + self.assertEqual( + helpers.wait_for_job_completion(self.is_live, self.client, resource_group.name, checker.name, + helpers.MINUTE), + models.ExecutionState.failed) + # Check that the cluster level AFS was still mounted + helpers.assert_job_files_are(self, self.client, resource_group.name, checker.name, + helpers.STANDARD_OUTPUT_DIRECTORY_ID, + {u'stdout.txt': u'job\n', u'stderr.txt': u''}) + + @ResourceGroupPreparer(location=helpers.LOCATION) + @StorageAccountPreparer(name_prefix='psdk', location=helpers.LOCATION, playback_fake_resource=helpers.FAKE_STORAGE) + @helpers.ClusterPreparer(target_nodes=1) + def test_job_environment_variables_and_secrets(self, resource_group, location, cluster): + """Tests if it's possible to mount external file systems for a job.""" + job_name = 'job' + job = self.client.jobs.create( + resource_group.name, + job_name, + parameters=models.JobCreateParameters( + location=location, + cluster=models.ResourceId(id=cluster.id), + node_count=1, + std_out_err_path_prefix='$AZ_BATCHAI_MOUNT_ROOT/{0}'.format(helpers.AZURE_FILES_MOUNTING_PATH), + environment_variables=[ + models.EnvironmentVariable(name='VARIABLE', value='VALUE') + ], + secrets=[ + models.EnvironmentVariableWithSecretValue(name='SECRET_VARIABLE', value='SECRET') + ], + # Check that the job preparation has access to env variables and secrets. + job_preparation=models.JobPreparation( + command_line='echo $VARIABLE $SECRET_VARIABLE' + ), + # Check that the job has access to env variables and secrets. + custom_toolkit_settings=models.CustomToolkitSettings( + command_line='echo $VARIABLE $SECRET_VARIABLE' + ) + ) + ).result() # type: models.Job + self.assertEqual( + helpers.wait_for_job_completion(self.is_live, self.client, resource_group.name, job.name, + helpers.MINUTE), + models.ExecutionState.succeeded) + # Check that environment variables are reported by the server. + self.assertEqual(len(job.environment_variables), 1) + self.assertEqual(job.environment_variables[0].name, 'VARIABLE') + self.assertEqual(job.environment_variables[0].value, 'VALUE') + # Check that secrets are reported back by server, but value is not reported. + self.assertEqual(len(job.secrets), 1) + self.assertEqual(job.secrets[0].name, 'SECRET_VARIABLE') + self.assertIsNone(job.secrets[0].value) + # Check that job and job prep had access to the env variables and secrets. + helpers.assert_job_files_are(self, self.client, resource_group.name, job.name, + helpers.STANDARD_OUTPUT_DIRECTORY_ID, + {u'stdout.txt': u'VALUE SECRET\n', u'stderr.txt': u'', + u'stdout-job_prep.txt': u'VALUE SECRET\n', u'stderr-job_prep.txt': u''}) diff --git a/azure-mgmt-batchai/tests/test_mgmt_batchai_quota_and_usage.py b/azure-mgmt-batchai/tests/test_mgmt_batchai_quota_and_usage.py new file mode 100644 index 000000000000..9b5b949585e5 --- /dev/null +++ b/azure-mgmt-batchai/tests/test_mgmt_batchai_quota_and_usage.py @@ -0,0 +1,25 @@ +# coding: utf-8 +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +# pylint: disable=line-too-long + +from azure.mgmt.batchai import BatchAIManagementClient +from devtools_testutils import AzureMgmtTestCase + +from . import helpers + + +class JobTestCase(AzureMgmtTestCase): + def setUp(self): + super(JobTestCase, self).setUp() + self.client = helpers.create_batchai_client(self) # type: BatchAIManagementClient + + def test_quota_and_usage(self): + usages = list(self.client.usage.list(helpers.LOCATION)) + self.assertGreater(len(usages), 0) + for u in usages: + self.assertIsNotNone(u.name) + self.assertIsNotNone(u.unit)