This commit is contained in:
Shivam Mittal 2019-09-16 20:04:16 +05:30
Родитель 75503451bd
Коммит e9ddca53ad
22 изменённых файлов: 1245 добавлений и 1913 удалений

Просмотреть файл

@ -6,9 +6,8 @@
This file contains actions for parsing complex arguments
"""
import argparse
from knack.util import CLIError
from ._utils import create_dictionary_from_arg_string
class AddNicAction(argparse._AppendAction):
@ -16,14 +15,7 @@ class AddNicAction(argparse._AppendAction):
Action for parsing the nic arguments
"""
def __call__(self, parser, namespace, values, option_string=None):
nic_params_dict = {}
for item in values:
try:
key, value = item.split('=', 1)
nic_params_dict[key] = value
except ValueError:
raise CLIError('usage error: {} KEY=VALUE [KEY=VALUE ...]'.format(option_string))
nic_params_dict = create_dictionary_from_arg_string(values, option_string)
if namespace.nics:
namespace.nics.append(nic_params_dict)
else:
@ -35,14 +27,7 @@ class AddDiskAction(argparse._AppendAction):
Action for parsing the disk arguments
"""
def __call__(self, parser, namespace, values, option_string=None):
disk_params_dict = {}
for item in values:
try:
key, value = item.split('=', 1)
disk_params_dict[key] = value
except ValueError:
raise CLIError('usage error: {} KEY=VALUE [KEY=VALUE ...]'.format(option_string))
disk_params_dict = create_dictionary_from_arg_string(values, option_string)
if namespace.disks:
namespace.disks.append(disk_params_dict)
else:

Просмотреть файл

@ -13,12 +13,20 @@ def cf_vmware_cs(cli_ctx, *_):
Generic client factory
"""
from azure.cli.core.commands.client_factory import get_mgmt_service_client
# This vendored_sdk import is temporary. Import should be from published SDK
# TODO: Change when production SDK published.
from azext_vmware_cs.vendored_sdks import VMwareCloudSimpleClient
from ._config import (REGION_ID, REFERER)
return get_mgmt_service_client(cli_ctx,
VMwareCloudSimpleClient,
referer=REFERER,
region_id=REGION_ID)
# The region_id parameter shouldn't be in the client as
# one subscription could have avs in multiple regions.
# This is a swagger issue which is being followed on.
# TODO: Remove after swagger issue fixed
def cf_virtual_machine(cli_ctx, *_):

Просмотреть файл

@ -57,7 +57,7 @@ if get_vmware_provider() == VmwareProviders.CS:
Multiple nics can be specified by using more than one `--nic` argument.
If a nic name already exists in the VM template, that nic would be modified according to the user input.
If a nic name does not exist in the VM template, a new nic would be created and a new name will be assigned to it.
Usage: --nic name=MyNicName virtual-network=dvportgroup-xx adapter=MyAdapter power-on-boot=True/False
Usage: --nic name=MyNicName virtual-network=MyNetwork adapter=MyAdapter power-on-boot=True/False
- name: --disk
short-summary: Add or modify disks.
@ -72,31 +72,31 @@ if get_vmware_provider() == VmwareProviders.CS:
examples:
- name: Creating a virtual machine with default parameters from the vm template.
text: >
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r resgroup-xxx --template vm-xxx
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r MyResourcePool --template MyVmTemplate
- name: Creating a virtual machine and adding an extra nic to the VM with virtual network dvportgroup-xx, adapter VMXNET3, that power ups on boot.
- name: Creating a virtual machine and adding an extra nic to the VM with virtual network MyVirtualNetwork, adapter VMXNET3, that power ups on boot.
The name entered in the nic is for identification purposes only, to see if such a nic name exists in the vm template, else a nic is created and name is reassigned.
Lets say the vm template contains a nic with name "Network adapter 1".
text: >
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r resgroup-xxx --template vm-xxx --nic name=NicNameWouldBeReassigned virtual-network=dvportgroup-xx adapter=VMXNET3 power-on-boot=True
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r MyResourcePool --template MyVmTemplate --nic name=NicNameWouldBeReassigned virtual-network=MyVirtualNetwork adapter=VMXNET3 power-on-boot=True
- name: Customizing specific properties of a VM. Changing the number of cores to 2 and adapter of "Network adapter 1" nic to E1000E, from that specified in the template. All other properties would be defaulted from the template.
text: >
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r resgroup-xxx --template vm-xxx --cores 2 --nic name="Network adapter 1" adapter=E1000E
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r MyResourcePool --template MyVmTemplate --cores 2 --nic name="Network adapter 1" adapter=E1000E
- name: Customizing specific properties of a VM. Changing the adapter of "Network adapter 1" nic to E1000E, from that specified in the template, and also adding another nic with virtual network dvportgroup-xx, adapter VMXNET3, that power ups on boot.
- name: Customizing specific properties of a VM. Changing the adapter of "Network adapter 1" nic to E1000E, from that specified in the template, and also adding another nic with virtual network MyVirtualNetwork, adapter VMXNET3, that power ups on boot.
text: >
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r resgroup-xxx --template vm-xxx --nic name="Network adapter 1" adapter=E1000E --nic name=NicNameWouldBeReassigned virtual-network=dvportgroup-xx adapter=VMXNET3 power-on-boot=True
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r MyResourcePool --template MyVmTemplate --nic name="Network adapter 1" adapter=E1000E --nic name=NicNameWouldBeReassigned virtual-network=MyVirtualNetwork adapter=VMXNET3 power-on-boot=True
- name: Creating a virtual machine and adding an extra disk to the VM with SCSI controller 0, persistent mode, and 41943040 KB size.
The name entered in the disk is for identification purposes only, to see if such a disk name exists in the vm template, else a disk is created and name is reassigned.
Lets say the vm template contains a disk with name "Hard disk 1".
text: >
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r resgroup-xxx --template vm-xxx --disk name=DiskNameWouldBeReassigned controller=1000 mode=persistent size=41943040
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r MyResourcePool --template MyVmTemplate --disk name=DiskNameWouldBeReassigned controller=1000 mode=persistent size=41943040
- name: Customizing specific properties of a VM. Changing the size of "Hard disk 1" disk to 21943040 KB, from that specified in the template, and also adding another disk with SCSI controller 0, persistent mode, and 41943040 KB size.
text: >
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r resgroup-xxx --template vm-xxx --disk name="Hard disk 1" size=21943040 --disk name=DiskNameWouldBeReassigned controller=1000 mode=persistent size=41943040
az vmware vm create -n MyVm -g MyResourceGroup -p MyPrivateCloud -r MyResourcePool --template MyVmTemplate --disk name="Hard disk 1" size=21943040 --disk name=DiskNameWouldBeReassigned controller=1000 mode=persistent size=41943040
"""
helps['vmware vm list'] = """

Просмотреть файл

@ -68,11 +68,11 @@ def load_arguments(self, _):
c.argument('resource_pool', options_list=['--resource-pool', '-r'],
validator=resource_pool_name_or_id_validator,
completer=get_resource_name_completion_list('Microsoft.VMwareCloudSimple/resourcePools'),
help="Name or ID of the VMware resource pool for this virtual machine in your CloudSimple Private Cloud.")
help="Name or ID of the VMware resource pool for this virtual machine in your CloudSimple Private Cloud. If you're entering the name, resgroup-* is expected.")
c.argument('template', options_list=['--template'],
validator=template_name_or_id_validator,
completer=get_resource_name_completion_list('Microsoft.VMwareCloudSimple/virtualmachinetemplates'),
help="Name or ID of the vSphere template from which this virtual machine will be created.")
help="Name or ID of the vSphere template from which this virtual machine will be created. If you're entering the name, vm-* is expected.")
c.argument('private_cloud', options_list=['--private-cloud', '-p'],
validator=private_cloud_name_or_id_validator,
completer=get_resource_name_completion_list('Microsoft.VMwareCloudSimple/privateClouds'),
@ -85,17 +85,6 @@ def load_arguments(self, _):
c.argument('disks', options_list=['--disk'], action=AddDiskAction, arg_group='Storage', nargs='+')
c.argument('controller', options_list=['--controller'],
help="The SCSI controller.")
c.argument('independence_mode', options_list=['--mode'], arg_group='Storage',
arg_type=get_enum_type(DiskIndependenceMode),
help="The disk independence mode.")
c.argument('size', options_list=['--size'], arg_group='Storage',
validator=disk_size_validator,
help="The amount of disk size in KB.")
c.argument('disk_name', options_list=['--name', '-n'], arg_group='Storage',
help="Name of the disk.")
with self.argument_context('vmware vm nic') as c:
c.argument('vm_name', options_list=['--vm-name'],
help="Name of the virtual machine.",
@ -120,7 +109,7 @@ def load_arguments(self, _):
validator=vm_name_validator,
completer=get_resource_name_completion_list('Microsoft.VMwareCloudSimple/virtualMachines'))
c.argument('controller', options_list=['--controller'], arg_group='Storage',
help="The SCSI controller.")
help="The SCSI controller. Input 1000 for SCSI controller 0, and 15000 for SATA controller 0.")
c.argument('independence_mode', options_list=['--mode'], arg_group='Storage',
arg_type=get_enum_type(DiskIndependenceMode),
help="The disk independence mode.")
@ -140,11 +129,11 @@ def load_arguments(self, _):
c.argument('resource_pool', options_list=['--resource-pool', '-r'],
validator=resource_pool_only_name_validator,
completer=get_resource_name_completion_list('Microsoft.VMwareCloudSimple/resourcePools'),
help="Name or ID of the VMware resource pool in your CloudSimple Private Cloud.")
help="Name or ID of the VMware resource pool in your CloudSimple Private Cloud. If you're entering the name, resgroup-* is expected.")
c.argument('template', options_list=['--name', '-n'],
validator=template_only_name_validator,
completer=get_resource_name_completion_list('Microsoft.VMwareCloudSimple/virtualmachinetemplates'),
help="Name or ID of the vSphere virtual machine template.")
help="Name or ID of the vSphere virtual machine template. If you're entering the name, vm-* is expected.")
with self.argument_context('vmware virtual-network') as c:
c.argument('private_cloud', options_list=['--private-cloud', '-p'],
@ -154,7 +143,7 @@ def load_arguments(self, _):
c.argument('resource_pool', options_list=['--resource-pool', '-r'],
validator=resource_pool_only_name_validator,
completer=get_resource_name_completion_list('Microsoft.VMwareCloudSimple/resourcePools'),
help="Name or ID of the resource pool used to derive vSphere cluster which contains virtual networks.")
help="Name or ID of the resource pool used to derive vSphere cluster which contains virtual networks. If you're entering the name, resgroup-* is expected.")
c.argument('virtual_network', options_list=['--name', '-n'],
validator=vnet_only_name_validator,
help="Name or ID of the virtual network (vsphereId).")
@ -167,4 +156,4 @@ def load_arguments(self, _):
c.argument('resource_pool', options_list=['--name', '-n'],
validator=resource_pool_only_name_validator,
completer=get_resource_name_completion_list('Microsoft.VMwareCloudSimple/resourcePools'),
help="Name or ID of the VMware resource pool in your CloudSimple Private Cloud.")
help="Name or ID of the VMware resource pool in your CloudSimple Private Cloud. If you're entering the name, resgroup-* is expected.")

Просмотреть файл

@ -7,6 +7,7 @@ This file contains generic utility functions.
"""
import os
from knack.util import CLIError
from ._config import PATH_CHAR
@ -43,3 +44,68 @@ def get_vmware_provider():
if config.has_section(GLOBAL_CONFIG_SECTION):
return config.get(GLOBAL_CONFIG_SECTION, CURRENT_PROVIDER_FIELD_NAME)
return None
def vmware_cs_name_or_id_validator(cmd, namespace, resource_type_display_name,
child_type=None, child_resource=None):
"""
Checks whether the resource is a valid resource id.
If not, then assuming that the passed value is a resource name, a resource id is constructed.
If the constructed resource id is also invalid, an error is raised.
"""
from azure.cli.core.commands.client_factory import get_subscription_id
from msrestazure.tools import is_valid_resource_id
if child_type is not None:
if not is_valid_resource_id(child_resource):
private_cloud = namespace.private_cloud
if is_valid_resource_id(private_cloud):
private_cloud = private_cloud.rsplit('/', 1)[-1]
resource_id = vm_cs_create_resource_id(subscription=get_subscription_id(cmd.cli_ctx),
namespace='Microsoft.VMwareCloudSimple',
location=namespace.location,
resource_type='privateClouds',
resource_name=private_cloud,
child_type=child_type,
child_name=child_resource)
else:
resource_id = child_resource
else:
if not is_valid_resource_id(namespace.private_cloud):
resource_id = vm_cs_create_resource_id(subscription=get_subscription_id(cmd.cli_ctx),
namespace='Microsoft.VMwareCloudSimple',
location=namespace.location,
resource_type='privateClouds',
resource_name=namespace.private_cloud)
else:
resource_id = namespace.private_cloud
if not is_valid_resource_id(resource_id):
raise CLIError('Invalid ' + resource_type_display_name + '.')
return resource_id
def only_resource_name_validator(resource):
"""
Checks whether the passed value is just the resource name (and not the resource id).
If its the resource id, then the resource name is extracted.
"""
from msrestazure.tools import is_valid_resource_id
if is_valid_resource_id(resource):
return resource.rsplit('/', 1)[-1]
return resource
def create_dictionary_from_arg_string(values, option_string=None):
"""
Creates and returns dictionary from a string containing params in KEY=VALUE format
"""
params_dict = {}
for item in values:
try:
key, value = item.split('=', 1)
params_dict[key] = value
except ValueError:
raise CLIError('usage error: {} KEY=VALUE [KEY=VALUE ...]'.format(option_string))
return params_dict

Просмотреть файл

@ -8,7 +8,9 @@ Which validator method to be used for which argument, is defined in _params.py f
"""
from knack.util import CLIError
from ._utils import vm_cs_create_resource_id
from ._utils import (vm_cs_create_resource_id,
vmware_cs_name_or_id_validator,
only_resource_name_validator)
def _check_postive_integer(parameter, value):
@ -77,67 +79,50 @@ def location_validator(cmd, namespace):
namespace.location = rg.location
def private_cloud_name_or_id_validator(cmd, namespace):
"""
Checks whether the passed value is a valid resource id.
If not, then assuming that the passed value is a resource name, a resource id is constructed.
If the constructed resource id is also invalid, an error is raised.
"""
from azure.cli.core.commands.client_factory import get_subscription_id
from msrestazure.tools import is_valid_resource_id
if namespace.private_cloud:
if not is_valid_resource_id(namespace.private_cloud):
namespace.private_cloud = vm_cs_create_resource_id(subscription=get_subscription_id(cmd.cli_ctx),
namespace='Microsoft.VMwareCloudSimple',
location=namespace.location,
resource_type='privateClouds',
resource_name=namespace.private_cloud)
if not is_valid_resource_id(namespace.private_cloud):
raise CLIError('Invalid private cloud.')
def private_cloud_only_name_validator(namespace):
"""
Checks whether the passed value is just the resource name (and not the resource id).
Checks whether the private cloud value is just the resource name (and not the resource id).
If its the resource id, then the resource name is extracted.
"""
from msrestazure.tools import is_valid_resource_id
if namespace.private_cloud:
if is_valid_resource_id(namespace.private_cloud):
namespace.private_cloud = namespace.private_cloud.rsplit('/', 1)[-1]
namespace.private_cloud = only_resource_name_validator(namespace.private_cloud)
def resource_pool_only_name_validator(namespace):
"""
Checks whether the passed value is just the resource name (and not the resource id).
Checks whether the resource pool value is just the resource name (and not the resource id).
If its the resource id, then the resource name is extracted.
"""
from msrestazure.tools import is_valid_resource_id
if namespace.resource_pool:
if is_valid_resource_id(namespace.resource_pool):
namespace.resource_pool = namespace.resource_pool.rsplit('/', 1)[-1]
namespace.resource_pool = only_resource_name_validator(namespace.resource_pool)
def template_only_name_validator(namespace):
"""
Checks whether the passed value is just the resource name (and not the resource id).
Checks whether the vm template value is just the resource name (and not the resource id).
If its the resource id, then the resource name is extracted.
"""
from msrestazure.tools import is_valid_resource_id
if namespace.template:
if is_valid_resource_id(namespace.template):
namespace.template = namespace.template.rsplit('/', 1)[-1]
namespace.template = only_resource_name_validator(namespace.template)
def vnet_only_name_validator(namespace):
"""
Checks whether the passed value is just the resource name (and not the resource id).
Checks whether the virtual network value is just the resource name (and not the resource id).
If its the resource id, then the resource name is extracted.
"""
from msrestazure.tools import is_valid_resource_id
if namespace.virtual_network:
if is_valid_resource_id(namespace.virtual_network):
namespace.virtual_network = namespace.virtual_network.rsplit('/', 1)[-1]
namespace.virtual_network = only_resource_name_validator(namespace.virtual_network)
def private_cloud_name_or_id_validator(cmd, namespace):
"""
Checks whether the private cloud value is a valid resource id.
If not, then assuming that the passed value is a resource name, a resource id is constructed.
If the constructed resource id is also invalid, an error is raised.
"""
if namespace.private_cloud:
namespace.private_cloud = vmware_cs_name_or_id_validator(cmd, namespace, 'private cloud')
def template_name_or_id_validator(cmd, namespace):
@ -146,22 +131,11 @@ def template_name_or_id_validator(cmd, namespace):
If not, then assuming that the passed value is a resource name, a resource id is constructed.
If the constructed resource id is also invalid, an error is raised.
"""
from azure.cli.core.commands.client_factory import get_subscription_id
from msrestazure.tools import is_valid_resource_id
if namespace.template:
private_cloud = namespace.private_cloud
if is_valid_resource_id(private_cloud):
private_cloud = private_cloud.rsplit('/', 1)[-1]
if not is_valid_resource_id(namespace.template):
namespace.template = vm_cs_create_resource_id(subscription=get_subscription_id(cmd.cli_ctx),
namespace='Microsoft.VMwareCloudSimple',
location=namespace.location,
resource_type='privateClouds',
resource_name=private_cloud,
child_type='virtualmachinetemplates',
child_name=namespace.template)
if not is_valid_resource_id(namespace.template):
raise CLIError('Invalid template.')
namespace.template = vmware_cs_name_or_id_validator(cmd, namespace,
'template',
'virtualmachinetemplates',
namespace.template)
def resource_pool_name_or_id_validator(cmd, namespace):
@ -170,22 +144,11 @@ def resource_pool_name_or_id_validator(cmd, namespace):
If not, then assuming that the passed value is a resource name, a resource id is constructed.
If the constructed resource id is also invalid, an error is raised.
"""
from azure.cli.core.commands.client_factory import get_subscription_id
from msrestazure.tools import is_valid_resource_id
if namespace.resource_pool:
private_cloud = namespace.private_cloud
if is_valid_resource_id(private_cloud):
private_cloud = private_cloud.rsplit('/', 1)[-1]
if not is_valid_resource_id(namespace.resource_pool):
namespace.resource_pool = vm_cs_create_resource_id(subscription=get_subscription_id(cmd.cli_ctx),
namespace='Microsoft.VMwareCloudSimple',
location=namespace.location,
resource_type='privateClouds',
resource_name=private_cloud,
child_type='resourcepools',
child_name=namespace.resource_pool)
if not is_valid_resource_id(namespace.resource_pool):
raise CLIError('Invalid resource pool.')
namespace.resource_pool = vmware_cs_name_or_id_validator(cmd, namespace,
'resource pool',
'resourcepools',
namespace.resource_pool)
def virtual_network_name_or_id_validator(cmd, client, virtual_network, resource_group_name,

Просмотреть файл

@ -74,3 +74,6 @@ def load_command_table(self, _):
with self.command_group('vmware', client_factory=cf_vmware_cs) as g:
g.custom_command('set-region', 'set_region')
g.custom_command('get-region', 'get_region')
with self.command_group('vmware', is_preview=True):
pass

Просмотреть файл

@ -49,6 +49,9 @@ def get_provider():
return provider
# This API is broken, as it doesn't take regionId as parameter for the method
# Instead regionId is a parameter in the client
# TODO: Change after thos issue is fixed in swagger
def list_private_cloud_by_region(client):
"""
Returns a list of private clouds in the current region.

Просмотреть файл

@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-09-09T15:06:17Z"}}'
"date": "2019-09-16T14:30:06Z"}}'
headers:
Accept:
- application/json
@ -18,7 +18,7 @@ interactions:
ParameterSetName:
- --location --name --tag
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -26,7 +26,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001?api-version=2018-05-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-09T15:06:17Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-16T14:30:06Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@ -35,7 +35,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 09 Sep 2019 15:06:23 GMT
- Mon, 16 Sep 2019 14:30:11 GMT
expires:
- '-1'
pragma:
@ -45,7 +45,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1195'
status:
code: 201
message: Created
@ -65,7 +65,7 @@ interactions:
ParameterSetName:
- --name --yes --no-wait
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -80,11 +80,11 @@ interactions:
content-length:
- '0'
date:
- Mon, 09 Sep 2019 15:06:28 GMT
- Mon, 16 Sep 2019 14:30:16 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NaSTM0VTZKWlNMNUdaWUxOWlJHRVRPSXw5QkQzMjBBRjhBNjYzNDZELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NLNFVBSVVUUFEzV1FFRDRRN0YzSFhCRXxBN0M1Njc4MDc0NjQ5Njg1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
pragma:
- no-cache
strict-transport-security:
@ -92,7 +92,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14997'
- '14999'
status:
code: 202
message: Accepted

Просмотреть файл

@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-09-09T15:06:17Z"}}'
"date": "2019-09-16T14:30:06Z"}}'
headers:
Accept:
- application/json
@ -18,7 +18,7 @@ interactions:
ParameterSetName:
- --location --name --tag
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -26,7 +26,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001?api-version=2018-05-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-09T15:06:17Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-16T14:30:06Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@ -35,7 +35,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 09 Sep 2019 15:06:25 GMT
- Mon, 16 Sep 2019 14:30:11 GMT
expires:
- '-1'
pragma:
@ -45,7 +45,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1198'
- '1194'
status:
code: 201
message: Created
@ -65,7 +65,7 @@ interactions:
ParameterSetName:
- --name --yes --no-wait
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -80,11 +80,11 @@ interactions:
content-length:
- '0'
date:
- Mon, 09 Sep 2019 15:06:30 GMT
- Mon, 16 Sep 2019 14:30:17 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NTRTc3RldQWE9FNUZLM0VPVFNYQUFKTnxCRjg4REM1NUE3N0MwMjI3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NHR0RVMklBVUEyWlFXSjNSNzJKM09OTHxBNUJBREY0RDAxOTM0MzJGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
pragma:
- no-cache
strict-transport-security:

Просмотреть файл

@ -13,7 +13,7 @@ interactions:
ParameterSetName:
- -g -n -p --template -r
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -30,7 +30,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 09 Sep 2019 15:06:20 GMT
- Mon, 16 Sep 2019 14:30:07 GMT
expires:
- '-1'
pragma:
@ -58,7 +58,7 @@ interactions:
ParameterSetName:
- -g -n -p --template -r
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -81,7 +81,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:22 GMT
- Mon, 16 Sep 2019 14:30:09 GMT
expires:
- '-1'
pragma:
@ -97,11 +97,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- c58a8d8d-1cac-41ad-8261-0b7d2daa77c4
- 515ffa53-2e8d-4f35-86b3-b96b778d87b3
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 4f87a68757400040
- 3eeed9c315171735
status:
code: 200
message: OK
@ -132,7 +132,7 @@ interactions:
Referer:
- https://management.azure.com/
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -146,7 +146,7 @@ interactions:
'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/652a0e9c-d313-11e9-9033-9e10a8e9e0f1?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/7e5b7aea-d88e-11e9-b61b-a2b4e0fe0b05?api-version=2019-04-01
cache-control:
- no-cache
content-length:
@ -154,7 +154,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:27 GMT
- Mon, 16 Sep 2019 14:30:13 GMT
expires:
- '-1'
pragma:
@ -170,13 +170,13 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- ff7f9d5f-c269-4514-ad5c-d5a3e427636f
- 6b3dbcab-b9e2-42fc-85c7-ec73ec588b26
x-env-name:
- eastus-he.azure.cloudsimple.com
x-ms-ratelimit-remaining-subscription-writes:
- '1196'
- '1193'
x-tracing-transaction-id:
- 789cd5b2b8f5f06a
- 69991b9ba8ffdbec
status:
code: 200
message: OK
@ -194,13 +194,13 @@ interactions:
ParameterSetName:
- -g -n -p --template -r
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/652a0e9c-d313-11e9-9033-9e10a8e9e0f1?api-version=2019-04-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/7e5b7aea-d88e-11e9-b61b-a2b4e0fe0b05?api-version=2019-04-01
response:
body:
string: '{"endTime":"2019-09-09T15:06:50.371Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/652a0e9c-d313-11e9-9033-9e10a8e9e0f1","name":"652a0e9c-d313-11e9-9033-9e10a8e9e0f1","startTime":"2019-09-09T15:06:26.660Z","status":"Succeeded"}
string: '{"endTime":"2019-09-16T14:30:40.479Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/7e5b7aea-d88e-11e9-b61b-a2b4e0fe0b05","name":"7e5b7aea-d88e-11e9-b61b-a2b4e0fe0b05","startTime":"2019-09-16T14:30:12.839Z","status":"Succeeded"}
'
headers:
@ -211,7 +211,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:58 GMT
- Mon, 16 Sep 2019 14:30:45 GMT
expires:
- '-1'
pragma:
@ -227,11 +227,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- ff80439c-2930-4267-89ed-e52d9ff8bfc2
- e8cce198-2707-4be9-a72d-11bcd72dcacf
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 522de58bf2b4e65
- b21e3b16f1b4f44
status:
code: 200
message: OK
@ -249,7 +249,7 @@ interactions:
ParameterSetName:
- -g -n -p --template -r
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az_cli_cs_test/providers/Microsoft.VMwareCloudSimple/virtualMachines/cli-test000001?api-version=2019-04-01
@ -258,8 +258,8 @@ interactions:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/az_cli_cs_test/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test000001","location":"eastus","name":"cli-test000001","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:d1:f9","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-690","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:e8:94","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-800","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
'
headers:
@ -270,7 +270,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:58 GMT
- Mon, 16 Sep 2019 14:30:45 GMT
expires:
- '-1'
pragma:
@ -286,11 +286,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 3979df9b-06ed-4979-9f99-e93add8fcdeb
- fb27c5f9-19a6-41fc-97e9-d108f30a543e
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 53c3650ec35d67d2
- 1bb9372a980c6617
status:
code: 200
message: OK
@ -308,7 +308,7 @@ interactions:
ParameterSetName:
- -g -n -p --template -r --nic
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -325,7 +325,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 09 Sep 2019 15:06:58 GMT
- Mon, 16 Sep 2019 14:30:46 GMT
expires:
- '-1'
pragma:
@ -353,7 +353,7 @@ interactions:
ParameterSetName:
- -g -n -p --template -r --nic
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -376,7 +376,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:59 GMT
- Mon, 16 Sep 2019 14:30:46 GMT
expires:
- '-1'
pragma:
@ -392,11 +392,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- a15c297f-53ee-4c5d-bd27-87f4ddde86a1
- af4b86a7-d4bb-4e70-947d-0c1b14d95b3e
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 2eef3de454360844
- 30b933e95b6178ac
status:
code: 200
message: OK
@ -429,7 +429,7 @@ interactions:
Referer:
- https://management.azure.com/
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -443,7 +443,7 @@ interactions:
'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/7b16ea61-d313-11e9-9037-9e10a8e9e0f1?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/94a3332d-d88e-11e9-aaf7-aa30d60fca0b?api-version=2019-04-01
cache-control:
- no-cache
content-length:
@ -451,7 +451,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:04 GMT
- Mon, 16 Sep 2019 14:30:50 GMT
expires:
- '-1'
pragma:
@ -467,13 +467,13 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 60cb12ac-d118-43c1-8fda-c73370fbf342
- 6649d2e1-02cf-4bcf-a35e-6226f2b7e3b3
x-env-name:
- eastus-he.azure.cloudsimple.com
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1194'
x-tracing-transaction-id:
- 7b408d1fe6c8a143
- 5b39501eea92fac5
status:
code: 200
message: OK
@ -491,13 +491,13 @@ interactions:
ParameterSetName:
- -g -n -p --template -r --nic
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/7b16ea61-d313-11e9-9037-9e10a8e9e0f1?api-version=2019-04-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/94a3332d-d88e-11e9-aaf7-aa30d60fca0b?api-version=2019-04-01
response:
body:
string: '{"endTime":"2019-09-09T15:07:20.236Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/7b16ea61-d313-11e9-9037-9e10a8e9e0f1","name":"7b16ea61-d313-11e9-9037-9e10a8e9e0f1","startTime":"2019-09-09T15:07:03.444Z","status":"Succeeded"}
string: '{"endTime":"2019-09-16T14:31:05.417Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/94a3332d-d88e-11e9-aaf7-aa30d60fca0b","name":"94a3332d-d88e-11e9-aaf7-aa30d60fca0b","startTime":"2019-09-16T14:30:50.218Z","status":"Succeeded"}
'
headers:
@ -508,7 +508,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:34 GMT
- Mon, 16 Sep 2019 14:31:21 GMT
expires:
- '-1'
pragma:
@ -524,11 +524,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- d5abc6e3-0fe6-4669-876a-e136117303ba
- 081787f1-61cf-42f5-8a71-885b5413c48b
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 1f8e638c7f6fe148
- 18abcc30af54ba4f
status:
code: 200
message: OK
@ -546,7 +546,7 @@ interactions:
ParameterSetName:
- -g -n -p --template -r --nic
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az_cli_cs_test/providers/Microsoft.VMwareCloudSimple/virtualMachines/cli-test000002?api-version=2019-04-01
@ -555,9 +555,9 @@ interactions:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/az_cli_cs_test/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test000002","location":"eastus","name":"cli-test000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:f3:c4","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"},{"ipAddresses":null,"macAddress":"00:50:56:89:f4:54","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4001","virtualNicName":"Network
adapter 2"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-695","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:0d:9b","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"},{"ipAddresses":null,"macAddress":"00:50:56:89:89:75","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4001","virtualNicName":"Network
adapter 2"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-805","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
'
headers:
@ -568,7 +568,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:35 GMT
- Mon, 16 Sep 2019 14:31:21 GMT
expires:
- '-1'
pragma:
@ -584,11 +584,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 834d1c07-d727-4da6-ac07-3e584f8547ed
- ed8cc7dc-98ac-4dc1-9a87-f9906c205a1a
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 79e1ef654657d60a
- 50b0da997f57ce96
status:
code: 200
message: OK
@ -610,7 +610,7 @@ interactions:
Referer:
- https://management.azure.com/
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -621,7 +621,7 @@ interactions:
string: ''
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/904079c6-d313-11e9-903d-9e10a8e9e0f1?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/a91fc25d-d88e-11e9-b61e-a2b4e0fe0b05?api-version=2019-04-01
cache-control:
- no-cache
content-length:
@ -629,11 +629,11 @@ interactions:
content-type:
- text/plain; charset=utf-8
date:
- Mon, 09 Sep 2019 15:07:39 GMT
- Mon, 16 Sep 2019 14:31:24 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/904079c6-d313-11e9-903d-9e10a8e9e0f1?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/a91fc25d-d88e-11e9-b61e-a2b4e0fe0b05?api-version=2019-04-01
pragma:
- no-cache
server:
@ -643,13 +643,13 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- aa2a9857-dd28-4476-bbe1-f8e41c4aa588
- 9d0f1abc-5a49-427d-bf01-d26dd3105bc7
x-env-name:
- eastus-he.azure.cloudsimple.com
x-ms-ratelimit-remaining-subscription-deletes:
- '14996'
- '14998'
x-tracing-transaction-id:
- 468b69a9079ea6f8
- 7753aca694ff48a7
status:
code: 202
message: Accepted
@ -667,68 +667,13 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/904079c6-d313-11e9-903d-9e10a8e9e0f1?api-version=2019-04-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/a91fc25d-d88e-11e9-b61e-a2b4e0fe0b05?api-version=2019-04-01
response:
body:
string: '{"endTime":"0001-01-01T00:00:00.000Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/904079c6-d313-11e9-903d-9e10a8e9e0f1","name":"904079c6-d313-11e9-903d-9e10a8e9e0f1","startTime":"2019-09-09T15:07:38.949Z","status":"InProgress"}
'
headers:
cache-control:
- no-cache
content-length:
- '314'
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:49 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- nginx/1.13.12
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-correlation-id:
- aea5ed98-784e-4bf3-a0b9-62602b526e1e
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 24844d1f6603b6d0
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- vmware vm delete
Connection:
- keep-alive
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/904079c6-d313-11e9-903d-9e10a8e9e0f1?api-version=2019-04-01
response:
body:
string: '{"endTime":"2019-09-09T15:07:50.388Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/904079c6-d313-11e9-903d-9e10a8e9e0f1","name":"904079c6-d313-11e9-903d-9e10a8e9e0f1","startTime":"2019-09-09T15:07:38.949Z","status":"Succeeded"}
string: '{"endTime":"2019-09-16T14:31:35.268Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/a91fc25d-d88e-11e9-b61e-a2b4e0fe0b05","name":"a91fc25d-d88e-11e9-b61e-a2b4e0fe0b05","startTime":"2019-09-16T14:31:24.589Z","status":"Succeeded"}
'
headers:
@ -739,7 +684,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:08:19 GMT
- Mon, 16 Sep 2019 14:31:35 GMT
expires:
- '-1'
pragma:
@ -755,11 +700,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- ccca20cf-32b8-49e8-a27b-21f010d4d043
- 3682e1f7-bf6e-4d51-b83d-d7a852296efb
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 28d89ec833836402
- 4fcbbf1151b5557f
status:
code: 200
message: OK
@ -781,7 +726,7 @@ interactions:
Referer:
- https://management.azure.com/
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -792,7 +737,7 @@ interactions:
string: ''
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/a9ecab71-d313-11e9-9048-9e10a8e9e0f1?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/b17bbe51-d88e-11e9-ab01-aa30d60fca0b?api-version=2019-04-01
cache-control:
- no-cache
content-length:
@ -800,11 +745,11 @@ interactions:
content-type:
- text/plain; charset=utf-8
date:
- Mon, 09 Sep 2019 15:08:22 GMT
- Mon, 16 Sep 2019 14:31:38 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/a9ecab71-d313-11e9-9048-9e10a8e9e0f1?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/b17bbe51-d88e-11e9-ab01-aa30d60fca0b?api-version=2019-04-01
pragma:
- no-cache
server:
@ -814,13 +759,13 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 38488d33-32aa-47a2-ba22-c69add724c11
- f5d986f2-ec91-4d9b-939e-817d0c56f01c
x-env-name:
- eastus-he.azure.cloudsimple.com
x-ms-ratelimit-remaining-subscription-deletes:
- '14997'
- '14999'
x-tracing-transaction-id:
- 60b6d3846a02d03e
- 4bcd2e3b3eeaed66
status:
code: 202
message: Accepted
@ -838,13 +783,13 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/a9ecab71-d313-11e9-9048-9e10a8e9e0f1?api-version=2019-04-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/b17bbe51-d88e-11e9-ab01-aa30d60fca0b?api-version=2019-04-01
response:
body:
string: '{"endTime":"2019-09-09T15:08:30.396Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/a9ecab71-d313-11e9-9048-9e10a8e9e0f1","name":"a9ecab71-d313-11e9-9048-9e10a8e9e0f1","startTime":"2019-09-09T15:08:22.021Z","status":"Succeeded"}
string: '{"endTime":"2019-09-16T14:31:45.327Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/b17bbe51-d88e-11e9-ab01-aa30d60fca0b","name":"b17bbe51-d88e-11e9-ab01-aa30d60fca0b","startTime":"2019-09-16T14:31:38.614Z","status":"Succeeded"}
'
headers:
@ -855,7 +800,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:08:32 GMT
- Mon, 16 Sep 2019 14:31:49 GMT
expires:
- '-1'
pragma:
@ -871,11 +816,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 85d4f318-5d28-4787-af41-c3834f8b9fe5
- 7b4aa514-ba2a-46b4-b565-9f7f3fdb12c7
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 6919faa8f4fc81de
- 27888f7316de8bdb
status:
code: 200
message: OK

Просмотреть файл

@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-09-09T15:06:17Z"}}'
"date": "2019-09-16T14:30:06Z"}}'
headers:
Accept:
- application/json
@ -18,7 +18,7 @@ interactions:
ParameterSetName:
- --location --name --tag
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -26,7 +26,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001?api-version=2018-05-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-09T15:06:17Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-16T14:30:06Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@ -35,7 +35,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 09 Sep 2019 15:06:25 GMT
- Mon, 16 Sep 2019 14:30:11 GMT
expires:
- '-1'
pragma:
@ -45,7 +45,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1193'
status:
code: 201
message: Created
@ -65,7 +65,7 @@ interactions:
ParameterSetName:
- --name --yes --no-wait
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -80,11 +80,11 @@ interactions:
content-length:
- '0'
date:
- Mon, 09 Sep 2019 15:06:32 GMT
- Mon, 16 Sep 2019 14:30:19 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NCUVUzSEFNTFNBWU9FT1lDR0RUTk5VRnxDQzE3RTE3MjA0Qjk4Q0ZDLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NUNlkzQUNNNkFTNDJUMlRJM0RST1ZOVnw1NDI0QTMzMDdEOUU2RDdGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
pragma:
- no-cache
strict-transport-security:
@ -92,7 +92,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14998'
- '14997'
status:
code: 202
message: Accepted

Просмотреть файл

@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-09-09T15:06:17Z"}}'
"date": "2019-09-16T14:30:06Z"}}'
headers:
Accept:
- application/json
@ -18,7 +18,7 @@ interactions:
ParameterSetName:
- --location --name --tag
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -26,7 +26,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001?api-version=2018-05-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-09T15:06:17Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-16T14:30:06Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@ -35,7 +35,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 09 Sep 2019 15:06:24 GMT
- Mon, 16 Sep 2019 14:30:11 GMT
expires:
- '-1'
pragma:
@ -63,7 +63,7 @@ interactions:
ParameterSetName:
- -g
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -80,7 +80,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 09 Sep 2019 15:06:25 GMT
- Mon, 16 Sep 2019 14:30:11 GMT
expires:
- '-1'
pragma:
@ -108,7 +108,7 @@ interactions:
ParameterSetName:
- -g -n --location --ram --cores --private-cloud --template --resource-pool
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -131,7 +131,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:27 GMT
- Mon, 16 Sep 2019 14:30:12 GMT
expires:
- '-1'
pragma:
@ -147,11 +147,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 0ece053e-67c4-4353-80a2-391325c1abce
- 665428f3-6ddc-4fe5-8fdc-54e7bd9a9031
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 2c1071d627151cb1
- 1f7fc03b954c76d7
status:
code: 200
message: OK
@ -182,7 +182,7 @@ interactions:
Referer:
- https://management.azure.com/
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -196,7 +196,7 @@ interactions:
'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/67e96aef-d313-11e9-b9a2-629a3dc8d835?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/806d5e6a-d88e-11e9-aaf6-aa30d60fca0b?api-version=2019-04-01
cache-control:
- no-cache
content-length:
@ -204,7 +204,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:32 GMT
- Mon, 16 Sep 2019 14:30:16 GMT
expires:
- '-1'
pragma:
@ -220,13 +220,13 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- af7465e8-07f0-497f-b5b7-6ea37d9764a6
- ae726852-c391-405c-b8c3-5a49dd5fd261
x-env-name:
- eastus-he.azure.cloudsimple.com
x-ms-ratelimit-remaining-subscription-writes:
- '1194'
- '1197'
x-tracing-transaction-id:
- 36ba69004a4279e9
- 49faa6f594bff53a
status:
code: 200
message: OK
@ -244,68 +244,13 @@ interactions:
ParameterSetName:
- -g -n --location --ram --cores --private-cloud --template --resource-pool
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/67e96aef-d313-11e9-b9a2-629a3dc8d835?api-version=2019-04-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/806d5e6a-d88e-11e9-aaf6-aa30d60fca0b?api-version=2019-04-01
response:
body:
string: '{"endTime":"0001-01-01T00:00:00.000Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/67e96aef-d313-11e9-b9a2-629a3dc8d835","name":"67e96aef-d313-11e9-b9a2-629a3dc8d835","startTime":"2019-09-09T15:06:31.270Z","status":"InProgress"}
'
headers:
cache-control:
- no-cache
content-length:
- '314'
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:02 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- nginx/1.13.12
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-correlation-id:
- ff9a3a0b-8bca-4d06-9e89-4c3cbe494e21
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 69937659010b388a
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- vmware vm create
Connection:
- keep-alive
ParameterSetName:
- -g -n --location --ram --cores --private-cloud --template --resource-pool
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/67e96aef-d313-11e9-b9a2-629a3dc8d835?api-version=2019-04-01
response:
body:
string: '{"endTime":"2019-09-09T15:07:05.357Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/67e96aef-d313-11e9-b9a2-629a3dc8d835","name":"67e96aef-d313-11e9-b9a2-629a3dc8d835","startTime":"2019-09-09T15:06:31.270Z","status":"Succeeded"}
string: '{"endTime":"2019-09-16T14:30:45.277Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/806d5e6a-d88e-11e9-aaf6-aa30d60fca0b","name":"806d5e6a-d88e-11e9-aaf6-aa30d60fca0b","startTime":"2019-09-16T14:30:16.311Z","status":"Succeeded"}
'
headers:
@ -316,7 +261,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:33 GMT
- Mon, 16 Sep 2019 14:30:47 GMT
expires:
- '-1'
pragma:
@ -332,11 +277,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- a333dfda-f781-433a-b074-7d5ddf82442f
- 95871113-c1eb-4aee-a498-357fec8cce2e
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 23426c1719ee5870
- 3473903ede0f4223
status:
code: 200
message: OK
@ -354,7 +299,7 @@ interactions:
ParameterSetName:
- -g -n --location --ram --cores --private-cloud --template --resource-pool
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001/providers/Microsoft.VMwareCloudSimple/virtualMachines/cli-test1000002?api-version=2019-04-01
@ -363,8 +308,8 @@ interactions:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:6b:e6","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-693","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:a7:ec","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-803","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
'
headers:
@ -375,7 +320,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:33 GMT
- Mon, 16 Sep 2019 14:30:49 GMT
expires:
- '-1'
pragma:
@ -391,11 +336,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 96a95619-9613-4c07-8cbf-5587589f829c
- 035815d9-8b07-47ea-8e35-b379193602c1
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 7c264471d4ebc55c
- 3ef5daea9c6aa204
status:
code: 200
message: OK
@ -413,7 +358,7 @@ interactions:
ParameterSetName:
- -g
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -424,8 +369,8 @@ interactions:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:6b:e6","network":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:dvportgroup-85"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"45d858d8-20e2-4776-a14b-96e1e3ab7327","resourcePool":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:resgroup-169"},"templateId":"45d858d8-20e2-4776-a14b-96e1e3ab7327:vm-125","vSphereNetworks":null,"vmId":"vm-693","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}]}
disk 1"}],"guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:a7:ec","network":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:dvportgroup-85"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"45d858d8-20e2-4776-a14b-96e1e3ab7327","resourcePool":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:resgroup-169"},"templateId":"45d858d8-20e2-4776-a14b-96e1e3ab7327:vm-125","vSphereNetworks":null,"vmId":"vm-803","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}]}
'
headers:
@ -436,7 +381,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:35 GMT
- Mon, 16 Sep 2019 14:30:50 GMT
expires:
- '-1'
pragma:
@ -452,11 +397,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 6ae0951a-1b0a-4512-98bf-15c1ddcf0a39
- 033de3ff-d6e8-4e43-8b5e-4b8ad01b56da
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 12202f4821403380
- 30743f880a316181
status:
code: 200
message: OK
@ -474,7 +419,7 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -485,8 +430,8 @@ interactions:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:6b:e6","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-693","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:a7:ec","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-803","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
'
headers:
@ -497,7 +442,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:36 GMT
- Mon, 16 Sep 2019 14:30:50 GMT
expires:
- '-1'
pragma:
@ -513,11 +458,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- cd63326c-7b7a-4c4b-9dde-83df2c0f6ea6
- 26070738-c5c6-4c60-a502-636af7047821
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- bfe6477e5f0fd06
- 4fe915993f46a887
status:
code: 200
message: OK
@ -535,7 +480,7 @@ interactions:
ParameterSetName:
- -g -n --set
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -546,8 +491,8 @@ interactions:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:6b:e6","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-693","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:a7:ec","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-803","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
'
headers:
@ -558,7 +503,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:37 GMT
- Mon, 16 Sep 2019 14:30:51 GMT
expires:
- '-1'
pragma:
@ -574,11 +519,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 10f67d01-e8c8-4e41-93e1-caa688f01316
- 0f98643c-6bf3-452e-854b-0a4e153964d2
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 1e1cbdd505e09fe1
- 31f1c534f1599fa2
status:
code: 200
message: OK
@ -600,7 +545,7 @@ interactions:
ParameterSetName:
- -g -n --set
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -611,8 +556,8 @@ interactions:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:6b:e6","network":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:dvportgroup-85"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"45d858d8-20e2-4776-a14b-96e1e3ab7327","provisioningState":"Succeeded","resourcePool":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:resgroup-169"},"status":"running","templateId":"45d858d8-20e2-4776-a14b-96e1e3ab7327:vm-125","vSphereNetworks":null,"vmId":"vm-693","vmwaretools":"0"},"tags":{"foo":"boo"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
disk 1"}],"guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:a7:ec","network":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:dvportgroup-85"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"45d858d8-20e2-4776-a14b-96e1e3ab7327","provisioningState":"Succeeded","resourcePool":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:resgroup-169"},"status":"running","templateId":"45d858d8-20e2-4776-a14b-96e1e3ab7327:vm-125","vSphereNetworks":null,"vmId":"vm-803","vmwaretools":"0"},"tags":{"foo":"boo"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
'
headers:
@ -623,7 +568,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:40 GMT
- Mon, 16 Sep 2019 14:30:53 GMT
expires:
- '-1'
pragma:
@ -639,13 +584,13 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 1d39ca15-171b-459c-bfd4-b5eda064480a
- d89edbe3-46d8-46ff-855a-17bd2fab2a25
x-env-name:
- eastus-he.azure.cloudsimple.com
x-ms-ratelimit-remaining-subscription-writes:
- '1196'
- '1199'
x-tracing-transaction-id:
- 4fdbbb519cc3f0ac
- 6dd2a11499f462c6
status:
code: 200
message: OK
@ -667,7 +612,7 @@ interactions:
Referer:
- https://management.azure.com/
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -678,7 +623,7 @@ interactions:
string: ''
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/92cfe2fe-d313-11e9-903f-9e10a8e9e0f1?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/982d09f3-d88e-11e9-aafa-aa30d60fca0b?api-version=2019-04-01
cache-control:
- no-cache
content-length:
@ -686,11 +631,11 @@ interactions:
content-type:
- text/plain; charset=utf-8
date:
- Mon, 09 Sep 2019 15:07:42 GMT
- Mon, 16 Sep 2019 14:30:56 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/92cfe2fe-d313-11e9-903f-9e10a8e9e0f1?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/982d09f3-d88e-11e9-aafa-aa30d60fca0b?api-version=2019-04-01
pragma:
- no-cache
server:
@ -700,13 +645,13 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 248f2f97-fea7-45f9-89f8-bc4138805bb2
- c6fbcaa2-f453-4646-9494-c43111611229
x-env-name:
- eastus-he.azure.cloudsimple.com
x-ms-ratelimit-remaining-subscription-deletes:
- '14998'
x-tracing-transaction-id:
- 1e86bf50afa1267
- 2d94f71c11fa8a34
status:
code: 202
message: Accepted
@ -724,13 +669,13 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/92cfe2fe-d313-11e9-903f-9e10a8e9e0f1?api-version=2019-04-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/982d09f3-d88e-11e9-aafa-aa30d60fca0b?api-version=2019-04-01
response:
body:
string: '{"endTime":"2019-09-09T15:07:50.362Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/92cfe2fe-d313-11e9-903f-9e10a8e9e0f1","name":"92cfe2fe-d313-11e9-903f-9e10a8e9e0f1","startTime":"2019-09-09T15:07:43.244Z","status":"Succeeded"}
string: '{"endTime":"2019-09-16T14:31:05.328Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/982d09f3-d88e-11e9-aafa-aa30d60fca0b","name":"982d09f3-d88e-11e9-aafa-aa30d60fca0b","startTime":"2019-09-16T14:30:56.155Z","status":"Succeeded"}
'
headers:
@ -741,7 +686,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:53 GMT
- Mon, 16 Sep 2019 14:31:06 GMT
expires:
- '-1'
pragma:
@ -757,11 +702,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 2579b970-f725-49cf-9394-b4c5e340a0e0
- fe40fdb5-3310-47a1-8dd8-267918f068a1
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 75d1051379bc66b4
- 61c2c4027d09318a
status:
code: 200
message: OK
@ -779,7 +724,7 @@ interactions:
ParameterSetName:
- -g
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -798,7 +743,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:07:55 GMT
- Mon, 16 Sep 2019 14:31:07 GMT
expires:
- '-1'
pragma:
@ -814,11 +759,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- f2dc5747-8430-414d-81cf-4b48af6c3bb2
- f23d31a1-4e88-43a6-a4c7-042047a14211
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 4ae46834d91786a0
- 72b6000fcd782d9a
status:
code: 200
message: OK
@ -838,7 +783,7 @@ interactions:
ParameterSetName:
- --name --yes --no-wait
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -853,11 +798,11 @@ interactions:
content-length:
- '0'
date:
- Mon, 09 Sep 2019 15:08:01 GMT
- Mon, 16 Sep 2019 14:31:13 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NHTUxEN0NMT1BNTERXWFdNUVdZWVpURnxFOTI1QzA2ODVGMTdBRTFCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1MzNzRQTFMyTUlDNzdLU1I3TllBUlQyN3w3OTUxMzk3RTc0OTU1QzA0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
pragma:
- no-cache
strict-transport-security:
@ -865,7 +810,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14996'
- '14998'
status:
code: 202
message: Accepted

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-09-09T15:06:17Z"}}'
"date": "2019-09-16T14:30:06Z"}}'
headers:
Accept:
- application/json
@ -18,7 +18,7 @@ interactions:
ParameterSetName:
- --location --name --tag
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -26,7 +26,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001?api-version=2018-05-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-09T15:06:17Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-16T14:30:06Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@ -35,7 +35,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 09 Sep 2019 15:06:24 GMT
- Mon, 16 Sep 2019 14:30:11 GMT
expires:
- '-1'
pragma:
@ -45,7 +45,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1192'
- '1198'
status:
code: 201
message: Created
@ -61,7 +61,7 @@ interactions:
Connection:
- keep-alive
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -82,7 +82,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:26 GMT
- Mon, 16 Sep 2019 14:30:12 GMT
expires:
- '-1'
pragma:
@ -98,11 +98,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 453e3e96-0f87-46aa-8736-f745dc048031
- 66144dc3-1c96-4094-9365-de030e91fbb4
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 3133964426ad9cf9
- 60a5847290cd5cfe
status:
code: 200
message: OK
@ -122,7 +122,7 @@ interactions:
ParameterSetName:
- --name --yes --no-wait
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -137,11 +137,11 @@ interactions:
content-length:
- '0'
date:
- Mon, 09 Sep 2019 15:06:31 GMT
- Mon, 16 Sep 2019 14:30:17 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NERUZRRzdDQUlMNlRCUDdESUtCWkk2S3w3QjY2NEEyQzgzQkREOUQxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NTUTRWNllKT0FEQ0FTVUtJMjRCSlY0UHw4ODFEREExN0MyRkQ4REFELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
pragma:
- no-cache
strict-transport-security:
@ -149,7 +149,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14997'
- '14998'
status:
code: 202
message: Accepted

Просмотреть файл

@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-09-09T15:06:17Z"}}'
"date": "2019-09-16T14:30:06Z"}}'
headers:
Accept:
- application/json
@ -18,7 +18,7 @@ interactions:
ParameterSetName:
- --location --name --tag
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -26,7 +26,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001?api-version=2018-05-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-09T15:06:17Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-16T14:30:06Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@ -35,7 +35,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 09 Sep 2019 15:06:24 GMT
- Mon, 16 Sep 2019 14:30:10 GMT
expires:
- '-1'
pragma:
@ -45,7 +45,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1193'
- '1195'
status:
code: 201
message: Created
@ -63,7 +63,7 @@ interactions:
ParameterSetName:
- -p
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -86,7 +86,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:26 GMT
- Mon, 16 Sep 2019 14:30:12 GMT
expires:
- '-1'
pragma:
@ -102,11 +102,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 5db9449d-80d5-43cb-97bc-c410786531a7
- c870d46d-fa30-4e6a-b397-b32185ea9ffa
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- d46cde5fec831ac
- 219c5c56b7e60667
status:
code: 200
message: OK
@ -124,7 +124,7 @@ interactions:
ParameterSetName:
- -p -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -143,7 +143,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:27 GMT
- Mon, 16 Sep 2019 14:30:12 GMT
expires:
- '-1'
pragma:
@ -159,11 +159,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 51b5f5b4-0c9e-4c28-b5f8-6762fb9ad944
- a9771e64-72f8-4be5-9841-0dddd82460f3
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 7d660cd94e0f1552
- 75f70ee1559cf1de
status:
code: 200
message: OK
@ -183,7 +183,7 @@ interactions:
ParameterSetName:
- --name --yes --no-wait
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -198,11 +198,11 @@ interactions:
content-length:
- '0'
date:
- Mon, 09 Sep 2019 15:06:33 GMT
- Mon, 16 Sep 2019 14:30:19 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NGMlhNQVUyTVdSN0xZU1lPWDNFNkpCNHxFMjdEOTk1RDk4NjBGODMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NFU0JPUU9JRUxOWkZOWEFCTVg1NFhWT3xDMkFBRkJGRTU5RTJBQTE0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
pragma:
- no-cache
strict-transport-security:
@ -210,7 +210,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14997'
- '14998'
status:
code: 202
message: Accepted

Просмотреть файл

@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-09-09T15:06:17Z"}}'
"date": "2019-09-16T14:30:06Z"}}'
headers:
Accept:
- application/json
@ -18,7 +18,7 @@ interactions:
ParameterSetName:
- --location --name --tag
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -26,7 +26,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001?api-version=2018-05-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-09T15:06:17Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-09-16T14:30:06Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@ -35,7 +35,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 09 Sep 2019 15:06:25 GMT
- Mon, 16 Sep 2019 14:30:10 GMT
expires:
- '-1'
pragma:
@ -45,7 +45,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1195'
status:
code: 201
message: Created
@ -63,7 +63,7 @@ interactions:
ParameterSetName:
- -p -r
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -95,7 +95,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:26 GMT
- Mon, 16 Sep 2019 14:30:11 GMT
expires:
- '-1'
pragma:
@ -111,11 +111,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- c91d7ebc-3a20-4aa5-9c3e-28c757498afe
- d7ab5f7b-c53c-416f-ae8e-5f3b6718c441
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 53ea48c8fc64ac8e
- 1ab7ab8ca3633604
status:
code: 200
message: OK
@ -133,7 +133,7 @@ interactions:
ParameterSetName:
- -p -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -156,7 +156,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 09 Sep 2019 15:06:27 GMT
- Mon, 16 Sep 2019 14:30:12 GMT
expires:
- '-1'
pragma:
@ -172,11 +172,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 27bd4b86-8f64-43f6-9fdd-1a0d2e65bc7a
- dbcc60fc-0d2f-4695-8a79-8f65916eaa04
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 38bfe63a5d4e8a66
- 2ae00726ed960ff5
status:
code: 200
message: OK
@ -196,7 +196,7 @@ interactions:
ParameterSetName:
- --name --yes --no-wait
User-Agent:
- python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 resourcemanagementclient/2.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -211,11 +211,11 @@ interactions:
content-length:
- '0'
date:
- Mon, 09 Sep 2019 15:06:33 GMT
- Mon, 16 Sep 2019 14:30:18 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NIV0JITTVFWVVURk5KQ0JHMlJTN0lNSXw2MDE0NUZERTQ1Q0U4NUU1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NPSDQ0R0VHWFBCNVpMNVQyV1M0VVJBNXwxNEMxQTE4OTZDOTNEQUU2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
pragma:
- no-cache
strict-transport-security:
@ -223,7 +223,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14997'
- '14999'
status:
code: 202
message: Accepted

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -18,6 +18,18 @@ TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..'))
class Vmware_csScenarioTest(ScenarioTest):
"""
Test for AVS by CloudSimple CLI commands.
This tests various command exposed by CloudSimple CLI.
To run the tests, run 'azdev test vmware_cs --discover --live'
The prerequisites for the tests are that you should be logged in to a subscription in the CLI.
That subscription should contain:
az_cli_cs_test resource group,
avs-test-eastus private cloud,
vm-125 vm template in vSphere,
resgroup-169 resource pool in vSphere,
dvportgroup-85 virtual network.
You can modify the above specified params in this test file.
"""
@ResourceGroupPreparer(name_prefix='cli_test_vmware_cs', parameter_name_for_location='eastus')
@ -200,7 +212,7 @@ class Vmware_csScenarioTest(ScenarioTest):
self.check('numberOfCores', 1)
])
# Creating a VM with default parameters from the vm template
# Creating a VM with default parameters from the vm template and adding a nic
self.cmd('az vmware vm create -g {rg} -n {name2} \
-p {pc} --template {vm_template} -r {rp} \
--nic name=NicNameWouldBeReassigned virtual-network=dvportgroup-85 \
@ -437,14 +449,6 @@ class Vmware_csScenarioTest(ScenarioTest):
self.cmd('az vmware vm disk delete -g {rg} --vm-name {name} \
--disks "Hard disk 1" "Hard disk 2"')
self.cmd('az vmware vm disk add -g {rg} --vm-name {name} \
--mode independent_nonpersistent --size 8388608')
# Checking that the number of disk in the VM is 2 now.
count = len(self.cmd('az vmware vm disk list -g {rg} \
--vm-name {name}').get_output_in_json())
self.assertEqual(count, 2)
# Deleting the VM.
self.cmd('az vmware vm delete -g {rg} -n {name}')
@ -501,11 +505,5 @@ class Vmware_csScenarioTest(ScenarioTest):
self.cmd('az vmware vm nic delete -g {rg} --vm-name {name} \
--nics "Network adapter 1" "Network adapter 2"')
self.cmd('az vmware vm nic add -g {rg} --vm-name {name} --virtual-network {vnet}')
# Checking that the number of nic in the VM is 2 now.
count = len(self.cmd('az vmware vm nic list -g {rg} --vm-name {name}').get_output_in_json())
self.assertEqual(count, 2)
# Deleting the VM.
self.cmd('az vmware vm delete -g {rg} -n {name}')

Двоичный файл не отображается.