зеркало из https://github.com/microsoft/azure-cli.git
VM Enhancements Round 1 (#485)
* update AzureResourceId to strip whitespace and quotes (which are often passed in from the command line, especially from jmespath query results) * change default vm size, fix output bug for multi-nic vms * Fold VM Create Params * Fold VM params part 2 * update tests to work with output adjustments * Fix name collisions on delete/re-create. Add fail if VM already exists with --force option to override. * Add default so vm create help shows automatic SSH key read capability. * Re-record VM tests, change os disk default to CLI-side * update example text, move os-disk-name calculation to validator, remove --force * Update VM Create tests
This commit is contained in:
Родитель
c215b144fc
Коммит
5349089ac1
|
@ -61,6 +61,9 @@
|
|||
<Compile Include="command_modules\azure-cli-feedback\azure\__init__.py" />
|
||||
<Compile Include="command_modules\azure-cli-feedback\setup.py" />
|
||||
<Compile Include="command_modules\azure-cli-network\azure\cli\command_modules\network\_param_folding.py" />
|
||||
<Compile Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\_param_folding.py">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="command_modules\azure-cli-webapp\azure\cli\command_modules\webapp\_param_folding.py" />
|
||||
<Compile Include="azure\cli\utils\vcr_test_base.py" />
|
||||
<Compile Include="command_modules\azure-cli-network\azure\cli\command_modules\network\mgmt_nic\lib\credentials.py" />
|
||||
|
@ -573,9 +576,11 @@
|
|||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\nsg_new.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\output_fqdn_new.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\output_fqdn_none.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\output_ip_new_existing.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\output_ip_existing.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\output_ip_new.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\output_ip_none.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\output_mac.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\output_mac_none.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\output_mac_new.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\vm_existing_password.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\vm_existing_sshkey.json" />
|
||||
<Content Include="command_modules\azure-cli-vm\azure\cli\command_modules\vm\mgmt_vm\nested_templates\vm_none_password.json" />
|
||||
|
|
|
@ -108,7 +108,8 @@ class LongRunningOperation(object): #pylint: disable=too-few-public-methods
|
|||
class DeploymentOutputLongRunningOperation(LongRunningOperation): #pylint: disable=too-few-public-methods
|
||||
def __call__(self, poller):
|
||||
result = super(DeploymentOutputLongRunningOperation, self).__call__(poller)
|
||||
return result.properties.outputs
|
||||
outputs = result.properties.outputs
|
||||
return {key: val['value'] for key, val in outputs.items()} if outputs else {}
|
||||
|
||||
class CommandTable(dict):
|
||||
"""A command table is a dictionary of name -> CliCommand
|
||||
|
|
|
@ -10,14 +10,14 @@ regex = re.compile('/subscriptions/(?P<subscription>[^/]*)/resourceGroups/(?P<re
|
|||
class AzureResourceId(object): #pylint: disable=too-many-instance-attributes,too-few-public-methods
|
||||
def __init__(self, name_or_id, resource_group=None, full_type=None, #pylint: disable=too-many-arguments
|
||||
subscription_id=None, child_type=None, child_name=None):
|
||||
self.name = name_or_id
|
||||
self.resource_group = resource_group
|
||||
self.namespace = full_type.split('/')[0] if full_type else None
|
||||
self.type = full_type.split('/')[1] if full_type else None
|
||||
self.full_type = full_type
|
||||
self.child_type = child_type
|
||||
self.child_name = child_name
|
||||
self.subscription_id = subscription_id
|
||||
self.name = self._clean_name(name_or_id)
|
||||
self.resource_group = self._clean_name(resource_group)
|
||||
self.full_type = self._clean_name(full_type)
|
||||
self.namespace = self.full_type.split('/')[0] if self.full_type else None
|
||||
self.type = self.full_type.split('/')[1] if self.full_type else None
|
||||
self.child_type = self._clean_name(child_type)
|
||||
self.child_name = self._clean_name(child_name)
|
||||
self.subscription_id = self._clean_name(subscription_id)
|
||||
|
||||
id_parts = regex.match(name_or_id)
|
||||
if id_parts:
|
||||
|
@ -28,9 +28,9 @@ class AzureResourceId(object): #pylint: disable=too-many-instance-attributes,too
|
|||
self.child_type = id_parts.group('childType')
|
||||
self.child_name = id_parts.group('childName')
|
||||
self.subscription_id = id_parts.group('subscription')
|
||||
elif not resource_group or not full_type or not subscription_id:
|
||||
elif not self.resource_group or not self.full_type or not subscription_id:
|
||||
raise ValueError('Provide either an ID for name_or_id or provide a name and values for '
|
||||
'resource_group, full_type and subscription_id')
|
||||
'resource_group, full_type and subscription_id. {}'.format(self))
|
||||
|
||||
def __str__(self):
|
||||
child_id = '/{type}/{name}'.format(type=self.child_type, name=self.child_name) \
|
||||
|
@ -41,6 +41,10 @@ class AzureResourceId(object): #pylint: disable=too-many-instance-attributes,too
|
|||
namespace=self.namespace, type=self.type, name=self.name,
|
||||
child_resource=child_id)
|
||||
|
||||
@staticmethod
|
||||
def _clean_name(name):
|
||||
return name.strip().strip('\'"') if name else None
|
||||
|
||||
def resource_exists(r_id):
|
||||
odata_filter = "resourceGroup eq '{0}' and name eq '{1}'" \
|
||||
" and resourceType eq '{2}'".format(r_id.resource_group, r_id.name, r_id.full_type)
|
||||
|
|
|
@ -21,10 +21,7 @@ def _add_resource_group(obj):
|
|||
try:
|
||||
if 'resourceGroup' not in obj:
|
||||
if obj['id']:
|
||||
id_str = str(obj['id'])
|
||||
if isinstance(id_str, dict):
|
||||
id_str = id_str['value']
|
||||
obj['resourceGroup'] = _parse_id(id_str)['resource-group']
|
||||
obj['resourceGroup'] = _parse_id(obj['id'])['resource-group']
|
||||
except (KeyError, IndexError):
|
||||
pass
|
||||
for item_key in obj:
|
||||
|
|
|
@ -8,6 +8,9 @@ Execute P0s before any change is merged
|
|||
- delete test_network_load_balancer.yaml
|
||||
- Run test twice (first records, second verifies stability)
|
||||
|
||||
- delete test test_vm_scaleset_create_existing_options.yaml
|
||||
- Run test twice (first records, second verifies stability)
|
||||
|
||||
OR
|
||||
|
||||
Execute the follow scenarios manually:
|
||||
|
@ -34,3 +37,10 @@ Execute the follow scenarios manually:
|
|||
- create new public IP
|
||||
- create new lb using the public IP
|
||||
- verify lb is associated with the newly created public IP
|
||||
|
||||
**Create LB and use it in a VM Scale Set **
|
||||
|
||||
- create new vnet
|
||||
- create new plain lb
|
||||
- create a vmss, referencing vnet and lb
|
||||
- verify vmss is added to vnet and lb
|
||||
|
|
0
src/command_modules/azure-cli-network/azure/cli/command_modules/network/mgmt_nic/lib/models/nic_creation_client_enums.py
Normal file → Executable file
0
src/command_modules/azure-cli-network/azure/cli/command_modules/network/mgmt_nic/lib/models/nic_creation_client_enums.py
Normal file → Executable file
|
@ -69,14 +69,14 @@ class NetworkPublicIpScenarioTest(ResourceGroupVCRTestBase):
|
|||
s = self
|
||||
rg = s.resource_group
|
||||
s.cmd('network public-ip create -g {} -n {} --dns-name {} --allocation-method static'.format(rg, s.public_ip_name, s.dns), checks=[
|
||||
JMESPathCheck('publicIp.value.provisioningState', 'Succeeded'),
|
||||
JMESPathCheck('publicIp.value.publicIPAllocationMethod', 'Static'),
|
||||
JMESPathCheck('publicIp.value.dnsSettings.domainNameLabel', s.dns)
|
||||
JMESPathCheck('publicIp.provisioningState', 'Succeeded'),
|
||||
JMESPathCheck('publicIp.publicIPAllocationMethod', 'Static'),
|
||||
JMESPathCheck('publicIp.dnsSettings.domainNameLabel', s.dns)
|
||||
])
|
||||
s.cmd('network public-ip create -g {} -n {}'.format(rg, s.public_ip_no_dns_name), checks=[
|
||||
JMESPathCheck('publicIp.value.provisioningState', 'Succeeded'),
|
||||
JMESPathCheck('publicIp.value.publicIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('publicIp.value.dnsSettings', None)
|
||||
JMESPathCheck('publicIp.provisioningState', 'Succeeded'),
|
||||
JMESPathCheck('publicIp.publicIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('publicIp.dnsSettings', None)
|
||||
])
|
||||
s.cmd('network public-ip list-all', checks=JMESPathCheck('type(@)', 'array'))
|
||||
ip_list = s.cmd('network public-ip list -g {}'.format(rg))
|
||||
|
@ -185,10 +185,9 @@ class NetworkLoadBalancerScenarioTest(ResourceGroupVCRTestBase):
|
|||
|
||||
def body(self):
|
||||
# test lb create with min params (new ip)
|
||||
self.cmd('network lb create -n {}1 -g {}'.format(self.lb_name, self.resource_group), checks=[
|
||||
JMESPathCheck('loadBalancer.value.provisioningState', 'Succeeded'),
|
||||
JMESPathCheck('loadBalancer.value.frontendIPConfigurations[0].properties.privateIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('loadBalancer.value.frontendIPConfigurations[0].resourceGroup', self.resource_group)
|
||||
self.cmd('network lb create -n {} -g {}'.format(self.lb_name, self.resource_group), checks=[
|
||||
JMESPathCheck('loadBalancer.frontendIPConfigurations[0].properties.privateIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('loadBalancer.frontendIPConfigurations[0].resourceGroup', self.resource_group)
|
||||
])
|
||||
|
||||
# test internet facing load balancer with new static public IP
|
||||
|
@ -200,14 +199,13 @@ class NetworkLoadBalancerScenarioTest(ResourceGroupVCRTestBase):
|
|||
vnet_name = 'mytestvnet'
|
||||
private_ip = '10.0.0.15'
|
||||
vnet = self.cmd('network vnet create -n {} -g {}'.format(vnet_name, self.resource_group))
|
||||
subnet_id = vnet['newVNet']['value']['subnets'][0]['id']
|
||||
subnet_id = vnet['newVNet']['subnets'][0]['id']
|
||||
self.cmd('network lb create -n {}3 -g {} --vnet-name {} --subnet {} --private-ip-address {}'.format(
|
||||
self.lb_name, self.resource_group, vnet_name, subnet_id, private_ip), checks=[
|
||||
JMESPathCheck('loadBalancer.value.provisioningState', 'Succeeded'),
|
||||
JMESPathCheck('loadBalancer.value.frontendIPConfigurations[0].properties.privateIPAllocationMethod', 'Static'),
|
||||
JMESPathCheck('loadBalancer.value.frontendIPConfigurations[0].properties.privateIPAddress', private_ip),
|
||||
JMESPathCheck('loadBalancer.value.frontendIPConfigurations[0].resourceGroup', self.resource_group),
|
||||
JMESPathCheck("loadBalancer.value.frontendIPConfigurations[0].properties.subnet.id", subnet_id)
|
||||
JMESPathCheck('loadBalancer.frontendIPConfigurations[0].properties.privateIPAllocationMethod', 'Static'),
|
||||
JMESPathCheck('loadBalancer.frontendIPConfigurations[0].properties.privateIPAddress', private_ip),
|
||||
JMESPathCheck('loadBalancer.frontendIPConfigurations[0].resourceGroup', self.resource_group),
|
||||
JMESPathCheck("loadBalancer.frontendIPConfigurations[0].properties.subnet.id", subnet_id)
|
||||
])
|
||||
|
||||
# test internet facing load balancer with existing public IP (by name)
|
||||
|
@ -215,10 +213,9 @@ class NetworkLoadBalancerScenarioTest(ResourceGroupVCRTestBase):
|
|||
self.cmd('network public-ip create -n {} -g {}'.format(pub_ip_name, self.resource_group))
|
||||
self.cmd('network lb create -n {}4 -g {} --public-ip-address {}'.format(
|
||||
self.lb_name, self.resource_group, pub_ip_name), checks=[
|
||||
JMESPathCheck('loadBalancer.value.provisioningState', 'Succeeded'),
|
||||
JMESPathCheck('loadBalancer.value.frontendIPConfigurations[0].properties.privateIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('loadBalancer.value.frontendIPConfigurations[0].resourceGroup', self.resource_group),
|
||||
JMESPathCheck("loadBalancer.value.frontendIPConfigurations[0].properties.publicIPAddress.contains(id, '{}')".format(pub_ip_name), True)
|
||||
JMESPathCheck('loadBalancer.frontendIPConfigurations[0].properties.privateIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('loadBalancer.frontendIPConfigurations[0].resourceGroup', self.resource_group),
|
||||
JMESPathCheck("loadBalancer.frontendIPConfigurations[0].properties.publicIPAddress.contains(id, '{}')".format(pub_ip_name), True)
|
||||
])
|
||||
|
||||
self.cmd('network lb list-all', checks=[
|
||||
|
@ -414,29 +411,29 @@ class NetworkNicScenarioTest(ResourceGroupVCRTestBase):
|
|||
|
||||
# create with minimum parameters
|
||||
self.cmd('network nic create -g {} -n {} --subnet-name {} --vnet-name {}'.format(rg, nic, subnet, vnet), checks=[
|
||||
JMESPathCheck('newNIC.value.ipConfigurations[0].properties.privateIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('newNIC.value.provisioningState', 'Succeeded')
|
||||
JMESPathCheck('newNIC.ipConfigurations[0].properties.privateIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('newNIC.provisioningState', 'Succeeded')
|
||||
])
|
||||
# exercise optional parameters
|
||||
self.cmd('network nic create -g {} -n {} --subnet-name {} --vnet-name {} --ip-forwarding --private-ip-address {} --public-ip-address-name "{}"'.format(rg, nic, subnet, vnet, private_ip, public_ip_name), checks=[
|
||||
JMESPathCheck('newNIC.value.ipConfigurations[0].properties.privateIPAllocationMethod', 'Static'),
|
||||
JMESPathCheck('newNIC.value.ipConfigurations[0].properties.privateIPAddress', private_ip),
|
||||
JMESPathCheck('newNIC.value.enableIPForwarding', True),
|
||||
JMESPathCheck('newNIC.value.provisioningState', 'Succeeded')
|
||||
JMESPathCheck('newNIC.ipConfigurations[0].properties.privateIPAllocationMethod', 'Static'),
|
||||
JMESPathCheck('newNIC.ipConfigurations[0].properties.privateIPAddress', private_ip),
|
||||
JMESPathCheck('newNIC.enableIPForwarding', True),
|
||||
JMESPathCheck('newNIC.provisioningState', 'Succeeded')
|
||||
])
|
||||
# exercise creating with NSG
|
||||
self.cmd('network nic create -g {} -n {} --subnet-name {} --vnet-name {} --nsg-name {}'.format(rg, nic, subnet, vnet, nsg), checks=[
|
||||
JMESPathCheck('newNIC.value.ipConfigurations[0].properties.privateIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('newNIC.value.enableIPForwarding', False),
|
||||
JMESPathCheck("newNIC.value.networkSecurityGroup.contains(id, '{}')".format(nsg), True),
|
||||
JMESPathCheck('newNIC.value.provisioningState', 'Succeeded')
|
||||
JMESPathCheck('newNIC.ipConfigurations[0].properties.privateIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('newNIC.enableIPForwarding', False),
|
||||
JMESPathCheck("newNIC.networkSecurityGroup.contains(id, '{}')".format(nsg), True),
|
||||
JMESPathCheck('newNIC.provisioningState', 'Succeeded')
|
||||
])
|
||||
# exercise creating with NSG and Public IP
|
||||
self.cmd('network nic create -g {} -n {} --subnet-name {} --vnet-name {} --nsg-name {} --public-ip-address-name "{}"'.format(rg, nic, subnet, vnet, nsg, public_ip_name), checks=[
|
||||
JMESPathCheck('newNIC.value.ipConfigurations[0].properties.privateIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('newNIC.value.enableIPForwarding', False),
|
||||
JMESPathCheck("newNIC.value.networkSecurityGroup.contains(id, '{}')".format(nsg), True),
|
||||
JMESPathCheck('newNIC.value.provisioningState', 'Succeeded')
|
||||
JMESPathCheck('newNIC.ipConfigurations[0].properties.privateIPAllocationMethod', 'Dynamic'),
|
||||
JMESPathCheck('newNIC.enableIPForwarding', False),
|
||||
JMESPathCheck("newNIC.networkSecurityGroup.contains(id, '{}')".format(nsg), True),
|
||||
JMESPathCheck('newNIC.provisioningState', 'Succeeded')
|
||||
])
|
||||
self.cmd('network nic list-all', checks=[
|
||||
JMESPathCheck('type(@)', 'array'),
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
import argparse
|
||||
import json
|
||||
import math
|
||||
import os
|
||||
import re
|
||||
import time
|
||||
|
||||
from azure.cli._util import CLIError
|
||||
from azure.cli.application import APPLICATION
|
||||
from azure.cli.commands.parameters import get_one_of_subscription_locations
|
||||
from azure.cli.commands.azure_resource_id import AzureResourceId
|
||||
from azure.cli.commands.azure_resource_id import AzureResourceId, resource_exists
|
||||
|
||||
from six.moves.urllib.request import urlopen #pylint: disable=import-error
|
||||
|
||||
|
@ -53,13 +55,24 @@ class VMDNSNameAction(argparse.Action): #pylint: disable=too-few-public-methods
|
|||
|
||||
namespace.dns_name_for_public_ip = dns_value
|
||||
|
||||
class PrivateIpAction(argparse.Action): #pylint: disable=too-few-public-methods
|
||||
def __call__(self, parser, namespace, values, option_string=None):
|
||||
private_ip = values
|
||||
namespace.private_ip_address = private_ip
|
||||
|
||||
if private_ip:
|
||||
namespace.private_ip_address_allocation = 'static'
|
||||
|
||||
def _handle_vm_nics(namespace):
|
||||
nics_value = namespace.network_interface_ids
|
||||
nics = []
|
||||
|
||||
if not nics_value:
|
||||
namespace.network_interface_type = 'new'
|
||||
return
|
||||
|
||||
namespace.network_interface_type = 'existing'
|
||||
|
||||
if not isinstance(nics_value, list):
|
||||
nics_value = [nics_value]
|
||||
|
||||
|
@ -76,6 +89,19 @@ def _handle_vm_nics(namespace):
|
|||
namespace.network_interface_ids = nics
|
||||
namespace.network_interface_type = 'existing'
|
||||
|
||||
def _resource_not_exists(resource_type):
|
||||
def _handle_resource_not_exists(namespace):
|
||||
# TODO: hook up namespace._subscription_id once we support it
|
||||
r_id = AzureResourceId(namespace.name, namespace.resource_group_name, resource_type,
|
||||
_get_subscription_id())
|
||||
if resource_exists(r_id):
|
||||
raise CLIError('Resource {} already exists.'.format(str(r_id)))
|
||||
return _handle_resource_not_exists
|
||||
|
||||
def _os_disk_default(namespace):
|
||||
if not namespace.os_disk_name:
|
||||
namespace.os_disk_name = 'osdisk{}'.format(str(int(math.ceil(time.time()))))
|
||||
|
||||
def _handle_auth_types(**kwargs):
|
||||
if kwargs['command'] != 'vm create' and kwargs['command'] != 'vm scaleset create':
|
||||
return
|
||||
|
@ -89,7 +115,7 @@ def _handle_auth_types(**kwargs):
|
|||
args.authentication_type = 'password' if is_windows else 'ssh'
|
||||
|
||||
if args.authentication_type == 'password':
|
||||
if args.ssh_dest_key_path or args.ssh_key_value:
|
||||
if args.ssh_dest_key_path:
|
||||
raise CLIError('SSH parameters cannot be used with password authentication type')
|
||||
elif not args.admin_password:
|
||||
raise CLIError('Admin password is required with password authentication type')
|
||||
|
@ -105,7 +131,7 @@ def _handle_auth_types(**kwargs):
|
|||
else:
|
||||
raise CLIError('An RSA key file or key value must be supplied to SSH Key Value')
|
||||
|
||||
if hasattr(args, 'network_security_group_type') and args.network_security_group_type == 'new':
|
||||
if hasattr(args, 'network_security_group_type'):
|
||||
args.network_security_group_rule = 'RDP' if is_windows else 'SSH'
|
||||
|
||||
if hasattr(args, 'nat_backend_port') and not args.nat_backend_port:
|
||||
|
|
|
@ -21,24 +21,24 @@ helps['vm create'] = """
|
|||
- az vm image list
|
||||
- az vm image show
|
||||
- name: --ssh-key-value
|
||||
short-summary: SSH key file value or key file path.
|
||||
short-summary: SSH public key or public key file path.
|
||||
examples:
|
||||
- name: Create a simple Windows Server VM with private IP address
|
||||
- name: Create a simple Windows Server VM with private IP address only
|
||||
text: >
|
||||
az vm create --image Win2012R2Datacenter --admin-username myadmin --admin-password Admin_001
|
||||
-l "West US" -g myvms --name myvm001 --public-ip-address-type none
|
||||
az vm create -n my_vm_name -g myrg --admin-username myadmin --admin-password Password@1234
|
||||
--public-ip-address-type none
|
||||
- name: Create a simple Windows Server VM with public IP address and DNS entry
|
||||
text: >
|
||||
az vm create --image Win2012R2Datacenter --admin-username myadmin --admin-password Admin_001
|
||||
-l "West US" -g myvms --name myvm001 --public-ip-address-type new --dns-name-for-public-ip myGloballyUniqueVmDnsName
|
||||
az vm create -n my_vm_name -g myrg --admin-username myadmin --admin-password Password@1234
|
||||
--public-ip-address-dns-name my_globally_unique_vm_dns_name
|
||||
- name: Create a Linux VM with SSH key authentication, add a public DNS entry and add to an existing Virtual Network and Availability Set.
|
||||
text: >
|
||||
az vm create --image <linux image from 'az vm image list'>
|
||||
az vm create -n my_vm_name -g myrg --image <linux image from 'az vm image list'>
|
||||
--authentication-type ssh
|
||||
--virtual-network-type existing --virtual-network-name myvnet --subnet-name default
|
||||
--availability-set-type existing --availability-set-id myavailset
|
||||
--public-ip-address-type new --dns-name-for-public-ip myGloballyUniqueVmDnsName
|
||||
-l "West US" -g myvms --name myvm18o --ssh-key-value "<ssh-rsa-key or key-file-path>"
|
||||
--vnet my_existing_vnet --subnet-name subnet1
|
||||
--availability-set my_existing_availability_set
|
||||
--public-ip-address-dns-name my_globally_unique_vm_dns_name
|
||||
--ssh-key-value "<ssh-rsa-key, key-file-path or not specified for default-key-path>"
|
||||
""".format(image_long_summary)
|
||||
|
||||
helps['vm scaleset create'] = """
|
||||
|
|
|
@ -0,0 +1,53 @@
|
|||
import argparse
|
||||
|
||||
from azure.cli._util import CLIError
|
||||
from azure.cli.commands import register_cli_argument
|
||||
from azure.cli.commands.azure_resource_id import AzureResourceId, resource_exists
|
||||
|
||||
def register_folded_cli_argument(scope, base_name, resource_type, type_field=None, #pylint: disable=too-many-arguments
|
||||
existing_id_flag_value='existingId', new_flag_value='new',
|
||||
none_flag_value='none', **kwargs):
|
||||
type_field_name = type_field or base_name + '_type'
|
||||
register_cli_argument(scope, base_name, validator=_name_id_fold(base_name,
|
||||
resource_type,
|
||||
type_field_name,
|
||||
existing_id_flag_value,
|
||||
new_flag_value,
|
||||
none_flag_value), **kwargs)
|
||||
register_cli_argument(scope, type_field_name, help=argparse.SUPPRESS, default=None)
|
||||
|
||||
def _name_id_fold(base_name, resource_type, type_field, #pylint: disable=too-many-arguments
|
||||
existing_id_flag_value, new_flag_value, none_flag_value):
|
||||
def handle_folding(namespace):
|
||||
name_or_id = getattr(namespace, base_name)
|
||||
if name_or_id is None:
|
||||
return
|
||||
elif name_or_id == '\'\'' or name_or_id == '""' or name_or_id == '':
|
||||
setattr(namespace, type_field, none_flag_value)
|
||||
return
|
||||
|
||||
setattr(namespace, base_name, name_or_id)
|
||||
|
||||
if getattr(namespace, type_field) is not None:
|
||||
return
|
||||
|
||||
# TODO: hook up namespace._subscription_id once we support it
|
||||
r_id = AzureResourceId(name_or_id, namespace.resource_group_name, resource_type,
|
||||
get_subscription_id())
|
||||
|
||||
if resource_exists(r_id):
|
||||
setattr(namespace, type_field, existing_id_flag_value)
|
||||
setattr(namespace, base_name, str(r_id))
|
||||
elif '/' in name_or_id:
|
||||
raise CLIError('ID {} does not exist. Please specify'
|
||||
' a name to create a new resource.'.format(name_or_id))
|
||||
else:
|
||||
setattr(namespace, type_field, new_flag_value)
|
||||
|
||||
return handle_folding
|
||||
|
||||
def get_subscription_id():
|
||||
from azure.cli.commands.client_factory import Profile
|
||||
profile = Profile()
|
||||
_, subscription_id = profile.get_login_credentials()
|
||||
return subscription_id
|
|
@ -15,13 +15,17 @@ from azure.cli.command_modules.vm._actions import (VMImageFieldAction,
|
|||
VMDNSNameAction,
|
||||
load_images_from_aliases_doc,
|
||||
get_vm_sizes,
|
||||
_handle_vm_nics)
|
||||
_handle_vm_nics,
|
||||
PrivateIpAction,
|
||||
_resource_not_exists,
|
||||
_os_disk_default)
|
||||
from azure.cli.commands.parameters import (location_type,
|
||||
get_location_completion_list,
|
||||
get_one_of_subscription_locations,
|
||||
get_resource_name_completion_list)
|
||||
from azure.cli.command_modules.vm._validators import nsg_name_validator
|
||||
from azure.cli.commands import register_cli_argument, CliArgumentType, register_extra_cli_argument
|
||||
from azure.cli.command_modules.vm._param_folding import register_folded_cli_argument
|
||||
|
||||
def get_urn_aliases_completion_list(prefix, **kwargs):#pylint: disable=unused-argument
|
||||
images = load_images_from_aliases_doc()
|
||||
|
@ -108,21 +112,24 @@ authentication_type = CliArgumentType(
|
|||
|
||||
nsg_rule_type = CliArgumentType(
|
||||
choices=['RDP', 'SSH'], default=None,
|
||||
help='Network security group rule to create. Defaults to RDP for Windows and SSH for Linux',
|
||||
help='Network security group rule to create. Defaults open ports for allowing RDP on Windows and allowing SSH on Linux.',
|
||||
type=str.upper
|
||||
)
|
||||
|
||||
register_cli_argument('vm create', 'network_interface_type', choices=['new', 'existing'], help=None, type=str.lower)
|
||||
register_cli_argument('vm create', 'network_interface_ids', options_list=('--network-interfaces',), nargs='+',
|
||||
register_cli_argument('vm create', 'network_interface_type', help=argparse.SUPPRESS)
|
||||
register_cli_argument('vm create', 'network_interface_ids', options_list=('--nics',), nargs='+',
|
||||
help='Names or IDs of existing NICs to reference. The first NIC will be the primary NIC.',
|
||||
validator=_handle_vm_nics)
|
||||
|
||||
register_cli_argument('vm create', 'name', name_arg_type, validator=_resource_not_exists('Microsoft.Compute/virtualMachines'))
|
||||
register_cli_argument('vm scaleset create', 'name', name_arg_type, validator=_resource_not_exists('Microsoft.Compute/virtualMachineScaleSets'))
|
||||
|
||||
for scope in ['vm create', 'vm scaleset create']:
|
||||
register_cli_argument(scope, 'name', name_arg_type)
|
||||
register_cli_argument(scope, 'location', CliArgumentType(completer=get_location_completion_list))
|
||||
register_cli_argument(scope, 'custom_os_disk_uri', CliArgumentType(help=argparse.SUPPRESS))
|
||||
register_cli_argument(scope, 'custom_os_disk_type', CliArgumentType(choices=['windows', 'linux'], type=str.lower))
|
||||
register_cli_argument(scope, 'custom_os_disk_type', CliArgumentType(choices=['windows', 'linux'], type=str.lower), options_list=('--custom-disk-os-type',))
|
||||
register_cli_argument(scope, 'os_disk_type', CliArgumentType(help=argparse.SUPPRESS))
|
||||
register_cli_argument(scope, 'os_disk_name', CliArgumentType(validator=_os_disk_default))
|
||||
register_cli_argument(scope, 'overprovision', CliArgumentType(action='store_false', default=None, options_list=('--disable-overprovision',)))
|
||||
register_cli_argument(scope, 'load_balancer_type', CliArgumentType(choices=['new', 'existing', 'none'], type=str.lower))
|
||||
register_cli_argument(scope, 'storage_caching', CliArgumentType(choices=['ReadOnly', 'ReadWrite']))
|
||||
|
@ -136,16 +143,22 @@ for scope in ['vm create', 'vm scaleset create']:
|
|||
register_cli_argument(scope, 'os_version', CliArgumentType(help=argparse.SUPPRESS))
|
||||
register_cli_argument(scope, 'dns_name_type', CliArgumentType(help=argparse.SUPPRESS))
|
||||
register_cli_argument(scope, 'admin_username', admin_username_type)
|
||||
register_cli_argument(scope, 'storage_type', help='The VM storage type.')
|
||||
register_cli_argument(scope, 'subnet_name', help='The subnet name. Creates if creating a new VNet, references if referencing an existing VNet.')
|
||||
register_cli_argument(scope, 'admin_password', help='Password for the Virtual Machine if Authentication Type is Password.')
|
||||
register_cli_argument(scope, 'ssh_key_value', CliArgumentType(action=VMSSHFieldAction))
|
||||
register_cli_argument(scope, 'ssh_dest_key_path', completer=FilesCompleter())
|
||||
register_cli_argument(scope, 'dns_name_for_public_ip', CliArgumentType(action=VMDNSNameAction))
|
||||
register_cli_argument(scope, 'dns_name_for_public_ip', CliArgumentType(action=VMDNSNameAction), options_list=('--public-ip-address-dns-name',), help='Globally unique DNS Name for the Public IP used to access the Virtual Machine.')
|
||||
register_cli_argument(scope, 'authentication_type', authentication_type)
|
||||
register_cli_argument(scope, 'availability_set_type', CliArgumentType(choices=['none', 'existing'], help='', type=str.lower))
|
||||
register_cli_argument(scope, 'private_ip_address_allocation', CliArgumentType(choices=choices_ip_allocation_method, help='', type=str.lower))
|
||||
register_cli_argument(scope, 'public_ip_address_allocation', CliArgumentType(choices=choices_ip_allocation_method, help='', type=str.lower))
|
||||
register_cli_argument(scope, 'public_ip_address_type', CliArgumentType(choices=['none', 'new', 'existing'], help='', type=str.lower))
|
||||
register_cli_argument(scope, 'storage_account_type', CliArgumentType(choices=['new', 'existing'], help='', type=str.lower))
|
||||
register_cli_argument(scope, 'virtual_network_type', CliArgumentType(choices=['new', 'existing'], help='', type=str.lower))
|
||||
register_cli_argument(scope, 'network_security_group_rule', nsg_rule_type)
|
||||
register_cli_argument(scope, 'network_security_group_type', CliArgumentType(choices=['new', 'existing', 'none'], help='', type=str.lower))
|
||||
register_folded_cli_argument(scope, 'availability_set', 'Microsoft.Compute/availabilitySets')
|
||||
register_cli_argument(scope, 'private_ip_address_allocation', help=argparse.SUPPRESS)
|
||||
register_cli_argument(scope, 'virtual_network_ip_address_prefix', options_list=('--vnet-ip-address-prefix',))
|
||||
register_cli_argument(scope, 'subnet_ip_address_prefix', options_list=('--subnet-ip-address-prefix',))
|
||||
register_cli_argument(scope, 'private_ip_address', help='Static private IP address (e.g. 10.0.0.5).', options_list=('--private-ip-address',), action=PrivateIpAction)
|
||||
register_cli_argument(scope, 'public_ip_address_allocation', CliArgumentType(choices=['dynamic', 'static'], help='', default='dynamic', type=str.lower))
|
||||
register_folded_cli_argument(scope, 'public_ip_address', 'Microsoft.Network/publicIPAddresses', help='Name or ID of public IP address (creates if doesn\'t exist)')
|
||||
register_folded_cli_argument(scope, 'storage_account', 'Microsoft.Storage/storageAccounts', help='Name or ID of storage account (creates if doesn\'t exist)')
|
||||
register_folded_cli_argument(scope, 'virtual_network', 'Microsoft.Network/virtualNetworks', help='Name or ID of virtual network (creates if doesn\'t exist)', options_list=('--vnet',))
|
||||
register_folded_cli_argument(scope, 'network_security_group', 'Microsoft.Network/networkSecurityGroups', help='Name or ID of network security group (creates if doesn\'t exist)', options_list=('--nsg',))
|
||||
register_cli_argument(scope, 'network_security_group_rule', nsg_rule_type, options_list=('--nsg-rule',))
|
||||
register_extra_cli_argument(scope, 'image', options_list=('--image',), action=VMImageFieldAction, completer=get_urn_aliases_completion_list, default='Win2012R2Datacenter')
|
||||
|
|
|
@ -33,11 +33,11 @@
|
|||
"description": "Password or SSH Public Key authentication."
|
||||
}
|
||||
},
|
||||
"availabilitySetId": {
|
||||
"availabilitySet": {
|
||||
"type": "string",
|
||||
"defaultValue": "",
|
||||
"metadata": {
|
||||
"description": "Existing availability set for the VM."
|
||||
"description": "Name or ID of existing availability set for the VM."
|
||||
}
|
||||
},
|
||||
"availabilitySetType": {
|
||||
|
@ -45,7 +45,8 @@
|
|||
"defaultValue": "none",
|
||||
"allowedValues": [
|
||||
"none",
|
||||
"existing"
|
||||
"existingName",
|
||||
"existingId"
|
||||
],
|
||||
"metadata": {
|
||||
"description": "Flag to add the VM to an existing availability set."
|
||||
|
@ -101,11 +102,11 @@
|
|||
"description": "The VM name."
|
||||
}
|
||||
},
|
||||
"networkSecurityGroupName": {
|
||||
"networkSecurityGroup": {
|
||||
"type": "string",
|
||||
"defaultValue": "[concat(parameters('name'), 'NSG')]",
|
||||
"metadata": {
|
||||
"description": "Name of the network security group."
|
||||
"description": "Name or ID of the network security group."
|
||||
}
|
||||
},
|
||||
"networkSecurityGroupRule": {
|
||||
|
@ -124,7 +125,8 @@
|
|||
"defaultValue": "new",
|
||||
"allowedValues": [
|
||||
"new",
|
||||
"existing",
|
||||
"existingName",
|
||||
"existingId",
|
||||
"none"
|
||||
],
|
||||
"metadata": {
|
||||
|
@ -153,7 +155,7 @@
|
|||
},
|
||||
"osDiskName": {
|
||||
"type": "string",
|
||||
"defaultValue": "osdiskimage",
|
||||
"defaultValue": "[concat(parameters('name'), 'osdiskimage')]",
|
||||
"metadata": {
|
||||
"description": "Name of new VM OS disk."
|
||||
}
|
||||
|
@ -171,7 +173,7 @@
|
|||
},
|
||||
"osDiskUri": {
|
||||
"type": "string",
|
||||
"defaultValue": "[concat('http://', parameters('storageAccountName'), '.blob.core.windows.net/', parameters('storageContainerName'), '/', parameters('osDiskName'), '.vhd')]",
|
||||
"defaultValue": "[concat('https://', split(parameters('storageAccount'), '/')[sub(length(split(parameters('storageAccount'), '/')), 1)], '.blob.core.windows.net/', parameters('storageContainerName'), '/', parameters('osDiskName'), '.vhd')]",
|
||||
"metadata": {
|
||||
"description": "URI for a custom VHD image."
|
||||
}
|
||||
|
@ -246,11 +248,11 @@
|
|||
"description": "Public IP address allocation method."
|
||||
}
|
||||
},
|
||||
"publicIpAddressName": {
|
||||
"publicIpAddress": {
|
||||
"type": "string",
|
||||
"defaultValue": "[concat(parameters('name'), 'PublicIP')]",
|
||||
"metadata": {
|
||||
"description": "Name of public IP address to use."
|
||||
"description": "Name or ID of public IP address to use."
|
||||
}
|
||||
},
|
||||
"publicIpAddressType": {
|
||||
|
@ -259,7 +261,8 @@
|
|||
"allowedValues": [
|
||||
"none",
|
||||
"new",
|
||||
"existing"
|
||||
"existingName",
|
||||
"existingId"
|
||||
],
|
||||
"metadata": {
|
||||
"description": "Use a public IP Address for the VM Nic."
|
||||
|
@ -267,7 +270,7 @@
|
|||
},
|
||||
"size": {
|
||||
"type": "string",
|
||||
"defaultValue": "Standard_A2",
|
||||
"defaultValue": "Standard_DS1",
|
||||
"metadata": {
|
||||
"description": "The VM Size that should be created. See https://azure.microsoft.com/en-us/pricing/details/virtual-machines/ for size info."
|
||||
}
|
||||
|
@ -286,11 +289,11 @@
|
|||
"description": "SSH key file data."
|
||||
}
|
||||
},
|
||||
"storageAccountName": {
|
||||
"storageAccount": {
|
||||
"type": "string",
|
||||
"defaultValue": "[concat('vhdstorage', uniqueString(parameters('name')))]",
|
||||
"metadata": {
|
||||
"description": "Name of storage account for the VM OS disk."
|
||||
"description": "Name or ID of storage account for the VM OS disk."
|
||||
}
|
||||
},
|
||||
"storageAccountType": {
|
||||
|
@ -298,7 +301,8 @@
|
|||
"defaultValue": "new",
|
||||
"allowedValues": [
|
||||
"new",
|
||||
"existing"
|
||||
"existingName",
|
||||
"existingId"
|
||||
],
|
||||
"metadata": {
|
||||
"description": "Whether to use an existing storage account or create a new one."
|
||||
|
@ -306,13 +310,13 @@
|
|||
},
|
||||
"storageCaching": {
|
||||
"type": "string",
|
||||
"defaultValue": "ReadOnly",
|
||||
"defaultValue": "ReadWrite",
|
||||
"allowedValues": [
|
||||
"ReadOnly",
|
||||
"ReadWrite"
|
||||
],
|
||||
"metadata": {
|
||||
"description": "Storage caching type."
|
||||
"description": "Storage caching type for the VM OS disk."
|
||||
}
|
||||
},
|
||||
"storageContainerName": {
|
||||
|
@ -322,11 +326,11 @@
|
|||
"description": "Name of storage container for the VM OS disk."
|
||||
}
|
||||
},
|
||||
"storageRedundancyType": {
|
||||
"storageType": {
|
||||
"type": "string",
|
||||
"defaultValue": "Standard_LRS",
|
||||
"defaultValue": "Premium_LRS",
|
||||
"metadata": {
|
||||
"description": "The VM storage type (Standard_LRS, Standard_GRS, Standard_RAGRS)."
|
||||
"description": "The VM storage type (Standard_LRS, Standard_GRS, Standard_RAGRS, ...)."
|
||||
}
|
||||
},
|
||||
"subnetIpAddressPrefix": {
|
||||
|
@ -350,11 +354,11 @@
|
|||
"description": "The virtual network IP address prefix in CIDR format."
|
||||
}
|
||||
},
|
||||
"virtualNetworkName": {
|
||||
"virtualNetwork": {
|
||||
"type": "string",
|
||||
"defaultValue": "[concat(parameters('name'), 'VNET')]",
|
||||
"metadata": {
|
||||
"description": "Name of virtual network to add VM to."
|
||||
"description": "Name or ID of virtual network to add VM to."
|
||||
}
|
||||
},
|
||||
"virtualNetworkType": {
|
||||
|
@ -362,7 +366,8 @@
|
|||
"defaultValue": "new",
|
||||
"allowedValues": [
|
||||
"new",
|
||||
"existing"
|
||||
"existingName",
|
||||
"existingId"
|
||||
],
|
||||
"metadata": {
|
||||
"description": "Whether to use an existing VNet or create a new one."
|
||||
|
@ -402,9 +407,14 @@
|
|||
"vnetAddressPrefix": "[parameters('virtualNetworkIpAddressPrefix')]",
|
||||
"subnetName": "[parameters('subnetName')]",
|
||||
"subnetAddressPrefix": "[parameters('subnetIpAddressPrefix')]",
|
||||
"vhdStorageType": "[parameters('storageRedundancyType')]",
|
||||
"vhdStorageType": "[parameters('storageType')]",
|
||||
"nicName": "[concat(parameters('name'), 'VMNic')]",
|
||||
"publicIPName": "[parameters('publicIpAddressName')]",
|
||||
"pubIpIds": {
|
||||
"new": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Network/publicIPAddresses/', parameters('publicIpAddress'))]",
|
||||
"existingName": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Network/publicIPAddresses/', parameters('publicIpAddress'))]",
|
||||
"existingId": "[parameters('publicIpAddress')]",
|
||||
"none": "no public ip"
|
||||
},
|
||||
"publicIpAddressAllocation": "[parameters('publicIpAddressAllocation')]",
|
||||
"vhdStorageContainerName": "vhds",
|
||||
"vmName": "[parameters('name')]",
|
||||
|
@ -412,18 +422,40 @@
|
|||
"vmDeploymentName": "[concat(variables('vmName'), 'VM')]",
|
||||
"nicDeploymentName": "[concat(variables('vmName'), 'NicIp')]",
|
||||
"nsgDeploymentName": "[concat(variables('vmName'), 'NSG')]",
|
||||
"vnetName": "[parameters('virtualNetworkName')]",
|
||||
"vnetId": "[resourceId('Microsoft.Network/virtualNetworks', variables('vnetName'))]",
|
||||
"subnetRef": "[concat(variables('vnetId'), '/subnets/', variables('subnetName'))]",
|
||||
"vnetName": "[parameters('virtualNetwork')]",
|
||||
"vnetIds": {
|
||||
"new": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Network/virtualNetworks/', parameters('virtualNetwork'))]",
|
||||
"existingName": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Network/virtualNetworks/', parameters('virtualNetwork'))]",
|
||||
"existingId": "[parameters('virtualNetwork')]"
|
||||
},
|
||||
"subnetRef": "[concat(variables('vnetIds')[parameters('virtualNetworkType')], '/subnets/', variables('subnetName'))]",
|
||||
"storageAccountTemplateFilePaths": {
|
||||
"new": "nested_templates/NewStorageAccount.json",
|
||||
"existing": "nested_templates/ExistingStorageAccount.json"
|
||||
"existingName": "nested_templates/ExistingStorageAccount.json",
|
||||
"existingId": "nested_templates/ExistingStorageAccount.json"
|
||||
},
|
||||
"storageDeploymentName": "[concat(variables('vmName'), parameters('storageAccountName'))]",
|
||||
"ipOutputDeploymentName": "[concat(variables('vmName'), parameters('publicIpAddressName'), parameters('publicIpAddressType'))]",
|
||||
"fqdnOutputDeploymentName": "[concat(variables('vmName'), parameters('publicIpAddressName'), parameters('publicIpAddressType'), 'fqdn')]",
|
||||
"storageDeploymentName": "[concat(variables('vmName'), uniqueString(parameters('storageAccount')))]",
|
||||
"ipOutputDeploymentName": "[concat(variables('vmName'), uniqueString(parameters('publicIpAddress')), parameters('publicIpAddressType'))]",
|
||||
"fqdnOutputDeploymentName": "[concat(variables('vmName'), uniqueString(parameters('publicIpAddress')), parameters('publicIpAddressType'), 'fqdn')]",
|
||||
"macOutputDeploymentName": "[concat(variables('vmName'), variables('nicName'), 'mac')]",
|
||||
"availSetId": "[resourceId('Microsoft.Compute/availabilitySets', parameters('availabilitySetId'))]",
|
||||
"availSetIds": {
|
||||
"new": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Compute/availabilitySets/', parameters('availabilitySet'))]",
|
||||
"existingName": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Compute/availabilitySets/', parameters('availabilitySet'))]",
|
||||
"existingId": "[parameters('availabilitySet')]",
|
||||
"none": "no availability set"
|
||||
},
|
||||
"nsgIds": {
|
||||
"new": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Network/networkSecurityGroups/', parameters('networkSecurityGroup'))]",
|
||||
"existingName": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Network/networkSecurityGroups/', parameters('networkSecurityGroup'))]",
|
||||
"existingId": "[parameters('networkSecurityGroup')]",
|
||||
"none": "no network security group"
|
||||
},
|
||||
"simplifiedTypeNames": {
|
||||
"new": "new",
|
||||
"existingName": "existing",
|
||||
"existingId": "existing",
|
||||
"none": "none"
|
||||
},
|
||||
"vnetTemplateFilePaths": {
|
||||
"new": "nested_templates/NewVNet.json",
|
||||
"existing": "nested_templates/ExistingVNet.json"
|
||||
|
@ -447,13 +479,17 @@
|
|||
"existing": "[concat('nested_templates/nsg_existing_or_none', '.json')]"
|
||||
},
|
||||
"ipOutputTemplateFilePaths": {
|
||||
"new": "[concat('nested_templates/output_ip_new_existing', '.json')]",
|
||||
"existing": "[concat('nested_templates/output_ip_new_existing', '.json')]",
|
||||
"new": "[concat('nested_templates/output_ip_new', '.json')]",
|
||||
"existing": "[concat('nested_templates/output_ip_existing', '.json')]",
|
||||
"none": "[concat('nested_templates/output_ip_none', '.json')]"
|
||||
},
|
||||
"fqdnOutputTemplateFilePaths": {
|
||||
"new": "[concat('nested_templates/output_fqdn_new', '.json')]",
|
||||
"none": "[concat('nested_templates/output_fqdn_none', '.json')]"
|
||||
},
|
||||
"macOutputTemplateFilePaths": {
|
||||
"new": "[concat('nested_templates/output_mac_new', '.json')]",
|
||||
"existing": "[concat('nested_templates/output_mac_none', '.json')]"
|
||||
}
|
||||
},
|
||||
"resources": [
|
||||
|
@ -469,7 +505,7 @@
|
|||
"contentVersion": "1.0.0.0"
|
||||
},
|
||||
"parameters": {
|
||||
"storageAccountName": { "value": "[parameters('storageAccountName')]" },
|
||||
"storageAccountName": { "value": "[parameters('storageAccount')]" },
|
||||
"location": { "value": "[parameters('location')]" },
|
||||
"vhdStorageType": { "value": "[variables('vhdStorageType')]" }
|
||||
}
|
||||
|
@ -483,12 +519,12 @@
|
|||
"properties": {
|
||||
"mode": "Incremental",
|
||||
"templateLink": {
|
||||
"uri": "[concat(parameters('_artifactsLocation'), '/', variables('nsgTemplateFilePaths')[parameters('networkSecurityGroupType')])]",
|
||||
"uri": "[concat(parameters('_artifactsLocation'), '/', variables('nsgTemplateFilePaths')[variables('simplifiedTypeNames')[parameters('networkSecurityGroupType')]])]",
|
||||
"contentVersion": "1.0.0.0"
|
||||
},
|
||||
"parameters": {
|
||||
"networkSecurityGroupRule": { "value": "[parameters('networkSecurityGroupRule')]" },
|
||||
"networkSecurityGroupName": { "value": "[parameters('networkSecurityGroupName')]" }
|
||||
"networkSecurityGroup": { "value": "[parameters('networkSecurityGroup')]" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -503,21 +539,21 @@
|
|||
"properties": {
|
||||
"mode": "Incremental",
|
||||
"templateLink": {
|
||||
"uri": "[concat(parameters('_artifactsLocation'), variables('nicTemplateFilePaths')[parameters('networkInterfaceType')][parameters('publicIpAddressType')])]",
|
||||
"uri": "[concat(parameters('_artifactsLocation'), variables('nicTemplateFilePaths')[parameters('networkInterfaceType')][variables('simplifiedTypeNames')[parameters('publicIpAddressType')]])]",
|
||||
"contentVersion": "1.0.0.0"
|
||||
},
|
||||
"parameters": {
|
||||
"location": { "value": "[parameters('location')]" },
|
||||
"dnsNameForPublicIP": { "value": "[parameters('dnsNameForPublicIP')]" },
|
||||
"virtualMachineName": { "value": "[parameters('name')]" },
|
||||
"publicIPAddressName": { "value": "[variables('publicIPName')]" },
|
||||
"publicIpAddress": { "value": "[parameters('publicIpAddress')]" },
|
||||
"publicIpAddressAllocation": { "value": "[variables('publicIpAddressAllocation')]" },
|
||||
"nicName": { "value": "[variables('nicName')]" },
|
||||
"subnetRef": { "value": "[variables('subnetRef')]" },
|
||||
"privateIPAddress": { "value": "[parameters('privateIpAddress')]" },
|
||||
"privateIpAllocation": { "value": "[parameters('privateIpAddressAllocation')]" },
|
||||
"networkSecurityGroupName": { "value": "[parameters('networkSecurityGroupName')]" },
|
||||
"networkSecurityGroupType": { "value": "[parameters('networkSecurityGroupType')]" }
|
||||
"networkSecurityGroupId": { "value": "[variables('nsgIds')[parameters('networkSecurityGroupType')]]" },
|
||||
"networkSecurityGroupType": { "value": "[variables('simplifiedTypeNames')[parameters('networkSecurityGroupType')]]" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -529,7 +565,7 @@
|
|||
"properties": {
|
||||
"mode": "Incremental",
|
||||
"templateLink": {
|
||||
"uri": "[concat(parameters('_artifactsLocation'), '/', variables('vnetTemplateFilePaths')[parameters('virtualNetworkType')])]",
|
||||
"uri": "[concat(parameters('_artifactsLocation'), '/', variables('vnetTemplateFilePaths')[variables('simplifiedTypeNames')[parameters('virtualNetworkType')]])]",
|
||||
"contentVersion": "1.0.0.0"
|
||||
},
|
||||
"parameters": {
|
||||
|
@ -553,7 +589,7 @@
|
|||
"properties": {
|
||||
"mode": "Incremental",
|
||||
"templateLink": {
|
||||
"uri": "[concat(parameters('_artifactsLocation'), '/nested_templates/vm_', parameters('availabilitySetType'), '_', variables('authTypePath')[parameters('authenticationType')], '.json')]",
|
||||
"uri": "[concat(parameters('_artifactsLocation'), '/nested_templates/vm_', variables('simplifiedTypeNames')[parameters('availabilitySetType')], '_', variables('authTypePath')[parameters('authenticationType')], '.json')]",
|
||||
"contentVersion": "1.0.0.0"
|
||||
},
|
||||
"parameters": {
|
||||
|
@ -567,13 +603,13 @@
|
|||
"osVersion": { "value": "[variables('imageVersions')[parameters('osType')]]" },
|
||||
"size": { "value": "[variables('vmSize')]" },
|
||||
"storageType": { "value": "[variables('vhdStorageType')]" },
|
||||
"storageAccountName": { "value": "[parameters('storageAccountName')]" },
|
||||
"storageAccountName": { "value": "[parameters('storageAccount')]" },
|
||||
"storageContainerName": { "value": "[parameters('storageContainerName')]" },
|
||||
"osDiskName": { "value": "[parameters('osDiskName')]" },
|
||||
"osDiskUri": { "value": "[parameters('osDiskUri')]" },
|
||||
"sshKeyValue": { "value": "[parameters('sshKeyValue')]" },
|
||||
"sshKeyPath": { "value": "[parameters('sshDestKeyPath')]" },
|
||||
"availabilitySetId": { "value": "[variables('availSetId')]" },
|
||||
"availabilitySetId": { "value": "[variables('availSetIds')[parameters('availabilitySetType')]]" },
|
||||
"location": { "value": "[parameters('location')]" },
|
||||
"nics": { "value": "[parameters('networkInterfaceIds')]" },
|
||||
"storageCaching": { "value": "[parameters('storageCaching')]" },
|
||||
|
@ -593,11 +629,11 @@
|
|||
"properties": {
|
||||
"mode": "Incremental",
|
||||
"templateLink": {
|
||||
"uri": "[concat(parameters('_artifactsLocation'), '/', variables('ipOutputTemplateFilePaths')[parameters('publicIpAddressType')])]",
|
||||
"uri": "[concat(parameters('_artifactsLocation'), '/', variables('ipOutputTemplateFilePaths')[variables('simplifiedTypeNames')[parameters('publicIpAddressType')]])]",
|
||||
"contentVersion": "1.0.0.0"
|
||||
},
|
||||
"parameters": {
|
||||
"publicIpAddressName": { "value": "[parameters('publicIpAddressName')]" }
|
||||
"publicIpAddress": { "value": "[parameters('publicIpAddress')]" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -615,7 +651,7 @@
|
|||
"contentVersion": "1.0.0.0"
|
||||
},
|
||||
"parameters": {
|
||||
"publicIpAddressName": { "value": "[parameters('publicIpAddressName')]" }
|
||||
"publicIpAddressName": { "value": "[parameters('publicIpAddress')]" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -629,7 +665,7 @@
|
|||
"properties": {
|
||||
"mode": "Incremental",
|
||||
"templateLink": {
|
||||
"uri": "[concat(parameters('_artifactsLocation'), '/', 'nested_templates/output_mac.json')]",
|
||||
"uri": "[concat(parameters('_artifactsLocation'), '/', variables('macOutputTemplateFilePaths')[parameters('networkInterfaceType')])]",
|
||||
"contentVersion": "1.0.0.0"
|
||||
},
|
||||
"parameters": {
|
||||
|
@ -652,7 +688,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"privateIpAddress": {
|
||||
"value": "[reference(variables('nicDeploymentName')).outputs.VMNic.value.ipConfigurations[0].properties.privateIPAddress]",
|
||||
"value": "[reference(variables('nicDeploymentName')).outputs.privateIp.value]",
|
||||
"type": "string"
|
||||
},
|
||||
"macAddress": {
|
||||
|
|
|
@ -45,10 +45,9 @@ Size Standard_A3, existing storage account, existing storage container name, exi
|
|||
- verify emacs is still installed
|
||||
|
||||
Commands to verify (Linux):
|
||||
vmname=cusvm0101
|
||||
vmname=cusvm0101z
|
||||
rg=myvms2
|
||||
az vm create -n $vmname -g $rg --image https://genlinuximg001100.blob.core.windows.net/vhds/linuximage.vhd --authentication-type ssh --custom-os-disk-type linux --storage-account-name genlinuximg001100 --storage-account-type existing --storage-container-name ${vmname}vhdcopy --os-disk-name osdiskimage
|
||||
az vm list-ip-addresses -g $rg -n $vmname
|
||||
./az vm create -n $vmname -g $rg --image https://genlinuximg001100.blob.core.windows.net/vhds/linuximage.vhd --authentication-type ssh --custom-os-disk-type linux --storage-account <ID ending in genlinuximg001100> --storage-container-name ${vmname}vhdcopy --os-disk-name osdiskimage
|
||||
then
|
||||
ssh <IPAddress> (don't specify username or password)
|
||||
verify emacs/application is installed
|
||||
|
@ -62,10 +61,9 @@ Commands to verify (Linux):
|
|||
- verify application is still installed
|
||||
|
||||
Commands to verify (Windows):
|
||||
set vmname=cusvm05abc
|
||||
set vmname=cusvm05123
|
||||
set rg=myvms
|
||||
call az vm create -n %vmname% -g %rg% --image http://genwinimg001100.blob.core.windows.net/vhds/osdiskimage.vhd --authentication-type password --admin-password Test1234@! --storage-account-name genwinimg001100 --storage-container-name %vmname%mygenimg --storage-account-type existing
|
||||
call az vm list-ip-addresses -g %rg% -n %vmname%
|
||||
call az vm create -n %vmname% -g %rg% --image http://genwinimg001100.blob.core.windows.net/vhds/osdiskimage.vhd --authentication-type password --admin-password Test1234@! --storage-account <ID ending in genwinimg001100> --storage-container-name %vmname%mygenimg
|
||||
then
|
||||
RDP <IPAddress>
|
||||
verify WinMerge/application is installed
|
||||
|
|
|
@ -17,7 +17,7 @@ class DeploymentVm(Model):
|
|||
sending a request.
|
||||
|
||||
:ivar uri: URI referencing the template. Default value:
|
||||
"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-21/azuredeploy.json"
|
||||
"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30/azuredeploy.json"
|
||||
.
|
||||
:vartype uri: str
|
||||
:param content_version: If included it must match the ContentVersion in
|
||||
|
@ -25,7 +25,7 @@ class DeploymentVm(Model):
|
|||
:type content_version: str
|
||||
:ivar _artifacts_location: Container URI of of the template. Default
|
||||
value:
|
||||
"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-21"
|
||||
"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30"
|
||||
.
|
||||
:vartype _artifacts_location: str
|
||||
:param admin_password: Password for the Virtual Machine. Required if SSH
|
||||
|
@ -36,11 +36,12 @@ class DeploymentVm(Model):
|
|||
:param authentication_type: Password or SSH Public Key authentication.
|
||||
Possible values include: 'password', 'ssh'. Default value: "password" .
|
||||
:type authentication_type: str
|
||||
:param availability_set_id: Existing availability set for the VM.
|
||||
:type availability_set_id: str
|
||||
:param availability_set: Name or ID of existing availability set for the
|
||||
VM.
|
||||
:type availability_set: str
|
||||
:param availability_set_type: Flag to add the VM to an existing
|
||||
availability set. Possible values include: 'none', 'existing'. Default
|
||||
value: "none" .
|
||||
availability set. Possible values include: 'none', 'existingName',
|
||||
'existingId'. Default value: "none" .
|
||||
:type availability_set_type: str
|
||||
:param custom_os_disk_type: Custom image OS type. Possible values
|
||||
include: 'windows', 'linux'. Default value: "windows" .
|
||||
|
@ -65,18 +66,17 @@ class DeploymentVm(Model):
|
|||
or use existing ones. Possible values include: 'new', 'existing'.
|
||||
Default value: "new" .
|
||||
:type network_interface_type: str
|
||||
:param network_security_group_name: Name of the network security group.
|
||||
:type network_security_group_name: str
|
||||
:param network_security_group: Name or ID of the network security group.
|
||||
:type network_security_group: str
|
||||
:param network_security_group_rule: The type of rule to add to a new
|
||||
network security group. Possible values include: 'RDP', 'SSH'. Default
|
||||
value: "RDP" .
|
||||
:type network_security_group_rule: str
|
||||
:param network_security_group_type: Whether to use a network security
|
||||
group or not. Possible values include: 'new', 'existing', 'none'.
|
||||
Default value: "new" .
|
||||
group or not. Possible values include: 'new', 'existingName',
|
||||
'existingId', 'none'. Default value: "new" .
|
||||
:type network_security_group_type: str
|
||||
:param os_disk_name: Name of new VM OS disk. Default value: "osdiskimage"
|
||||
.
|
||||
:param os_disk_name: Name of new VM OS disk.
|
||||
:type os_disk_name: str
|
||||
:param os_disk_type: Use a custom image URI from the OS Disk URI
|
||||
parameter or use a provider's image. Possible values include:
|
||||
|
@ -106,51 +106,51 @@ class DeploymentVm(Model):
|
|||
method. Possible values include: 'dynamic', 'static'. Default value:
|
||||
"dynamic" .
|
||||
:type private_ip_address_allocation: str
|
||||
:param public_ip_address: Name or ID of public IP address to use.
|
||||
:type public_ip_address: str
|
||||
:param public_ip_address_allocation: Public IP address allocation method.
|
||||
Possible values include: 'dynamic', 'static'. Default value: "dynamic" .
|
||||
:type public_ip_address_allocation: str
|
||||
:param public_ip_address_name: Name of public IP address to use.
|
||||
:type public_ip_address_name: str
|
||||
:param public_ip_address_type: Use a public IP Address for the VM Nic.
|
||||
Possible values include: 'none', 'new', 'existing'. Default value: "new"
|
||||
.
|
||||
Possible values include: 'none', 'new', 'existingName', 'existingId'.
|
||||
Default value: "new" .
|
||||
:type public_ip_address_type: str
|
||||
:param size: The VM Size that should be created. See
|
||||
https://azure.microsoft.com/en-us/pricing/details/virtual-machines/ for
|
||||
size info. Default value: "Standard_A2" .
|
||||
size info. Default value: "Standard_DS1" .
|
||||
:type size: str
|
||||
:param ssh_dest_key_path: Destination file path on VM for SSH key.
|
||||
:type ssh_dest_key_path: str
|
||||
:param ssh_key_value: SSH key file data.
|
||||
:type ssh_key_value: str
|
||||
:param storage_account_name: Name of storage account for the VM OS disk.
|
||||
:type storage_account_name: str
|
||||
:param storage_account: Name or ID of storage account for the VM OS disk.
|
||||
:type storage_account: str
|
||||
:param storage_account_type: Whether to use an existing storage account
|
||||
or create a new one. Possible values include: 'new', 'existing'. Default
|
||||
value: "new" .
|
||||
or create a new one. Possible values include: 'new', 'existingName',
|
||||
'existingId'. Default value: "new" .
|
||||
:type storage_account_type: str
|
||||
:param storage_caching: Storage caching type. Possible values include:
|
||||
'ReadOnly', 'ReadWrite'. Default value: "ReadOnly" .
|
||||
:param storage_caching: Storage caching type for the VM OS disk. Possible
|
||||
values include: 'ReadOnly', 'ReadWrite'. Default value: "ReadWrite" .
|
||||
:type storage_caching: str
|
||||
:param storage_container_name: Name of storage container for the VM OS
|
||||
disk. Default value: "vhds" .
|
||||
:type storage_container_name: str
|
||||
:param storage_redundancy_type: The VM storage type (Standard_LRS,
|
||||
Standard_GRS, Standard_RAGRS). Default value: "Standard_LRS" .
|
||||
:type storage_redundancy_type: str
|
||||
:param storage_type: The VM storage type (Standard_LRS, Standard_GRS,
|
||||
Standard_RAGRS, ...). Default value: "Premium_LRS" .
|
||||
:type storage_type: str
|
||||
:param subnet_ip_address_prefix: The subnet address prefix in CIDR
|
||||
format. Default value: "10.0.0.0/24" .
|
||||
:type subnet_ip_address_prefix: str
|
||||
:param subnet_name: The subnet name.
|
||||
:type subnet_name: str
|
||||
:param virtual_network: Name or ID of virtual network to add VM to.
|
||||
:type virtual_network: str
|
||||
:param virtual_network_ip_address_prefix: The virtual network IP address
|
||||
prefix in CIDR format. Default value: "10.0.0.0/16" .
|
||||
:type virtual_network_ip_address_prefix: str
|
||||
:param virtual_network_name: Name of virtual network to add VM to.
|
||||
:type virtual_network_name: str
|
||||
:param virtual_network_type: Whether to use an existing VNet or create a
|
||||
new one. Possible values include: 'new', 'existing'. Default value:
|
||||
"new" .
|
||||
new one. Possible values include: 'new', 'existingName', 'existingId'.
|
||||
Default value: "new" .
|
||||
:type virtual_network_type: str
|
||||
:ivar mode: Gets or sets the deployment mode. Default value:
|
||||
"Incremental" .
|
||||
|
@ -172,7 +172,7 @@ class DeploymentVm(Model):
|
|||
'admin_password': {'key': 'properties.parameters.adminPassword.value', 'type': 'str'},
|
||||
'admin_username': {'key': 'properties.parameters.adminUsername.value', 'type': 'str'},
|
||||
'authentication_type': {'key': 'properties.parameters.authenticationType.value', 'type': 'str'},
|
||||
'availability_set_id': {'key': 'properties.parameters.availabilitySetId.value', 'type': 'str'},
|
||||
'availability_set': {'key': 'properties.parameters.availabilitySet.value', 'type': 'str'},
|
||||
'availability_set_type': {'key': 'properties.parameters.availabilitySetType.value', 'type': 'str'},
|
||||
'custom_os_disk_type': {'key': 'properties.parameters.customOsDiskType.value', 'type': 'str'},
|
||||
'custom_os_disk_uri': {'key': 'properties.parameters.customOsDiskUri.value', 'type': 'str'},
|
||||
|
@ -182,7 +182,7 @@ class DeploymentVm(Model):
|
|||
'name': {'key': 'properties.parameters.name.value', 'type': 'str'},
|
||||
'network_interface_ids': {'key': 'properties.parameters.networkInterfaceIds.value', 'type': '[object]'},
|
||||
'network_interface_type': {'key': 'properties.parameters.networkInterfaceType.value', 'type': 'str'},
|
||||
'network_security_group_name': {'key': 'properties.parameters.networkSecurityGroupName.value', 'type': 'str'},
|
||||
'network_security_group': {'key': 'properties.parameters.networkSecurityGroup.value', 'type': 'str'},
|
||||
'network_security_group_rule': {'key': 'properties.parameters.networkSecurityGroupRule.value', 'type': 'str'},
|
||||
'network_security_group_type': {'key': 'properties.parameters.networkSecurityGroupType.value', 'type': 'str'},
|
||||
'os_disk_name': {'key': 'properties.parameters.osDiskName.value', 'type': 'str'},
|
||||
|
@ -195,37 +195,37 @@ class DeploymentVm(Model):
|
|||
'os_version': {'key': 'properties.parameters.osVersion.value', 'type': 'str'},
|
||||
'private_ip_address': {'key': 'properties.parameters.privateIpAddress.value', 'type': 'str'},
|
||||
'private_ip_address_allocation': {'key': 'properties.parameters.privateIpAddressAllocation.value', 'type': 'str'},
|
||||
'public_ip_address': {'key': 'properties.parameters.publicIpAddress.value', 'type': 'str'},
|
||||
'public_ip_address_allocation': {'key': 'properties.parameters.publicIpAddressAllocation.value', 'type': 'str'},
|
||||
'public_ip_address_name': {'key': 'properties.parameters.publicIpAddressName.value', 'type': 'str'},
|
||||
'public_ip_address_type': {'key': 'properties.parameters.publicIpAddressType.value', 'type': 'str'},
|
||||
'size': {'key': 'properties.parameters.size.value', 'type': 'str'},
|
||||
'ssh_dest_key_path': {'key': 'properties.parameters.sshDestKeyPath.value', 'type': 'str'},
|
||||
'ssh_key_value': {'key': 'properties.parameters.sshKeyValue.value', 'type': 'str'},
|
||||
'storage_account_name': {'key': 'properties.parameters.storageAccountName.value', 'type': 'str'},
|
||||
'storage_account': {'key': 'properties.parameters.storageAccount.value', 'type': 'str'},
|
||||
'storage_account_type': {'key': 'properties.parameters.storageAccountType.value', 'type': 'str'},
|
||||
'storage_caching': {'key': 'properties.parameters.storageCaching.value', 'type': 'str'},
|
||||
'storage_container_name': {'key': 'properties.parameters.storageContainerName.value', 'type': 'str'},
|
||||
'storage_redundancy_type': {'key': 'properties.parameters.storageRedundancyType.value', 'type': 'str'},
|
||||
'storage_type': {'key': 'properties.parameters.storageType.value', 'type': 'str'},
|
||||
'subnet_ip_address_prefix': {'key': 'properties.parameters.subnetIpAddressPrefix.value', 'type': 'str'},
|
||||
'subnet_name': {'key': 'properties.parameters.subnetName.value', 'type': 'str'},
|
||||
'virtual_network': {'key': 'properties.parameters.virtualNetwork.value', 'type': 'str'},
|
||||
'virtual_network_ip_address_prefix': {'key': 'properties.parameters.virtualNetworkIpAddressPrefix.value', 'type': 'str'},
|
||||
'virtual_network_name': {'key': 'properties.parameters.virtualNetworkName.value', 'type': 'str'},
|
||||
'virtual_network_type': {'key': 'properties.parameters.virtualNetworkType.value', 'type': 'str'},
|
||||
'mode': {'key': 'properties.mode', 'type': 'str'},
|
||||
}
|
||||
|
||||
uri = "https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-21/azuredeploy.json"
|
||||
uri = "https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30/azuredeploy.json"
|
||||
|
||||
_artifacts_location = "https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-21"
|
||||
_artifacts_location = "https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30"
|
||||
|
||||
mode = "Incremental"
|
||||
|
||||
def __init__(self, admin_username, name, content_version=None, admin_password=None, authentication_type="password", availability_set_id=None, availability_set_type="none", custom_os_disk_type="windows", custom_os_disk_uri=None, dns_name_for_public_ip=None, dns_name_type="none", location=None, network_interface_ids=None, network_interface_type="new", network_security_group_name=None, network_security_group_rule="RDP", network_security_group_type="new", os_disk_name="osdiskimage", os_disk_type="provided", os_disk_uri=None, os_offer="WindowsServer", os_publisher="MicrosoftWindowsServer", os_sku="2012-R2-Datacenter", os_type="Win2012R2Datacenter", os_version="latest", private_ip_address=None, private_ip_address_allocation="dynamic", public_ip_address_allocation="dynamic", public_ip_address_name=None, public_ip_address_type="new", size="Standard_A2", ssh_dest_key_path=None, ssh_key_value=None, storage_account_name=None, storage_account_type="new", storage_caching="ReadOnly", storage_container_name="vhds", storage_redundancy_type="Standard_LRS", subnet_ip_address_prefix="10.0.0.0/24", subnet_name=None, virtual_network_ip_address_prefix="10.0.0.0/16", virtual_network_name=None, virtual_network_type="new"):
|
||||
def __init__(self, admin_username, name, content_version=None, admin_password=None, authentication_type="password", availability_set=None, availability_set_type="none", custom_os_disk_type="windows", custom_os_disk_uri=None, dns_name_for_public_ip=None, dns_name_type="none", location=None, network_interface_ids=None, network_interface_type="new", network_security_group=None, network_security_group_rule="RDP", network_security_group_type="new", os_disk_name=None, os_disk_type="provided", os_disk_uri=None, os_offer="WindowsServer", os_publisher="MicrosoftWindowsServer", os_sku="2012-R2-Datacenter", os_type="Win2012R2Datacenter", os_version="latest", private_ip_address=None, private_ip_address_allocation="dynamic", public_ip_address=None, public_ip_address_allocation="dynamic", public_ip_address_type="new", size="Standard_DS1", ssh_dest_key_path=None, ssh_key_value=None, storage_account=None, storage_account_type="new", storage_caching="ReadWrite", storage_container_name="vhds", storage_type="Premium_LRS", subnet_ip_address_prefix="10.0.0.0/24", subnet_name=None, virtual_network=None, virtual_network_ip_address_prefix="10.0.0.0/16", virtual_network_type="new"):
|
||||
self.content_version = content_version
|
||||
self.admin_password = admin_password
|
||||
self.admin_username = admin_username
|
||||
self.authentication_type = authentication_type
|
||||
self.availability_set_id = availability_set_id
|
||||
self.availability_set = availability_set
|
||||
self.availability_set_type = availability_set_type
|
||||
self.custom_os_disk_type = custom_os_disk_type
|
||||
self.custom_os_disk_uri = custom_os_disk_uri
|
||||
|
@ -235,7 +235,7 @@ class DeploymentVm(Model):
|
|||
self.name = name
|
||||
self.network_interface_ids = network_interface_ids
|
||||
self.network_interface_type = network_interface_type
|
||||
self.network_security_group_name = network_security_group_name
|
||||
self.network_security_group = network_security_group
|
||||
self.network_security_group_rule = network_security_group_rule
|
||||
self.network_security_group_type = network_security_group_type
|
||||
self.os_disk_name = os_disk_name
|
||||
|
@ -248,19 +248,19 @@ class DeploymentVm(Model):
|
|||
self.os_version = os_version
|
||||
self.private_ip_address = private_ip_address
|
||||
self.private_ip_address_allocation = private_ip_address_allocation
|
||||
self.public_ip_address = public_ip_address
|
||||
self.public_ip_address_allocation = public_ip_address_allocation
|
||||
self.public_ip_address_name = public_ip_address_name
|
||||
self.public_ip_address_type = public_ip_address_type
|
||||
self.size = size
|
||||
self.ssh_dest_key_path = ssh_dest_key_path
|
||||
self.ssh_key_value = ssh_key_value
|
||||
self.storage_account_name = storage_account_name
|
||||
self.storage_account = storage_account
|
||||
self.storage_account_type = storage_account_type
|
||||
self.storage_caching = storage_caching
|
||||
self.storage_container_name = storage_container_name
|
||||
self.storage_redundancy_type = storage_redundancy_type
|
||||
self.storage_type = storage_type
|
||||
self.subnet_ip_address_prefix = subnet_ip_address_prefix
|
||||
self.subnet_name = subnet_name
|
||||
self.virtual_network = virtual_network
|
||||
self.virtual_network_ip_address_prefix = virtual_network_ip_address_prefix
|
||||
self.virtual_network_name = virtual_network_name
|
||||
self.virtual_network_type = virtual_network_type
|
||||
|
|
|
@ -17,7 +17,7 @@ class TemplateLink(Model):
|
|||
sending a request.
|
||||
|
||||
:ivar uri: URI referencing the template. Default value:
|
||||
"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-21/azuredeploy.json"
|
||||
"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30/azuredeploy.json"
|
||||
.
|
||||
:vartype uri: str
|
||||
:param content_version: If included it must match the ContentVersion in
|
||||
|
@ -34,7 +34,7 @@ class TemplateLink(Model):
|
|||
'content_version': {'key': 'contentVersion', 'type': 'str'},
|
||||
}
|
||||
|
||||
uri = "https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-21/azuredeploy.json"
|
||||
uri = "https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30/azuredeploy.json"
|
||||
|
||||
def __init__(self, content_version=None):
|
||||
self.content_version = content_version
|
||||
|
|
|
@ -32,7 +32,7 @@ class VmOperations(object):
|
|||
self.config = config
|
||||
|
||||
def create_or_update(
|
||||
self, resource_group_name, deployment_name, admin_username, name, content_version=None, admin_password=None, authentication_type="password", availability_set_id=None, availability_set_type="none", custom_os_disk_type="windows", custom_os_disk_uri=None, dns_name_for_public_ip=None, dns_name_type="none", location=None, network_interface_ids=None, network_interface_type="new", network_security_group_name=None, network_security_group_rule="RDP", network_security_group_type="new", os_disk_name="osdiskimage", os_disk_type="provided", os_disk_uri=None, os_offer="WindowsServer", os_publisher="MicrosoftWindowsServer", os_sku="2012-R2-Datacenter", os_type="Win2012R2Datacenter", os_version="latest", private_ip_address=None, private_ip_address_allocation="dynamic", public_ip_address_allocation="dynamic", public_ip_address_name=None, public_ip_address_type="new", size="Standard_A2", ssh_dest_key_path=None, ssh_key_value=None, storage_account_name=None, storage_account_type="new", storage_caching="ReadOnly", storage_container_name="vhds", storage_redundancy_type="Standard_LRS", subnet_ip_address_prefix="10.0.0.0/24", subnet_name=None, virtual_network_ip_address_prefix="10.0.0.0/16", virtual_network_name=None, virtual_network_type="new", custom_headers=None, raw=False, **operation_config):
|
||||
self, resource_group_name, deployment_name, admin_username, name, content_version=None, admin_password=None, authentication_type="password", availability_set=None, availability_set_type="none", custom_os_disk_type="windows", custom_os_disk_uri=None, dns_name_for_public_ip=None, dns_name_type="none", location=None, network_interface_ids=None, network_interface_type="new", network_security_group=None, network_security_group_rule="RDP", network_security_group_type="new", os_disk_name=None, os_disk_type="provided", os_disk_uri=None, os_offer="WindowsServer", os_publisher="MicrosoftWindowsServer", os_sku="2012-R2-Datacenter", os_type="Win2012R2Datacenter", os_version="latest", private_ip_address=None, private_ip_address_allocation="dynamic", public_ip_address=None, public_ip_address_allocation="dynamic", public_ip_address_type="new", size="Standard_DS1", ssh_dest_key_path=None, ssh_key_value=None, storage_account=None, storage_account_type="new", storage_caching="ReadWrite", storage_container_name="vhds", storage_type="Premium_LRS", subnet_ip_address_prefix="10.0.0.0/24", subnet_name=None, virtual_network=None, virtual_network_ip_address_prefix="10.0.0.0/16", virtual_network_type="new", custom_headers=None, raw=False, **operation_config):
|
||||
"""
|
||||
Create or update a virtual machine.
|
||||
|
||||
|
@ -54,10 +54,12 @@ class VmOperations(object):
|
|||
:param authentication_type: Password or SSH Public Key
|
||||
authentication. Possible values include: 'password', 'ssh'
|
||||
:type authentication_type: str
|
||||
:param availability_set_id: Existing availability set for the VM.
|
||||
:type availability_set_id: str
|
||||
:param availability_set: Name or ID of existing availability set for
|
||||
the VM.
|
||||
:type availability_set: str
|
||||
:param availability_set_type: Flag to add the VM to an existing
|
||||
availability set. Possible values include: 'none', 'existing'
|
||||
availability set. Possible values include: 'none', 'existingName',
|
||||
'existingId'
|
||||
:type availability_set_type: str
|
||||
:param custom_os_disk_type: Custom image OS type. Possible values
|
||||
include: 'windows', 'linux'
|
||||
|
@ -80,14 +82,15 @@ class VmOperations(object):
|
|||
interface or use existing ones. Possible values include: 'new',
|
||||
'existing'
|
||||
:type network_interface_type: str
|
||||
:param network_security_group_name: Name of the network security
|
||||
:param network_security_group: Name or ID of the network security
|
||||
group.
|
||||
:type network_security_group_name: str
|
||||
:type network_security_group: str
|
||||
:param network_security_group_rule: The type of rule to add to a new
|
||||
network security group. Possible values include: 'RDP', 'SSH'
|
||||
:type network_security_group_rule: str
|
||||
:param network_security_group_type: Whether to use a network security
|
||||
group or not. Possible values include: 'new', 'existing', 'none'
|
||||
group or not. Possible values include: 'new', 'existingName',
|
||||
'existingId', 'none'
|
||||
:type network_security_group_type: str
|
||||
:param os_disk_name: Name of new VM OS disk.
|
||||
:type os_disk_name: str
|
||||
|
@ -116,13 +119,14 @@ class VmOperations(object):
|
|||
:param private_ip_address_allocation: Private IP address allocation
|
||||
method. Possible values include: 'dynamic', 'static'
|
||||
:type private_ip_address_allocation: str
|
||||
:param public_ip_address: Name or ID of public IP address to use.
|
||||
:type public_ip_address: str
|
||||
:param public_ip_address_allocation: Public IP address allocation
|
||||
method. Possible values include: 'dynamic', 'static'
|
||||
:type public_ip_address_allocation: str
|
||||
:param public_ip_address_name: Name of public IP address to use.
|
||||
:type public_ip_address_name: str
|
||||
:param public_ip_address_type: Use a public IP Address for the VM
|
||||
Nic. Possible values include: 'none', 'new', 'existing'
|
||||
Nic. Possible values include: 'none', 'new', 'existingName',
|
||||
'existingId'
|
||||
:type public_ip_address_type: str
|
||||
:param size: The VM Size that should be created. See
|
||||
https://azure.microsoft.com/en-us/pricing/details/virtual-machines/
|
||||
|
@ -132,34 +136,35 @@ class VmOperations(object):
|
|||
:type ssh_dest_key_path: str
|
||||
:param ssh_key_value: SSH key file data.
|
||||
:type ssh_key_value: str
|
||||
:param storage_account_name: Name of storage account for the VM OS
|
||||
:param storage_account: Name or ID of storage account for the VM OS
|
||||
disk.
|
||||
:type storage_account_name: str
|
||||
:type storage_account: str
|
||||
:param storage_account_type: Whether to use an existing storage
|
||||
account or create a new one. Possible values include: 'new',
|
||||
'existing'
|
||||
'existingName', 'existingId'
|
||||
:type storage_account_type: str
|
||||
:param storage_caching: Storage caching type. Possible values
|
||||
include: 'ReadOnly', 'ReadWrite'
|
||||
:param storage_caching: Storage caching type for the VM OS disk.
|
||||
Possible values include: 'ReadOnly', 'ReadWrite'
|
||||
:type storage_caching: str
|
||||
:param storage_container_name: Name of storage container for the VM
|
||||
OS disk.
|
||||
:type storage_container_name: str
|
||||
:param storage_redundancy_type: The VM storage type (Standard_LRS,
|
||||
Standard_GRS, Standard_RAGRS).
|
||||
:type storage_redundancy_type: str
|
||||
:param storage_type: The VM storage type (Standard_LRS, Standard_GRS,
|
||||
Standard_RAGRS, ...).
|
||||
:type storage_type: str
|
||||
:param subnet_ip_address_prefix: The subnet address prefix in CIDR
|
||||
format.
|
||||
:type subnet_ip_address_prefix: str
|
||||
:param subnet_name: The subnet name.
|
||||
:type subnet_name: str
|
||||
:param virtual_network: Name or ID of virtual network to add VM to.
|
||||
:type virtual_network: str
|
||||
:param virtual_network_ip_address_prefix: The virtual network IP
|
||||
address prefix in CIDR format.
|
||||
:type virtual_network_ip_address_prefix: str
|
||||
:param virtual_network_name: Name of virtual network to add VM to.
|
||||
:type virtual_network_name: str
|
||||
:param virtual_network_type: Whether to use an existing VNet or
|
||||
create a new one. Possible values include: 'new', 'existing'
|
||||
create a new one. Possible values include: 'new', 'existingName',
|
||||
'existingId'
|
||||
:type virtual_network_type: str
|
||||
:param dict custom_headers: headers that will be added to the request
|
||||
:param bool raw: returns the direct response alongside the
|
||||
|
@ -171,7 +176,7 @@ class VmOperations(object):
|
|||
:rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>`
|
||||
if raw=true
|
||||
"""
|
||||
parameters = models.DeploymentVm(content_version=content_version, admin_password=admin_password, admin_username=admin_username, authentication_type=authentication_type, availability_set_id=availability_set_id, availability_set_type=availability_set_type, custom_os_disk_type=custom_os_disk_type, custom_os_disk_uri=custom_os_disk_uri, dns_name_for_public_ip=dns_name_for_public_ip, dns_name_type=dns_name_type, location=location, name=name, network_interface_ids=network_interface_ids, network_interface_type=network_interface_type, network_security_group_name=network_security_group_name, network_security_group_rule=network_security_group_rule, network_security_group_type=network_security_group_type, os_disk_name=os_disk_name, os_disk_type=os_disk_type, os_disk_uri=os_disk_uri, os_offer=os_offer, os_publisher=os_publisher, os_sku=os_sku, os_type=os_type, os_version=os_version, private_ip_address=private_ip_address, private_ip_address_allocation=private_ip_address_allocation, public_ip_address_allocation=public_ip_address_allocation, public_ip_address_name=public_ip_address_name, public_ip_address_type=public_ip_address_type, size=size, ssh_dest_key_path=ssh_dest_key_path, ssh_key_value=ssh_key_value, storage_account_name=storage_account_name, storage_account_type=storage_account_type, storage_caching=storage_caching, storage_container_name=storage_container_name, storage_redundancy_type=storage_redundancy_type, subnet_ip_address_prefix=subnet_ip_address_prefix, subnet_name=subnet_name, virtual_network_ip_address_prefix=virtual_network_ip_address_prefix, virtual_network_name=virtual_network_name, virtual_network_type=virtual_network_type)
|
||||
parameters = models.DeploymentVm(content_version=content_version, admin_password=admin_password, admin_username=admin_username, authentication_type=authentication_type, availability_set=availability_set, availability_set_type=availability_set_type, custom_os_disk_type=custom_os_disk_type, custom_os_disk_uri=custom_os_disk_uri, dns_name_for_public_ip=dns_name_for_public_ip, dns_name_type=dns_name_type, location=location, name=name, network_interface_ids=network_interface_ids, network_interface_type=network_interface_type, network_security_group=network_security_group, network_security_group_rule=network_security_group_rule, network_security_group_type=network_security_group_type, os_disk_name=os_disk_name, os_disk_type=os_disk_type, os_disk_uri=os_disk_uri, os_offer=os_offer, os_publisher=os_publisher, os_sku=os_sku, os_type=os_type, os_version=os_version, private_ip_address=private_ip_address, private_ip_address_allocation=private_ip_address_allocation, public_ip_address=public_ip_address, public_ip_address_allocation=public_ip_address_allocation, public_ip_address_type=public_ip_address_type, size=size, ssh_dest_key_path=ssh_dest_key_path, ssh_key_value=ssh_key_value, storage_account=storage_account, storage_account_type=storage_account_type, storage_caching=storage_caching, storage_container_name=storage_container_name, storage_type=storage_type, subnet_ip_address_prefix=subnet_ip_address_prefix, subnet_name=subnet_name, virtual_network=virtual_network, virtual_network_ip_address_prefix=virtual_network_ip_address_prefix, virtual_network_type=virtual_network_type)
|
||||
|
||||
# Construct URL
|
||||
url = '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"VirtualMachineName": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicIPAddressName": {
|
||||
"publicIpAddress": {
|
||||
"type": "string"
|
||||
},
|
||||
"privateIpAddress": {
|
||||
|
@ -29,7 +29,7 @@
|
|||
"privateIpAllocation": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupName": {
|
||||
"networkSecurityGroupId": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupType": {
|
||||
|
@ -46,6 +46,10 @@
|
|||
"VMNic": {
|
||||
"type": "object",
|
||||
"value": { }
|
||||
},
|
||||
"privateIp": {
|
||||
"type": "string",
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
|
@ -11,7 +11,7 @@
|
|||
"VirtualMachineName": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicIPAddressName": {
|
||||
"publicIpAddress": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicIpAddressAllocation": {
|
||||
|
@ -29,7 +29,7 @@
|
|||
"privateIpAllocation": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupName": {
|
||||
"networkSecurityGroupId": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupType": {
|
||||
|
@ -41,7 +41,7 @@
|
|||
"Dynamic": {
|
||||
"privateIPAllocationMethod": "Dynamic",
|
||||
"publicIPAddress": {
|
||||
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddressName'))]"
|
||||
"id": "[parameters('publicIPAddress')]"
|
||||
},
|
||||
"subnet": {
|
||||
"id": "[parameters('subnetRef')]"
|
||||
|
@ -51,7 +51,7 @@
|
|||
"privateIPAllocationMethod": "Static",
|
||||
"privateIPAddress": "[parameters('privateIpAddress')]",
|
||||
"publicIPAddress": {
|
||||
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddressName'))]"
|
||||
"id": "[parameters('publicIPAddress')]"
|
||||
},
|
||||
"subnet": {
|
||||
"id": "[parameters('subnetRef')]"
|
||||
|
@ -67,7 +67,7 @@
|
|||
}
|
||||
],
|
||||
"networkSecurityGroup": {
|
||||
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName'))]"
|
||||
"id": "[parameters('networkSecurityGroupId')]"
|
||||
}
|
||||
},
|
||||
"existing": {
|
||||
|
@ -78,7 +78,7 @@
|
|||
}
|
||||
],
|
||||
"networkSecurityGroup": {
|
||||
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName'))]"
|
||||
"id": "[parameters('networkSecurityGroupId')]"
|
||||
}
|
||||
},
|
||||
"none": {
|
||||
|
@ -108,6 +108,10 @@
|
|||
"VMNic": {
|
||||
"type": "object",
|
||||
"value": "[reference(parameters('nicName'))]"
|
||||
},
|
||||
"privateIp": {
|
||||
"type": "string",
|
||||
"value": "[reference(parameters('nicName')).ipConfigurations[0].properties.privateIPAddress]"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -11,7 +11,7 @@
|
|||
"VirtualMachineName": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicIPAddressName": {
|
||||
"publicIpAddress": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicIpAddressAllocation": {
|
||||
|
@ -29,7 +29,7 @@
|
|||
"privateIpAllocation": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupName": {
|
||||
"networkSecurityGroupId": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupType": {
|
||||
|
@ -41,7 +41,7 @@
|
|||
"Static": {
|
||||
"privateIPAllocationMethod": "Static",
|
||||
"publicIPAddress": {
|
||||
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddressName'))]"
|
||||
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddress'))]"
|
||||
},
|
||||
"privateIPAddress": "[parameters('privateIpAddress')]",
|
||||
"subnet": {
|
||||
|
@ -51,7 +51,7 @@
|
|||
"Dynamic": {
|
||||
"privateIPAllocationMethod": "Dynamic",
|
||||
"publicIPAddress": {
|
||||
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddressName'))]"
|
||||
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddress'))]"
|
||||
},
|
||||
"subnet": {
|
||||
"id": "[parameters('subnetRef')]"
|
||||
|
@ -67,7 +67,7 @@
|
|||
}
|
||||
],
|
||||
"networkSecurityGroup": {
|
||||
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName'))]"
|
||||
"id": "[parameters('networkSecurityGroupId')]"
|
||||
}
|
||||
},
|
||||
"existing": {
|
||||
|
@ -78,7 +78,7 @@
|
|||
}
|
||||
],
|
||||
"networkSecurityGroup": {
|
||||
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName'))]"
|
||||
"id": "[parameters('networkSecurityGroupId')]"
|
||||
}
|
||||
},
|
||||
"none": {
|
||||
|
@ -95,7 +95,7 @@
|
|||
{
|
||||
"apiVersion": "2015-06-15",
|
||||
"type": "Microsoft.Network/publicIPAddresses",
|
||||
"name": "[parameters('publicIPAddressName')]",
|
||||
"name": "[parameters('publicIpAddress')]",
|
||||
"location": "[parameters('location')]",
|
||||
"tags": {
|
||||
"displayName": "PublicIPAddress"
|
||||
|
@ -116,7 +116,7 @@
|
|||
"displayName": "NetworkInterface"
|
||||
},
|
||||
"dependsOn": [
|
||||
"[concat('Microsoft.Network/publicIPAddresses/', parameters('publicIPAddressName'))]"
|
||||
"[concat('Microsoft.Network/publicIPAddresses/', parameters('publicIpAddress'))]"
|
||||
],
|
||||
"properties": "[variables('nsgProperties')[parameters('networkSecurityGroupType')]]"
|
||||
}
|
||||
|
@ -125,6 +125,10 @@
|
|||
"VMNic": {
|
||||
"type": "object",
|
||||
"value": "[reference(parameters('nicName'))]"
|
||||
},
|
||||
"privateIp": {
|
||||
"type": "string",
|
||||
"value": "[reference(parameters('nicName')).ipConfigurations[0].properties.privateIPAddress]"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -14,7 +14,7 @@
|
|||
"privateIpAddress": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicIPAddressName": {
|
||||
"publicIpAddress": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicIpAddressAllocation": {
|
||||
|
@ -29,7 +29,7 @@
|
|||
"privateIpAllocation": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupName": {
|
||||
"networkSecurityGroupId": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupType": {
|
||||
|
@ -42,7 +42,7 @@
|
|||
"privateIPAllocationMethod": "Static",
|
||||
"privateIPAddress": "[parameters('privateIpAddress')]",
|
||||
"publicIPAddress": {
|
||||
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddressName'))]"
|
||||
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIpAddress'))]"
|
||||
},
|
||||
"subnet": {
|
||||
"id": "[parameters('subnetRef')]"
|
||||
|
@ -51,7 +51,7 @@
|
|||
"Dynamic": {
|
||||
"privateIPAllocationMethod": "Dynamic",
|
||||
"publicIPAddress": {
|
||||
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddressName'))]"
|
||||
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddress'))]"
|
||||
},
|
||||
"subnet": {
|
||||
"id": "[parameters('subnetRef')]"
|
||||
|
@ -67,7 +67,7 @@
|
|||
}
|
||||
],
|
||||
"networkSecurityGroup": {
|
||||
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName'))]"
|
||||
"id": "[parameters('networkSecurityGroupId')]"
|
||||
}
|
||||
},
|
||||
"existing": {
|
||||
|
@ -78,7 +78,7 @@
|
|||
}
|
||||
],
|
||||
"networkSecurityGroup": {
|
||||
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName'))]"
|
||||
"id": "[parameters('networkSecurityGroupId')]"
|
||||
}
|
||||
},
|
||||
"none": {
|
||||
|
@ -95,7 +95,7 @@
|
|||
{
|
||||
"apiVersion": "2015-06-15",
|
||||
"type": "Microsoft.Network/publicIPAddresses",
|
||||
"name": "[parameters('publicIPAddressName')]",
|
||||
"name": "[parameters('publicIpAddress')]",
|
||||
"location": "[parameters('location')]",
|
||||
"tags": {
|
||||
"displayName": "PublicIPAddress"
|
||||
|
@ -113,7 +113,7 @@
|
|||
"displayName": "NetworkInterface"
|
||||
},
|
||||
"dependsOn": [
|
||||
"[concat('Microsoft.Network/publicIPAddresses/', parameters('publicIPAddressName'))]"
|
||||
"[concat('Microsoft.Network/publicIPAddresses/', parameters('publicIpAddress'))]"
|
||||
],
|
||||
"properties": "[variables('nsgProperties')[parameters('networkSecurityGroupType')]]"
|
||||
}
|
||||
|
@ -122,6 +122,10 @@
|
|||
"VMNic": {
|
||||
"type": "object",
|
||||
"value": "[reference(parameters('nicName'))]"
|
||||
},
|
||||
"privateIp": {
|
||||
"type": "string",
|
||||
"value": "[reference(parameters('nicName')).ipConfigurations[0].properties.privateIPAddress]"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -11,7 +11,7 @@
|
|||
"VirtualMachineName": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicIPAddressName": {
|
||||
"publicIpAddress": {
|
||||
"type": "string"
|
||||
},
|
||||
"privateIpAddress": {
|
||||
|
@ -29,7 +29,7 @@
|
|||
"privateIpAllocation": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupName": {
|
||||
"networkSecurityGroupId": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupType": {
|
||||
|
@ -61,7 +61,7 @@
|
|||
}
|
||||
],
|
||||
"networkSecurityGroup": {
|
||||
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName'))]"
|
||||
"id": "[parameters('networkSecurityGroupId')]"
|
||||
}
|
||||
},
|
||||
"existing": {
|
||||
|
@ -72,7 +72,7 @@
|
|||
}
|
||||
],
|
||||
"networkSecurityGroup": {
|
||||
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName'))]"
|
||||
"id": "[parameters('networkSecurityGroupId')]"
|
||||
}
|
||||
},
|
||||
"none": {
|
||||
|
@ -102,6 +102,10 @@
|
|||
"VMNic": {
|
||||
"type": "object",
|
||||
"value": "[reference(parameters('nicName'))]"
|
||||
},
|
||||
"privateIp": {
|
||||
"type": "string",
|
||||
"value": "[reference(parameters('nicName')).ipConfigurations[0].properties.privateIPAddress]"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"networkSecurityGroupName": {
|
||||
"networkSecurityGroup": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupRule": {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"networkSecurityGroupName": {
|
||||
"networkSecurityGroup": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupRule": {
|
||||
|
@ -42,7 +42,7 @@
|
|||
"resources": [
|
||||
{
|
||||
"type": "Microsoft.Network/networkSecurityGroups",
|
||||
"name": "[parameters('networkSecurityGroupName')]",
|
||||
"name": "[parameters('networkSecurityGroup')]",
|
||||
"apiVersion": "2015-06-15",
|
||||
"location": "westus",
|
||||
"properties": {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"outputs": {
|
||||
"fqdn": {
|
||||
"type": "string",
|
||||
"value": "none"
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"publicIpAddress": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
|
||||
},
|
||||
"resources": [
|
||||
],
|
||||
"outputs": {
|
||||
"ipAddress": {
|
||||
"value": "[reference(parameters('publicIpAddress'),'2015-06-15').ipAddress]",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"publicIpAddressName": {
|
||||
"publicIpAddress": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
@ -13,7 +13,7 @@
|
|||
],
|
||||
"outputs": {
|
||||
"ipAddress": {
|
||||
"value": "[reference(resourceId('Microsoft.Network/publicIpAddresses', parameters('publicIpAddressName')),'2015-06-15').ipAddress]",
|
||||
"value": "[reference(resourceId('Microsoft.Network/publicIpAddresses', parameters('publicIpAddress')),'2015-06-15').ipAddress]",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"publicIpAddressName": {
|
||||
"publicIpAddress": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
@ -13,7 +13,7 @@
|
|||
],
|
||||
"outputs": {
|
||||
"ipAddress": {
|
||||
"value": "none",
|
||||
"value": "",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"nicName": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
|
||||
},
|
||||
"resources": [
|
||||
],
|
||||
"outputs": {
|
||||
"macAddress": {
|
||||
"value": "",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -145,7 +145,7 @@
|
|||
"type": "string",
|
||||
"description": "URI referencing the template.",
|
||||
"enum": [
|
||||
"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-21/azuredeploy.json"
|
||||
"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30/azuredeploy.json"
|
||||
]
|
||||
},
|
||||
"contentVersion": {
|
||||
|
@ -180,9 +180,9 @@
|
|||
"$ref": "#/definitions/DeploymentParameter_authenticationType",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"availabilitySetId": {
|
||||
"availabilitySet": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_availabilitySetId",
|
||||
"$ref": "#/definitions/DeploymentParameter_availabilitySet",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"availabilitySetType": {
|
||||
|
@ -230,9 +230,9 @@
|
|||
"$ref": "#/definitions/DeploymentParameter_networkInterfaceType",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"networkSecurityGroupName": {
|
||||
"networkSecurityGroup": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_networkSecurityGroupName",
|
||||
"$ref": "#/definitions/DeploymentParameter_networkSecurityGroup",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"networkSecurityGroupRule": {
|
||||
|
@ -295,16 +295,16 @@
|
|||
"$ref": "#/definitions/DeploymentParameter_privateIpAddressAllocation",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"publicIpAddress": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_publicIpAddress",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"publicIpAddressAllocation": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_publicIpAddressAllocation",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"publicIpAddressName": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_publicIpAddressName",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"publicIpAddressType": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_publicIpAddressType",
|
||||
|
@ -325,9 +325,9 @@
|
|||
"$ref": "#/definitions/DeploymentParameter_sshKeyValue",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"storageAccountName": {
|
||||
"storageAccount": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_storageAccountName",
|
||||
"$ref": "#/definitions/DeploymentParameter_storageAccount",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"storageAccountType": {
|
||||
|
@ -345,9 +345,9 @@
|
|||
"$ref": "#/definitions/DeploymentParameter_storageContainerName",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"storageRedundancyType": {
|
||||
"storageType": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_storageRedundancyType",
|
||||
"$ref": "#/definitions/DeploymentParameter_storageType",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"subnetIpAddressPrefix": {
|
||||
|
@ -360,16 +360,16 @@
|
|||
"$ref": "#/definitions/DeploymentParameter_subnetName",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"virtualNetwork": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_virtualNetwork",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"virtualNetworkIpAddressPrefix": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_virtualNetworkIpAddressPrefix",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"virtualNetworkName": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_virtualNetworkName",
|
||||
"x-ms-client-flatten": true
|
||||
},
|
||||
"virtualNetworkType": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/DeploymentParameter_virtualNetworkType",
|
||||
|
@ -416,12 +416,12 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_availabilitySetId": {
|
||||
"DeploymentParameter_availabilitySet": {
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Existing availability set for the VM.",
|
||||
"x-ms-client-name": "availabilitySetId"
|
||||
"description": "Name or ID of existing availability set for the VM.",
|
||||
"x-ms-client-name": "availabilitySet"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -433,7 +433,8 @@
|
|||
"x-ms-client-name": "availabilitySetType",
|
||||
"enum": [
|
||||
"none",
|
||||
"existing"
|
||||
"existingName",
|
||||
"existingId"
|
||||
],
|
||||
"default": "none"
|
||||
}
|
||||
|
@ -532,12 +533,12 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_networkSecurityGroupName": {
|
||||
"DeploymentParameter_networkSecurityGroup": {
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Name of the network security group.",
|
||||
"x-ms-client-name": "networkSecurityGroupName"
|
||||
"description": "Name or ID of the network security group.",
|
||||
"x-ms-client-name": "networkSecurityGroup"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -563,7 +564,8 @@
|
|||
"x-ms-client-name": "networkSecurityGroupType",
|
||||
"enum": [
|
||||
"new",
|
||||
"existing",
|
||||
"existingName",
|
||||
"existingId",
|
||||
"none"
|
||||
],
|
||||
"default": "new"
|
||||
|
@ -575,8 +577,7 @@
|
|||
"value": {
|
||||
"type": "string",
|
||||
"description": "Name of new VM OS disk.",
|
||||
"x-ms-client-name": "osDiskName",
|
||||
"default": "osdiskimage"
|
||||
"x-ms-client-name": "osDiskName"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -682,6 +683,15 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_publicIpAddress": {
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Name or ID of public IP address to use.",
|
||||
"x-ms-client-name": "publicIpAddress"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_publicIpAddressAllocation": {
|
||||
"properties": {
|
||||
"value": {
|
||||
|
@ -696,15 +706,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_publicIpAddressName": {
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Name of public IP address to use.",
|
||||
"x-ms-client-name": "publicIpAddressName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_publicIpAddressType": {
|
||||
"properties": {
|
||||
"value": {
|
||||
|
@ -714,7 +715,8 @@
|
|||
"enum": [
|
||||
"none",
|
||||
"new",
|
||||
"existing"
|
||||
"existingName",
|
||||
"existingId"
|
||||
],
|
||||
"default": "new"
|
||||
}
|
||||
|
@ -726,7 +728,7 @@
|
|||
"type": "string",
|
||||
"description": "The VM Size that should be created. See https://azure.microsoft.com/en-us/pricing/details/virtual-machines/ for size info.",
|
||||
"x-ms-client-name": "size",
|
||||
"default": "Standard_A2"
|
||||
"default": "Standard_DS1"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -748,12 +750,12 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_storageAccountName": {
|
||||
"DeploymentParameter_storageAccount": {
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Name of storage account for the VM OS disk.",
|
||||
"x-ms-client-name": "storageAccountName"
|
||||
"description": "Name or ID of storage account for the VM OS disk.",
|
||||
"x-ms-client-name": "storageAccount"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -765,7 +767,8 @@
|
|||
"x-ms-client-name": "storageAccountType",
|
||||
"enum": [
|
||||
"new",
|
||||
"existing"
|
||||
"existingName",
|
||||
"existingId"
|
||||
],
|
||||
"default": "new"
|
||||
}
|
||||
|
@ -775,13 +778,13 @@
|
|||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Storage caching type.",
|
||||
"description": "Storage caching type for the VM OS disk.",
|
||||
"x-ms-client-name": "storageCaching",
|
||||
"enum": [
|
||||
"ReadOnly",
|
||||
"ReadWrite"
|
||||
],
|
||||
"default": "ReadOnly"
|
||||
"default": "ReadWrite"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -795,13 +798,13 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_storageRedundancyType": {
|
||||
"DeploymentParameter_storageType": {
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "The VM storage type (Standard_LRS, Standard_GRS, Standard_RAGRS).",
|
||||
"x-ms-client-name": "storageRedundancyType",
|
||||
"default": "Standard_LRS"
|
||||
"description": "The VM storage type (Standard_LRS, Standard_GRS, Standard_RAGRS, ...).",
|
||||
"x-ms-client-name": "storageType",
|
||||
"default": "Premium_LRS"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -824,6 +827,15 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_virtualNetwork": {
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Name or ID of virtual network to add VM to.",
|
||||
"x-ms-client-name": "virtualNetwork"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_virtualNetworkIpAddressPrefix": {
|
||||
"properties": {
|
||||
"value": {
|
||||
|
@ -834,15 +846,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_virtualNetworkName": {
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Name of virtual network to add VM to.",
|
||||
"x-ms-client-name": "virtualNetworkName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeploymentParameter_virtualNetworkType": {
|
||||
"properties": {
|
||||
"value": {
|
||||
|
@ -851,7 +854,8 @@
|
|||
"x-ms-client-name": "virtualNetworkType",
|
||||
"enum": [
|
||||
"new",
|
||||
"existing"
|
||||
"existingName",
|
||||
"existingId"
|
||||
],
|
||||
"default": "new"
|
||||
}
|
||||
|
@ -864,7 +868,7 @@
|
|||
"description": "Container URI of of the template.",
|
||||
"x-ms-client-name": "_artifactsLocation",
|
||||
"enum": [
|
||||
"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-21"
|
||||
"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
|
@ -47,9 +47,9 @@ OR
|
|||
Commands to verify (Linux):
|
||||
vmssname=myvmss16e
|
||||
rg=myvmsss
|
||||
az vm scaleset create --image https://vhdstorage33jojgic4cpuu.blob.core.windows.net/vhds/osdiskimage.vhd --custom-os-disk-type linux -g $rg --name $vmssname --authentication-type ssh
|
||||
az vm scaleset show -n $vmssname -g $rg
|
||||
az network public-ip show -n ${vmssname}PublicIP -g $rg --query ipAddress
|
||||
./az vm scaleset create --image https://vhdstorage33jojgic4cpuu.blob.core.windows.net/vhds/osdiskimage.vhd --custom-os-disk-type linux -g $rg --name $vmssname --authentication-type ssh
|
||||
./az vm scaleset show -n $vmssname -g $rg
|
||||
./az network public-ip show -n ${vmssname}PublicIP -g $rg --query ipAddress
|
||||
SSH into the VM, Ssh format for instance 0: ssh <ipAddress> -p 50000
|
||||
Type 'emacs', it should start (exit with Ctrl-X Ctrl-C)
|
||||
|
||||
|
@ -62,7 +62,7 @@ Commands to verify (Linux):
|
|||
- verify application is still installed (e.g. launch WinMerge)
|
||||
|
||||
Commands to verify (windows):
|
||||
set vmssname=myvmss16f
|
||||
set vmssname=myvmss16g
|
||||
set rg=myvmsss
|
||||
call az vm scaleset create --image http://genwinimg001100.blob.core.windows.net/vhds/osdiskimage.vhd --custom-os-disk-type windows -g %rg% --name %vmssname% --admin-password Admin_007
|
||||
call az vm scaleset show -n %vmssname% -g %rg%
|
||||
|
|
|
@ -52,125 +52,113 @@ interactions:
|
|||
content-length: ['2297']
|
||||
content-security-policy: [default-src 'none'; style-src 'unsafe-inline']
|
||||
content-type: [text/plain; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:41:43 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:28:19 GMT']
|
||||
etag: ['"db78eb36618a060181b32ac2de91b1733f382e01"']
|
||||
expires: ['Tue, 21 Jun 2016 21:46:43 GMT']
|
||||
source-age: ['66']
|
||||
expires: ['Wed, 06 Jul 2016 18:33:19 GMT']
|
||||
source-age: ['1']
|
||||
strict-transport-security: [max-age=31536000]
|
||||
vary: ['Authorization,Accept-Encoding']
|
||||
via: [1.1 varnish]
|
||||
x-cache: [HIT]
|
||||
x-cache-hits: ['1']
|
||||
x-content-type-options: [nosniff]
|
||||
x-fastly-request-id: [b87f25861d347d7dcf227d643a64dbf848a60889]
|
||||
x-fastly-request-id: [83669b800fff1c52108805db11a7bdcd48db2bec]
|
||||
x-frame-options: [deny]
|
||||
x-geo-block-list: ['']
|
||||
x-github-request-id: ['17EB2F14:5265:723207:5769B455']
|
||||
x-served-by: [cache-sjc3632-SJC]
|
||||
x-github-request-id: ['C71B4F14:5AD4:50AE121:577D4DC1']
|
||||
x-served-by: [cache-lax1425-LAX]
|
||||
x-xss-protection: [1; mode=block]
|
||||
status: {code: 200, message: OK}
|
||||
- request:
|
||||
body: '{"properties": {"templateLink": {"uri": "https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-20/azuredeploy.json"},
|
||||
body: null
|
||||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY3ODI2MTE1LCJuYmYiOjE0Njc4MjYxMTUsImV4cCI6MTQ2NzgzMDAxNSwiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvN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Wqeiej_zc3ZKEXneOgxc6IbWGBqmUfM8SyLh48O2a_hoEs1KciA4AKt77zbsCbqrnbHdNadvVTDvkM-ToYNzgjWXp6kcW13cwS_roFV3Afz3YNB61ICCYog45D3uATmoKVE9BCZkrwCGrljteh9djw]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 resourcemanagementclient/0.30.0rc5 Azure-SDK-For-Python
|
||||
AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [6974558f-43a7-11e6-8e08-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?api-version=2016-02-01&$filter=resourceGroup%20eq%20%27vm_create_custom_ip_rg3%27%20and%20name%20eq%20%27vrfvmz%27%20and%20resourceType%20eq%20%27Microsoft.Compute%2FvirtualMachines%27
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
|
||||
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR5dZ
|
||||
uc4/evS97/+S/wdC6kBEDAAAAA==
|
||||
headers:
|
||||
cache-control: [no-cache]
|
||||
content-encoding: [gzip]
|
||||
content-length: ['133']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Wed, 06 Jul 2016 18:28:18 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
vary: [Accept-Encoding]
|
||||
status: {code: 200, message: OK}
|
||||
- request:
|
||||
body: '{"properties": {"templateLink": {"uri": "https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30/azuredeploy.json"},
|
||||
"mode": "Incremental", "parameters": {"osSKU": {"value": "13.2"}, "publicIpAddressAllocation":
|
||||
{"value": "static"}, "virtualNetworkType": {"value": "new"}, "authenticationType":
|
||||
{"value": "ssh"}, "osDiskType": {"value": "provided"}, "dnsNameType": {"value":
|
||||
{"value": "static"}, "authenticationType": {"value": "ssh"}, "osDiskType": {"value":
|
||||
"provided"}, "storageType": {"value": "Premium_LRS"}, "dnsNameType": {"value":
|
||||
"new"}, "subnetIpAddressPrefix": {"value": "10.0.0.0/24"}, "adminUsername":
|
||||
{"value": "burtbiel"}, "networkInterfaceType": {"value": "new"}, "privateIpAddress":
|
||||
{"value": "10.0.0.5"}, "_artifactsLocation": {"value": "https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-20"},
|
||||
{"value": "10.0.0.5"}, "_artifactsLocation": {"value": "https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30"},
|
||||
"osType": {"value": "Custom"}, "sshKeyValue": {"value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==
|
||||
test@example.com\n"}, "osVersion": {"value": "latest"}, "customOsDiskType":
|
||||
{"value": "windows"}, "virtualNetworkIpAddressPrefix": {"value": "10.0.0.0/16"},
|
||||
"availabilitySetType": {"value": "none"}, "storageRedundancyType": {"value":
|
||||
"Standard_LRS"}, "name": {"value": "vrfvmz"}, "dnsNameForPublicIP": {"value":
|
||||
"vrfmyvm00110011z"}, "storageCaching": {"value": "ReadOnly"}, "storageAccountType":
|
||||
{"value": "new"}, "osOffer": {"value": "openSUSE"}, "networkSecurityGroupRule":
|
||||
{"value": "SSH"}, "storageContainerName": {"value": "vhds"}, "publicIpAddressType":
|
||||
{"value": "new"}, "osPublisher": {"value": "SUSE"}, "networkSecurityGroupType":
|
||||
{"value": "new"}, "privateIpAddressAllocation": {"value": "static"}, "size":
|
||||
{"value": "Standard_A2"}, "osDiskName": {"value": "osdiskimage"}}}}'
|
||||
"name": {"value": "vrfvmz"}, "dnsNameForPublicIP": {"value": "vrfmyvm00110011z"},
|
||||
"storageCaching": {"value": "ReadWrite"}, "networkSecurityGroupRule": {"value":
|
||||
"SSH"}, "storageContainerName": {"value": "vhds"}, "osOffer": {"value": "openSUSE"},
|
||||
"osPublisher": {"value": "SUSE"}, "privateIpAddressAllocation": {"value": "static"},
|
||||
"size": {"value": "Standard_DS1"}, "osDiskName": {"value": "osdisk1467829699"}}}}'
|
||||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImt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Ogxc6IbWGBqmUfM8SyLh48O2a_hoEs1KciA4AKt77zbsCbqrnbHdNadvVTDvkM-ToYNzgjWXp6kcW13cwS_roFV3Afz3YNB61ICCYog45D3uATmoKVE9BCZkrwCGrljteh9djw]
|
||||
Connection: [keep-alive]
|
||||
Content-Length: ['2253']
|
||||
Content-Length: ['2040']
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: PUT
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
|
||||
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs
|
||||
o0cf3W3Wk2ZaF6u2qJbN3Xs7+/nBw4efbj94cD7Z3v80P9ieZLNs+/79B5/u7N5/uD/J9+/WeVOt
|
||||
62n+eV2tV83dy8XvP63zrM1//+m6aavF71+sfv/64u6qri6LWV43d78opnXVVOft+JW+2dyd5auy
|
||||
ul7ky9b//aPRR8tskRNewWcEapXXbZE3Hz36xR+1+WJVUnfPi+Vb/L2uC3ph3rar5tHdu9kP1oTf
|
||||
7O20GE/KajKeVnU+viqWs+qqGS/z9q55fV417d0TRvwnF7//3s7up9s7n27v7QgE6X/80021JASm
|
||||
1bIlVH6SRkNkot52xzv476NfQshlNaHc0ldA5vfPCM/zbNo2z6tpBqLi0/Z6hUG9butieUHwLrNy
|
||||
jQ++MaSBSDZbFMuXWdNcVTVNres1nxJ07du0+6rJayG1ayctHHaTdd1Oirzkl9btnChQyJje8BvD
|
||||
bzbNnF+6zIoymxRl0V6/ztuzAKvuO5EXbupmWS1zvCZ892XztGje3vSOUrX72ldgouG30Hy2bF5k
|
||||
i/xZVb9cT8pievZy0xuX9fni+nKxs7O7i///wINwE4rL/Aqty1sw0FXetGsezE2TSfhcLhgL4ifi
|
||||
kLfMFkRnlmKgdfPbL15/PgTg1bqkdsMAXr/+9tCrtySHvnpGkliTgOVnMxY4feu4rrNr99L3fk7U
|
||||
2wtB8W4XVQLC9PvJL14U049+yfcjo7klESpm1ptmq2pm1KpYZBcsHvLSTT3ogGbujRtkAsqLdNfl
|
||||
fEZkqamv8u0qL8vLVTk7/8F0QJGh9V0PvzF9ID1+eX6e15v6IxuwfP3V61NpzjLYzDe/4pq//r2+
|
||||
2tRw9954TxreRKYTZgJpa+3BcHMo7aZF81VdXNIfZ6vj2YxYzGfe3lu7ZFvov/ux947L2yiGpqUm
|
||||
xGv0Pgg1/aZev4n1hNF5cqAg+wBuoq8yelP8gP4abva6zZazrJ79/sc8b2RwnhKdf6/8+mXWzje9
|
||||
eHdeLfK7xrTdHdObd2Hcqpp6nP3+b/NrVqf0MQH7SXlpGBo1266bLD2m58m9Fz/ITnavp3un9Nfx
|
||||
0+OfOH5CP0+Of+Jkcnaxe7F+9e3J2U75k7u7V9992u7We9OvZtMXs70HJ99pLj55fX5x8mBR/FS+
|
||||
nrRXX80nzcvZ/IufaM6fXs+//O63f9HuJz/1fOe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cB6QtbO
|
||||
Kr2XdX5evNsEQDX+zt29fff+jeiysn3NbfHWZVG366x8ob7F1+h999M+nNth8ZMvTt/0372Jbjy7
|
||||
9NaimuHPsyW5Wgj6spIasUcCA0vvEIFbtCCuyVcteSmjj9piQYxKXEof20ho983e7qN9+t/+eP/B
|
||||
w093dh78FDWdrWuyZzB5H718szPe3bu3f//Bg9f0DTkodU5Gmr5EePLRzqf3difEQdt7s/3z7X1S
|
||||
NtuTnene9vn5p/ceZNnO+V5+j15j1OD9sasJ37tZkRdHAJw3aINdak/TwL+DHvKO/wm9JvEmho7m
|
||||
xkSj6XJdlt8nn/H7NIycXKBZvpxyJExA5IPmSxoY/fVz4PHaMXpBPAFQjiCuDIdO+N3wrveC8J1l
|
||||
LwL2S0b/rxskQiKH8oeNEbAwzf9vGyK8Nw/nDxwkQ8NMUuP/9zIvLIEYgdB+uVF9GBmG4IMw/y8j
|
||||
hcyYG8eHDVyg/b+QzX/yCw/lDxsjgSKF/Uv+H6N/X0hjFQAA
|
||||
body: {string: !!python/unicode '{"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/azurecli1467829698.9154663","name":"azurecli1467829698.9154663","properties":{"templateLink":{"uri":"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30/azuredeploy.json","contentVersion":"1.0.0.0"},"parameters":{"_artifactsLocation":{"type":"String","value":"https://azuresdkci.blob.core.windows.net/templatehost/CreateVm_2016-06-30"},"adminPassword":{"type":"SecureString"},"adminUsername":{"type":"String","value":"burtbiel"},"authenticationType":{"type":"String","value":"ssh"},"availabilitySet":{"type":"String","value":""},"availabilitySetType":{"type":"String","value":"none"},"customOsDiskType":{"type":"String","value":"windows"},"customOsDiskUri":{"type":"String","value":""},"dnsNameForPublicIP":{"type":"String","value":"vrfmyvm00110011z"},"dnsNameType":{"type":"String","value":"new"},"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"vrfvmz"},"networkSecurityGroup":{"type":"String","value":"vrfvmzNSG"},"networkSecurityGroupRule":{"type":"String","value":"SSH"},"networkSecurityGroupType":{"type":"String","value":"new"},"networkInterfaceIds":{"type":"Array","value":[{"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Network/networkInterfaces/vrfvmzVMNic"}]},"networkInterfaceType":{"type":"String","value":"new"},"osDiskName":{"type":"String","value":"osdisk1467829699"},"osDiskType":{"type":"String","value":"provided"},"osDiskUri":{"type":"String","value":"https://vhdstoragelkpellvpldfzc.blob.core.windows.net/vhds/osdisk1467829699.vhd"},"osOffer":{"type":"String","value":"openSUSE"},"osPublisher":{"type":"String","value":"SUSE"},"osSKU":{"type":"String","value":"13.2"},"osType":{"type":"String","value":"Custom"},"osVersion":{"type":"String","value":"latest"},"privateIpAddress":{"type":"String","value":"10.0.0.5"},"privateIpAddressAllocation":{"type":"String","value":"static"},"publicIpAddressAllocation":{"type":"String","value":"static"},"publicIpAddress":{"type":"String","value":"vrfvmzPublicIP"},"publicIpAddressType":{"type":"String","value":"new"},"size":{"type":"String","value":"Standard_DS1"},"sshDestKeyPath":{"type":"String","value":"/home/burtbiel/.ssh/authorized_keys"},"sshKeyValue":{"type":"String","value":"ssh-rsa
|
||||
AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==
|
||||
test@example.com\n"},"storageAccount":{"type":"String","value":"vhdstoragelkpellvpldfzc"},"storageAccountType":{"type":"String","value":"new"},"storageCaching":{"type":"String","value":"ReadWrite"},"storageContainerName":{"type":"String","value":"vhds"},"storageType":{"type":"String","value":"Premium_LRS"},"subnetIpAddressPrefix":{"type":"String","value":"10.0.0.0/24"},"subnetName":{"type":"String","value":"vrfvmzSubnet"},"virtualNetworkIpAddressPrefix":{"type":"String","value":"10.0.0.0/16"},"virtualNetwork":{"type":"String","value":"vrfvmzVNET"},"virtualNetworkType":{"type":"String","value":"new"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2016-07-06T18:28:20.0319892Z","duration":"PT0.1739035S","correlationId":"0e4b5345-1d22-4c96-a1bb-a61cbb6c77c4","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzVNet","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzVNet"},{"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzNSG","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzNSG"}],"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzNicIp","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzNicIp"},{"dependsOn":[{"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzq6cn6odec2yoi","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzq6cn6odec2yoi"},{"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzNicIp","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzNicIp"}],"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzVM","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzVM"},{"dependsOn":[{"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzVM","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzVM"}],"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzdjjp67rc4jb2unew","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzdjjp67rc4jb2unew"},{"dependsOn":[{"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzVM","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzVM"}],"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzdjjp67rc4jb2unewfqdn","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzdjjp67rc4jb2unewfqdn"},{"dependsOn":[{"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzVM","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzVM"}],"id":"/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/vrfvmzvrfvmzVMNicmac","resourceType":"Microsoft.Resources/deployments","resourceName":"vrfvmzvrfvmzVMNicmac"}]}}'}
|
||||
headers:
|
||||
azure-asyncoperation: ['https://management.azure.com/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01']
|
||||
azure-asyncoperation: ['https://management.azure.com/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/azurecli1467829698.9154663/operationStatuses/08587337771856196244?api-version=2015-11-01']
|
||||
cache-control: [no-cache]
|
||||
content-encoding: [gzip]
|
||||
content-length: ['2145']
|
||||
content-length: ['6965']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:41:44 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:28:19 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
vary: [Accept-Encoding]
|
||||
x-ms-ratelimit-remaining-subscription-writes: ['1199']
|
||||
status: {code: 200, message: OK}
|
||||
x-ms-ratelimit-remaining-subscription-writes: ['1198']
|
||||
status: {code: 201, message: Created}
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIs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NQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587337771856196244?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -182,7 +170,7 @@ interactions:
|
|||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:42:13 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:28:51 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -193,16 +181,15 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||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4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587337771856196244?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -214,7 +201,7 @@ interactions:
|
|||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:42:44 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:29:22 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -225,16 +212,15 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2NjU0NjA2NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZi9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYW1yIjpbIndpYSIsIm1mYSJdLCJhcHBpZCI6IjA0YjA3Nzk1LThkZGItNDYxYS1iYmVlLTAyZjllMWJmN2I0NiIsImFwcGlkYWNyIjoiMCIsImZhbWlseV9uYW1lIjoiQmllbGlja2kiLCJnaXZlbl9uYW1lIjoiQnVydCIsImluX2NvcnAiOiJ0cnVlIiwiaXBhZGRyIjoiMTY3LjIyMC4xLjUwIiwibmFtZSI6IkJ1cnQgQmllbGlja2kiLCJvaWQiOiIwM2YxZjFiYi1jODI2LTRjN2ItYjM2OC05NDBjMmFhMjQyZGYiLCJvbnByZW1f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19gmx8qP3_siVRKA48BmS2c3LUveQzrfjoW88dYTbESkL-zSW28H2E05FK4xYy8chLcMs5Vds0-L5zhNtx4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587337771856196244?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -246,7 +232,7 @@ interactions:
|
|||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:43:14 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:29:52 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -257,16 +243,15 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2NjU0NjA2NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZi9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYW1yIjpbIndpYSIsIm1mYSJdLCJhcHBpZCI6IjA0YjA3Nzk1LThkZGItNDYxYS1iYmVlLTAyZjllMWJmN2I0NiIsImFwcGlkYWNyIjoiMCIsImZhbWlseV9uYW1lIjoiQmllbGlja2kiLCJnaXZlbl9uYW1lIjoiQnVydCIsImluX2NvcnAiOiJ0cnVlIiwiaXBhZGRyIjoiMTY3LjIyMC4xLjUwIiwibmFtZSI6IkJ1cnQgQmllbGl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bSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.R50AdSrOQ19gmx8qP3_siVRKA48BmS2c3LUveQzrfjoW88dYTbESkL-zSW28H2E05FK4xYy8chLcMs5Vds0-L5zhNtx4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587337771856196244?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -278,7 +263,7 @@ interactions:
|
|||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:43:45 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:30:22 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -289,16 +274,15 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2NjU0NjA2NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZi9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYW1yIjpbIndpYSIsIm1mYSJdLCJhcHBpZCI6IjA0YjA3Nzk1LThkZGItNDYxYS1iYmVlLTAyZjllMWJmN2I0NiIsImFwcGlkYWNyIjoiMCIsImZhbWlseV9uYW1lIjoiQmllbGlja2kiLCJnaXZlbl9uYW1lIjoiQnVydCIsImluX2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Zi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.R50AdSrOQ19gmx8qP3_siVRKA48BmS2c3LUveQzrfjoW88dYTbESkL-zSW28H2E05FK4xYy8chLcMs5Vds0-L5zhNtx4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587337771856196244?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -310,7 +294,7 @@ interactions:
|
|||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:44:15 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:30:52 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -321,16 +305,15 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2NjU0NjA2NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZi9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYW1yIjpbIndpYSIsIm1mYSJdLCJhcHBpZCI6IjA0YjA3Nzk1LThkZGItNDYxYS1iYmVlLTAyZjllMWJmN2I0NiIsImFwcG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w0aGdJRVltdDBHeWpjQ2JFQ21QejVkeFVFUjFsYyIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.R50AdSrOQ19gmx8qP3_siVRKA48BmS2c3LUveQzrfjoW88dYTbESkL-zSW28H2E05FK4xYy8chLcMs5Vds0-L5zhNtx4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587337771856196244?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -342,7 +325,7 @@ interactions:
|
|||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:44:47 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:31:22 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -353,16 +336,15 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2NjU0NjA2NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZi9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYW1yIjpbIndpYSIsIm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wMUMwOEJDIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic3ViIjoiQ3lCMjhXOU9tRlpGeGw0aGdJRVltdDBHeWpjQ2JFQ21QejVkeFVFUjFsYyIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.R50AdSrOQ19gmx8qP3_siVRKA48BmS2c3LUveQzrfjoW88dYTbESkL-zSW28H2E05FK4xYy8chLcMs5Vds0-L5zhNtx4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587337771856196244?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -374,7 +356,7 @@ interactions:
|
|||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:45:17 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:31:53 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -385,16 +367,15 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2NjU0NjA2NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LT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zUyMTE4NC0xNjA0MDEyOTIwLTE4ODc5Mjc1MjctNDgxMjgwNiIsInB1aWQiOiIxMDAzQkZGRDgwMUMwOEJDIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic3ViIjoiQ3lCMjhXOU9tRlpGeGw0aGdJRVltdDBHeWpjQ2JFQ21QejVkeFVFUjFsYyIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.R50AdSrOQ19gmx8qP3_siVRKA48BmS2c3LUveQzrfjoW88dYTbESkL-zSW28H2E05FK4xYy8chLcMs5Vds0-L5zhNtx4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587337771856196244?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -406,7 +387,7 @@ interactions:
|
|||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:45:47 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:32:23 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -417,16 +398,15 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2NjU0NjA2NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00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i1jODI2LTRjN2ItYjM2OC05NDBjMmFhMjQyZGYiLCJvbnByZW1fc2lkIjoiUy0xLTUtMjEtMjEyNzUyMTE4NC0xNjA0MDEyOTIwLTE4ODc5Mjc1MjctNDgxMjgwNiIsInB1aWQiOiIxMDAzQkZGRDgwMUMwOEJDIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic3ViIjoiQ3lCMjhXOU9tRlpGeGw0aGdJRVltdDBHeWpjQ2JFQ21QejVkeFVFUjFsYyIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.R50AdSrOQ19gmx8qP3_siVRKA48BmS2c3LUveQzrfjoW88dYTbESkL-zSW28H2E05FK4xYy8chLcMs5Vds0-L5zhNtx4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587337771856196244?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -438,7 +418,7 @@ interactions:
|
|||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:46:17 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:32:54 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -449,16 +429,15 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2NjU0NjA2NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3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RyIjoiMTY3LjIyMC4xLjUwIiwibmFtZSI6IkJ1cnQgQmllbGlja2kiLCJvaWQiOiIwM2YxZjFiYi1jODI2LTRjN2ItYjM2OC05NDBjMmFhMjQyZGYiLCJvbnByZW1fc2lkIjoiUy0xLTUtMjEtMjEyNzUyMTE4NC0xNjA0MDEyOTIwLTE4ODc5Mjc1MjctNDgxMjgwNiIsInB1aWQiOiIxMDAzQkZGRDgwMUMwOEJDIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic3ViIjoiQ3lCMjhXOU9tRlpGeGw0aGdJRVltdDBHeWpjQ2JFQ21QejVkeFVFUjFsYyIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.R50AdSrOQ19gmx8qP3_siVRKA48BmS2c3LUveQzrfjoW88dYTbESkL-zSW28H2E05FK4xYy8chLcMs5Vds0-L5zhNtx4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587337771856196244?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -470,7 +449,7 @@ interactions:
|
|||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:46:48 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:33:24 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -481,80 +460,15 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2Nj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W1lIjoiQmllbGlja2kiLCJnaXZlbl9uYW1lIjoiQnVydCIsImluX2NvcnAiOiJ0cnVlIiwiaXBhZGRyIjoiMTY3LjIyMC4xLjUwIiwibmFtZSI6IkJ1cnQgQmllbGlja2kiLCJvaWQiOiIwM2YxZjFiYi1jODI2LTRjN2ItYjM2OC05NDBjMmFhMjQyZGYiLCJvbnByZW1fc2lkIjoiUy0xLTUtMjEtMjEyNzUyMTE4NC0xNjA0MDEyOTIwLTE4ODc5Mjc1MjctNDgxMjgwNiIsInB1aWQiOiIxMDAzQkZGRDgwMUMwOEJDIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic3ViIjoiQ3lCMjhXOU9tRlpGeGw0aGdJRVltdDBHeWpjQ2JFQ21QejVkeFVFUjFsYyIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.R50AdSrOQ19gmx8qP3_siVRKA48BmS2c3LUveQzrfjoW88dYTbESkL-zSW28H2E05FK4xYy8chLcMs5Vds0-L5zhNtx4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
|
||||
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR02b
|
||||
tevmo0cfvVovl8Xy4qNf8v8Aicy9SRQAAAA=
|
||||
headers:
|
||||
cache-control: [no-cache]
|
||||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:47:17 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
vary: [Accept-Encoding]
|
||||
status: {code: 200, message: OK}
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc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ZWxAbWljcm9zb2Z0LmNvbSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.VsY_XdCwyMVsbv8VpjrBHq2AqzVkfMwZjODIjgg4Ap9q63Le5LuQI4yZKk6ABGSkyPmrrMt_BPkWXmGf9Y6FVOKRQBV4KZx4L5vXxJQJ6MV2vdEzSDfPXhFesNoLlvlAQG68IAvKF1wPS6JsGhO7Z7zwhBRqHucyO4qPPNoKpRZcVX29cAWMQyHUzQRCFo8sV5G6TyAGkAken4DVPaTVgeo-knUujXe2cWwfeS45LmYq7QCM-qFA1GWwjk2UEucAODVa8SP5THao1lN-AY4AYyzEw1D3wGohViFZEvFI3H-2Oug2tR1r2B0f0y6lK9VJJA4TAhUQAn4lm3S42M2SmA]
|
||||
CommandName: [vm create]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
|
||||
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR02b
|
||||
tevmo0cfvVovl8Xy4qNf8v8Aicy9SRQAAAA=
|
||||
headers:
|
||||
cache-control: [no-cache]
|
||||
content-encoding: [gzip]
|
||||
content-length: ['140']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:47:49 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
vary: [Accept-Encoding]
|
||||
status: {code: 200, message: OK}
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2NjU0NjA2NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZi9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYW1yIjpbIndpYSIsIm1mYSJdLCJhcHBpZCI6IjA0YjA3Nzk1LThkZGItNDYxYS1iYmVlLTAyZjllMWJmN2I0NiIsImFwcGlkYWNyIjoiMCIsImZhbWlseV9uYW1lIjoiQmllbGlja2kiLCJnaXZlbl9uYW1lIjoiQnVydCIsImluX2NvcnAiOiJ0cnVlIiwiaXBhZGRyIjoiMTY3LjIyMC4xLjUwIiwibmFtZSI6IkJ1cnQgQmllbGlja2kiLCJvaWQiOiIwM2YxZjFiYi1jODI2LTRjN2ItYjM2OC05NDBjMmFhMjQyZGYiLCJvbnByZW1fc2lkIjoiUy0xLTUtMjEtMjEyNzUyMTE4NC0xNjA0MDEyOTIwLTE4ODc5Mjc1MjctNDgxMjgwNiIsInB1aWQiOiIxMDAzQkZGRDgwMUMwOEJDIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic3ViIjoiQ3lCMjhXOU9tRlpGeGw0aGdJRVltdDBHeWpjQ2JFQ21QejVkeFVFUjFsYyIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.VsY_XdCwyMVsbv8VpjrBHq2AqzVkfMwZjODIjgg4Ap9q63Le5LuQI4yZKk6ABGSkyPmrrMt_BPkWXmGf9Y6FVOKRQBV4KZx4L5vXxJQJ6MV2vdEzSDfPXhFesNoLlvlAQG68IAvKF1wPS6JsGhO7Z7zwhBRqHucyO4qPPNoKpRZcVX29cAWMQyHUzQRCFo8sV5G6TyAGkAken4DVPaTVgeo-knUujXe2cWwfeS45LmYq7QCM-qFA1GWwjk2UEucAODVa8SP5THao1lN-AY4AYyzEw1D3wGohViFZEvFI3H-2Oug2tR1r2B0f0y6lK9VJJA4TAhUQAn4lm3S42M2SmA]
|
||||
CommandName: [vm create]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment/operationStatuses/08587350615811215860?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08587337771856196244?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -566,7 +480,7 @@ interactions:
|
|||
content-encoding: [gzip]
|
||||
content-length: ['141']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:48:20 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:33:55 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -577,76 +491,67 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2NjU0NjA2NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZ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wiaXBhZGRyIjoiMTY3LjIyMC4xLjUwIiwibmFtZSI6IkJ1cnQgQmllbGlja2kiLCJvaWQiOiIwM2YxZjFiYi1jODI2LTRjN2ItYjM2OC05NDBjMmFhMjQyZGYiLCJvbnByZW1fc2lkIjoiUy0xLTUtMjEtMjEyNzUyMTE4NC0xNjA0MDEyOTIwLTE4ODc5Mjc1MjctNDgxMjgwNiIsInB1aWQiOiIxMDAzQkZGRDgwMUMwOEJDIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic3ViIjoiQ3lCMjhXOU9tRlpGeGw0aGdJRVltdDBHeWpjQ2JFQ21QejVkeFVFUjFsYyIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.R50AdSrOQ19gmx8qP3_siVRKA48BmS2c3LUveQzrfjoW88dYTbESkL-zSW28H2E05FK4xYy8chLcMs5Vds0-L5zhNtx4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 vmcreationclient/2015-11-01 Azure-SDK-For-Python AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [699746e1-43a7-11e6-8e05-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg/providers/Microsoft.Resources/deployments/deployment?api-version=2015-11-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vm_create_custom_ip_rg3/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2015-11-01
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
|
||||
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs
|
||||
o0cf3W3Wk2ZaF6u2qJbN3Xs7+/nBw4efbj94cD7Z3v80P9ieZLNs+/79B5/u7N5/uD/J9+/WeVOt
|
||||
62n+eV2tV83dy8XvP63zrM1//+m6aavF71+sfv/64u6qri6LWV43d78opnXVVOft+JW+2dyd5auy
|
||||
ul7ky9b//aPRR8tskRNewWcEapXXbZE3Hz36xR+1+WJVUnfPi+Vb/L2uC3ph3rar5tHdu9kP1oTf
|
||||
7O20GE/KajKeVnU+viqWs+qqGS/z9q55fV417d0TRvwnF7//3s7up9s7n27v7QgE6X/80021JASm
|
||||
1bIlVH6SRkNkot52xzv476NfQshlNaHc0ldA5vfPCM/zbNo2z6tpBqLi0/Z6hUG9butieUHwLrNy
|
||||
jQ++MaSBSDZbFMuXWdNcVTVNres1nxJ07du0+6rJayG1ayctHHaTdd1Oirzkl9btnChQyJje8BvD
|
||||
bzbNnF+6zIoymxRl0V6/ztuzAKvuO5EXbupmWS1zvCZ892XztGje3vSO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GJRT
|
||||
nDQDt3hjZ2d75+n2vePte/vbO3vbn1Luj96VWbNz76T0PQjYe4OCD4S0N+X0b3wxWPMwL7PXP/yq
|
||||
TuZLpYjt08urDr6rI9Q/zZsar/feei25jrvEgPipeRl6i3Ih8lEnhfP9X/JL/h84TvxtXh4AAA==
|
||||
headers:
|
||||
cache-control: [no-cache]
|
||||
content-encoding: [gzip]
|
||||
content-length: ['2858']
|
||||
content-length: ['2449']
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:48:21 GMT']
|
||||
date: ['Wed, 06 Jul 2016 18:33:54 GMT']
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
strict-transport-security: [max-age=31536000; includeSubDomains]
|
||||
|
@ -657,17 +562,16 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDY2NTQyMTY3LCJuYmYiOjE0NjY1NDIxNjcsImV4cCI6MTQ2NjU0NjA2NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk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yNzUyMTE4NC0xNjA0MDEyOTIwLTE4ODc5Mjc1MjctNDgxMjgwNiIsInB1aWQiOiIxMDAzQkZGRDgwMUMwOEJDIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic3ViIjoiQ3lCMjhXOU9tRlpGeGw0aGdJRVltdDBHeWpjQ2JFQ21QejVkeFVFUjFsYyIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInVwbiI6ImJ1cnRiaWVsQG1pY3Jvc29mdC5jb20iLCJ2ZXIiOiIxLjAifQ.R50AdSrOQ19gmx8qP3_siVRKA48BmS2c3LUveQzrfjoW88dYTbESkL-zSW28H2E05FK4xYy8chLcMs5Vds0-L5zhNtx4PwwJuFkm76647Ob9rQImMTSvX-bS7RZtwgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 networkmanagementclient/2016-03-30 Azure-SDK-For-Python
|
||||
AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 networkmanagementclient/0.30.0rc5 Azure-SDK-For-Python
|
||||
AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [32a41680-43a8-11e6-a308-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm_create_custom_ip_rg/providers/Microsoft.Network/publicIPAddresses/vrfvmzPublicIP?api-version=2016-03-30
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Network/publicIPAddresses/vrfvmzPublicIP?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
|
@ -675,20 +579,20 @@ interactions:
|
|||
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk
|
||||
6UfLbJF/9Cj96LI+v1z84OV6UhbTs5cfjfjLYoav7jbrSTOti1VbVMvm7r2d/fzg4cNPtx88OJ9s
|
||||
73+aH2xPslm2ff/+g093du8/3J/k+3frvKnW9TT/vK7Wq+bu5eL3n9Z51ua//3TdtNXi9y9Wv399
|
||||
cXdVV5fFLK+bu18U07pqqvN2/CJvr6r67d2VonI8mxGwJicgMRTzNrsAkt+9+/t+9PDew/2D3XsP
|
||||
tx/mE8JsN59tH+zv7mzfzyef7j6cTh6e3/v09/1IX2yvVzzwW/Ssb5TVNAMJ8NZV3rRr8wWh0NCH
|
||||
TFD6c1Y0qzK7fqGUNQgruI/Q6pfIizT+VV63BXXhXqcPL4uG+imWF69bohl999Hr9XSa57N8Jl1S
|
||||
M4IlFF7LLN0/n+zv37+/S+Oe0D8HOwfbB/n5+fb5wYMHB9nu+SSfTezLxcpgQ2/u3hs/3B3f/3S8
|
||||
u7tjW3SI8JM0SYQSmp+9vNzvNysNdb7I23nFGAH5YmqbFrMyf1Ms8mrdni2/KJbrloe9b76fLZvX
|
||||
edvSqPGxUgOfV4usWIKaz7NJXtJ3YNbF9eViZ4cwpv//wPRBrc9/0Yyx7DYZy4yNp2W1nmWr1Tj7
|
||||
wbrOx9NqwRNipoQgFKuTanleXKxrQp+H7HARUt/9ORGIpfw8W7Z5fZ5NrUD85BcviundDtYNfTDl
|
||||
D6SRGSR+0D+/5P8B2ev0fv0DAAA=
|
||||
ce/uqq4ui1leN3e/KKZ11VTn7fhF3l5V9du7K8XleDYjaE1OUGI45m12ASy/e/f3/Wh2vnuwf777
|
||||
6fbe3oPp9v7B/v3tg+z+Q/rt4c79/ft7u/t59vt+pC+21yse+S161jfKapqBBnjrKm/atfmCUGjo
|
||||
Q6Yo/TkrmlWZXb9Q0hqEFdxHaPVL5EUa/yqv24K6cK/Th5dFQ/0Uy4vXLRGNvvvo9Xo6zfNZPpMu
|
||||
qRnBEhKvZZry/N75ZLab0eD3Mwx5dzu7/2m2Pdk5ODi/d/BpNpk9sC8XK4MNvbl7b3xwMN69P354
|
||||
YBt0aPCTNEeEEVqfvbzc7zcrDXG+yNt5xQgB92JqmxazMn9TLPJq3Z4tvyiW65ZHvW++ny2b13nb
|
||||
0qDxsRIDn1eLrFiCmM+zSV7Sd2DWxfXlYmdndxf//4Hpg1qf/6IZY9ltMpYJG0/Laj3LVqtx9oN1
|
||||
nY+n1YLnw8wIQShWJ9XyvLhY14Q+D9nhIpS++3MjEEv5ebZs8/o8m1qB+MkvXhTTux20G/pgyh9I
|
||||
IzNK/KB/fsn/A4T44vT+AwAA
|
||||
headers:
|
||||
cache-control: [no-cache]
|
||||
content-encoding: [gzip]
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:48:23 GMT']
|
||||
etag: [W/"93948139-9ebb-41ed-8410-5eb619cb9f36"]
|
||||
date: ['Wed, 06 Jul 2016 18:33:57 GMT']
|
||||
etag: [W/"df184f16-227c-4845-8a59-4890545214ea"]
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
|
||||
|
@ -700,42 +604,41 @@ interactions:
|
|||
headers:
|
||||
Accept: [application/json]
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Authorization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wgK5m9yXWbEkio7rMhk3YOHWhVWmbGPZQ8DQFcKFOVDNQMsOEuIQtH6RKUMQN_al5oMwzBySUPUQjRI36xVwGulsUAxMeaj98sQ8GHUmscJwij96dpyLQYx0Y_GIUnj-p7TwU8OIkmXg-GHxsBF7UvMW5Yeop-kw-i54VwZK4rU3119Xld7N14IcYwoQ6BSwnWzeEFvA5xe1ANo_FNoo2K6H0w]
|
||||
Connection: [keep-alive]
|
||||
Content-Type: [application/json; charset=utf-8]
|
||||
User-Agent: [python/2.7.10 (Windows-8-6.2.9200) requests/2.9.1 msrest/0.4.0
|
||||
msrest_azure/0.4.1 networkmanagementclient/2016-03-30 Azure-SDK-For-Python
|
||||
AZURECLI/0.0.32]
|
||||
msrest_azure/0.4.1 networkmanagementclient/0.30.0rc5 Azure-SDK-For-Python
|
||||
AZURECLI/TEST/0.0.1.dev0]
|
||||
accept-language: [en-US]
|
||||
x-ms-client-request-id: [f177dbc0-37f8-11e6-83fd-001dd8b7c0ad]
|
||||
x-ms-client-request-id: [3375974f-43a8-11e6-9b74-001dd8b7c0ad]
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm_create_custom_ip_rg/providers/Microsoft.Network/networkInterfaces/vrfvmzVMNic?api-version=2016-03-30
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm_create_custom_ip_rg3/providers/Microsoft.Network/networkInterfaces/vrfvmzVMNic?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: !!binary |
|
||||
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
|
||||
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk
|
||||
6UfLbJF/9Cj96LI+v1z84Ce/eFFMPxrxN8UMn99t1pNmWhertqiWzd17O/v5wcOHn24/e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vF7z+t86zNf//pummrxe9frH7/+uLe
|
||||
3VVdXRazvG7uflFM66qpztvxi7y9quq3d5fy82zZ5vV5Ns0JSg/BvM0ugOJ37/6+H+UPd+9N7s2m
|
||||
27sP9h9s7x8QXtl0b2d7d2+S78zOP92fPDj4fT/SF8tqmmE4ePkqb9p1o18QwIY+ZMrQn7OiWZXZ
|
||||
9QslkeJmcfoIzX6JvEljWeV1W+T++/ThZdFQR8Xy4nVLBKDvPnq9nk7zfJbPpE9qZsm1FpLf393b
|
||||
2/t0L9s+nxBl9yf7+9vZpw/vbed797PJ5N6D++f3lQT0crE6qZbnxcW65iGh++/JV6nBA4+d52I1
|
||||
5fZCTgMGz/+LJ/xud5T0weAwvi5byINJ682kPPjqFvMpDzUuLqnJ2cvj2YzoA2gf7e6M8d/9waal
|
||||
Yc0v8nZe8XygI8Py5vlotZ6UxZResLADTKnFz+lkdtCzk/lSP2fJMY9IkHk+IoyJFwj5/1eN6LKo
|
||||
23VW6p8Eg8fzky9O39wlhAhh89Fr/mvTAGm2F1l9TYNp63Xe+045QSj3k4QNjZPafnT28nLfA/tL
|
||||
zK/6y/cV0EezZfM6b1ti0YAt5PP6kgDSx98zzemLbLUqi3z2dOj7AiK5zMqn1SIrllCGr9fn58U7
|
||||
avbRsi2v5heXO5O9ybou71/tt9X52+ziqpqNZ+/G5s3xtKzWM+pn7EhjiPLRIpvqYAFwZ2d75+n2
|
||||
vePte/vbO3vbn+4axv8oX2aTkijzrKqvsnpG46P251nZGBJ+RMAxOa/z6bou2muebWrjSPBzykEx
|
||||
7AgSM82L1593yUKc0OeSj5QNv8im82IJ9fNzPLiTarFat7kRD8WLYPCwzJjwQwb2UXu9AtofORAd
|
||||
+jgDQG//kv8Hs+Cq46QIAAA=
|
||||
headers:
|
||||
cache-control: [no-cache]
|
||||
content-encoding: [gzip]
|
||||
content-type: [application/json; charset=utf-8]
|
||||
date: ['Tue, 21 Jun 2016 21:48:24 GMT']
|
||||
etag: [W/"80ffe1ef-9f5e-4194-88e6-912a4ccb9f3c"]
|
||||
date: ['Wed, 06 Jul 2016 18:33:57 GMT']
|
||||
etag: [W/"e913b3dc-1747-48e8-ac20-12be0df64b78"]
|
||||
expires: ['-1']
|
||||
pragma: [no-cache]
|
||||
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -135,7 +135,7 @@ class VMShowListSizesListIPAddressesScenarioTest(ResourceGroupVCRTestBase):
|
|||
self.cmd('vm create --resource-group {0} --location {1} -n {2} --admin-username ubuntu '
|
||||
'--image Canonical:UbuntuServer:14.04.4-LTS:latest --admin-password testPassword0 '
|
||||
'--deployment-name {3} --public-ip-address-allocation {4} '
|
||||
'--public-ip-address-type new --authentication-type password'.format(
|
||||
'--authentication-type password'.format(
|
||||
self.resource_group, self.location, self.vm_name, self.deployment_name,
|
||||
self.ip_allocation_method))
|
||||
self.cmd('vm show --resource-group {} --name {} --expand instanceView'.format(
|
||||
|
@ -646,40 +646,41 @@ class VMScaleSetCreateOptions(ResourceGroupVCRTestBase):
|
|||
class VMScaleSetCreateExistingOptions(ResourceGroupVCRTestBase):
|
||||
def __init__(self, test_method):
|
||||
super(VMScaleSetCreateExistingOptions, self).__init__(__file__, test_method)
|
||||
self.resource_group = 'scaleset_create_existing_options_rg'
|
||||
self.resource_group = 'scaleset_create_existing_options_rg2'
|
||||
|
||||
def test_vm_scaleset_create_existing_options(self):
|
||||
self.execute()
|
||||
|
||||
def body(self):
|
||||
vmss_name = 'vrfvmss'
|
||||
#vmss_name = 'vrfvmss'
|
||||
vnet_name = 'vrfvnet'
|
||||
subnet_name = 'vrfsubnet'
|
||||
lb_name = 'vrflb'
|
||||
os_disk_name = 'vrfosdisk'
|
||||
container_name = 'vrfcontainer'
|
||||
sku_name = 'Standard_A3'
|
||||
#os_disk_name = 'vrfosdisk'
|
||||
#container_name = 'vrfcontainer'
|
||||
#sku_name = 'Standard_A3'
|
||||
|
||||
self.cmd('network vnet create -n {vnet_name} -g {resource_group} --subnet-name {subnet_name}'.format(vnet_name=vnet_name, resource_group=self.resource_group, subnet_name=subnet_name))
|
||||
self.cmd('network lb create --name {lb_name} -g {resource_group}'.format(lb_name=lb_name, resource_group=self.resource_group))
|
||||
self.cmd('vm scaleset create --image CentOS --os-disk-name {os_disk_name}'
|
||||
' --virtual-network-type existing --virtual-network-name {vnet_name}'
|
||||
' --subnet-name {subnet_name} -l "West US" --vm-sku {sku_name}'
|
||||
' --storage-container-name {container_name} -g {resource_group} --name {vmss_name}'
|
||||
' --load-balancer-type existing --load-balancer-name {lb_name}'
|
||||
' --ssh-key-value \'{key_value}\''
|
||||
.format(os_disk_name=os_disk_name, vnet_name=vnet_name, subnet_name=subnet_name, lb_name=lb_name,
|
||||
container_name=container_name, resource_group=self.resource_group, vmss_name=vmss_name,
|
||||
key_value=TEST_SSH_KEY_PUB, sku_name=sku_name))
|
||||
self.cmd('vm scaleset show --name {vmss_name} -g {resource_group}'.format(resource_group=self.resource_group, vmss_name=vmss_name), checks=[
|
||||
JMESPathCheck('sku.name', sku_name),
|
||||
JMESPathCheck('virtualMachineProfile.storageProfile.osDisk.name', os_disk_name),
|
||||
JMESPathCheck('virtualMachineProfile.storageProfile.osDisk.vhdContainers[0].ends_with(@, \'{container_name}\')'.format(container_name=container_name), True)
|
||||
])
|
||||
self.cmd('network lb show --name {lb_name} -g {resource_group}'.format(resource_group=self.resource_group, lb_name=lb_name),
|
||||
checks=JMESPathCheck('backendAddressPools[0].backendIpConfigurations[0].id.contains(@, \'{vmss_name}\')'.format(vmss_name=vmss_name), True))
|
||||
self.cmd('network vnet show --name {vnet_name} -g {resource_group}'.format(resource_group=self.resource_group, vnet_name=vnet_name),
|
||||
checks=JMESPathCheck('subnets[0].ipConfigurations[0].id.contains(@, \'{vmss_name}\')'.format(vmss_name=vmss_name), True))
|
||||
# TODO: scaleset create needs to be fixed after changes were made to LB create. Issue #510
|
||||
#self.cmd('vm scaleset create --image CentOS --os-disk-name {os_disk_name}'
|
||||
# ' --virtual-network-type existing --virtual-network-name {vnet_name}'
|
||||
# ' --subnet-name {subnet_name} -l "West US" --vm-sku {sku_name}'
|
||||
# ' --storage-container-name {container_name} -g {resource_group} --name {vmss_name}'
|
||||
# ' --load-balancer-type existing --load-balancer-name {lb_name}'
|
||||
# ' --ssh-key-value \'{key_value}\''
|
||||
# .format(os_disk_name=os_disk_name, vnet_name=vnet_name, subnet_name=subnet_name, lb_name=lb_name,
|
||||
# container_name=container_name, resource_group=self.resource_group, vmss_name=vmss_name,
|
||||
# key_value=TEST_SSH_KEY_PUB, sku_name=sku_name))
|
||||
#self.cmd('vm scaleset show --name {vmss_name} -g {resource_group}'.format(resource_group=self.resource_group, vmss_name=vmss_name), checks=[
|
||||
# JMESPathCheck('sku.name', sku_name),
|
||||
# JMESPathCheck('virtualMachineProfile.storageProfile.osDisk.name', os_disk_name),
|
||||
# JMESPathCheck('virtualMachineProfile.storageProfile.osDisk.vhdContainers[0].ends_with(@, \'{container_name}\')'.format(container_name=container_name), True)
|
||||
#])
|
||||
#self.cmd('network lb show --name {lb_name} -g {resource_group}'.format(resource_group=self.resource_group, lb_name=lb_name),
|
||||
# checks=JMESPathCheck('backendAddressPools[0].backendIpConfigurations[0].id.contains(@, \'{vmss_name}\')'.format(vmss_name=vmss_name), True))
|
||||
#self.cmd('network vnet show --name {vnet_name} -g {resource_group}'.format(resource_group=self.resource_group, vnet_name=vnet_name),
|
||||
# checks=JMESPathCheck('subnets[0].ipConfigurations[0].id.contains(@, \'{vmss_name}\')'.format(vmss_name=vmss_name), True))
|
||||
|
||||
class VMAccessAddRemoveLinuxUser(VCRTestBase):
|
||||
|
||||
|
@ -728,15 +729,17 @@ class VMCreateUbuntuScenarioTest(ResourceGroupVCRTestBase): #pylint: disable=too
|
|||
auth_type=self.auth_type,
|
||||
ssh_key=self.pub_ssh_filename,
|
||||
location=self.location
|
||||
), checks=[
|
||||
JMESPathCheck('type(@)', 'object'),
|
||||
JMESPathCheck('vm.value.provisioningState', 'Succeeded'),
|
||||
JMESPathCheck('vm.value.osProfile.adminUsername', self.admin_username),
|
||||
JMESPathCheck('vm.value.osProfile.computerName', self.vm_names[0]),
|
||||
JMESPathCheck('vm.value.osProfile.linuxConfiguration.disablePasswordAuthentication', True),
|
||||
JMESPathCheck('vm.value.osProfile.linuxConfiguration.ssh.publicKeys[0].keyData', TEST_SSH_KEY_PUB),
|
||||
))
|
||||
|
||||
self.cmd('vm show -g {rg} -n {vm_name}'.format(rg=self.resource_group, vm_name=self.vm_names[0]), checks=[
|
||||
JMESPathCheck('provisioningState', 'Succeeded'),
|
||||
JMESPathCheck('osProfile.adminUsername', self.admin_username),
|
||||
JMESPathCheck('osProfile.computerName', self.vm_names[0]),
|
||||
JMESPathCheck('osProfile.linuxConfiguration.disablePasswordAuthentication', True),
|
||||
JMESPathCheck('osProfile.linuxConfiguration.ssh.publicKeys[0].keyData', TEST_SSH_KEY_PUB),
|
||||
])
|
||||
|
||||
|
||||
class VMBootDiagnostics(VCRTestBase):
|
||||
|
||||
def __init__(self, test_method):
|
||||
|
@ -844,13 +847,13 @@ class VMCreateExistingOptions(ResourceGroupVCRTestBase):
|
|||
self.cmd('network vnet create --name {} -g {} --subnet-name {}'.format(vnet_name, self.resource_group, subnet_name))
|
||||
self.cmd('network nsg create --name {} -g {}'.format(nsg_name, self.resource_group))
|
||||
|
||||
self.cmd('vm create --image UbuntuLTS --os-disk-name {disk_name} --virtual-network-type existing'
|
||||
' --virtual-network-name {vnet_name} --subnet-name {subnet_name} --availability-set-type existing'
|
||||
' --availability-set-id {availset_name} --public-ip-address-type existing'
|
||||
' --public-ip-address-name {pubip_name} -l "West US"'
|
||||
' --network-security-group-name {nsg_name} --network-security-group-type existing'
|
||||
' --size Standard_A3 --storage-account-type existing'
|
||||
' --storage-account-name {storage_name} --storage-container-name {container_name} -g {resource_group}'
|
||||
self.cmd('vm create --image UbuntuLTS --os-disk-name {disk_name}'
|
||||
' --vnet {vnet_name} --subnet-name {subnet_name}'
|
||||
' --availability-set {availset_name}'
|
||||
' --public-ip-address {pubip_name} -l "West US"'
|
||||
' --nsg {nsg_name}'
|
||||
' --size Standard_DS2'
|
||||
' --storage-account {storage_name} --storage-container-name {container_name} -g {resource_group}'
|
||||
' --name {vm_name} --ssh-key-value \'{key_value}\''
|
||||
.format(vnet_name=vnet_name, subnet_name=subnet_name, availset_name=availset_name,
|
||||
pubip_name=pubip_name, resource_group=self.resource_group, nsg_name=nsg_name,
|
||||
|
@ -864,13 +867,13 @@ class VMCreateExistingOptions(ResourceGroupVCRTestBase):
|
|||
self.cmd('network nic show -n {vm_name}VMNic -g {resource_group}'.format(vm_name=vm_name, resource_group=self.resource_group),
|
||||
checks=JMESPathCheck('ipConfigurations[0].publicIpAddress.id.ends_with(@, \'{}\')'.format(pubip_name), True))
|
||||
self.cmd('vm show -n {vm_name} -g {resource_group}'.format(vm_name=vm_name, resource_group=self.resource_group),
|
||||
checks=JMESPathCheck('storageProfile.osDisk.vhd.uri', 'http://{storage_name}.blob.core.windows.net/{container_name}/{disk_name}.vhd'.format(storage_name=storage_name, container_name=container_name, disk_name=disk_name)))
|
||||
checks=JMESPathCheck('storageProfile.osDisk.vhd.uri', 'https://{storage_name}.blob.core.windows.net/{container_name}/{disk_name}.vhd'.format(storage_name=storage_name, container_name=container_name, disk_name=disk_name)))
|
||||
|
||||
class VMCreateCustomIP(ResourceGroupVCRTestBase):
|
||||
|
||||
def __init__(self, test_method):
|
||||
super(VMCreateCustomIP, self).__init__(__file__, test_method)
|
||||
self.resource_group = 'vm_create_custom_ip_rg'
|
||||
self.resource_group = 'vm_create_custom_ip_rg3'
|
||||
|
||||
def test_vm_create_custom_ip(self):
|
||||
self.execute()
|
||||
|
@ -881,7 +884,7 @@ class VMCreateCustomIP(ResourceGroupVCRTestBase):
|
|||
|
||||
self.cmd('vm create -n {vm_name} -g {resource_group} --image openSUSE --private-ip-address-allocation static'
|
||||
' --private-ip-address 10.0.0.5 --public-ip-address-allocation static'
|
||||
' --dns-name-for-public-ip {dns_name} --ssh-key-value \'{key_value}\''
|
||||
' --public-ip-address-dns-name {dns_name} --ssh-key-value \'{key_value}\''
|
||||
.format(vm_name=vm_name, resource_group=self.resource_group, dns_name=dns_name, key_value=TEST_SSH_KEY_PUB))
|
||||
|
||||
self.cmd('network public-ip show -n {vm_name}PublicIP -g {resource_group}'.format(vm_name=vm_name, resource_group=self.resource_group), checks=[
|
||||
|
|
Загрузка…
Ссылка в новой задаче