From 2a59cee5b632bc714d439531b08f038cf7b1cf9e Mon Sep 17 00:00:00 2001 From: Jingtao Ren Date: Thu, 13 Jul 2017 10:43:38 -0700 Subject: [PATCH] Add acs module support for version 2017-07-01 (#4010) --- .gitignore | 3 + src/command_modules/azure-cli-acs/HISTORY.rst | 5 + .../azure/cli/command_modules/acs/_help.py | 13 + .../azure/cli/command_modules/acs/_params.py | 17 +- .../cli/command_modules/acs/_validators.py | 5 + .../cli/command_modules/acs/acs_client.py | 4 +- .../azure/cli/command_modules/acs/custom.py | 341 +++++---- .../test_acs_create_default_service.yaml | 690 +++++++----------- .../acs/tests/test_acs_commands.py | 11 +- 9 files changed, 542 insertions(+), 547 deletions(-) diff --git a/.gitignore b/.gitignore index c66af98fe2b..c1719481a1e 100644 --- a/.gitignore +++ b/.gitignore @@ -88,3 +88,6 @@ artifacts/ # local Azure configuration .config/ + +# Python version +.python-version diff --git a/src/command_modules/azure-cli-acs/HISTORY.rst b/src/command_modules/azure-cli-acs/HISTORY.rst index eca898ef676..fc56b9deb8d 100644 --- a/src/command_modules/azure-cli-acs/HISTORY.rst +++ b/src/command_modules/azure-cli-acs/HISTORY.rst @@ -2,6 +2,11 @@ Release History =============== +unreleased ++++++++++++++++++++ +* api version 2017-07-01 support +* update dcos and swarm to use latest api version instead of 2016-03-30 + 2.0.10 (2017-07-07) +++++++++++++++++++ * minor fixes diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py index aa13283360e..d6a9ac8fee4 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py @@ -29,3 +29,16 @@ type: command short-summary: Download the DCOS/Kubernetes command line. """ +helps['acs create'] = """ + examples: + - name: Create a default acs cluster + text: az acs create -g MyResourceGroup -n MyContainerService + - name: Create a Kubernetes cluster + text: az acs create --orchestrator-type Kubernetes -g MyResourceGroup -n MyContainerService + - name: Create a Kubernetes cluster with ssh key provided + text: az acs create --orchestrator-type Kubernetes -g MyResourceGroup -n MyContainerService --ssh-key-value MySSHKeyValueOrPath + - name: Create a acs cluster with two agent pools + text: az acs create -g MyResourceGroup -n MyContainerService --agent-profiles "[{'name':'agentpool1'},{'name':'agentpool2'}]" + - name: Create a acs cluster with the second agent pool with vmSize specified + text: az acs create -g MyResourceGroup -n MyContainerService --agent-profiles "[{'name':'agentpool1'},{'name':'agentpool2','vmSize':'Standard_D2'}]" +""" diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_params.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_params.py index 8a2b1c82e3c..c7187a64617 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_params.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_params.py @@ -14,6 +14,7 @@ register_cli_argument, register_extra_cli_argument) from azure.cli.core.commands.parameters import tags_type +from azure.cli.core.commands.validators import validate_file_or_dict from azure.cli.core.commands.parameters import ( enum_choice_list, file_type, @@ -21,7 +22,7 @@ get_one_of_subscription_locations, get_resource_name_completion_list) from azure.mgmt.compute.containerservice.models import ContainerServiceOrchestratorTypes -from azure.cli.command_modules.acs._validators import validate_create_parameters, validate_ssh_key +from azure.cli.command_modules.acs._validators import validate_create_parameters, validate_ssh_key, validate_list_of_integers def _compute_client_factory(**_): @@ -59,6 +60,8 @@ def _get_default_install_location(exe_name): name_arg_type = CliArgumentType(options_list=('--name', '-n'), metavar='NAME') +storageProfileTypes = ["StorageAccount", "ManagedDisks"] + register_cli_argument('acs', 'tags', tags_type) register_cli_argument('acs', 'name', arg_type=name_arg_type, configured_default='acs', @@ -70,6 +73,7 @@ def _get_default_install_location(exe_name): register_cli_argument('acs', 'orchestrator_type', options_list=('--orchestrator-type', '-t'), **enum_choice_list(ContainerServiceOrchestratorTypes)) # some admin names are prohibited in acs, such as root, admin, etc. Because we have no control on the orchestrators, so default to a safe name. register_cli_argument('acs', 'admin_username', options_list=('--admin-username',), default='azureuser', required=False) +register_cli_argument('acs', 'api_version', options_list=('--api-version',), required=False, help='Use API version of ACS to perform az acs operations. Available options: 2017-01-31, 2017-07-01. (2017-07-01 in preview, only in ukwest and uksouth). Default to use the latest version for the location') register_cli_argument('acs', 'dns_name_prefix', options_list=('--dns-prefix', '-d')) register_cli_argument('acs', 'container_service_name', options_list=('--name', '-n'), help='The name of the container service', completer=get_resource_name_completion_list('Microsoft.ContainerService/ContainerServices')) @@ -77,7 +81,18 @@ def _get_default_install_location(exe_name): register_cli_argument('acs create', 'name', arg_type=name_arg_type, validator=validate_ssh_key) register_extra_cli_argument('acs create', 'generate_ssh_keys', action='store_true', help='Generate SSH public and private key files if missing', validator=validate_create_parameters) +register_cli_argument('acs create', 'master_profile', options_list=('--master-profile', '-m'), type=validate_file_or_dict, help='The file or dictionary representation of the master profile. Note it will override any master settings once set') +register_cli_argument('acs create', 'master_vm_size', completer=get_vm_size_completion_list) +register_cli_argument('acs create', 'master_osdisk_size', type=int, help='the disk size for master pool vms. Unit in GB. If not specified, the corresponding vmsize disk size will apply') +register_cli_argument('acs create', 'master_vnet_subnet_id', type=str, help='the custom vnet subnet id. Note agent need to used the same vnet if master set') +register_cli_argument('acs create', 'master_first_consecutive_static_ip', type=str, help='the first consecutive ip used to specify static ip block') +register_cli_argument('acs create', 'master_storage_profile', **enum_choice_list(storageProfileTypes)) +register_cli_argument('acs create', 'agent_profiles', options_list=('--agent-profiles', '-a'), type=validate_file_or_dict, help='The file or dictionary representation of the agent profiles. Note it will override any agent settings once set') register_cli_argument('acs create', 'agent_vm_size', completer=get_vm_size_completion_list) +register_cli_argument('acs create', 'agent_osdisk_size', type=int, help='the disk size for agent pool vms. Unit in GB. If not specified, the corresponding vmsize disk size will apply') +register_cli_argument('acs create', 'agent_vnet_subnet_id', type=str, help='the custom vnet subnet id. Note agent need to used the same vnet if master set') +register_cli_argument('acs create', 'agent_ports', type=validate_list_of_integers, help='the ports exposed on the agent pool, such as 8080,4000,80') +register_cli_argument('acs create', 'agent_storage_profile', **enum_choice_list(storageProfileTypes)) register_cli_argument('acs create', 'windows', action='store_true', help='If true, deploy a windows container cluster.') register_cli_argument('acs create', 'validate', action='store_true', help='Generate and validate the ARM template without creating any resources') diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_validators.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_validators.py index 4791df759eb..e7a927e1c34 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_validators.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_validators.py @@ -42,6 +42,11 @@ def validate_ssh_key(namespace): namespace.ssh_key_value = content +def validate_list_of_integers(string): + # extract comma separated list of integers + return list(map(int, string.split(','))) + + def validate_create_parameters(namespace): if not namespace.name: raise CLIError('--name has no value') diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/acs_client.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/acs_client.py index 1df37456afa..2f0349bf3c6 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/acs_client.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/acs_client.py @@ -130,8 +130,8 @@ def run(self, command, background=False): :param command: Command to run on the remote host :type command: String - :param background: True if command should be run in the foreground, - false to run it in a separate thread + :param background: True to run it in a separate thread, + False should be run in the foreground :type command: Boolean """ if background: diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py index 20e2bfa0cbf..57f4808ca44 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py @@ -368,9 +368,26 @@ def _get_subscription_id(): return sub_id -def acs_create(resource_group_name, deployment_name, name, ssh_key_value, dns_name_prefix=None, # pylint: disable=too-many-locals - admin_username="azureuser", agent_count=3, - agent_vm_size="Standard_D2_v2", location=None, master_count=1, +# pylint: disable=too-many-locals +# pylint: disable-msg=too-many-arguments +def acs_create(resource_group_name, deployment_name, name, ssh_key_value, dns_name_prefix=None, + location=None, + admin_username="azureuser", + api_version=None, + master_profile=None, + master_vm_size="Standard_D2_v2", + master_osdisk_size=0, + master_count=1, + master_vnet_subnet_id="", + master_first_consecutive_static_ip="", + master_storage_profile="", + agent_profiles=None, + agent_vm_size="Standard_D2_v2", + agent_osdisk_size=0, + agent_count=3, + agent_vnet_subnet_id="", + agent_ports=None, + agent_storage_profile="", orchestrator_type="dcos", service_principal=None, client_secret=None, tags=None, windows=False, admin_password="", generate_ssh_keys=False, # pylint: disable=unused-argument validate=False, no_wait=False): @@ -396,16 +413,40 @@ def acs_create(resource_group_name, deployment_name, name, ssh_key_value, dns_na :type content_version: str :param admin_username: User name for the Linux Virtual Machines. :type admin_username: str + :param api_version: ACS API version to use + :type api_version: str + :param master_profile: MasterProfile used to describe master pool + :type master_profile: dict + :param master_vm_size: The size of master pool Virtual Machine + :type master_vm_size: str + :param master_osdisk_size: The osDisk size in GB of master pool Virtual Machine + :type master_osdisk_size: int + :param master_count: The number of masters for the cluster. + :type master_count: int + :param master_vnet_subnet_id: The vnet subnet id for master pool + :type master_vnet_subnet_id: str + :param master_storage_profile: The storage profile used for master pool. + Possible value could be StorageAccount, ManagedDisk. + :type master_storage_profile: str + :param agent_profiles: AgentPoolProfiles used to describe agent pools + :type agent_profiles: dict :param agent_count: The number of agents for the cluster. Note, for DC/OS clusters you will also get 1 or 2 public agents in addition to these selected masters. :type agent_count: int :param agent_vm_size: The size of the Virtual Machine. :type agent_vm_size: str + :param agent_osdisk_size: The osDisk size in GB of agent pool Virtual Machine + :type agent_osdisk_size: int + :param agent_vnet_subnet_id: The vnet subnet id for master pool + :type agent_vnet_subnet_id: str + :param agent_ports: the ports exposed on the agent pool + :type agent_ports: list + :param agent_storage_profile: The storage profile used for agent pool. + Possible value could be StorageAccount, ManagedDisk. + :type agent_storage_profile: str :param location: Location for VM resources. :type location: str - :param master_count: The number of masters for the cluster. - :type master_count: int :param orchestrator_type: The type of orchestrator used to manage the applications on the cluster. Possible values include: 'dcos', 'swarm' :type orchestrator_type: str or :class:`orchestratorType @@ -446,8 +487,20 @@ def acs_create(resource_group_name, deployment_name, name, ssh_key_value, dns_na groups = _resource_client_factory().resource_groups # Just do the get, we don't need the result, it will error out if the group doesn't exist. rg = groups.get(resource_group_name) + if location is None: + location = rg.location # pylint:disable=no-member + + # if api-version is not specified, or specified in a version not supported + # override based on location + if api_version is None or api_version not in ["2017-01-31", "2017-07-01"]: + # 2017-07-01 supported in the following two locations + if location in ["ukwest", "uksouth"]: + api_version = "2017-07-01" + # 2017-01-31 applied to other locations + else: + api_version = "2017-01-31" - if orchestrator_type == 'Kubernetes' or orchestrator_type == 'kubernetes': + if orchestrator_type.lower() == 'kubernetes': # TODO: This really needs to be broken out and unit tested. client = _graph_client_factory() if not service_principal: @@ -477,21 +530,29 @@ def acs_create(resource_group_name, deployment_name, name, ssh_key_value, dns_na raise CLIError('--client-secret is required if --service-principal is specified') _validate_service_principal(client, service_principal) - return _create_kubernetes(resource_group_name, deployment_name, dns_name_prefix, name, - ssh_key_value, admin_username=admin_username, - agent_count=agent_count, agent_vm_size=agent_vm_size, - location=location, service_principal=service_principal, - client_secret=client_secret, master_count=master_count, - windows=windows, admin_password=admin_password, - validate=validate, no_wait=no_wait, tags=tags) - - if windows: + elif windows: raise CLIError('--windows is only supported for Kubernetes clusters') - if location is None: - location = rg.location # pylint:disable=no-member - return _create_non_kubernetes(resource_group_name, deployment_name, dns_name_prefix, name, - ssh_key_value, admin_username, agent_count, agent_vm_size, location, - orchestrator_type, master_count, tags, validate, no_wait) + + return _create(resource_group_name, deployment_name, dns_name_prefix, name, + ssh_key_value, admin_username=admin_username, + api_version=api_version, + orchestrator_type=orchestrator_type, + master_profile=master_profile, + master_vm_size=master_vm_size, + master_osdisk_size=master_osdisk_size, + master_vnet_subnet_id=master_vnet_subnet_id, + master_first_consecutive_static_ip=master_first_consecutive_static_ip, + master_storage_profile=master_storage_profile, + agent_profiles=agent_profiles, + agent_count=agent_count, agent_vm_size=agent_vm_size, + agent_osdisk_size=agent_osdisk_size, + agent_vnet_subnet_id=agent_vnet_subnet_id, + agent_ports=agent_ports, + agent_storage_profile=agent_storage_profile, + location=location, service_principal=service_principal, + client_secret=client_secret, master_count=master_count, + windows=windows, admin_password=admin_password, + validate=validate, no_wait=no_wait, tags=tags) def store_acs_service_principal(subscription_id, client_secret, service_principal, @@ -532,10 +593,15 @@ def load_acs_service_principals(config_path): return None -def _create_kubernetes(resource_group_name, deployment_name, dns_name_prefix, name, ssh_key_value, - admin_username="azureuser", agent_count=3, agent_vm_size="Standard_D2_v2", - location=None, service_principal=None, client_secret=None, master_count=1, - windows=False, admin_password='', validate=False, no_wait=False, tags=None): +# pylint: disable-msg=too-many-arguments +def _create(resource_group_name, deployment_name, dns_name_prefix, name, ssh_key_value, + admin_username="azureuser", api_version=None, orchestrator_type="dcos", + master_profile=None, master_vm_size="Standard_D2_v2", master_osdisk_size=0, master_count=1, + master_vnet_subnet_id="", master_first_consecutive_static_ip="", master_storage_profile="", + agent_profiles=None, agent_count=3, agent_vm_size="Standard_D2_v2", agent_osdisk_size=0, + agent_vnet_subnet_id="", agent_ports=None, agent_storage_profile="", + location=None, service_principal=None, client_secret=None, + windows=False, admin_password='', validate=False, no_wait=False, tags=None): if not location: location = '[resourceGroup().location]' windows_profile = None @@ -551,127 +617,134 @@ def _create_kubernetes(resource_group_name, deployment_name, dns_name_prefix, na } os_type = 'Windows' - template = { - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "clientSecret": { - "type": "secureString", - "metadata": { - "description": "The client secret for the service principal" - } - } + if not agent_ports: + agent_ports = [] + + # The resources.properties fields should match with ContainerServices' api model + # So assumption: + # The API model created for new version should be compatible to use it in an older version + # There maybe additional field specified, but could be ignored by the older version + masterPoolProfile = {} + defaultMasterPoolProfile = { + "count": int(master_count), + "dnsPrefix": dns_name_prefix + 'mgmt', + } + if api_version == "2017-07-01": + defaultMasterPoolProfile = _update_dict(defaultMasterPoolProfile, { + "count": int(master_count), + "dnsPrefix": dns_name_prefix + 'mgmt', + "vmSize": master_vm_size, + "osDiskSizeGB": int(master_osdisk_size), + "vnetSubnetID": master_vnet_subnet_id, + "firstConsecutiveStaticIP": master_first_consecutive_static_ip, + "storageProfile": master_storage_profile, + }) + if not master_profile: + masterPoolProfile = defaultMasterPoolProfile + else: + masterPoolProfile = _update_dict(defaultMasterPoolProfile, master_profile) + + agentPoolProfiles = [] + defaultAgentPoolProfile = { + "count": int(agent_count), + "vmSize": agent_vm_size, + "osType": os_type, + "dnsPrefix": dns_name_prefix + 'agent', + } + if api_version == "2017-07-01": + defaultAgentPoolProfile = _update_dict(defaultAgentPoolProfile, { + "count": int(agent_count), + "vmSize": agent_vm_size, + "osDiskSizeGB": int(agent_osdisk_size), + "osType": os_type, + "dnsPrefix": dns_name_prefix + 'agent', + "vnetSubnetID": agent_vnet_subnet_id, + "ports": agent_ports, + "storageProfile": agent_storage_profile, + }) + if agent_profiles is None: + agentPoolProfiles.append(_update_dict(defaultAgentPoolProfile, {"name": "agentpool0"})) + else: + # override agentPoolProfiles by using the passed in agent_profiles + for idx, ap in enumerate(agent_profiles): + # if the user specified dnsPrefix, we honor that + # otherwise, we use the idx to avoid duplicate dns name + a = _update_dict({"dnsPrefix": dns_name_prefix + 'agent' + str(idx)}, ap) + agentPoolProfiles.append(_update_dict(defaultAgentPoolProfile, a)) + + # define outputs + outputs = { + "masterFQDN": { + "type": "string", + "value": "[reference(concat('Microsoft.ContainerService/containerServices/', '{}')).masterProfile.fqdn]".format(name) # pylint: disable=line-too-long + }, + "sshMaster0": { + "type": "string", + "value": "[concat('ssh ', '{0}', '@', reference(concat('Microsoft.ContainerService/containerServices/', '{1}')).masterProfile.fqdn, ' -A -p 2200')]".format(admin_username, name) # pylint: disable=line-too-long }, - "resources": [ - { - "apiVersion": "2017-01-31", - "location": location, - "type": "Microsoft.ContainerService/containerServices", - "name": name, - "tags": tags, - "properties": { - "orchestratorProfile": { - "orchestratorType": "kubernetes" - }, - "masterProfile": { - "count": int(master_count), - "dnsPrefix": dns_name_prefix - }, - "agentPoolProfiles": [ - { - "name": "agentpools", - "count": int(agent_count), - "vmSize": agent_vm_size, - "dnsPrefix": dns_name_prefix + '-k8s-agents', - "osType": os_type, - } - ], - "linuxProfile": { - "ssh": { - "publicKeys": [ - { - "keyData": ssh_key_value - } - ] - }, - "adminUsername": admin_username - }, - "windowsProfile": windows_profile, - "servicePrincipalProfile": { - "ClientId": service_principal, - "Secret": "[parameters('clientSecret')]" - } - } - } - ] } - params = { - "clientSecret": { - "value": client_secret + if orchestrator_type.lower() != "kubernetes": + outputs["agentFQDN"] = { + "type": "string", + "value": "[reference(concat('Microsoft.ContainerService/containerServices/', '{}')).agentPoolProfiles[0].fqdn]".format(name) # pylint: disable=line-too-long } + properties = { + "orchestratorProfile": { + "orchestratorType": orchestrator_type, + }, + "masterProfile": masterPoolProfile, + "agentPoolProfiles": agentPoolProfiles, + "linuxProfile": { + "ssh": { + "publicKeys": [ + { + "keyData": ssh_key_value + } + ] + }, + "adminUsername": admin_username + }, } - return _invoke_deployment(resource_group_name, deployment_name, template, params, validate, no_wait) - + if windows_profile is not None: + properties["windowsProfile"] = windows_profile -def _create_non_kubernetes(resource_group_name, deployment_name, dns_name_prefix, name, - ssh_key_value, admin_username, agent_count, agent_vm_size, location, - orchestrator_type, master_count, tags, validate, no_wait): + resource = { + "apiVersion": api_version, + "location": location, + "type": "Microsoft.ContainerService/containerServices", + "name": name, + "tags": tags, + "properties": properties, + } template = { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "resources": [ - { - "apiVersion": "2016-03-30", - "type": "Microsoft.ContainerService/containerServices", - "location": location, - "tags": tags, - "name": name, - "properties": { - "orchestratorProfile": { - "orchestratorType": orchestrator_type - }, - "masterProfile": { - "count": int(master_count), - "dnsPrefix": dns_name_prefix + 'mgmt' - }, - "agentPoolProfiles": [ - { - "name": "agentpools", - "count": int(agent_count), - "vmSize": agent_vm_size, - "dnsPrefix": dns_name_prefix + 'agents' - } - ], - "linuxProfile": { - "adminUsername": admin_username, - "ssh": { - "publicKeys": [ - { - "keyData": ssh_key_value - } - ] - } - } + resource, + ], + "outputs": outputs, + } + params = {} + if service_principal is not None and client_secret is not None: + properties["servicePrincipalProfile"] = { + "clientId": service_principal, + "secret": "[parameters('clientSecret')]", + } + template["parameters"] = { + "clientSecret": { + "type": "secureString", + "metadata": { + "description": "The client secret for the service principal" } } - ], - "outputs": { - "masterFQDN": { - "type": "string", - "value": "[reference(concat('Microsoft.ContainerService/containerServices/', '{}')).masterProfile.fqdn]".format(name) # pylint: disable=line-too-long - }, - "sshMaster0": { - "type": "string", - "value": "[concat('ssh ', '{0}', '@', reference(concat('Microsoft.ContainerService/containerServices/', '{1}')).masterProfile.fqdn, ' -A -p 2200')]".format(admin_username, name) # pylint: disable=line-too-long - }, - "agentFQDN": { - "type": "string", - "value": "[reference(concat('Microsoft.ContainerService/containerServices/', '{}')).agentPoolProfiles[0].fqdn]".format(name) # pylint: disable=line-too-long + } + params = { + "clientSecret": { + "value": client_secret } } - } - return _invoke_deployment(resource_group_name, deployment_name, template, {}, validate, no_wait) + return _invoke_deployment(resource_group_name, deployment_name, template, params, validate, no_wait) def _invoke_deployment(resource_group_name, deployment_name, template, parameters, validate, no_wait): @@ -1023,3 +1096,9 @@ def _get_object_stubs(graph_client, assignees): params = GetObjectsParameters(include_directory_object_references=True, object_ids=assignees) return list(graph_client.objects.get_objects_by_object_ids(params)) + + +def _update_dict(dict1, dict2): + cp = dict1.copy() + cp.update(dict2) + return cp diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/recordings/latest/test_acs_create_default_service.yaml b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/recordings/latest/test_acs_create_default_service.yaml index a6cf82f93fa..3381b4cad50 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/recordings/latest/test_acs_create_default_service.yaml +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/recordings/latest/test_acs_create_default_service.yaml @@ -8,9 +8,8 @@ interactions: Connection: [keep-alive] Content-Length: ['50'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -18,13 +17,13 @@ interactions: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"use":"az-test"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['326'] + content-length: ['328'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:37:54 GMT'] + date: ['Tue, 11 Jul 2017 23:51:53 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -34,9 +33,8 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network?api-version=2017-05-10 @@ -46,94 +44,94 @@ interactions: Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"publicIPAddresses","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"networkInterfaces","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"loadBalancers","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"networkSecurityGroups","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"routeTables","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"networkWatchers","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30"],"capabilities":"CrossResourceGroupResourceMove, + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30"],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"virtualNetworkGateways","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"localNetworkGateways","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"connections","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"applicationGateways","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"]},{"resourceType":"locations/operations","locations":[],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"]},{"resourceType":"locations/operationResults","locations":[],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"]},{"resourceType":"locations/CheckDnsNameAvailability","locations":["West + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}]},{"resourceType":"locations/operations","locations":[],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}]},{"resourceType":"locations/operationResults","locations":[],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}]},{"resourceType":"locations/CheckDnsNameAvailability","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"]},{"resourceType":"locations/usages","locations":["West + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"]},{"resourceType":"locations/usages","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"]},{"resourceType":"operations","locations":[],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"]},{"resourceType":"dnszones","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove"},{"resourceType":"dnsOperationResults","locations":["global"],"apiVersions":["2016-04-01"]},{"resourceType":"dnsOperationStatuses","locations":["global"],"apiVersions":["2016-04-01"]},{"resourceType":"dnszones/A","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/AAAA","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/CNAME","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/PTR","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/MX","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/TXT","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/SRV","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"trafficmanagerprofiles","locations":["global"],"apiVersions":["2017-03-01","2015-11-01","2015-04-28-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove"},{"resourceType":"checkTrafficManagerNameAvailability","locations":["global"],"apiVersions":["2017-03-01","2015-11-01","2015-04-28-preview"]},{"resourceType":"trafficManagerGeographicHierarchies","locations":["global"],"apiVersions":["2017-03-01"]},{"resourceType":"expressRouteCircuits","locations":["West + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"}]},{"resourceType":"operations","locations":[],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"]},{"resourceType":"dnszones","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-04-01"}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"dnsOperationResults","locations":["global"],"apiVersions":["2016-04-01"]},{"resourceType":"dnsOperationStatuses","locations":["global"],"apiVersions":["2016-04-01"]},{"resourceType":"dnszones/A","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/AAAA","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/CNAME","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/PTR","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/MX","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/TXT","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/SRV","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/SOA","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"dnszones/NS","locations":["global"],"apiVersions":["2016-04-01","2015-05-04-preview"]},{"resourceType":"trafficmanagerprofiles","locations":["global"],"apiVersions":["2017-05-01","2017-03-01","2015-11-01","2015-04-28-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"checkTrafficManagerNameAvailability","locations":["global"],"apiVersions":["2017-05-01","2017-03-01","2015-11-01","2015-04-28-preview"]},{"resourceType":"trafficManagerGeographicHierarchies","locations":["global"],"apiVersions":["2017-05-01","2017-03-01"]},{"resourceType":"expressRouteCircuits","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"None"},{"resourceType":"expressRouteServiceProviders","locations":[],"apiVersions":["2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"]},{"resourceType":"applicationGatewayAvailableWafRuleSets","locations":[],"apiVersions":["2017-04-01","2017-03-01"]},{"resourceType":"routeFilters","locations":["West + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"capabilities":"None"},{"resourceType":"expressRouteServiceProviders","locations":[],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"]},{"resourceType":"applicationGatewayAvailableWafRuleSets","locations":[],"apiVersions":["2017-06-01","2017-04-01","2017-03-01"]},{"resourceType":"applicationGatewayAvailableSslOptions","locations":[],"apiVersions":["2017-06-01"]},{"resourceType":"routeFilters","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan West","Brazil South","Australia East","Australia Southeast","Central India","South India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-04-01","2017-03-01","2016-12-01"],"capabilities":"None"},{"resourceType":"bgpServiceCommunities","locations":[],"apiVersions":["2017-04-01","2017-03-01","2016-12-01"]}],"registrationState":"Registered"}'} + US 2","UK West","UK South","Korea Central","Korea South"],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01"],"capabilities":"None"},{"resourceType":"bgpServiceCommunities","locations":[],"apiVersions":["2017-06-01","2017-04-01","2017-03-01","2016-12-01"]}],"registrationState":"Registered"}'} headers: cache-control: [no-cache] - content-length: ['13437'] + content-length: ['15220'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:37:55 GMT'] + date: ['Tue, 11 Jul 2017 23:51:54 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -147,9 +145,8 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute?api-version=2017-05-10 @@ -159,25 +156,25 @@ interactions: Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia East","Australia Southeast","Brazil South","South India","Central India","West India","Canada Central","Canada East","West US 2","West Central US","UK South","UK - West","Korea Central","Korea South"],"apiVersions":["2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + West","Korea Central","Korea South"],"apiVersions":["2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"virtualMachines","locations":["East US","East US 2","West US","Central US","North Central US","South Central US","North Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia East","Australia Southeast","Brazil South","South India","Central India","West India","Canada Central","Canada East","West US 2","West Central US","UK South","UK - West","Korea Central","Korea South"],"apiVersions":["2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + West","Korea Central","Korea South"],"apiVersions":["2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity"},{"resourceType":"virtualMachines/extensions","locations":["East US","East US 2","West US","Central US","North Central US","South Central US","North Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia East","Australia Southeast","Brazil South","South India","Central India","West India","Canada Central","Canada East","West US 2","West Central US","UK South","UK - West","Korea Central","Korea South"],"apiVersions":["2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + West","Korea Central","Korea South"],"apiVersions":["2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove"},{"resourceType":"virtualMachineScaleSets","locations":["East US","East US 2","West US","Central US","North Central US","South Central US","North Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia East","Australia Southeast","Brazil South","South India","Central India","West India","Canada Central","Canada East","West US 2","West Central US","UK South","UK - West","Korea Central","Korea South"],"apiVersions":["2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + West","Korea Central","Korea South"],"apiVersions":["2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity"},{"resourceType":"virtualMachineScaleSets/extensions","locations":["East US","East US 2","West US","Central US","North Central US","South Central US","North Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia @@ -281,9 +278,9 @@ interactions: West","Korea Central","Korea South"],"apiVersions":["2014-04-01"]}],"registrationState":"Registered"}'} headers: cache-control: [no-cache] - content-length: ['13259'] + content-length: ['13587'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:37:55 GMT'] + date: ['Tue, 11 Jul 2017 23:51:55 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -297,9 +294,8 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage?api-version=2017-05-10 @@ -309,8 +305,8 @@ interactions: Asia","Japan East","Japan West","North Central US","South Central US","Central US","North Europe","Brazil South","Australia East","Australia Southeast","South India","Central India","West India","Canada East","Canada Central","West US - 2","West Central US","UK South","UK West","Korea Central","Korea South"],"apiVersions":["2017-06-01","2016-12-01","2016-05-01","2016-01-01","2015-06-15","2015-05-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity"},{"resourceType":"operations","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-05-01","2016-01-01","2015-06-15","2015-05-01-preview"]},{"resourceType":"storageAccounts/listAccountSas","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-05-01"]},{"resourceType":"storageAccounts/listServiceSas","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-05-01"]},{"resourceType":"locations","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-07-01"]},{"resourceType":"locations/deleteVirtualNetworkOrSubnets","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-07-01"]},{"resourceType":"usages","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-05-01","2016-01-01","2015-06-15","2015-05-01-preview"]},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-05-01","2016-01-01","2015-06-15","2015-05-01-preview"]},{"resourceType":"storageAccounts/services","locations":["East + 2","West Central US","UK South","UK West","Korea Central","Korea South"],"apiVersions":["2017-06-01","2016-12-01","2016-05-01","2016-01-01","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-01-01"}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity"},{"resourceType":"operations","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-05-01","2016-01-01","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-01-01"}]},{"resourceType":"storageAccounts/listAccountSas","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-05-01"]},{"resourceType":"storageAccounts/listServiceSas","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-05-01"]},{"resourceType":"locations","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-07-01","2016-01-01"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-01-01"}]},{"resourceType":"locations/deleteVirtualNetworkOrSubnets","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-07-01"]},{"resourceType":"usages","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-05-01","2016-01-01","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-01-01"}]},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2017-06-01","2016-12-01","2016-05-01","2016-01-01","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-01-01"}]},{"resourceType":"storageAccounts/services","locations":["East US","West US","East US 2 (Stage)","West Europe","North Europe","East Asia","Southeast Asia","Japan East","Japan West","North Central US","South Central US","East US 2","Central US","Australia East","Australia Southeast","Brazil South","South @@ -323,9 +319,9 @@ interactions: 2","West Central US","UK South","UK West","Korea Central","Korea South"],"apiVersions":["2014-04-01"]}],"registrationState":"Registered"}'} headers: cache-control: [no-cache] - content-length: ['2860'] + content-length: ['3283'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:37:55 GMT'] + date: ['Tue, 11 Jul 2017 23:51:56 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -339,9 +335,8 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -349,56 +344,55 @@ interactions: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"use":"az-test"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['326'] + content-length: ['328'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:37:56 GMT'] + date: ['Tue, 11 Jul 2017 23:51:56 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] vary: [Accept-Encoding] status: {code: 200, message: OK} - request: - body: 'b''b\''{"properties": {"mode": "Incremental", "parameters": {}, "template": - {"contentVersion": "1.0.0.0", "outputs": {"sshMaster0": {"type": "string", "value": - "[concat(\\\''ssh \\\'', \\\''azureuser\\\'', \\\''@\\\'', reference(concat(\\\''Microsoft.ContainerService/containerServices/\\\'', + body: 'b''b\''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "resources": [{"apiVersion": "2017-01-31", "location": + "westus", "type": "Microsoft.ContainerService/containerServices", "name": "cliacstest000002", + "tags": null, "properties": {"orchestratorProfile": {"orchestratorType": "DCOS"}, + "masterProfile": {"count": 1, "dnsPrefix": "cliasdns000003mgmt"}, "agentPoolProfiles": + [{"count": 3, "vmSize": "Standard_D2_v2", "osType": "Linux", "dnsPrefix": "cliasdns000003agent", + "name": "agentpool0"}], "linuxProfile": {"ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\\\n"}]}, "adminUsername": "azureuser"}}}], "outputs": {"masterFQDN": + {"type": "string", "value": "[reference(concat(\\\''Microsoft.ContainerService/containerServices/\\\'', + \\\''cliacstest000002\\\'')).masterProfile.fqdn]"}, "sshMaster0": {"type": "string", + "value": "[concat(\\\''ssh \\\'', \\\''azureuser\\\'', \\\''@\\\'', reference(concat(\\\''Microsoft.ContainerService/containerServices/\\\'', \\\''cliacstest000002\\\'')).masterProfile.fqdn, \\\'' -A -p 2200\\\'')]"}, "agentFQDN": {"type": "string", "value": "[reference(concat(\\\''Microsoft.ContainerService/containerServices/\\\'', - \\\''cliacstest000002\\\'')).agentPoolProfiles[0].fqdn]"}, "masterFQDN": {"type": - "string", "value": "[reference(concat(\\\''Microsoft.ContainerService/containerServices/\\\'', - \\\''cliacstest000002\\\'')).masterProfile.fqdn]"}}, "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "resources": [{"type": "Microsoft.ContainerService/containerServices", "apiVersion": - "2016-03-30", "location": "westus", "tags": null, "name": "cliacstest000002", - "properties": {"linuxProfile": {"ssh": {"publicKeys": [{"keyData": "ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\\\n"}]}, "adminUsername": "azureuser"}, "masterProfile": {"count": - "1", "dnsPrefix": "cliasdns000003mgmt"}, "orchestratorProfile": {"orchestratorType": - "DCOS"}, "agentPoolProfiles": [{"count": "3", "dnsPrefix": "cliasdns000003agents", - "vmSize": "Standard_D2_v2", "name": "agentpools"}]}}]}}}\''''' + \\\''cliacstest000002\\\'')).agentPoolProfiles[0].fqdn]"}}}, "parameters": {}, + "mode": "Incremental"}}\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [acs create] Connection: [keep-alive] - Content-Length: ['1989'] + Content-Length: ['2003'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment","name":"azurecli1492727875.95782796946","properties":{"templateHash":"14964472933568020715","mode":"Incremental","provisioningState":"Accepted","timestamp":"2017-04-20T22:37:57.917578Z","duration":"PT0.6179425S","correlationId":"eb52badb-496d-466e-bd04-84895ead9147","providers":[{"namespace":"Microsoft.ContainerService","resourceTypes":[{"resourceType":"containerServices","locations":["westus"]}]}],"dependencies":[]}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/azurecli1499817114.83506115060","name":"azurecli1499817114.83506115060","properties":{"templateHash":"9592245220618909224","mode":"Incremental","provisioningState":"Accepted","timestamp":"2017-07-11T23:51:58.8787057Z","duration":"PT0.7117682S","correlationId":"94fe0499-1b65-428d-b2c5-03fa03d03103","providers":[{"namespace":"Microsoft.ContainerService","resourceTypes":[{"resourceType":"containerServices","locations":["westus"]}]}],"dependencies":[]}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/azurecli1499817114.83506115060/operationStatuses/08587017897673106693?api-version=2017-05-10'] cache-control: [no-cache] - content-length: ['644'] + content-length: ['645'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:37:57 GMT'] + date: ['Tue, 11 Jul 2017 23:51:58 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -408,45 +402,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:38:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [acs create] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Running"}'} headers: cache-control: [no-cache] content-length: ['20'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:38:58 GMT'] + date: ['Tue, 11 Jul 2017 23:52:29 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -460,19 +427,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Running"}'} headers: cache-control: [no-cache] content-length: ['20'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:39:28 GMT'] + date: ['Tue, 11 Jul 2017 23:52:59 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -486,19 +452,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Running"}'} headers: cache-control: [no-cache] content-length: ['20'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:39:58 GMT'] + date: ['Tue, 11 Jul 2017 23:53:29 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -512,19 +477,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Running"}'} headers: cache-control: [no-cache] content-length: ['20'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:40:29 GMT'] + date: ['Tue, 11 Jul 2017 23:54:00 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -538,19 +502,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Running"}'} headers: cache-control: [no-cache] content-length: ['20'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:40:59 GMT'] + date: ['Tue, 11 Jul 2017 23:54:30 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -564,19 +527,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Running"}'} headers: cache-control: [no-cache] content-length: ['20'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:41:30 GMT'] + date: ['Tue, 11 Jul 2017 23:55:00 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -590,19 +552,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Running"}'} headers: cache-control: [no-cache] content-length: ['20'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:42:01 GMT'] + date: ['Tue, 11 Jul 2017 23:55:31 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -616,19 +577,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Running"}'} headers: cache-control: [no-cache] content-length: ['20'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:42:31 GMT'] + date: ['Tue, 11 Jul 2017 23:56:01 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -642,19 +602,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Running"}'} headers: cache-control: [no-cache] content-length: ['20'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:43:01 GMT'] + date: ['Tue, 11 Jul 2017 23:56:31 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -668,19 +627,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Running"}'} headers: cache-control: [no-cache] content-length: ['20'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:43:31 GMT'] + date: ['Tue, 11 Jul 2017 23:57:01 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -694,19 +652,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Running"}'} headers: cache-control: [no-cache] content-length: ['20'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:44:01 GMT'] + date: ['Tue, 11 Jul 2017 23:57:31 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -720,71 +677,18 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:44:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [acs create] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:45:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [acs create] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587088790081779684?api-version=2017-05-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587017897673106693?api-version=2017-05-10 response: body: {string: '{"status":"Succeeded"}'} headers: cache-control: [no-cache] content-length: ['22'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:45:32 GMT'] + date: ['Tue, 11 Jul 2017 23:58:01 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -798,20 +702,19 @@ interactions: CommandName: [acs create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment","name":"azurecli1492727875.95782796946","properties":{"templateHash":"14964472933568020715","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2017-04-20T22:45:04.2648049Z","duration":"PT7M6.9651694S","correlationId":"eb52badb-496d-466e-bd04-84895ead9147","providers":[{"namespace":"Microsoft.ContainerService","resourceTypes":[{"resourceType":"containerServices","locations":["westus"]}]}],"dependencies":[],"outputs":{"sshMaster0":{"type":"String","value":"ssh - azureuser@cliasdns000003mgmt.westus.cloudapp.azure.com -A -p 2200"},"agentFQDN":{"type":"String","value":"cliasdns000003agents.westus.cloudapp.azure.com"},"masterFQDN":{"type":"String","value":"cliasdns000003mgmt.westus.cloudapp.azure.com"}},"outputResources":[{"id":"Microsoft.ContainerService/containerServices/cliacstest000002"}]}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/azurecli1499817114.83506115060","name":"azurecli1499817114.83506115060","properties":{"templateHash":"9592245220618909224","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2017-07-11T23:57:41.1101089Z","duration":"PT5M42.9431714S","correlationId":"94fe0499-1b65-428d-b2c5-03fa03d03103","providers":[{"namespace":"Microsoft.ContainerService","resourceTypes":[{"resourceType":"containerServices","locations":["westus"]}]}],"dependencies":[],"outputs":{"masterFQDN":{"type":"String","value":"cliasdns000003mgmt.westus.cloudapp.azure.com"},"sshMaster0":{"type":"String","value":"ssh + azureuser@cliasdns000003mgmt.westus.cloudapp.azure.com -A -p 2200"},"agentFQDN":{"type":"String","value":"cliasdns000003agent.westus.cloudapp.azure.com"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002"}]}}'} headers: cache-control: [no-cache] - content-length: ['1041'] + content-length: ['1194'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:45:32 GMT'] + date: ['Tue, 11 Jul 2017 23:58:03 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -825,34 +728,35 @@ interactions: CommandName: [acs show] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 containerserviceclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 containerserviceclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002?api-version=2017-01-31 response: - body: {string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002\",\r\n - \ \"name\": \"cliacstest000002\",\r\n \"type\": \"Microsoft.ContainerService/ContainerServices\",\r\n - \ \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"orchestratorProfile\": {\r\n \"orchestratorType\": - \"DCOS\"\r\n },\r\n \"masterProfile\": {\r\n \"count\": 1,\r\n - \ \"dnsPrefix\": \"cliasdns000003mgmt\",\r\n \"fqdn\": \"cliasdns000003mgmt.westus.cloudapp.azure.com\"\r\n - \ },\r\n \"agentPoolProfiles\": [\r\n {\r\n \"name\": \"agentpools\",\r\n - \ \"count\": 3,\r\n \"vmSize\": \"Standard_D2_v2\",\r\n \"dnsPrefix\": - \"cliasdns000003agents\",\r\n \"fqdn\": \"cliasdns000003agents.westus.cloudapp.azure.com\",\r\n - \ \"osType\": \"Linux\"\r\n }\r\n ],\r\n \"linuxProfile\": - {\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"adminUsername\": - \"azureuser\"\r\n },\r\n \"diagnosticsProfile\": {\r\n \"vmDiagnostics\": - {\r\n \"enabled\": true,\r\n \"storageUri\": \"https://k3yrrrmsr5uw6diag0.blob.core.windows.net/\"\r\n - \ }\r\n }\r\n }\r\n}"} + body: {string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002\"\ + ,\r\n \"name\": \"cliacstest000002\",\r\n \"type\": \"Microsoft.ContainerService/ContainerServices\"\ + ,\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\"\ + : \"Succeeded\",\r\n \"orchestratorProfile\": {\r\n \"orchestratorType\"\ + : \"DCOS\"\r\n },\r\n \"masterProfile\": {\r\n \"count\": 1,\r\n\ + \ \"dnsPrefix\": \"cliasdns000003mgmt\",\r\n \"fqdn\": \"cliasdns000003mgmt.westus.cloudapp.azure.com\"\ + \r\n },\r\n \"agentPoolProfiles\": [\r\n {\r\n \"name\"\ + : \"agentpool0\",\r\n \"count\": 3,\r\n \"vmSize\": \"Standard_D2_v2\"\ + ,\r\n \"dnsPrefix\": \"cliasdns000003agent\",\r\n \"fqdn\":\ + \ \"cliasdns000003agent.westus.cloudapp.azure.com\",\r\n \"osType\"\ + : \"Linux\"\r\n }\r\n ],\r\n \"linuxProfile\": {\r\n \"ssh\"\ + : {\r\n \"publicKeys\": [\r\n {\r\n \"keyData\"\ + : \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"\ + adminUsername\": \"azureuser\"\r\n },\r\n \"diagnosticsProfile\": {\r\ + \n \"vmDiagnostics\": {\r\n \"enabled\": true,\r\n \"storageUri\"\ + : \"https://s47xni4g6y2podiag0.blob.core.windows.net/\"\r\n }\r\n \ + \ }\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['2023'] + content-length: ['2022'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:45:33 GMT'] + date: ['Tue, 11 Jul 2017 23:58:04 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -868,34 +772,35 @@ interactions: CommandName: [acs scale] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 containerserviceclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 containerserviceclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002?api-version=2017-01-31 response: - body: {string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002\",\r\n - \ \"name\": \"cliacstest000002\",\r\n \"type\": \"Microsoft.ContainerService/ContainerServices\",\r\n - \ \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"orchestratorProfile\": {\r\n \"orchestratorType\": - \"DCOS\"\r\n },\r\n \"masterProfile\": {\r\n \"count\": 1,\r\n - \ \"dnsPrefix\": \"cliasdns000003mgmt\",\r\n \"fqdn\": \"cliasdns000003mgmt.westus.cloudapp.azure.com\"\r\n - \ },\r\n \"agentPoolProfiles\": [\r\n {\r\n \"name\": \"agentpools\",\r\n - \ \"count\": 3,\r\n \"vmSize\": \"Standard_D2_v2\",\r\n \"dnsPrefix\": - \"cliasdns000003agents\",\r\n \"fqdn\": \"cliasdns000003agents.westus.cloudapp.azure.com\",\r\n - \ \"osType\": \"Linux\"\r\n }\r\n ],\r\n \"linuxProfile\": - {\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"adminUsername\": - \"azureuser\"\r\n },\r\n \"diagnosticsProfile\": {\r\n \"vmDiagnostics\": - {\r\n \"enabled\": true,\r\n \"storageUri\": \"https://k3yrrrmsr5uw6diag0.blob.core.windows.net/\"\r\n - \ }\r\n }\r\n }\r\n}"} + body: {string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002\"\ + ,\r\n \"name\": \"cliacstest000002\",\r\n \"type\": \"Microsoft.ContainerService/ContainerServices\"\ + ,\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\"\ + : \"Succeeded\",\r\n \"orchestratorProfile\": {\r\n \"orchestratorType\"\ + : \"DCOS\"\r\n },\r\n \"masterProfile\": {\r\n \"count\": 1,\r\n\ + \ \"dnsPrefix\": \"cliasdns000003mgmt\",\r\n \"fqdn\": \"cliasdns000003mgmt.westus.cloudapp.azure.com\"\ + \r\n },\r\n \"agentPoolProfiles\": [\r\n {\r\n \"name\"\ + : \"agentpool0\",\r\n \"count\": 3,\r\n \"vmSize\": \"Standard_D2_v2\"\ + ,\r\n \"dnsPrefix\": \"cliasdns000003agent\",\r\n \"fqdn\":\ + \ \"cliasdns000003agent.westus.cloudapp.azure.com\",\r\n \"osType\"\ + : \"Linux\"\r\n }\r\n ],\r\n \"linuxProfile\": {\r\n \"ssh\"\ + : {\r\n \"publicKeys\": [\r\n {\r\n \"keyData\"\ + : \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"\ + adminUsername\": \"azureuser\"\r\n },\r\n \"diagnosticsProfile\": {\r\ + \n \"vmDiagnostics\": {\r\n \"enabled\": true,\r\n \"storageUri\"\ + : \"https://s47xni4g6y2podiag0.blob.core.windows.net/\"\r\n }\r\n \ + \ }\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['2023'] + content-length: ['2022'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:45:33 GMT'] + date: ['Tue, 11 Jul 2017 23:58:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -904,54 +809,55 @@ interactions: vary: [Accept-Encoding] status: {code: 200, message: OK} - request: - body: 'b''{"properties": {"diagnosticsProfile": {"vmDiagnostics": {"enabled": - true}}, "linuxProfile": {"ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n"}]}, "adminUsername": "azureuser"}, "masterProfile": {"count": - 1, "dnsPrefix": "cliasdns000003mgmt"}, "orchestratorProfile": {"orchestratorType": - "DCOS"}, "agentPoolProfiles": [{"count": 5, "dnsPrefix": "cliasdns000003agents", - "vmSize": "Standard_D2_v2", "name": "agentpools"}]}, "location": "westus"}''' + body: 'b''{"location": "westus", "properties": {"orchestratorProfile": {"orchestratorType": + "DCOS"}, "masterProfile": {"count": 1, "dnsPrefix": "cliasdns000003mgmt"}, "agentPoolProfiles": + [{"name": "agentpool0", "count": 5, "vmSize": "Standard_D2_v2", "dnsPrefix": + "cliasdns000003agent"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n"}]}}, "diagnosticsProfile": {"vmDiagnostics": {"enabled": + true}}}}''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [acs scale] Connection: [keep-alive] - Content-Length: ['1178'] + Content-Length: ['1177'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 containerserviceclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 containerserviceclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002?api-version=2017-01-31 response: - body: {string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002\",\r\n - \ \"name\": \"cliacstest000002\",\r\n \"type\": \"Microsoft.ContainerService/ContainerServices\",\r\n - \ \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": - \"Updating\",\r\n \"orchestratorProfile\": {\r\n \"orchestratorType\": - \"DCOS\"\r\n },\r\n \"masterProfile\": {\r\n \"count\": 1,\r\n - \ \"dnsPrefix\": \"cliasdns000003mgmt\"\r\n },\r\n \"agentPoolProfiles\": - [\r\n {\r\n \"name\": \"agentpools\",\r\n \"count\": 5,\r\n - \ \"vmSize\": \"Standard_D2_v2\",\r\n \"dnsPrefix\": \"cliasdns000003agents\",\r\n - \ \"osType\": \"Linux\"\r\n }\r\n ],\r\n \"linuxProfile\": - {\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"adminUsername\": - \"azureuser\"\r\n },\r\n \"diagnosticsProfile\": {\r\n \"vmDiagnostics\": - {\r\n \"enabled\": true,\r\n \"storageUri\": \"https://k3yrrrmsr5uw6diag0.blob.core.windows.net/\"\r\n - \ }\r\n }\r\n }\r\n}"} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/a233fbeb-83b2-4f6d-8eb8-e5197cd57a17?api-version=2017-01-31'] + body: {string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002\"\ + ,\r\n \"name\": \"cliacstest000002\",\r\n \"type\": \"Microsoft.ContainerService/ContainerServices\"\ + ,\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\"\ + : \"Updating\",\r\n \"orchestratorProfile\": {\r\n \"orchestratorType\"\ + : \"DCOS\"\r\n },\r\n \"masterProfile\": {\r\n \"count\": 1,\r\n\ + \ \"dnsPrefix\": \"cliasdns000003mgmt\"\r\n },\r\n \"agentPoolProfiles\"\ + : [\r\n {\r\n \"name\": \"agentpool0\",\r\n \"count\":\ + \ 5,\r\n \"vmSize\": \"Standard_D2_v2\",\r\n \"dnsPrefix\":\ + \ \"cliasdns000003agent\",\r\n \"osType\": \"Linux\"\r\n }\r\n\ + \ ],\r\n \"linuxProfile\": {\r\n \"ssh\": {\r\n \"publicKeys\"\ + : [\r\n {\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"\ + adminUsername\": \"azureuser\"\r\n },\r\n \"diagnosticsProfile\": {\r\ + \n \"vmDiagnostics\": {\r\n \"enabled\": true,\r\n \"storageUri\"\ + : \"https://s47xni4g6y2podiag0.blob.core.windows.net/\"\r\n }\r\n \ + \ }\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/32158f32-c70d-4e3f-8320-afe11a8b933d?api-version=2017-01-31'] cache-control: [no-cache] content-length: ['1888'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:45:37 GMT'] + date: ['Tue, 11 Jul 2017 23:58:07 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] status: {code: 200, message: OK} - request: body: null @@ -961,20 +867,20 @@ interactions: CommandName: [acs scale] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 containerserviceclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 containerserviceclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/a233fbeb-83b2-4f6d-8eb8-e5197cd57a17?api-version=2017-01-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/32158f32-c70d-4e3f-8320-afe11a8b933d?api-version=2017-01-31 response: - body: {string: "{\r\n \"startTime\": \"2017-04-20T22:45:35.621336+00:00\",\r\n - \ \"status\": \"InProgress\",\r\n \"name\": \"a233fbeb-83b2-4f6d-8eb8-e5197cd57a17\"\r\n}"} + body: {string: "{\r\n \"startTime\": \"2017-07-11T23:58:04.3622284+00:00\",\r\ + \n \"status\": \"InProgress\",\r\n \"name\": \"32158f32-c70d-4e3f-8320-afe11a8b933d\"\ + \r\n}"} headers: cache-control: [no-cache] - content-length: ['133'] + content-length: ['134'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:46:08 GMT'] + date: ['Tue, 11 Jul 2017 23:58:38 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -990,20 +896,20 @@ interactions: CommandName: [acs scale] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 containerserviceclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 containerserviceclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/a233fbeb-83b2-4f6d-8eb8-e5197cd57a17?api-version=2017-01-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/32158f32-c70d-4e3f-8320-afe11a8b933d?api-version=2017-01-31 response: - body: {string: "{\r\n \"startTime\": \"2017-04-20T22:45:35.621336+00:00\",\r\n - \ \"status\": \"InProgress\",\r\n \"name\": \"a233fbeb-83b2-4f6d-8eb8-e5197cd57a17\"\r\n}"} + body: {string: "{\r\n \"startTime\": \"2017-07-11T23:58:04.3622284+00:00\",\r\ + \n \"status\": \"InProgress\",\r\n \"name\": \"32158f32-c70d-4e3f-8320-afe11a8b933d\"\ + \r\n}"} headers: cache-control: [no-cache] - content-length: ['133'] + content-length: ['134'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:46:38 GMT'] + date: ['Tue, 11 Jul 2017 23:59:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1019,20 +925,20 @@ interactions: CommandName: [acs scale] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 containerserviceclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 containerserviceclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/a233fbeb-83b2-4f6d-8eb8-e5197cd57a17?api-version=2017-01-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/32158f32-c70d-4e3f-8320-afe11a8b933d?api-version=2017-01-31 response: - body: {string: "{\r\n \"startTime\": \"2017-04-20T22:45:35.621336+00:00\",\r\n - \ \"status\": \"InProgress\",\r\n \"name\": \"a233fbeb-83b2-4f6d-8eb8-e5197cd57a17\"\r\n}"} + body: {string: "{\r\n \"startTime\": \"2017-07-11T23:58:04.3622284+00:00\",\r\ + \n \"status\": \"InProgress\",\r\n \"name\": \"32158f32-c70d-4e3f-8320-afe11a8b933d\"\ + \r\n}"} headers: cache-control: [no-cache] - content-length: ['133'] + content-length: ['134'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:47:09 GMT'] + date: ['Tue, 11 Jul 2017 23:59:38 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1048,20 +954,20 @@ interactions: CommandName: [acs scale] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 containerserviceclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 containerserviceclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/a233fbeb-83b2-4f6d-8eb8-e5197cd57a17?api-version=2017-01-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/32158f32-c70d-4e3f-8320-afe11a8b933d?api-version=2017-01-31 response: - body: {string: "{\r\n \"startTime\": \"2017-04-20T22:45:35.621336+00:00\",\r\n - \ \"status\": \"InProgress\",\r\n \"name\": \"a233fbeb-83b2-4f6d-8eb8-e5197cd57a17\"\r\n}"} + body: {string: "{\r\n \"startTime\": \"2017-07-11T23:58:04.3622284+00:00\",\r\ + \n \"status\": \"InProgress\",\r\n \"name\": \"32158f32-c70d-4e3f-8320-afe11a8b933d\"\ + \r\n}"} headers: cache-control: [no-cache] - content-length: ['133'] + content-length: ['134'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:47:39 GMT'] + date: ['Wed, 12 Jul 2017 00:00:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1077,20 +983,20 @@ interactions: CommandName: [acs scale] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 containerserviceclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 containerserviceclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/a233fbeb-83b2-4f6d-8eb8-e5197cd57a17?api-version=2017-01-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/32158f32-c70d-4e3f-8320-afe11a8b933d?api-version=2017-01-31 response: - body: {string: "{\r\n \"startTime\": \"2017-04-20T22:45:35.621336+00:00\",\r\n - \ \"status\": \"InProgress\",\r\n \"name\": \"a233fbeb-83b2-4f6d-8eb8-e5197cd57a17\"\r\n}"} + body: {string: "{\r\n \"startTime\": \"2017-07-11T23:58:04.3622284+00:00\",\r\ + \n \"endTime\": \"2017-07-12T00:00:25.3540285+00:00\",\r\n \"status\": \"\ + Succeeded\",\r\n \"name\": \"32158f32-c70d-4e3f-8320-afe11a8b933d\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['133'] + content-length: ['184'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:48:09 GMT'] + date: ['Wed, 12 Jul 2017 00:00:39 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1106,64 +1012,35 @@ interactions: CommandName: [acs scale] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 containerserviceclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/a233fbeb-83b2-4f6d-8eb8-e5197cd57a17?api-version=2017-01-31 - response: - body: {string: "{\r\n \"startTime\": \"2017-04-20T22:45:35.621336+00:00\",\r\n - \ \"endTime\": \"2017-04-20T22:48:28.4312343+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"a233fbeb-83b2-4f6d-8eb8-e5197cd57a17\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['183'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:48:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [acs scale] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 containerserviceclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 containerserviceclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002?api-version=2017-01-31 response: - body: {string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002\",\r\n - \ \"name\": \"cliacstest000002\",\r\n \"type\": \"Microsoft.ContainerService/ContainerServices\",\r\n - \ \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"orchestratorProfile\": {\r\n \"orchestratorType\": - \"DCOS\"\r\n },\r\n \"masterProfile\": {\r\n \"count\": 1,\r\n - \ \"dnsPrefix\": \"cliasdns000003mgmt\",\r\n \"fqdn\": \"cliasdns000003mgmt.westus.cloudapp.azure.com\"\r\n - \ },\r\n \"agentPoolProfiles\": [\r\n {\r\n \"name\": \"agentpools\",\r\n - \ \"count\": 5,\r\n \"vmSize\": \"Standard_D2_v2\",\r\n \"dnsPrefix\": - \"cliasdns000003agents\",\r\n \"fqdn\": \"cliasdns000003agents.westus.cloudapp.azure.com\",\r\n - \ \"osType\": \"Linux\"\r\n }\r\n ],\r\n \"linuxProfile\": - {\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"adminUsername\": - \"azureuser\"\r\n },\r\n \"diagnosticsProfile\": {\r\n \"vmDiagnostics\": - {\r\n \"enabled\": true,\r\n \"storageUri\": \"https://k3yrrrmsr5uw6diag0.blob.core.windows.net/\"\r\n - \ }\r\n }\r\n }\r\n}"} + body: {string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002\"\ + ,\r\n \"name\": \"cliacstest000002\",\r\n \"type\": \"Microsoft.ContainerService/ContainerServices\"\ + ,\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\"\ + : \"Succeeded\",\r\n \"orchestratorProfile\": {\r\n \"orchestratorType\"\ + : \"DCOS\"\r\n },\r\n \"masterProfile\": {\r\n \"count\": 1,\r\n\ + \ \"dnsPrefix\": \"cliasdns000003mgmt\",\r\n \"fqdn\": \"cliasdns000003mgmt.westus.cloudapp.azure.com\"\ + \r\n },\r\n \"agentPoolProfiles\": [\r\n {\r\n \"name\"\ + : \"agentpool0\",\r\n \"count\": 5,\r\n \"vmSize\": \"Standard_D2_v2\"\ + ,\r\n \"dnsPrefix\": \"cliasdns000003agent\",\r\n \"fqdn\":\ + \ \"cliasdns000003agent.westus.cloudapp.azure.com\",\r\n \"osType\"\ + : \"Linux\"\r\n }\r\n ],\r\n \"linuxProfile\": {\r\n \"ssh\"\ + : {\r\n \"publicKeys\": [\r\n {\r\n \"keyData\"\ + : \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"\ + adminUsername\": \"azureuser\"\r\n },\r\n \"diagnosticsProfile\": {\r\ + \n \"vmDiagnostics\": {\r\n \"enabled\": true,\r\n \"storageUri\"\ + : \"https://s47xni4g6y2podiag0.blob.core.windows.net/\"\r\n }\r\n \ + \ }\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['2023'] + content-length: ['2022'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:48:41 GMT'] + date: ['Wed, 12 Jul 2017 00:00:39 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1179,34 +1056,35 @@ interactions: CommandName: [acs show] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 containerserviceclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 containerserviceclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002?api-version=2017-01-31 response: - body: {string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002\",\r\n - \ \"name\": \"cliacstest000002\",\r\n \"type\": \"Microsoft.ContainerService/ContainerServices\",\r\n - \ \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"orchestratorProfile\": {\r\n \"orchestratorType\": - \"DCOS\"\r\n },\r\n \"masterProfile\": {\r\n \"count\": 1,\r\n - \ \"dnsPrefix\": \"cliasdns000003mgmt\",\r\n \"fqdn\": \"cliasdns000003mgmt.westus.cloudapp.azure.com\"\r\n - \ },\r\n \"agentPoolProfiles\": [\r\n {\r\n \"name\": \"agentpools\",\r\n - \ \"count\": 5,\r\n \"vmSize\": \"Standard_D2_v2\",\r\n \"dnsPrefix\": - \"cliasdns000003agents\",\r\n \"fqdn\": \"cliasdns000003agents.westus.cloudapp.azure.com\",\r\n - \ \"osType\": \"Linux\"\r\n }\r\n ],\r\n \"linuxProfile\": - {\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"adminUsername\": - \"azureuser\"\r\n },\r\n \"diagnosticsProfile\": {\r\n \"vmDiagnostics\": - {\r\n \"enabled\": true,\r\n \"storageUri\": \"https://k3yrrrmsr5uw6diag0.blob.core.windows.net/\"\r\n - \ }\r\n }\r\n }\r\n}"} + body: {string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/containerServices/cliacstest000002\"\ + ,\r\n \"name\": \"cliacstest000002\",\r\n \"type\": \"Microsoft.ContainerService/ContainerServices\"\ + ,\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\"\ + : \"Succeeded\",\r\n \"orchestratorProfile\": {\r\n \"orchestratorType\"\ + : \"DCOS\"\r\n },\r\n \"masterProfile\": {\r\n \"count\": 1,\r\n\ + \ \"dnsPrefix\": \"cliasdns000003mgmt\",\r\n \"fqdn\": \"cliasdns000003mgmt.westus.cloudapp.azure.com\"\ + \r\n },\r\n \"agentPoolProfiles\": [\r\n {\r\n \"name\"\ + : \"agentpool0\",\r\n \"count\": 5,\r\n \"vmSize\": \"Standard_D2_v2\"\ + ,\r\n \"dnsPrefix\": \"cliasdns000003agent\",\r\n \"fqdn\":\ + \ \"cliasdns000003agent.westus.cloudapp.azure.com\",\r\n \"osType\"\ + : \"Linux\"\r\n }\r\n ],\r\n \"linuxProfile\": {\r\n \"ssh\"\ + : {\r\n \"publicKeys\": [\r\n {\r\n \"keyData\"\ + : \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"\ + adminUsername\": \"azureuser\"\r\n },\r\n \"diagnosticsProfile\": {\r\ + \n \"vmDiagnostics\": {\r\n \"enabled\": true,\r\n \"storageUri\"\ + : \"https://s47xni4g6y2podiag0.blob.core.windows.net/\"\r\n }\r\n \ + \ }\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['2023'] + content-length: ['2022'] content-type: [application/json; charset=utf-8] - date: ['Thu, 20 Apr 2017 22:48:41 GMT'] + date: ['Wed, 12 Jul 2017 00:00:40 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1223,9 +1101,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.3 (Darwin-16.5.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.7 - msrest_azure/0.4.7 resourcemanagementclient/1.0.0rc1 Azure-SDK-For-Python - AZURECLI/2.0.3+dev] + User-Agent: [python/3.6.1 (Darwin-16.6.0-x86_64-i386-64bit) requests/2.9.1 msrest/0.4.11 + msrest_azure/0.4.9 resourcemanagementclient/1.1.0 Azure-SDK-For-Python AZURECLI/2.0.11+dev] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -1234,12 +1111,11 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 20 Apr 2017 22:48:42 GMT'] + date: ['Wed, 12 Jul 2017 00:00:41 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc5OEVDMTg0QjE4NkE3MDZDNUZBODhGOURBQzlERTg1QkQxOHxGRkI4Q0NFRUEzOTg3QkI3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2016-09-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdJTE9FVkJLQVNEMlFNTUtSMkxUWUFFQ1M0Q1BQTDVDQVlHN3wxRTc0NzdGMUE5MUZEMUQyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] - retry-after: ['15'] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/test_acs_commands.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/test_acs_commands.py index aac2c105f6d..b931d4c9719 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/test_acs_commands.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/test_acs_commands.py @@ -25,7 +25,7 @@ def test_acs_create_default_service(self, resource_group, resource_group_locatio checks=[JMESPathCheck('properties.outputs.masterFQDN.value', '{}mgmt.{}.cloudapp.azure.com'.format(dns_prefix, loc)), JMESPathCheck('properties.outputs.agentFQDN.value', - '{}agents.{}.cloudapp.azure.com'.format(dns_prefix, loc))]) + '{}agent.{}.cloudapp.azure.com'.format(dns_prefix, loc))]) # show self.cmd('acs show -g {} -n {}'.format(resource_group, acs_name), checks=[ @@ -45,13 +45,12 @@ def test_acs_create_default_service(self, resource_group, resource_group_locatio checks=JMESPathCheck('agentPoolProfiles[0].count', 5)) # the length is set to avoid following error: - # Resource name k8s-master-ip-cliacstestdf9e19-clitest.rgbb2842ffee75a33f04366f72f08527c5157885b - # 80664c0560e06962ede3e78f0-00977c-7A54A2DE is invalid. The name can be up to 80 characters - # long. - @ResourceGroupPreparer(random_name_length=30, name_prefix='clitest') + # Resource name k8s-master-ip-cliacstestgae47e-clitestdqdcoaas25vlhygb2aktyv4-c10894mgmt-D811C917 + # is invalid. The name can be up to 80 characters long. + @ResourceGroupPreparer(random_name_length=17, name_prefix='clitest') @RoleBasedServicePrincipalPreparer() def test_acs_create_kubernetes(self, resource_group, sp_name, sp_password): - acs_name = self.create_random_name('cliacstest', 16) + acs_name = self.create_random_name('acs', 14) ssh_pubkey_file = self.generate_ssh_keys().replace('\\', '\\\\') cmd = 'acs create -g {} -n {} --orchestrator-type Kubernetes --service-principal {} ' \ '--client-secret {} --ssh-key-value {}'