enable diagnostics and extensions in vmss profile (#737)

This commit is contained in:
Burt Bielicki 2016-08-24 15:17:14 -07:00 коммит произвёл GitHub
Родитель a6412f59cd
Коммит 007eefac81
7 изменённых файлов: 950 добавлений и 24 удалений

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

@ -62,7 +62,7 @@ helps['vmss create'] = """
az vmss create -n myName -g myResourceGroup --admin-password MyPassword123 --instance-count 5
- name: Linux scaleset with SSH authentication, a public IP address, a DNS entry, an existing load balancer, and an existing virtual network
text: >
az vmss create -n myName -g myResourceGroup --dns-name-for-public-ip myGloballyUnieqDnsName
az vmss create -n myName -g myResourceGroup --dns-name-for-public-ip myGloballyUniqueDnsName
--load-balancer-type existing --load-balancer-name myLoadBalancer
--virtual-network-type existing --virtual-network-name myVNET --subnet-name mySubnet --image canonical:Ubuntu_Snappy_Core:15.04:2016.0318.1949
--authentication-type ssh --ssh-key-value "<ssh-key-value or ssh-key-file-path"

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

@ -112,6 +112,18 @@ register_cli_argument('vm extension image', 'publisher_name', CliArgumentType(op
register_cli_argument('vm extension image', 'type', CliArgumentType(options_list=('--name', '-n')))
register_cli_argument('vm extension image', 'latest', CliArgumentType(action='store_true'))
register_cli_argument('vmss extension', 'extension_name', name_arg_type, id_part='name', help='Name of extension')
register_cli_argument('vmss extension', 'vmss_name', help='Scale set name')
register_cli_argument('vmss extension', 'auto_upgrade_minor_version', CliArgumentType(action='store_true'))
register_cli_argument('vmss extension image', 'publisher_name', CliArgumentType(options_list=('--publisher',), help='Image publisher name'))
register_cli_argument('vmss extension image', 'type', CliArgumentType(options_list=('--name', '-n'), help='Extension name'))
register_cli_argument('vmss extension image', 'latest', CliArgumentType(action='store_true'))
register_cli_argument('vmss extension image', 'image_name', help='Image name')
register_cli_argument('vmss extension image', 'orderby', help='The sort to apply on the operation')
register_cli_argument('vmss extension image', 'top', help='Return top number of records')
register_cli_argument('vmss extension image', 'version', help='Extension version')
register_cli_argument('vm image list', 'image_location', location_type)
register_cli_argument('vm open-port', 'vm_name', name_arg_type, help='The name of the virtual machine to open inbound traffic on.')

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

@ -3,7 +3,7 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
#---------------------------------------------------------------------------------------------
# pylint: disable=no-self-use,too-many-arguments
# pylint: disable=no-self-use,too-many-arguments,too-many-lines
from __future__ import print_function
import json
import os
@ -16,7 +16,9 @@ from six.moves.urllib.request import urlopen #pylint: disable=import-error,unuse
from azure.mgmt.compute.models import (DataDisk,
VirtualMachineScaleSet,
VirtualMachineCaptureParameters)
VirtualMachineCaptureParameters,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile)
from azure.mgmt.compute.models.compute_management_client_enums import DiskCreateOptionTypes
from azure.cli.commands import LongRunningOperation
from azure.cli.commands.arm import register_generic_update
@ -537,6 +539,57 @@ def set_extension(
return client.virtual_machine_extensions.create_or_update(
resource_group_name, vm_name, vm_extension_name, ext)
def set_vmss_extension(
resource_group_name, vmss_name, extension_name, publisher,
version=None, settings=None,
protected_settings=None, auto_upgrade_minor_version=False):
'''create/update extensions for a VMSS in a resource group. You can use
'extension image list' to get extension details
:param vm_extension_name: the name of the extension
:param publisher: the name of extension publisher
:param version: the version of extension.
:param settings: public settings or a file path with such contents
:param protected_settings: protected settings or a file path with such contents
:param auto_upgrade_minor_version: auto upgrade to the newer version if available
'''
client = _compute_client_factory()
vmss = client.virtual_machine_scale_sets.get(resource_group_name,
vmss_name)
from azure.mgmt.compute.models import VirtualMachineExtension
protected_settings = load_json(protected_settings) if protected_settings else {}
settings = load_json(settings) if settings else None
#pylint: disable=no-member
if not version:
result = load_extension_images_thru_services(publisher, extension_name,
None, vmss.location, show_latest=True)
if not result:
raise CLIError('Failed to find the latest version for the extension "{}"'
.format(extension_name))
#with 'show_latest' enabled, we will only get one result.
version = result[0]['version']
version = _trim_away_build_number(version)
ext = VirtualMachineScaleSetExtension(name=extension_name,
publisher=publisher,
type=extension_name,
protected_settings=protected_settings,
type_handler_version=version,
settings=settings,
auto_upgrade_minor_version=auto_upgrade_minor_version)
if not vmss.virtual_machine_profile.extension_profile:
vmss.virtual_machine_profile.extension_profile = VirtualMachineScaleSetExtensionProfile([])
vmss.virtual_machine_profile.extension_profile.extensions.append(ext)
return client.virtual_machine_scale_sets.create_or_update(resource_group_name,
vmss_name,
vmss)
def set_diagnostics_extension(
resource_group_name, vm_name, storage_account, settings=None):
'''Enable diagnostics on a linux virtual machine
@ -555,13 +608,7 @@ def set_diagnostics_extension(
else:
settings = get_default_linux_diag_config(vm.id)
storage_mgmt_client = _get_storage_management_client()
keys = storage_mgmt_client.storage_accounts.list_keys(resource_group_name, storage_account).keys
private_config = {
'storageAccountName': storage_account,
'storageAccountKey': keys[0].value
}
private_config = _get_private_config(resource_group_name, storage_account)
vm_extension_name = _LINUX_DIAG_EXT
publisher, version, auto_upgrade = _get_access_extension_upgrade_info(
@ -582,6 +629,95 @@ def set_diagnostics_extension(
ext)
return ExtensionUpdateLongRunningOperation('updating diagnostics', 'done')(poller)
def set_vmss_diagnostics_extension(
resource_group_name, vmss_name, storage_account, settings=None):
'''Enable diagnostics on a linux virtual machine scale set
:param storage_account: the storage account to upload diagnostics log
:param settings: the settings file which defines data to be collected.
Default will be provided if missing
'''
client = _compute_client_factory()
vmss = client.virtual_machine_scale_sets.get(resource_group_name,
vmss_name)
#pylint: disable=no-member
if settings:
settings = load_json(settings)
else:
settings = get_default_linux_diag_config(vmss.id)
private_config = _get_private_config(resource_group_name, storage_account)
vm_extension_name = _LINUX_DIAG_EXT
if not vmss.virtual_machine_profile.extension_profile:
vmss.virtual_machine_profile.extension_profile = VirtualMachineScaleSetExtensionProfile([])
publisher, version, auto_upgrade = _get_access_extension_upgrade_info(
vmss.virtual_machine_profile.extension_profile.extensions, vm_extension_name
)
ext = VirtualMachineScaleSetExtension(name='LinuxDiagnostic',
publisher=publisher,
type=vm_extension_name,
protected_settings=private_config,
type_handler_version=version,
settings=settings,
auto_upgrade_minor_version=auto_upgrade)
vmss.virtual_machine_profile.extension_profile.extensions.append(ext)
poller = client.virtual_machine_scale_sets.create_or_update(resource_group_name,
vmss_name,
vmss)
return ExtensionUpdateLongRunningOperation('updating diagnostics', 'done')(poller)
def get_vmss_extension(resource_group_name, vmss_name, extension_name):
client = _compute_client_factory()
vmss = client.virtual_machine_scale_sets.get(resource_group_name,
vmss_name)
#pylint: disable=no-member
if not vmss.virtual_machine_profile.extension_profile:
return
return next((e for e in vmss.virtual_machine_profile.extension_profile.extensions
if e.name == extension_name), None)
def list_vmss_extensions(resource_group_name, vmss_name):
client = _compute_client_factory()
vmss = client.virtual_machine_scale_sets.get(resource_group_name,
vmss_name)
#pylint: disable=no-member
return None if not vmss.virtual_machine_profile.extension_profile \
else vmss.virtual_machine_profile.extension_profile.extensions
def delete_vmss_extension(resource_group_name, vmss_name, extension_name):
client = _compute_client_factory()
vmss = client.virtual_machine_scale_sets.get(resource_group_name,
vmss_name)
#pylint: disable=no-member
if not vmss.virtual_machine_profile.extension_profile:
raise CLIError('Scale set has no extensions to delete')
keep_list = [e for e in vmss.virtual_machine_profile.extension_profile.extensions
if e.name != extension_name]
if len(keep_list) == len(vmss.virtual_machine_profile.extension_profile.extensions):
raise CLIError('Extension {} not found'.format(extension_name))
vmss.virtual_machine_profile.extension_profile.extensions = keep_list
return client.virtual_machine_scale_sets.create_or_update(resource_group_name,
vmss_name,
vmss)
def _get_private_config(resource_group_name, storage_account):
storage_mgmt_client = _get_storage_management_client()
#pylint: disable=no-member
keys = storage_mgmt_client.storage_accounts.list_keys(resource_group_name, storage_account).keys
private_config = {
'storageAccountName': storage_account,
'storageAccountKey': keys[0].value
}
return private_config
def show_default_diagnostics_configuration():
'''show the default config file which defines data to be collected'''

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

@ -35,8 +35,9 @@ from .custom import (
list_extensions, set_extension, set_diagnostics_extension,
show_default_diagnostics_configuration,
vmss_start, vmss_restart, vmss_delete_instances, vmss_deallocate, vmss_get_instance_view,
vmss_stop, vmss_reimage, vmss_scale, vmss_update_instances, vmss_show, vmss_list
)
vmss_stop, vmss_reimage, vmss_scale, vmss_update_instances, vmss_show, vmss_list,
set_vmss_diagnostics_extension, set_vmss_extension, get_vmss_extension,
list_vmss_extensions, delete_vmss_extension)
from ._factory import _compute_client_factory
@ -111,6 +112,10 @@ register_generic_update('vm container update', ContainerServiceOperations.get, C
cli_command('vm diagnostics set', set_diagnostics_extension)
cli_command('vm diagnostics get-default-config', show_default_diagnostics_configuration)
# VMSS Diagnostics
cli_command('vmss diagnostics set', set_vmss_diagnostics_extension)
cli_command('vmss diagnostics get-default-config', show_default_diagnostics_configuration)
# VM Disk
cli_command('vm disk attach-new', attach_new_disk)
cli_command('vm disk attach-existing', attach_existing_disk)
@ -124,6 +129,12 @@ cli_command('vm extension show', VirtualMachineExtensionsOperations.get, factory
cli_command('vm extension set', set_extension)
cli_command('vm extension list', list_extensions, simple_output_query="[*].{Name:name, ResourceGroup:resourceGroup, ProvisioningState:provisioningState, Publisher:publisher, Version:typeHandlerVersion} | sort_by(@, &Name)")
# VMSS Extension
cli_command('vmss extension delete', delete_vmss_extension)
cli_command('vmss extension show', get_vmss_extension)
cli_command('vmss extension set', set_vmss_extension)
cli_command('vmss extension list', list_vmss_extensions, simple_output_query="[*].{Name:name, ResourceGroup:resourceGroup, ProvisioningState:provisioningState, Publisher:publisher, Version:typeHandlerVersion} | sort_by(@, &Name)")
# VM Extension Image
factory = lambda _: _compute_client_factory().virtual_machine_extension_images
cli_command('vm extension image show', VirtualMachineExtensionImagesOperations.get, factory, simple_output_query="{Name:name, Location:location, OperatingSystem:operatingSystem, SupportsMultipleExtensions:supportsMultipleExtensions, VmScaleSetEnabled:vmScaleSetEnabled, ComputeRole:computeRole}")
@ -131,6 +142,13 @@ cli_command('vm extension image list-names', VirtualMachineExtensionImagesOperat
cli_command('vm extension image list-versions', VirtualMachineExtensionImagesOperations.list_versions, factory, simple_output_query="[*].{Name:name, Location:location} | sort_by(@, &Name)")
cli_command('vm extension image list', list_vm_extension_images, simple_output_query="[*].{Publisher:publisher, Name:name, Version:version} | sort_by(@, &Publisher)")
# VMSS Extension Image (convenience copy of VM Extension Image)
factory = lambda _: _compute_client_factory().virtual_machine_extension_images
cli_command('vmss extension image show', VirtualMachineExtensionImagesOperations.get, factory, simple_output_query="{Name:name, Location:location, OperatingSystem:operatingSystem, SupportsMultipleExtensions:supportsMultipleExtensions, VmScaleSetEnabled:vmScaleSetEnabled, ComputeRole:computeRole}")
cli_command('vmss extension image list-names', VirtualMachineExtensionImagesOperations.list_types, factory, simple_output_query="[*].{Name:name, Location:location} | sort_by(@, &Name)")
cli_command('vmss extension image list-versions', VirtualMachineExtensionImagesOperations.list_versions, factory, simple_output_query="[*].{Name:name, Location:location} | sort_by(@, &Name)")
cli_command('vmss extension image list', list_vm_extension_images, simple_output_query="[*].{Publisher:publisher, Name:name, Version:version} | sort_by(@, &Publisher)")
# VM Image
factory = lambda _: _compute_client_factory().virtual_machine_images
cli_command('vm image show', VirtualMachineImagesOperations.get, factory, simple_output_query="{Publisher:plan.publisher, Offer:plan.product, Sku:plan.name, OS:osDiskImage.operatingSystem, Version:name, Location:location, Urn:join(':', [plan.publisher,plan.product,plan.name,name])}")

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

@ -0,0 +1,380 @@
interactions:
- request:
body: null
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDcxOTg1MzAwLCJuYmYiOjE0NzE5ODUzMDAsImV4cCI6MTQ3MTk4OTIwMCwiX2NsYWltX25hbWVzIjp7Imdyb3Vwcy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nV1-wBSQ-xHsY2h-VHA4jrKQgZIjFe-yehu7x1DsfElJ-YZLEpeiXJSeBOqh30SEQryi6UTI5BrKevzZFeijsc1OOQvyGsAMHPM2wbZJa6rvlmNkq25LHk8goICgqAeABSNNYo4wuxo2GIebzfoWRfmFh-PJP3Fd_dMZFNP-VmsbYZ0wpRzJ5hDC35N-dVEBDzux76BEOPmtQVfKnxWywi0qT3RdkqwSuQXPIC2FsKXHghQQ4lqVjVejGQ]
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 computemanagementclient/0.30.0rc5 Azure-SDK-For-Python
AZURECLI/TEST/0.0.1.dev0]
accept-language: [en-US]
x-ms-client-request-id: [f3027980-6973-11e6-af06-001dd8b7c0ad]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myvmsss/providers/Microsoft.Compute/virtualMachineScaleSets/myvmss3?api-version=2016-03-30
response:
body:
string: !!binary |
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk
6UfN2/VHj1L+nf5aZouc/vzodZstZ1k9+/2f7v7+l3sfjfTrtshr/2v7xTRbZdOivaYv9/DRL+Ev
PlrV1Sqv6a2GvjB9rFcXdTbLX1ZlMcUL+jl9s6hm3PsX2XKdlR/J5wKKvr0s6pY+/iKbzotl/rKu
zosSzd37VRP5lD6fVovVus3rFzS6l3V+XryjBh8tri8XTXNvdWlGgeejbLYoll81eW1IMVnX7aTI
y6BVWSzX706q5Xlxsa6ztqiW1NTrkprMiiablPnLrGmuqnp2vG7n+bItpqZ1W69zDyS90TRz+jyA
Qp+u1hMi1O+VX4OG3wu/TLut8Xy0yloA+ujuvFrkdw3+d8c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A1
6wmhhd+KGb1wl/5upnXBU9jcvbeznx88fPjp9oMH55Pt/U/zg+1JNsu2799/8OnO7v2H+5N8/26d
N9W6nuaf19V61dyVPpu71M9lMSOq3f2imNZVU5234xdCgbtqj/VP887uT744fXOXMCCM7Gev+c+P
fsnoo7LKZk+yMiM+qJ9k07f5cnY8m1HvzcuqKmk0NO4f5iB8fMwb98rJ3UkfN/PtJF/Rnx/9ku//
EvmfY5f8XZsvwWAew5gv/a9pmKF+9FrhCaa3+yW+9gXGjenL129OTl0fFi/zfNRer4DTR2xInhbZ
xbJqyCMZaPlt8vHKvP5JIgzBw3t743uRtuRSVF+JT/dFsay8F86zsgl9HDxkfdqWNAePjdwkg8YX
JPdkeAJBAE8v8rYuptT6F39Ec8ETfPZD4JATcRoNm6vb+Zo0U/7asTYRRBE8vrio8wvFmri4mc7z
2brMZ2/qbNmQ8nqZ10UFxF++2f02ycINTb4Ah5Gkk5qp6gUY9KQizUdIghL9jzt0Iwxa+J8EjKf7
i3xRkb4ZkTPMzV+v8mlxzv78R9TtlHzT48usKPGOa1uS90oN9APgfGug3yw08shn7vsPAKRjBbzX
V9kKjW6AdrJao9UgKBL2ad40Vf2mIH1NLRWe/fz9QZ59+d2saL9BeCTIt4fG/h217IM7JgNKpvy7
ddH24M2vG5htfvn9QcKF+IYgAtSTa7LuNPjXOZlMClM/GCgP+ZZQySpYZ0IeZyPkUdPe18R+Mw+G
c9LlFwMPhuKygLYlfUpBectAX6+n0zyf5YShNquIyLYpNWGnQ79bL4tftGaNmn50vndw/in9fzuf
7u1t789297Yfnk/2tvPs/v7OQbb76b3zh4yjIMCWmuLM/5coYkbJUDb8FPYMn94aqr5XVjZe/+iK
/MW1+aLNxH7RhPyS/wfBseyQSREAAA==
headers:
cache-control: [no-cache]
content-encoding: [gzip]
content-type: [application/json; charset=utf-8]
date: ['Tue, 23 Aug 2016 20:55:41 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
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.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDcxOTg1MzAwLCJuYmYiOjE0NzE5ODUzMDAsImV4cCI6MTQ3MTk4OTIwMCwiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZi9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYW1yIjpbIndpYSIsIm1mYSJdLCJhcHBpZCI6IjA0YjA3Nzk1LThkZGItNDYxYS1iYmVlLTAyZjllMWJmN2I0NiIsImFwcGlkYWNyIjoiMCIsImVfZXhwIjoxMDgwMCwiZmFtaWx5X25hbWUiOiJCaWVsaWNraSIsImdpdmVuX25hbWUiOiJCdXJ0IiwiaW5fY29ycCI6InRydWUiLCJpcGFkZHIiOiIxNjcuMjIwLjEuNTAiLCJuYW1lIjoiQnVydCBCaWVsaWNraSIsIm9pZCI6IjAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZiIsIm9ucHJlbV9zaWQiOiJTLTEtNS0yMS0yMTI3NTIxMTg0LTE2MDQwMTI5MjAtMTg4NzkyNzUyNy00ODEyODA2IiwicHVpZCI6IjEwMDNCRkZEODAxQzA4QkMiLCJzY3AiOiJ1c2VyX2ltcGVyc29uYXRpb24iLCJzdWIiOiJDeUIyOFc5T21GWkZ4bDRoZ0lFWW10MEd5amNDYkVDbVB6NWR4VUVSMWxjIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidW5pcXVlX25hbWUiOiJidXJ0YmllbEBtaWNyb3NvZnQuY29tIiwidXBuIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInZlciI6IjEuMCJ9.gHd7rpLSFDpOp39I3gRjRg8L_OFKRyCBet4SgGArfFZ1TqtGrRKffZ3HARWP1foY3lNArbkrGejcv654_IjHGHeYnng-nV1-wBSQ-xHsY2h-VHA4jrKQgZIjFe-yehu7x1DsfElJ-YZLEpeiXJSeBOqh30SEQryi6UTI5BrKevzZFeijsc1OOQvyGsAMHPM2wbZJa6rvlmNkq25LHk8goICgqAeABSNNYo4wuxo2GIebzfoWRfmFh-PJP3Fd_dMZFNP-VmsbYZ0wpRzJ5hDC35N-dVEBDzux76BEOPmtQVfKnxWywi0qT3RdkqwSuQXPIC2FsKXHghQQ4lqVjVejGQ]
Connection: [keep-alive]
Content-Length: ['0']
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 storagemanagementclient/0.30.0rc5 Azure-SDK-For-Python
AZURECLI/TEST/0.0.1.dev0]
accept-language: [en-US]
x-ms-client-request-id: [f428aa00-6973-11e6-aeed-001dd8b7c0ad]
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myvmsss/providers/Microsoft.Storage/storageAccounts/stog001100/listKeys?api-version=2016-01-01
response:
body:
string: !!binary |
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR2/z
6+ajR9/jX15ki/yjR/ht96PRR6u8XhRNU1RLavDRs3VZ0oeXWblGm+9Mny4nT4uf2vm9f+LZd2f5
d3+f0190//NPqh/8dP7k4POH7dlX07t7P71/erb/7e8uV6unb6fN+fmTu89P8+fV893PT6fPd16X
q+r3+cH88y/uvfn2T7+7Onl58vscf/bZR79k1EFlj3rdiEr7xdOTy6fl7/N7/aKHO2c/fX387Z2f
atqf+EU7zeLbT4v5T1988p3l5w+m9U++Kz7/fb5oXt57+u3s7k+Wy4v1g+ud/ZMiX89/UN8/eHjv
7udfXB2cnRVvZifnv88FUPn+L0n+H4bS+QUhAQAA
headers:
cache-control: [no-cache]
content-encoding: [gzip]
content-type: [application/json]
date: ['Tue, 23 Aug 2016 20:55:42 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
vary: [Accept-Encoding]
x-ms-ratelimit-remaining-subscription-writes: ['1199']
status: {code: 200, message: OK}
- request:
body: '{"sku": {"tier": "Standard", "capacity": 2, "name": "Standard_D1_v2"},
"location": "westus", "properties": {"virtualMachineProfile": {"storageProfile":
{"imageReference": {"sku": "14.04.4-LTS", "publisher": "Canonical", "version":
"latest", "offer": "UbuntuServer"}, "osDisk": {"caching": "ReadOnly", "vhdContainers":
["https://634y7etxnz5kmmyvmss3pvsa.blob.core.windows.net/vhds", "https://grq2wdxuc4h62myvmss3pvsa.blob.core.windows.net/vhds",
"https://makfkgva7lwhkmyvmss3pvsa.blob.core.windows.net/vhds", "https://ighij7dsvffsymyvmss3pvsa.blob.core.windows.net/vhds",
"https://rk25fx4glgpjomyvmss3pvsa.blob.core.windows.net/vhds"], "name": "osdiskimage",
"createOption": "fromImage"}}, "extensionProfile": {"extensions": [{"properties":
{"publisher": "Microsoft.OSTCExtensions", "typeHandlerVersion": "2.3", "settings":
{"diagnosticMonitorConfiguration": {"metrics": {"resourceId": "/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/myvmsss/providers/Microsoft.Compute/virtualMachineScaleSets/myvmss3",
"metricAggregation": [{"scheduledTransferPeriod": "PT1H"}, {"scheduledTransferPeriod":
"PT1M"}]}, "performanceCounters": {"performanceCounterConfiguration": [{"table":
"LinuxMemory", "counterSpecifier": "PercentAvailableMemory", "class": "Memory"},
{"table": "LinuxMemory", "counterSpecifier": "AvailableMemory", "class": "Memory"},
{"table": "LinuxMemory", "counterSpecifier": "UsedMemory", "class": "Memory"},
{"table": "LinuxMemory", "counterSpecifier": "PercentUsedSwap", "class": "Memory"},
{"table": "LinuxCpu", "counterSpecifier": "PercentProcessorTime", "class": "Processor"},
{"table": "LinuxCpu", "counterSpecifier": "PercentIOWaitTime", "class": "Processor"},
{"table": "LinuxCpu", "counterSpecifier": "PercentIdleTime", "class": "Processor"},
{"table": "LinuxDisk", "counterSpecifier": "AverageWriteTime", "class": "PhysicalDisk"},
{"table": "LinuxDisk", "counterSpecifier": "AverageReadTime", "class": "PhysicalDisk"},
{"table": "LinuxDisk", "counterSpecifier": "ReadBytesPerSecond", "class": "PhysicalDisk"},
{"table": "LinuxDisk", "counterSpecifier": "WriteBytesPerSecond", "class": "PhysicalDisk"}]}}},
"type": "LinuxDiagnostic", "autoUpgradeMinorVersion": false}, "name": "LinuxDiagnostic"},
{"properties": {"protectedSettings": {"storageAccountName": "stog001100", "storageAccountKey":
"JcDnbDiZ0XQFWdeWYEq5G+ozjeB8G9tIUc/2j4EI4HWnppDkcsffB/LEeLoL1GEcL0SlpoYzhGM3THjxwCPCYA=="},
"publisher": "Microsoft.OSTCExtensions", "typeHandlerVersion": "2.3", "type":
"LinuxDiagnostic", "settings": {"diagnosticMonitorConfiguration": {"metrics":
{"resourceId": "/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/myvmsss/providers/Microsoft.Compute/virtualMachineScaleSets/myvmss3",
"metricAggregation": [{"scheduledTransferPeriod": "PT1H"}, {"scheduledTransferPeriod":
"PT1M"}]}, "performanceCounters": {"performanceCounterConfiguration": [{"table":
"LinuxMemory", "counterSpecifier": "PercentAvailableMemory", "class": "Memory"},
{"table": "LinuxMemory", "counterSpecifier": "AvailableMemory", "class": "Memory"},
{"table": "LinuxMemory", "counterSpecifier": "UsedMemory", "class": "Memory"},
{"table": "LinuxMemory", "counterSpecifier": "PercentUsedSwap", "class": "Memory"},
{"table": "LinuxCpu", "counterSpecifier": "PercentProcessorTime", "class": "Processor"},
{"table": "LinuxCpu", "counterSpecifier": "PercentIOWaitTime", "class": "Processor"},
{"table": "LinuxCpu", "counterSpecifier": "PercentIdleTime", "class": "Processor"},
{"table": "LinuxDisk", "counterSpecifier": "AverageWriteTime", "class": "PhysicalDisk"},
{"table": "LinuxDisk", "counterSpecifier": "AverageReadTime", "class": "PhysicalDisk"},
{"table": "LinuxDisk", "counterSpecifier": "ReadBytesPerSecond", "class": "PhysicalDisk"},
{"table": "LinuxDisk", "counterSpecifier": "WriteBytesPerSecond", "class": "PhysicalDisk"}]}}}},
"name": "LinuxDiagnostic"}]}, "osProfile": {"secrets": [], "adminUsername":
"burtbiel", "computerNamePrefix": "myvmss3pv", "linuxConfiguration": {"ssh":
{"publicKeys": [{"path": "/home/burtbiel/.ssh/authorized_keys", "keyData": "ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQDHKB9ZsIsUgQtAQu1KhYKcPd1siIQUmWFw7RNtvZe4GrRSuoVrakPpxNzDwj2Blx570hgLoosj84WQp/shxV91xaojYa3WNQsl5l+AJepEEzyzyKF3h9tdLSSYoGKKLDv92P2LyPZgmxL7M5YUnBOc8QcXJ2/uBC/egSYSETvF/8c2WHSJuufFZlKGMqLZJLgENzxg8j3F3w5gbGYASgOE3K6cFQZ+YoZ+jbdBdZUHbuQOSK2e20ZDkE6QV4eViZg8FkpRqugaRIeXatF+meFV4IZann8vKKE6evTIoipu8YUm1IuYZ81PHdk77uR5k21TsXotp2OJHy+ugCcdYd9H
ddcloud@burtbielLinux"}]}, "disablePasswordAuthentication": true}}, "networkProfile":
{"networkInterfaceConfigurations": [{"properties": {"primary": true, "ipConfigurations":
[{"properties": {"subnet": {"id": "/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/myvmsss/providers/Microsoft.Network/virtualNetworks/myvmss1VNET/subnets/myvmss1Subnet"},
"loadBalancerBackendAddressPools": [{"id": "/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/myvmsss/providers/Microsoft.Network/loadBalancers/myvmss3lb/backendAddressPools/myvmss3bepool"}]},
"name": "myvmss3pvipconfig"}]}, "name": "myvmss3pvnic"}]}}, "upgradePolicy":
{"mode": "Manual"}, "provisioningState": "Succeeded"}, "tags": {}}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDcxOTg1MzAwLCJuYmYiOjE0NzE5ODUzMDAsImV4cCI6MTQ3MTk4OTIwMCwiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93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OOQvyGsAMHPM2wbZJa6rvlmNkq25LHk8goICgqAeABSNNYo4wuxo2GIebzfoWRfmFh-PJP3Fd_dMZFNP-VmsbYZ0wpRzJ5hDC35N-dVEBDzux76BEOPmtQVfKnxWywi0qT3RdkqwSuQXPIC2FsKXHghQQ4lqVjVejGQ]
Connection: [keep-alive]
Content-Length: ['5178']
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 computemanagementclient/0.30.0rc5 Azure-SDK-For-Python
AZURECLI/TEST/0.0.1.dev0]
accept-language: [en-US]
x-ms-client-request-id: [f4906c80-6973-11e6-8af7-001dd8b7c0ad]
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myvmsss/providers/Microsoft.Compute/virtualMachineScaleSets/myvmss3?api-version=2016-03-30
response:
body:
string: !!binary |
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk
6UfN2/VHj1L+nf5aZouc/vzodZstZ1k9+/2f7v7+l3sfjfTrtshr/2v7xTRbZdOivaYv9/DRL+Ev
PlrV1Sqv6a2GvjB9rFcXdTbLX1ZlMcUL+jl9s6hm3PsX2XKdlR/J5wKKvr0s6pY+/iKbzotl/rKu
zosSzd37VRP5lD6fVovVus3rFzS6l3V+XryjBh8tri8XTXNvdWlGgeejbLYoll81eW1IMVnX7aTI
y6BVWSzX706q5Xlxsa6ztqiW1NTrkprMiiablPnLrGmuqnp2vG7n+bItpqZ1W69zDyS90TRz+jyA
Qp+u1hMi1O+VX4OG3wu/TLut8Xy0yloA+ujuvFrkdw3+d8cE/25GaFR18YN89vu/BcgAA3k+oi+e
Zm0GEPTKdt1k6TE9T+69+EF2sns93Tulv46fHv/E8RP6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N8/26d
N9W6nuaf19V61dyVPpu71M9lMSOq3f2imNZVU5234xdCgbtqj/VP887uT744fXOXMCCM7Gev+c+P
fsnoo7LKZk+yMiM+qJ9k07f5cnY8m1HvzcuqKmk0NO4f5iB8fMwb98rJ3UkfN/PtJF/Rnx/9ku//
EvmfY5f8XZsvwWAew5gv/a9pmKF+9FrhCaa3+yW+9gXGjenL129OTl0fFi/zfNRer4DTR2xInhbZ
xbJqyCMZaPlt8vHKvP5JIgzBw3t743uRtuRSVF+JT/dFsay8F86zsgl9HDxkfdqWNAePjdwkg8YX
JPdkeAJBAE8v8rYuptT6F39Ec8ETfPZD4JATcRoNm6vb+Zo0U/7asTYRRBE8vrio8wvFmri4mc7z
2brMZ2/qbNmQ8nqZ10UFxF++2f02ycINTb4Ah5Gkk5qp6gUY9KQizUdIghL9jzt0Iwxa+J8EjKf7
i3xRkb4ZkTPMzV+v8mlxzv78R9TtlHzT48usKPGOa1uS90oN9APgfGug3yw08shn7vsPAKRjBbzX
V9kKjW6AdrJao9UgKBL2ad40Vf2mIH1NLRWe/fz9QZ59+d2saL9BeCTIt4fG/h217IM7JgNKpvy7
ddH24M2vG5htfvn9QcKF+IYgAtSTa7LuNPjXOZlMClM/GCgP+ZZQySpYZ0IeZyPkUdPe18R+Mw+G
c9LlFwMPhuKygLYlfUpBectAv1rNSAmQa2ZaVURj25JasM+h362XxS9as0JNPzrfOzj/lP6/nU/3
9rb3Z7t72w/PJ3vbeXZ/f+cg2/303vlDRlH6Z0NNYeb/S/Qwo2QIG34Kc4ZPbw1V3ysrG65/dEXu
4tp80WZivmg+fsn/Az5Z/cJIEQAA
headers:
azure-asyncoperation: ['https://management.azure.com/subscriptions/304e8996-77fb-46e8-bada-557601594be4/providers/Microsoft.Compute/locations/westus/operations/981baf46-1a19-4a91-b858-afc7e3c41901?api-version=2016-03-30']
cache-control: [no-cache]
content-encoding: [gzip]
content-type: [application/json; charset=utf-8]
date: ['Tue, 23 Aug 2016 20:55:43 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
vary: [Accept-Encoding]
x-ms-ratelimit-remaining-subscription-writes: ['1199']
status: {code: 200, message: OK}
- request:
body: null
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDcxOTg1MzAwLCJuYmYiOjE0NzE5ODUzMDAsImV4cCI6MTQ3MTk4OTIwMCwiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZi9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYW1yIjpbIndpYSIsIm1mYSJdLCJhcHBpZCI6IjA0YjA3Nzk1LThkZGItNDYxYS1iYmVlLTAyZjllMWJmN2I0NiIsImFwcGlkYWNyIjoiMCIsImVfZXhwIjoxMDgwMCwiZmFtaWx5X25hbWUiOiJCaWVsaWNraSIsImdpdmVuX25hbWUiOiJCdXJ0IiwiaW5fY29ycCI6InRydWUiLCJpcGFkZHIiOiIxNjcuMjIwLjEuNTAiLCJuYW1lIjoiQnVydCBCaWVsaWNraSIsIm9pZCI6IjAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZiIsIm9ucHJlbV9zaWQiOiJTLTEtNS0yMS0yMTI3NTIxMTg0LTE2MDQwMTI5MjAtMTg4NzkyNzUyNy00ODEyODA2IiwicHVpZCI6IjEwMDNCRkZEODAxQzA4QkMiLCJzY3AiOiJ1c2VyX2ltcGVyc29uYXRpb24iLCJzdWIiOiJDeUIyOFc5T21GWkZ4bDRoZ0lFWW10MEd5amNDYkVDbVB6NWR4VUVSMWxjIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidW5pcXVlX25hbWUiOiJidXJ0YmllbEBtaWNyb3NvZnQuY29tIiwidXBuIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInZlciI6IjEuMCJ9.gHd7rpLSFDpOp39I3gRjRg8L_OFKRyCBet4SgGArfFZ1TqtGrRKffZ3HARWP1foY3lNArbkrGejcv654_IjHGHeYnng-nV1-wBSQ-xHsY2h-VHA4jrKQgZIjFe-yehu7x1DsfElJ-YZLEpeiXJSeBOqh30SEQryi6UTI5BrKevzZFeijsc1OOQvyGsAMHPM2wbZJa6rvlmNkq25LHk8goICgqAeABSNNYo4wuxo2GIebzfoWRfmFh-PJP3Fd_dMZFNP-VmsbYZ0wpRzJ5hDC35N-dVEBDzux76BEOPmtQVfKnxWywi0qT3RdkqwSuQXPIC2FsKXHghQQ4lqVjVejGQ]
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 computemanagementclient/0.30.0rc5 Azure-SDK-For-Python
AZURECLI/TEST/0.0.1.dev0]
accept-language: [en-US]
x-ms-client-request-id: [f4906c80-6973-11e6-8af7-001dd8b7c0ad]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/981baf46-1a19-4a91-b858-afc7e3c41901?api-version=2016-03-30
response:
body:
string: !!binary |
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk
6UdNm9Xtm2KRf/Qo/WhvZ/fT7Z2D7b17b/Z2Ht2//2j/3vjB/Xv7e59++snOzqOdnY9G/FK+nA2/
sj++t/9gl/4LXqF+2nWDN16vp9M8n+Uz/WaZCaSHB7uT7Hz/0+3dbPfh9n72cHd7cnD/YDs7nz7I
7033dx/u7H70Gye/5P8BZ0dU6LgAAAA=
headers:
cache-control: [no-cache]
content-encoding: [gzip]
content-type: [application/json; charset=utf-8]
date: ['Tue, 23 Aug 2016 20:56:14 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
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.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDcxOTg1MzAwLCJuYmYiOjE0NzE5ODUzMDAsImV4cCI6MTQ3MTk4OTIwMCwiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InN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wBSQ-xHsY2h-VHA4jrKQgZIjFe-yehu7x1DsfElJ-YZLEpeiXJSeBOqh30SEQryi6UTI5BrKevzZFeijsc1OOQvyGsAMHPM2wbZJa6rvlmNkq25LHk8goICgqAeABSNNYo4wuxo2GIebzfoWRfmFh-PJP3Fd_dMZFNP-VmsbYZ0wpRzJ5hDC35N-dVEBDzux76BEOPmtQVfKnxWywi0qT3RdkqwSuQXPIC2FsKXHghQQ4lqVjVejGQ]
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 computemanagementclient/0.30.0rc5 Azure-SDK-For-Python
AZURECLI/TEST/0.0.1.dev0]
accept-language: [en-US]
x-ms-client-request-id: [f4906c80-6973-11e6-8af7-001dd8b7c0ad]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myvmsss/providers/Microsoft.Compute/virtualMachineScaleSets/myvmss3?api-version=2016-03-30
response:
body:
string: !!binary |
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk
6UfN2/VHj1L+nf5aZouc/vzodZstZ1k9+/2f7v7+l3sfjfTrtshr/2v7xTRbZdOivaYv9/DRL+Ev
PlrV1Sqv6a2GvjB9rFcXdTbLX1ZlMcUL+jl9s6hm3PsX2XKdlR/J5wKKvr0s6pY+/iKbzotl/rKu
zosSzd37VRP5lD6fVovVus3rFzS6l3V+XryjBh8tri8XTXNvdWlGgeejbLYoll81eW1IMVnX7aTI
y6BVWSzX706q5Xlxsa6ztqiW1NTrkprMiiablPnLrGmuqnp2vG7n+bItpqZ1W69zDyS90TRz+jyA
Qp+u1hMi1O+VX4OG3wu/TLut8Xy0yloA+ujuvFrkdw3+d8cE/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
6wmhhd+KGb1wl/5upnXBU9jcvbeznx88fPjp9oMH55Pt/U/zg+1JNsu2799/8OnO7v2H+5N8/26d
N9W6nuaf19V61dyVPpu71M9lMSOq3f2imNZVU5234xdCgbtqj/VP887uT744fXOXMCCM7Gev+c+P
fsnoo7LKZk+yMiM+qJ9k07f5cnY8m1HvzcuqKmk0NO4f5iB8fMwb98rJ3UkfN/PtJF/Rnx/9ku//
EvmfY5f8XZsvwWAew5gv/a9pmKF+9FrhCaa3+yW+9gXGjenL129OTl0fFi/zfNRer4DTR2xInhbZ
xbJqyCMZaPlt8vHKvP5JIgzBw3t743uRtuRSVF+JT/dFsay8F86zsgl9HDxkfdqWNAePjdwkg8YX
JPdkeAJBAE8v8rYuptT6F39Ec8ETfPZD4JATcRoNm6vb+Zo0U/7asTYRRBE8vrio8wvFmri4mc7z
2brMZ2/qbNmQ8nqZ10UFxF++2f02ycINTb4Ah5Gkk5qp6gUY9KQizUdIghL9jzt0Iwxa+J8EjKf7
i3xRkb4ZkTPMzV+v8mlxzv78R9TtlHzT48usKPGOa1uS90oN9APgfGug3yw08shn7vsPAKRjBbzX
V9kKjW6AdrJao9UgKBL2ad40Vf2mIH1NLRWe/fz9QZ59+d2saL9BeCTIt4fG/h217IM7JgNKpvy7
ddH24M2vG5htfvn9QcKF+IYgAtSTa7LuNPjXOZlMClM/GCgP+ZZQySpYZ0IeZyPkUdPe18R+Mw+G
c9LlFwMPhuKygLYlfUpBectAX6+n0zyf5YShNquIyLYpNWGnQ79bL4tftGaNmn50vndw/in9fzuf
7u1t789297Yfnk/2tvPs/v7OQbb76b3zh4yjIMCWmuLM/5coYkbJUDb8FPYMn94aqr5XVjZe/+iK
/MW1+aLNxH7RhPyS/wfBseyQSREAAA==
headers:
cache-control: [no-cache]
content-encoding: [gzip]
content-type: [application/json; charset=utf-8]
date: ['Tue, 23 Aug 2016 20:56:14 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
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.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDcxOTg1MzAwLCJuYmYiOjE0NzE5ODUzMDAsImV4cCI6MTQ3MTk4OTIwMCwiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZi9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYW1yIjpbIndpYSIsIm1mYSJdLCJhcHBpZCI6IjA0YjA3Nzk1LThkZGItNDYxYS1iYmVlLTAyZjllMWJmN2I0NiIsImFwcGlkYWNyIjoiMCIsImVfZXhwIjoxMDgwMCwiZmFtaWx5X25hbWUiOiJCaWVsaWNraSIsImdpdmVuX25hbWUiOiJCdXJ0IiwiaW5fY29ycCI6InRydWUiLCJpcGFkZHIiOiIxNjcuMjIwLjEuNTAiLCJuYW1lIjoiQnVydCBCaWVsaWNraSIsIm9pZCI6IjAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZiIsIm9ucHJlbV9zaWQiOiJTLTEtNS0yMS0yMTI3NTIxMTg0LTE2MDQwMTI5MjAtMTg4NzkyNzUyNy00ODEyODA2IiwicHVpZCI6IjEwMDNCRkZEODAxQzA4QkMiLCJzY3AiOiJ1c2VyX2ltcGVyc29uYXRpb24iLCJzdWIiOiJDeUIyOFc5T21GWkZ4bDRoZ0lFWW10MEd5amNDYkVDbVB6NWR4VUVSMWxjIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidW5pcXVlX25hbWUiOiJidXJ0YmllbEBtaWNyb3NvZnQuY29tIiwidXBuIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInZlciI6IjEuMCJ9.gHd7rpLSFDpOp39I3gRjRg8L_OFKRyCBet4SgGArfFZ1TqtGrRKffZ3HARWP1foY3lNArbkrGejcv654_IjHGHeYnng-nV1-wBSQ-xHsY2h-VHA4jrKQgZIjFe-yehu7x1DsfElJ-YZLEpeiXJSeBOqh30SEQryi6UTI5BrKevzZFeijsc1OOQvyGsAMHPM2wbZJa6rvlmNkq25LHk8goICgqAeABSNNYo4wuxo2GIebzfoWRfmFh-PJP3Fd_dMZFNP-VmsbYZ0wpRzJ5hDC35N-dVEBDzux76BEOPmtQVfKnxWywi0qT3RdkqwSuQXPIC2FsKXHghQQ4lqVjVejGQ]
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 computemanagementclient/0.30.0rc5 Azure-SDK-For-Python
AZURECLI/TEST/0.0.1.dev0]
accept-language: [en-US]
x-ms-client-request-id: [0874e461-6974-11e6-a4e4-001dd8b7c0ad]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myvmsss/providers/Microsoft.Compute/virtualMachineScaleSets/myvmss3?api-version=2016-03-30
response:
body:
string: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zT48usKPGOa1uS90oN9APgfGug3yw08shn7vsPAKRjBbzX
V9kKjW6AdrJao9UgKBL2ad40Vf2mIH1NLRWe/fz9QZ59+d2saL9BeCTIt4fG/h217IM7JgNKpvy7
ddH24M2vG5htfvn9QcKF+IYgAtSTa7LuNPjXOZlMClM/GCgP+ZZQySpYZ0IeZyPkUdPe18R+Mw+G
c9LlFwMPhuKygLYlfUpBectAX6+n0zyf5YShNquIyLYpNWGnQ79bL4tftGaNmn50vndw/in9fzuf
7u1t789297Yfnk/2tvPs/v7OQbb76b3zh4yjIMCWmuLM/5coYkbJUDb8FPYMn94aqr5XVjZe/+iK
/MW1+aLNxH7RhPyS/wfBseyQSREAAA==
headers:
cache-control: [no-cache]
content-encoding: [gzip]
content-type: [application/json; charset=utf-8]
date: ['Tue, 23 Aug 2016 20:56:15 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
vary: [Accept-Encoding]
status: {code: 200, message: OK}
version: 1

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

@ -0,0 +1,330 @@
interactions:
- request:
body: null
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDcxOTg5Njg3LCJuYmYiOjE0NzE5ODk2ODcsImV4cCI6MTQ3MTk5MzU4NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdX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nWSTTBQpJmkfu-ixiIHmSsh9KU1BnJwi1_yP3vvH8UxJEIR616KhsdzBm5ae9mFUuwklNO5j_Z3bv4-C8Xh8wed67lWuLd9ApIL20GxEt-PzHLXWgsC2oaCZg68HUUzvRT0UYmphWT7i6InJbN4VdsPGQ_YpokjUXMlquDKkrFtiS64JWLu9qB98yZk5hMwge2xHM5HsiONVUdVSFwSQsrAeMac9q4_cq0eXA]
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 computemanagementclient/0.30.0rc5 Azure-SDK-For-Python
AZURECLI/TEST/0.0.1.dev0]
accept-language: [en-US]
x-ms-client-request-id: [6eab88b0-697e-11e6-ad15-001dd8b7c0ad]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myvmsss/providers/Microsoft.Compute/virtualMachineScaleSets/myvmss3?api-version=2016-03-30
response:
body:
string: !!binary |
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk
6UfN2/VHj1L+nf5aZouc/vzodZstZ1k9+/2f7v7+l3sfjfTrtshr/2v7xTRbZdOivaYv9/DRL+Ev
PlrV1Sqv6a2GvjB9rFcXdTbLX1ZlMcUL+jl9s6hm3PsX2XKdlR/J5wKKvr0s6pY+/iKbzotl/rKu
zosSzd37VRP5lD6fVovVus3rFzS6l3V+XryjBh8tri8XTXNvdWlGgeejbLYoll81eW1IMVnX7aTI
y6BVWSzX706q5Xlxsa6ztqiW1NTrkprMiiablPnLrGmuqnp2vG7n+bItpqZ1W69zDyS90TRz+jyA
Qp+u1hMi1O+VX4OG3wu/TLut8Xy0yloA+ujuvFrkdw3+d8cE/25GaFR18YN89vu/BcgAA3k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BU9jcvbeznx88fPjp9oMH55Pt/U/zg+1JNsu2799/8OnO7v2H+5N8/26d
N9W6nuaf19V61dyVPpu71M9lMSOq3f2imNZVU5234xdCgbtqj/VP887uT744fXOXMCCM7Gev+c+P
fsnoo7LKZk+yMiM+qJ9k07f5cnY8m1HvzcuqKmk0NO4f5iB8fMwb98rJ3UkfN/PtJF/Rnx/9ku//
EvmfY5f8XZsvwWAew5gv/a9pmKF+9FrhCaa3+yW+9gXGjenL129OTl0fFi/zfNRer4DTR2xInhbZ
xbJqyCMZaPlt8vHKvP5JIgzBw3t743uRtuRSVF+JT/dFsay8F86zsgl9HDxkfdqWNAePjdwkg8YX
JPdkeAJBAE8v8rYuptT6F39Ec8ETfPZD4JATcRoNm6vb+Zo0U/7asTYRRBE8vrio8wvFmri4mc7z
2brMZ2/qbNmQ8nqZ10UFxF++2f02ycINTb4Ah5Gkk5qp6gUY9KQizUdIghL9jzt0Iwxa+J8EjKf7
i3xRkb4ZkTPMzV+v8mlxzv78R9TtlHzT48usKPGOa1uS90oN9APgfGug3yw08shn7vsPAKRjBbzX
V9kKjW6AdrJao9UgKBL2ad40Vf2mIH1NLRWe/fz9QZ59+d2saL9BeCTIt4fG/h217IM7JgNKpvy7
ddH24M2vG5htfvn9QcKF+IYgAtSTa7LuNPjXOZlMClM/GCgP+ZZQySpYZ0IeZyPkUdPe18R+Mw+G
c9LlFwMPhuKygLYlfUpBectAX6+n0zyf5YShNquIyLYpNWGnQ79bL4tftGaNmn50vndw/in9fzuf
7u1t789297Yfnk/2tvPs/v7OQbb76b3zh4yjIMCWmuLM/5coYkbJUDb8FPYMn94aqr5XVjZe/+iK
/MW1+aLNxH7RhPyS/wfBseyQSREAAA==
headers:
cache-control: [no-cache]
content-encoding: [gzip]
content-type: [application/json; charset=utf-8]
date: ['Tue, 23 Aug 2016 22:10:43 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
vary: [Accept-Encoding]
status: {code: 200, message: OK}
- request:
body: '{"sku": {"tier": "Standard", "capacity": 2, "name": "Standard_D1_v2"},
"location": "westus", "properties": {"virtualMachineProfile": {"storageProfile":
{"imageReference": {"sku": "14.04.4-LTS", "publisher": "Canonical", "version":
"latest", "offer": "UbuntuServer"}, "osDisk": {"caching": "ReadOnly", "vhdContainers":
["https://634y7etxnz5kmmyvmss3pvsa.blob.core.windows.net/vhds", "https://grq2wdxuc4h62myvmss3pvsa.blob.core.windows.net/vhds",
"https://makfkgva7lwhkmyvmss3pvsa.blob.core.windows.net/vhds", "https://ighij7dsvffsymyvmss3pvsa.blob.core.windows.net/vhds",
"https://rk25fx4glgpjomyvmss3pvsa.blob.core.windows.net/vhds"], "name": "osdiskimage",
"createOption": "fromImage"}}, "extensionProfile": {"extensions": [{"properties":
{"publisher": "Microsoft.OSTCExtensions", "typeHandlerVersion": "2.3", "settings":
{"diagnosticMonitorConfiguration": {"metrics": {"resourceId": "/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/myvmsss/providers/Microsoft.Compute/virtualMachineScaleSets/myvmss3",
"metricAggregation": [{"scheduledTransferPeriod": "PT1H"}, {"scheduledTransferPeriod":
"PT1M"}]}, "performanceCounters": {"performanceCounterConfiguration": [{"table":
"LinuxMemory", "counterSpecifier": "PercentAvailableMemory", "class": "Memory"},
{"table": "LinuxMemory", "counterSpecifier": "AvailableMemory", "class": "Memory"},
{"table": "LinuxMemory", "counterSpecifier": "UsedMemory", "class": "Memory"},
{"table": "LinuxMemory", "counterSpecifier": "PercentUsedSwap", "class": "Memory"},
{"table": "LinuxCpu", "counterSpecifier": "PercentProcessorTime", "class": "Processor"},
{"table": "LinuxCpu", "counterSpecifier": "PercentIOWaitTime", "class": "Processor"},
{"table": "LinuxCpu", "counterSpecifier": "PercentIdleTime", "class": "Processor"},
{"table": "LinuxDisk", "counterSpecifier": "AverageWriteTime", "class": "PhysicalDisk"},
{"table": "LinuxDisk", "counterSpecifier": "AverageReadTime", "class": "PhysicalDisk"},
{"table": "LinuxDisk", "counterSpecifier": "ReadBytesPerSecond", "class": "PhysicalDisk"},
{"table": "LinuxDisk", "counterSpecifier": "WriteBytesPerSecond", "class": "PhysicalDisk"}]}}},
"type": "LinuxDiagnostic", "autoUpgradeMinorVersion": false}, "name": "LinuxDiagnostic"},
{"properties": {"protectedSettings": {"username": "myadmin", "ssh_key": "ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQC8InHIPLAu6lMc0d+5voyXqigZfT5r6fAM1+FQAi+mkPDdk2hNq1BG0Bwfc88Gm7BImw8TS+x2bnZmhCbVnHd6BPCDY7a+cHCSqrQMW89Cv6Vl4ueGOeAWHpJTV9CTLVz4IY1x4HBdkLI2lKIHri9+z7NIdvFk7iOkMVGyez5H1xDbF2szURxgc4I2/o5wycSwX+G8DrtsBvWLmFv9YAPx+VkEHQDjR0WWezOjuo1rDn6MQfiKfqAjPuInwNOg5AIxXAOResrin2PUlArNtdDH1zlvI4RZi36+tJO7mtm3dJiKs4Sj7G6b1CjIU6aaj27MmKy3arIFChYav9yYM3IT"},
"publisher": "Microsoft.OSTCExtensions", "typeHandlerVersion": "1.4", "type":
"VMAccessForLinux", "autoUpgradeMinorVersion": false}, "name": "VMAccessForLinux"}]},
"osProfile": {"secrets": [], "adminUsername": "burtbiel", "computerNamePrefix":
"myvmss3pv", "linuxConfiguration": {"ssh": {"publicKeys": [{"path": "/home/burtbiel/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHKB9ZsIsUgQtAQu1KhYKcPd1siIQUmWFw7RNtvZe4GrRSuoVrakPpxNzDwj2Blx570hgLoosj84WQp/shxV91xaojYa3WNQsl5l+AJepEEzyzyKF3h9tdLSSYoGKKLDv92P2LyPZgmxL7M5YUnBOc8QcXJ2/uBC/egSYSETvF/8c2WHSJuufFZlKGMqLZJLgENzxg8j3F3w5gbGYASgOE3K6cFQZ+YoZ+jbdBdZUHbuQOSK2e20ZDkE6QV4eViZg8FkpRqugaRIeXatF+meFV4IZann8vKKE6evTIoipu8YUm1IuYZ81PHdk77uR5k21TsXotp2OJHy+ugCcdYd9H
ddcloud@burtbielLinux"}]}, "disablePasswordAuthentication": true}}, "networkProfile":
{"networkInterfaceConfigurations": [{"properties": {"primary": true, "ipConfigurations":
[{"properties": {"subnet": {"id": "/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/myvmsss/providers/Microsoft.Network/virtualNetworks/myvmss1VNET/subnets/myvmss1Subnet"},
"loadBalancerBackendAddressPools": [{"id": "/subscriptions/304e8996-77fb-46e8-bada-557601594be4/resourceGroups/myvmsss/providers/Microsoft.Network/loadBalancers/myvmss3lb/backendAddressPools/myvmss3bepool"}]},
"name": "myvmss3pvipconfig"}]}, "name": "myvmss3pvnic"}]}}, "upgradePolicy":
{"mode": "Manual"}, "provisioningState": "Succeeded"}, "tags": {}}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDcxOTg5Njg3LCJuYmYiOjE0NzE5ODk2ODcsImV4cCI6MTQ3MTk5MzU4NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYW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IL20GxEt-PzHLXWgsC2oaCZg68HUUzvRT0UYmphWT7i6InJbN4VdsPGQ_YpokjUXMlquDKkrFtiS64JWLu9qB98yZk5hMwge2xHM5HsiONVUdVSFwSQsrAeMac9q4_cq0eXA]
Connection: [keep-alive]
Content-Length: ['4152']
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 computemanagementclient/0.30.0rc5 Azure-SDK-For-Python
AZURECLI/TEST/0.0.1.dev0]
accept-language: [en-US]
x-ms-client-request-id: [6f832400-697e-11e6-9196-001dd8b7c0ad]
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myvmsss/providers/Microsoft.Compute/virtualMachineScaleSets/myvmss3?api-version=2016-03-30
response:
body:
string: !!binary |
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk
6UfN2/VHj1L+nf5aZouc/vzodZstZ1k9+/2f7v7+l3sfjfTrtshr/2v7xTRbZdOivaYv9/DRL+Ev
PlrV1Sqv6a2GvjB9rFcXdTbLX1ZlMcUL+jl9s6hm3PsX2XKdlR/J5wKKvr0s6pY+/iKbzotl/rKu
zosSzd37VRP5lD6fVovVus3rFzS6l3V+XryjBh8tri8XTXNvdWlGgeejbLYoll81eW1IMVnX7aTI
y6BVWSzX706q5Xlxsa6ztqiW1NTrkprMiiablPnLrGmuqnp2vG7n+bItpqZ1W69zDyS90TRz+jyA
Qp+u1hMi1O+VX4OG3wu/TLut8Xy0yloA+ujuvFrkdw3+d8cE/25GaFR18YN89vu/BcgAA3k+oi+e
Zm0GEPTKdt1k6TE9T+69+EF2sns93Tulv46fHv/E8RP6+eT4J55++/d68vCnmrPmq4ufaI9/Yr37
e81/n99r+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VU5234xdCgbtqj/VP887uT744fXOXMCCM7Gev+c+P
fsnoo7LKZk+yMiM+qJ9k07f5cnY8m1HvzcuqKmk0NO4f5iB8fMwb98rJ3UkfN/PtJF/Rnx/9ku//
EvmfY5f8XZsvwWAew5gv/a9pmKF+9FrhCaa3+yW+9gXGjenL129OTl0fFi/zfNRer4DTR2xInhbZ
xbJqyCMZaPlt8vHKvP5JIgzBw3t743uRtuRSVF+JT/dFsay8F86zsgl9HDxkfdqWNAePjdwkg8YX
JPdkeAJBAE8v8rYuptT6F39Ec8ETfPZD4JATcRoNm6vb+Zo0U/7asTYRRBE8vrio8wvFmri4mc7z
2brMZ2/qbNmQ8nqZ10UFxF++2f02ycINTb4Ah5Gkk5qp6gUY9KQizUdIghL9jzt0Iwxa+J8EjKf7
i3xRkb4ZkTPMzV+v8mlxzv78R9TtlHzT48usKPGOa1uS90oN9APgfGug3yw08shn7vsPAKRjBbzX
V9kKjW6AdrJao9UgKBL2ad40Vf2mIH1NLRWe/fz9QZ59+d2saL9BeCTIt4fG/h217IM7JgNKpvy7
ddH24M2vG5htfvn9QcKF+IYgAtSTa7LuNPjXOZlMClM/GCgP+ZZQySpYZ0IeZyPkUdPe18R+s/Cl
jhX42TYRP/nF8RT88ayqGceBpn0bsTvej7S9wUaE7cOB09uGWj2k/HYeyV1MI78YgCDaZYGOyfxQ
DqNlqF+tZqQzyZM1rSpiSduSWrCLpt+tl8UvWrP9ST863zs4/5T+v51P9/a292e7e9sPzyd723l2
f3/nINv99N75Q0ZR+me/hqLy/5eYLUbJUDb8FDOLT28NVd8rK5vd+OiKvOu1+aLNxNrTfPyS/wcJ
SIUCdxIAAA==
headers:
azure-asyncoperation: ['https://management.azure.com/subscriptions/304e8996-77fb-46e8-bada-557601594be4/providers/Microsoft.Compute/locations/westus/operations/8e8f417d-61f6-4e31-b221-a96eca0354e2?api-version=2016-03-30']
cache-control: [no-cache]
content-encoding: [gzip]
content-type: [application/json; charset=utf-8]
date: ['Tue, 23 Aug 2016 22:10:45 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
vary: [Accept-Encoding]
x-ms-ratelimit-remaining-subscription-writes: ['1199']
status: {code: 200, message: OK}
- request:
body: null
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyIsImtpZCI6IlliUkFRUlljRV9tb3RXVkpLSHJ3TEJiZF85cyJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDcxOTg5Njg3LCJuYmYiOjE0NzE5ODk2ODcsImV4cCI6MTQ3MTk5MzU4NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZi9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYW1yIjpbIndpYSIsIm1mYSJdLCJhcHBpZCI6IjA0YjA3Nzk1LThkZGItNDYxYS1iYmVlLTAyZjllMWJmN2I0NiIsImFwcGlkYWNyIjoiMCIsImVfZXhwIjoxMDgwMCwiZmFtaWx5X25hbWUiOiJCaWVsaWNraSIsImdpdmVuX25hbWUiOiJCdXJ0IiwiaW5fY29ycCI6InRydWUiLCJpcGFkZHIiOiIxNjcuMjIwLjEuNTAiLCJuYW1lIjoiQnVydCBCaWVsaWNraSIsIm9pZCI6IjAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZiIsIm9ucHJlbV9zaWQiOiJTLTEtNS0yMS0yMTI3NTIxMTg0LTE2MDQwMTI5MjAtMTg4NzkyNzUyNy00ODEyODA2IiwicHVpZCI6IjEwMDNCRkZEODAxQzA4QkMiLCJzY3AiOiJ1c2VyX2ltcGVyc29uYXRpb24iLCJzdWIiOiJDeUIyOFc5T21GWkZ4bDRoZ0lFWW10MEd5amNDYkVDbVB6NWR4VUVSMWxjIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidW5pcXVlX25hbWUiOiJidXJ0YmllbEBtaWNyb3NvZnQuY29tIiwidXBuIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInZlciI6IjEuMCJ9.c-s6SCJURdpZFu2-JSskMwQ0AkVEM_6D947mXeKDtUFPsfmG7u7LPxlbmi8374OWnpQYXqXC38MbsPzgBOB_RZ8XrfKzZ0_KoS9B4R1zBmLigqFL4nWSTTBQpJmkfu-ixiIHmSsh9KU1BnJwi1_yP3vvH8UxJEIR616KhsdzBm5ae9mFUuwklNO5j_Z3bv4-C8Xh8wed67lWuLd9ApIL20GxEt-PzHLXWgsC2oaCZg68HUUzvRT0UYmphWT7i6InJbN4VdsPGQ_YpokjUXMlquDKkrFtiS64JWLu9qB98yZk5hMwge2xHM5HsiONVUdVSFwSQsrAeMac9q4_cq0eXA]
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 computemanagementclient/0.30.0rc5 Azure-SDK-For-Python
AZURECLI/TEST/0.0.1.dev0]
accept-language: [en-US]
x-ms-client-request-id: [6f832400-697e-11e6-9196-001dd8b7c0ad]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/8e8f417d-61f6-4e31-b221-a96eca0354e2?api-version=2016-03-30
response:
body:
string: !!binary |
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk
6UdNm9Xtm2KRf/Qo/WhvZ/fT7Z2D7b17b/b2Hu3uPNrfHz88ePBwZ+/gk52dRzs7H434pXw5G37l
/vhg/8Heg093g1eon3bd4I3X6+k0z2f5TL9ZZgLpID843999MNv+dPf80+39/N7u9mRvb3c7e/hp
Ps127t3fz/c++o2TX/L/ACqQwCG4AAAA
headers:
cache-control: [no-cache]
content-encoding: [gzip]
content-type: [application/json; charset=utf-8]
date: ['Tue, 23 Aug 2016 22:11:18 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
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.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDcxOTg5Njg3LCJuYmYiOjE0NzE5ODk2ODcsImV4cCI6MTQ3MTk5MzU4NywiX2NsYWltX25hbWVzIjp7Imdyb3Vw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8XrfKzZ0_KoS9B4R1zBmLigqFL4nWSTTBQpJmkfu-ixiIHmSsh9KU1BnJwi1_yP3vvH8UxJEIR616KhsdzBm5ae9mFUuwklNO5j_Z3bv4-C8Xh8wed67lWuLd9ApIL20GxEt-PzHLXWgsC2oaCZg68HUUzvRT0UYmphWT7i6InJbN4VdsPGQ_YpokjUXMlquDKkrFtiS64JWLu9qB98yZk5hMwge2xHM5HsiONVUdVSFwSQsrAeMac9q4_cq0eXA]
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 computemanagementclient/0.30.0rc5 Azure-SDK-For-Python
AZURECLI/TEST/0.0.1.dev0]
accept-language: [en-US]
x-ms-client-request-id: [6f832400-697e-11e6-9196-001dd8b7c0ad]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myvmsss/providers/Microsoft.Compute/virtualMachineScaleSets/myvmss3?api-version=2016-03-30
response:
body:
string: !!binary |
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk
6UfN2/VHj1L+nf5aZouc/vzodZstZ1k9+/2f7v7+l3sfjfTrtshr/2v7xTRbZdOivaYv9/DRL+Ev
PlrV1Sqv6a2GvjB9rFcXdTbLX1ZlMcUL+jl9s6hm3PsX2XKdlR/J5wKKvr0s6pY+/iKbzotl/rKu
zosSzd37VRP5lD6fVovVus3rFzS6l3V+XryjBh8tri8XTXNvdWlGgeejbLYoll81eW1IMVnX7aTI
y6BVWSzX706q5Xlxsa6ztqiW1NTrkprMiiablPnLrGmuqnp2vG7n+bItpqZ1W69zDyS90TRz+jyA
Qp+u1hMi1O+VX4OG3wu/TLut8Xy0yloA+ujuvFrkdw3+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b9YA1
6wmhhd+KGb1wl/5upnXBU9jcvbeznx88fPjp9oMH55Pt/U/zg+1JNsu2799/8OnO7v2H+5N8/26d
N9W6nuaf19V61dyVPpu71M9lMSOq3f2imNZVU5234xdCgbtqj/VP887uT744fXOXMCCM7Gev+c+P
fsnoo7LKZk+yMiM+qJ9k07f5cnY8m1HvzcuqKmk0NO4f5iB8fMwb98rJ3UkfN/PtJF/Rnx/9ku//
EvmfY5f8XZsvwWAew5gv/a9pmKF+9FrhCaa3+yW+9gXGjenL129OTl0fFi/zfNRer4DTR2xInhbZ
xbJqyCMZaPlt8vHKvP5JIgzBw3t743uRtuRSVF+JT/dFsay8F86zsgl9HDxkfdqWNAePjdwkg8YX
JPdkeAJBAE8v8rYuptT6F39Ec8ETfPZD4JATcRoNm6vb+Zo0U/7asTYRRBE8vrio8wvFmri4mc7z
2brMZ2/qbNmQ8nqZ10UFxF++2f02ycINTb4Ah5Gkk5qp6gUY9KQizUdIghL9jzt0Iwxa+J8EjKf7
i3xRkb4ZkTPMzV+v8mlxzv78R9TtlHzT48usKPGOa1uS90oN9APgfGug3yw08shn7vsPAKRjBbzX
V9kKjW6AdrJao9UgKBL2ad40Vf2mIH1NLRWe/fz9QZ59+d2saL9BeCTIt4fG/h217IM7JgNKpvy7
ddH24M2vG5htfvn9QcKF+IYgAtSTa7LuNPjXOZlMClM/GCgP+ZZQySpYZ0IeZyPkUdPe18R+s/Cl
jhX42TYRP/nF8RT88ayqGceBpn0bsTvej7S9wUaE7cOB09uGWj2k/HYeyV1MI78YgCDaZYGOyfxQ
DqNlqK/XBDSf5TSh2qwinrRNqQn7aPrdeln8ojUboPSj872D80/p/9v5dG9ve3+2u7f98Hyyt51n
9/d3DrLdT++dP2QcBQF2bCgs/3+J3WKUDGnDTzG1+PTWUPW9srLpjY+uyL1emy/aTMw9Tcgv+X8A
32yRKHgSAAA=
headers:
cache-control: [no-cache]
content-encoding: [gzip]
content-type: [application/json; charset=utf-8]
date: ['Tue, 23 Aug 2016 22:11:19 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
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.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNDcxOTg5Njg3LCJuYmYiOjE0NzE5ODk2ODcsImV4cCI6MTQ3MTk5MzU4NywiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZi9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYW1yIjpbIndpYSIsIm1mYSJdLCJhcHBpZCI6IjA0YjA3Nzk1LThkZGItNDYxYS1iYmVlLTAyZjllMWJmN2I0NiIsImFwcGlkYWNyIjoiMCIsImVfZXhwIjoxMDgwMCwiZmFtaWx5X25hbWUiOiJCaWVsaWNraSIsImdpdmVuX25hbWUiOiJCdXJ0IiwiaW5fY29ycCI6InRydWUiLCJpcGFkZHIiOiIxNjcuMjIwLjEuNTAiLCJuYW1lIjoiQnVydCBCaWVsaWNraSIsIm9pZCI6IjAzZjFmMWJiLWM4MjYtNGM3Yi1iMzY4LTk0MGMyYWEyNDJkZiIsIm9ucHJlbV9zaWQiOiJTLTEtNS0yMS0yMTI3NTIxMTg0LTE2MDQwMTI5MjAtMTg4NzkyNzUyNy00ODEyODA2IiwicHVpZCI6IjEwMDNCRkZEODAxQzA4QkMiLCJzY3AiOiJ1c2VyX2ltcGVyc29uYXRpb24iLCJzdWIiOiJDeUIyOFc5T21GWkZ4bDRoZ0lFWW10MEd5amNDYkVDbVB6NWR4VUVSMWxjIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidW5pcXVlX25hbWUiOiJidXJ0YmllbEBtaWNyb3NvZnQuY29tIiwidXBuIjoiYnVydGJpZWxAbWljcm9zb2Z0LmNvbSIsInZlciI6IjEuMCJ9.c-s6SCJURdpZFu2-JSskMwQ0AkVEM_6D947mXeKDtUFPsfmG7u7LPxlbmi8374OWnpQYXqXC38MbsPzgBOB_RZ8XrfKzZ0_KoS9B4R1zBmLigqFL4nWSTTBQpJmkfu-ixiIHmSsh9KU1BnJwi1_yP3vvH8UxJEIR616KhsdzBm5ae9mFUuwklNO5j_Z3bv4-C8Xh8wed67lWuLd9ApIL20GxEt-PzHLXWgsC2oaCZg68HUUzvRT0UYmphWT7i6InJbN4VdsPGQ_YpokjUXMlquDKkrFtiS64JWLu9qB98yZk5hMwge2xHM5HsiONVUdVSFwSQsrAeMac9q4_cq0eXA]
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 computemanagementclient/0.30.0rc5 Azure-SDK-For-Python
AZURECLI/TEST/0.0.1.dev0]
accept-language: [en-US]
x-ms-client-request-id: [8534bac0-697e-11e6-ac31-001dd8b7c0ad]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myvmsss/providers/Microsoft.Compute/virtualMachineScaleSets/myvmss3?api-version=2016-03-30
response:
body:
string: !!binary |
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk
6UfN2/VHj1L+nf5aZouc/vzodZstZ1k9+/2f7v7+l3sfjfTrtshr/2v7xTRbZdOivaYv9/DRL+Ev
PlrV1Sqv6a2GvjB9rFcXdTbLX1ZlMcUL+jl9s6hm3PsX2XKdlR/J5wKKvr0s6pY+/iKbzotl/rKu
zosSzd37VRP5lD6fVovVus3rFzS6l3V+XryjBh8tri8XTXNvdWlGgeejbLYoll81eW1IMVnX7aTI
y6BVWSzX706q5Xlxsa6ztqiW1NTrkprMiiablPnLrGmuqnp2vG7n+bItpqZ1W69zDyS90TRz+jyA
Qp+u1hMi1O+VX4OG3wu/TLut8Xy0yloA+ujuvFrkdw3+d8cE/25GaFR18YN89vu/BcgAA3k+oi+e
Zm0GEPTKdt1k6TE9T+69+EF2sns93Tulv46fHv/E8RP6+eT4J55++/d68vCnmrPmq4ufaI9/Yr37
e81/n99r+nK22xRnP/HV4rvPrh68etFe/lS+/3n96vW6+sk6e/ty9e7FD55e/fTek/Ld/Qc784vn
VdX89MH+d39idbeZv/vJh7vvsuqnf5/s3ndf/ERT3i8/Of5Ovjo9/cH1D65/r2f35g/b2fPXr3+f
6vPf6/d6/vTy4d7LvefXL3/qYvHu+YMv7v8+Xy2ffDk9+Inp7/2dvbvrJyd384vXv8/r0zeXz+4e
TPe+++3X31mvz5/9VPl7ff7FL3r+U995fnH64gfvLg5++t6ze1f3Lyaf/z7Hry++PL33e306ffYT
P/XJ71P91Cc/PZk9mf3UV9+erH/iy9e/116+t/NTT9+efvoTP7mf/2TxUxcHz96uXv2i9UX26iz/
vbP22SeL/NlP7p/9VLZcHlz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5qp6gUY9KQizUdIghL9jzt0Iwxa+J8EjKf7
i3xRkb4ZkTPMzV+v8mlxzv78R9TtlHzT48usKPGOa1uS90oN9APgfGug3yw08shn7vsPAKRjBbzX
V9kKjW6AdrJao9UgKBL2ad40Vf2mIH1NLRWe/fz9QZ59+d2saL9BeCTIt4fG/h217IM7JgNKpvy7
ddH24M2vG5htfvn9QcKF+IYgAtSTa7LuNPjXOZlMClM/GCgP+ZZQySpYZ0IeZyPkUdPe18R+s/Cl
jhX42TYRP/nF8RT88ayqGceBpn0bsTvej7S9wUaE7cOB09uGWj2k/HYeyV1MI78YgCDaZYGOyfxQ
DqNlqK/XBDSf5TSh2qwinrRNqQn7aPrdeln8ojUboPSj872D80/p/9v5dG9ve3+2u7f98Hyyt51n
9/d3DrLdT++dP2QcBQF2bCgs/3+J3WKUDGnDTzG1+PTWUPW9srLpjY+uyL1emy/aTMw9Tcgv+X8A
32yRKHgSAAA=
headers:
cache-control: [no-cache]
content-encoding: [gzip]
content-type: [application/json; charset=utf-8]
date: ['Tue, 23 Aug 2016 22:11:20 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
vary: [Accept-Encoding]
status: {code: 200, message: OK}
version: 1

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

@ -914,19 +914,8 @@ class VMExtensionInstallTest(VCRTestBase):
extension_name = 'VMAccessForLinux'
vm_name = 'yugangw8-1'
resource_group = 'yugangw8'
public_key = ('ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8InHIPLAu6lMc0d+5voyXqigZfT5r6fAM1+FQAi+mkPDdk2hNq1BG0Bwfc88G'
'm7BImw8TS+x2bnZmhCbVnHd6BPCDY7a+cHCSqrQMW89Cv6Vl4ueGOeAWHpJTV9CTLVz4IY1x4HBdkLI2lKIHri9+z7NIdvFk7iOk'
'MVGyez5H1xDbF2szURxgc4I2/o5wycSwX+G8DrtsBvWLmFv9YAPx+VkEHQDjR0WWezOjuo1rDn6MQfiKfqAjPuInwNOg5AIxXAOR'
'esrin2PUlArNtdDH1zlvI4RZi36+tJO7mtm3dJiKs4Sj7G6b1CjIU6aaj27MmKy3arIFChYav9yYM3IT')
user_name = 'yugangw'
config_file_name = 'private_config.json'
config = {
'username': user_name,
'ssh_key': public_key
}
config_file = os.path.join(TEST_DIR, config_file_name)
with open(config_file, 'w') as outfile:
json.dump(config, outfile)
config_file = _write_config_file(user_name)
try:
self.cmd('vm extension set -n {} --publisher {} --version 1.4 --vm-name {} --resource-group {} --protected-settings "{}"'
@ -939,6 +928,47 @@ class VMExtensionInstallTest(VCRTestBase):
finally:
os.remove(config_file)
class VMSSExtensionInstallTest(VCRTestBase):
def __init__(self, test_method):
super(VMSSExtensionInstallTest, self).__init__(__file__, test_method)
def test_vmss_extension_install(self):
self.execute()
def body(self):
publisher = 'Microsoft.OSTCExtensions'
extension_name = 'VMAccessForLinux'
vmss_name = 'myvmss3'
resource_group = 'myvmsss'
user_name = 'myadmin'
config_file = _write_config_file(user_name)
try:
self.cmd('vmss extension set -n {} --publisher {} --version 1.4 --vmss-name {} --resource-group {} --protected-settings "{}"'
.format(extension_name, publisher, vmss_name, resource_group, config_file))
self.cmd('vmss extension show --resource-group {} --vmss-name {} --name {}'.format(resource_group, vmss_name, extension_name), checks=[
JMESPathCheck('type(@)', 'object'),
JMESPathCheck('name', extension_name)
])
finally:
os.remove(config_file)
def _write_config_file(user_name):
public_key = ('ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8InHIPLAu6lMc0d+5voyXqigZfT5r6fAM1+FQAi+mkPDdk2hNq1BG0Bwfc88G'
'm7BImw8TS+x2bnZmhCbVnHd6BPCDY7a+cHCSqrQMW89Cv6Vl4ueGOeAWHpJTV9CTLVz4IY1x4HBdkLI2lKIHri9+z7NIdvFk7iOk'
'MVGyez5H1xDbF2szURxgc4I2/o5wycSwX+G8DrtsBvWLmFv9YAPx+VkEHQDjR0WWezOjuo1rDn6MQfiKfqAjPuInwNOg5AIxXAOR'
'esrin2PUlArNtdDH1zlvI4RZi36+tJO7mtm3dJiKs4Sj7G6b1CjIU6aaj27MmKy3arIFChYav9yYM3IT')
config_file_name = 'private_config.json'
config = {
'username': user_name,
'ssh_key': public_key
}
config_file = os.path.join(TEST_DIR, config_file_name)
with open(config_file, 'w') as outfile:
json.dump(config, outfile)
return config_file
class VMDiagnosticsInstallTest(VCRTestBase):
def __init__(self, test_method):
@ -959,6 +989,26 @@ class VMDiagnosticsInstallTest(VCRTestBase):
JMESPathCheck('resourceGroup', resource_group)
])
class VMSSDiagnosticsInstallTest(VCRTestBase):
def __init__(self, test_method):
super(VMSSDiagnosticsInstallTest, self).__init__(__file__, test_method)
def test_vmss_diagnostics_install(self):
self.execute()
def body(self):
vmss_name = 'myvmss3'
resource_group = 'myvmsss'
storage_account = 'stog001100'
extension_name = 'LinuxDiagnostic'
self.cmd('vmss diagnostics set --vmss-name {} --resource-group {} --storage-account {}'.format(vmss_name, resource_group, storage_account))
self.cmd('vmss extension show --resource-group {} --vmss-name {} --name {}'.format(resource_group, vmss_name, extension_name), checks=[
JMESPathCheck('type(@)', 'object'),
JMESPathCheck('name', extension_name)
])
class VMCreateExistingOptions(ResourceGroupVCRTestBase):
def __init__(self, test_method):
super(VMCreateExistingOptions, self).__init__(__file__, test_method)