diff --git a/src/azure-cli/azure/cli/command_modules/vm/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/__init__.py
index 96a83afae7d..996ce4fb9e8 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/__init__.py
+++ b/src/azure-cli/azure/cli/command_modules/vm/__init__.py
@@ -34,8 +34,8 @@ def load_command_table(self, args):
load_command_table(self, args)
try:
# When generated commands are required uncomment the following two lines.
- # from .generated.commands import load_command_table as load_command_table_generated
- # load_command_table_generated(self, args)
+ from .generated.commands import load_command_table as load_command_table_generated
+ load_command_table_generated(self, args)
from .manual.commands import load_command_table as load_command_table_manual
load_command_table_manual(self, args)
except ImportError:
diff --git a/src/azure-cli/azure/cli/command_modules/vm/_actions.py b/src/azure-cli/azure/cli/command_modules/vm/_actions.py
index 229d0821c87..558e96ca9b3 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/_actions.py
+++ b/src/azure-cli/azure/cli/command_modules/vm/_actions.py
@@ -20,6 +20,12 @@
from ._client_factory import _compute_client_factory
+from .generated.action import * # noqa: F403, pylint: disable=unused-wildcard-import,wildcard-import
+try:
+ from .manual.action import * # noqa: F403, pylint: disable=unused-wildcard-import,wildcard-import
+except ImportError:
+ pass
+
logger = get_logger(__name__)
diff --git a/src/azure-cli/azure/cli/command_modules/vm/_help.py b/src/azure-cli/azure/cli/command_modules/vm/_help.py
index cb0e2a5fb79..b50c0f71440 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/_help.py
+++ b/src/azure-cli/azure/cli/command_modules/vm/_help.py
@@ -11,6 +11,7 @@
# --------------------------------------------------------------------------
from knack.help_files import helps # pylint: disable=unused-import
+from .generated._help import helps
try:
from .manual._help import helps # pylint: disable=reimported
except ImportError:
diff --git a/src/azure-cli/azure/cli/command_modules/vm/custom.py b/src/azure-cli/azure/cli/command_modules/vm/custom.py
index c47ff10cce2..181cd1a51d4 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/custom.py
+++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py
@@ -13,11 +13,6 @@
# pylint: disable=no-self-use,too-many-lines
from __future__ import print_function
-# from .generated.custom import * # noqa: F403
-try:
- from .manual.custom import * # noqa: F403, pylint: disable=unused-import,unused-wildcard-import,wildcard-import
-except ImportError:
- pass
import json
import os
@@ -51,6 +46,12 @@
from ._client_factory import (_compute_client_factory, cf_public_ip_addresses, cf_vm_image_term,
_dev_test_labs_client_factory)
+from .generated.custom import * # noqa: F403, pylint: disable=unused-wildcard-import,wildcard-import
+try:
+ from .manual.custom import * # noqa: F403, pylint: disable=unused-wildcard-import,wildcard-import
+except ImportError:
+ pass
+
logger = get_logger(__name__)
diff --git a/src/azure-cli/azure/cli/command_modules/vm/gen.zip b/src/azure-cli/azure/cli/command_modules/vm/gen.zip
index d0d62726d30..af56ffe6df5 100644
Binary files a/src/azure-cli/azure/cli/command_modules/vm/gen.zip and b/src/azure-cli/azure/cli/command_modules/vm/gen.zip differ
diff --git a/src/azure-cli/azure/cli/command_modules/vm/generated/_help.py b/src/azure-cli/azure/cli/command_modules/vm/generated/_help.py
index d23f132ce38..5eaafddde60 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/generated/_help.py
+++ b/src/azure-cli/azure/cli/command_modules/vm/generated/_help.py
@@ -11,7 +11,44 @@
from knack.help_files import helps
-helps['vm sshkey'] = """
+
+helps['sshkey'] = """
type: group
short-summary: Manage ssh public key with vm
"""
+
+helps['sshkey list'] = """
+ type: command
+ short-summary: "Lists all of the SSH public keys in the specified resource group. Use the nextLink property in the \
+response to get the next page of SSH public keys. And Lists all of the SSH public keys in the subscription. Use the \
+nextLink property in the response to get the next page of SSH public keys."
+"""
+
+helps['sshkey show'] = """
+ type: command
+ short-summary: "Retrieves information about an SSH public key."
+ examples:
+ - name: Get an ssh public key.
+ text: |-
+ az sshkey show --resource-group "myResourceGroup" --name "mySshPublicKeyName"
+"""
+
+helps['sshkey create'] = """
+ type: command
+ short-summary: "Creates a new SSH public key resource."
+ examples:
+ - name: Create a new SSH public key resource.
+ text: |-
+ az sshkey create --location "westus" --public-key "{ssh-rsa public key}" --resource-group \
+"myResourceGroup" --name "mySshPublicKeyName"
+"""
+
+helps['sshkey update'] = """
+ type: command
+ short-summary: "Updates a new SSH public key resource."
+"""
+
+helps['sshkey delete'] = """
+ type: command
+ short-summary: "Delete an SSH public key."
+"""
diff --git a/src/azure-cli/azure/cli/command_modules/vm/generated/_params.py b/src/azure-cli/azure/cli/command_modules/vm/generated/_params.py
index c5c71daa205..04c4842e056 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/generated/_params.py
+++ b/src/azure-cli/azure/cli/command_modules/vm/generated/_params.py
@@ -20,15 +20,15 @@
def load_arguments(self, _):
- with self.argument_context('vm ssh-public-key list') as c:
+ with self.argument_context('sshkey list') as c:
c.argument('resource_group_name', resource_group_name_type)
- with self.argument_context('vm ssh-public-key show') as c:
+ with self.argument_context('sshkey show') as c:
c.argument('resource_group_name', resource_group_name_type)
c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The '
'name of the SSH public key.', id_part='name')
- with self.argument_context('vm ssh-public-key create') as c:
+ with self.argument_context('sshkey create') as c:
c.argument('resource_group_name', resource_group_name_type)
c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The '
'name of the SSH public key.')
@@ -40,7 +40,7 @@ def load_arguments(self, _):
'will be populated when generateKeyPair is called. If the public key is provided upon resource '
'creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.')
- with self.argument_context('vm ssh-public-key update') as c:
+ with self.argument_context('sshkey update') as c:
c.argument('resource_group_name', resource_group_name_type)
c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The '
'name of the SSH public key.', id_part='name')
@@ -50,12 +50,7 @@ def load_arguments(self, _):
'will be populated when generateKeyPair is called. If the public key is provided upon resource '
'creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.')
- with self.argument_context('vm ssh-public-key delete') as c:
- c.argument('resource_group_name', resource_group_name_type)
- c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The '
- 'name of the SSH public key.', id_part='name')
-
- with self.argument_context('vm ssh-public-key generate-key-pair') as c:
+ with self.argument_context('sshkey delete') as c:
c.argument('resource_group_name', resource_group_name_type)
c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The '
'name of the SSH public key.', id_part='name')
diff --git a/src/azure-cli/azure/cli/command_modules/vm/generated/commands.py b/src/azure-cli/azure/cli/command_modules/vm/generated/commands.py
index 8fee71cb24c..3c60a72217c 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/generated/commands.py
+++ b/src/azure-cli/azure/cli/command_modules/vm/generated/commands.py
@@ -10,23 +10,20 @@
# pylint: disable=too-many-statements
# pylint: disable=too-many-locals
-# from azure.cli.core.commands import CliCommandType
+from azure.cli.core.commands import CliCommandType
-def load_command_table(_):
- pass
+def load_command_table(self, _):
- # from ..generated._client_factory import cf_ssh_public_key
- # vm_ssh_public_key = CliCommandType(
- # operations_tmpl='azure.mgmt.compute.operations._ssh_public_keys_operations#SshPublicKeysOperations.{}',
- # client_factory=cf_ssh_public_key)
- # with self.command_group('vm ssh-public-key', vm_ssh_public_key, client_factory=cf_ssh_public_key) as g:
- # g.custom_command('list', 'vm_ssh_public_key_list')
- # g.custom_show_command('show', 'vm_ssh_public_key_show')
- # g.custom_command('create', 'vm_ssh_public_key_create')
- # g.custom_command('update', 'vm_ssh_public_key_update')
- # g.custom_command('delete', 'vm_ssh_public_key_delete', confirmation=True)
- # g.custom_command('generate-key-pair', 'vm_ssh_public_key_generate_key_pair')
- #
- # with self.command_group('vm', is_experimental=True):
- # pass
+ from ..generated._client_factory import cf_ssh_public_key
+
+ vm_ssh_public_key = CliCommandType(
+ operations_tmpl='azure.mgmt.compute.operations._ssh_public_keys_operations#SshPublicKeysOperations.{}',
+ client_factory=cf_ssh_public_key,
+ )
+ with self.command_group('sshkey', vm_ssh_public_key, client_factory=cf_ssh_public_key) as g:
+ g.custom_command('list', 'sshkey_list')
+ g.custom_show_command('show', 'sshkey_show')
+ g.custom_command('create', 'sshkey_create')
+ g.custom_command('update', 'sshkey_update')
+ g.custom_command('delete', 'sshkey_delete', confirmation=True)
diff --git a/src/azure-cli/azure/cli/command_modules/vm/generated/custom.py b/src/azure-cli/azure/cli/command_modules/vm/generated/custom.py
index 36c6d5ee68a..ffb221f954e 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/generated/custom.py
+++ b/src/azure-cli/azure/cli/command_modules/vm/generated/custom.py
@@ -10,26 +10,26 @@
# pylint: disable=too-many-lines
-def vm_ssh_public_key_list(client,
- resource_group_name=None):
+def sshkey_list(client,
+ resource_group_name=None):
if resource_group_name:
return client.list_by_resource_group(resource_group_name=resource_group_name)
return client.list_by_subscription()
-def vm_ssh_public_key_show(client,
- resource_group_name,
- ssh_public_key_name):
+def sshkey_show(client,
+ resource_group_name,
+ ssh_public_key_name):
return client.get(resource_group_name=resource_group_name,
ssh_public_key_name=ssh_public_key_name)
-def vm_ssh_public_key_create(client,
- resource_group_name,
- ssh_public_key_name,
- location,
- tags=None,
- public_key=None):
+def sshkey_create(client,
+ resource_group_name,
+ ssh_public_key_name,
+ location,
+ tags=None,
+ public_key=None):
parameters = {}
parameters['location'] = location
parameters['tags'] = tags
@@ -39,11 +39,11 @@ def vm_ssh_public_key_create(client,
parameters=parameters)
-def vm_ssh_public_key_update(client,
- resource_group_name,
- ssh_public_key_name,
- tags=None,
- public_key=None):
+def sshkey_update(client,
+ resource_group_name,
+ ssh_public_key_name,
+ tags=None,
+ public_key=None):
parameters = {}
parameters['tags'] = tags
parameters['public_key'] = public_key
@@ -52,15 +52,8 @@ def vm_ssh_public_key_update(client,
parameters=parameters)
-def vm_ssh_public_key_delete(client,
- resource_group_name,
- ssh_public_key_name):
+def sshkey_delete(client,
+ resource_group_name,
+ ssh_public_key_name):
return client.delete(resource_group_name=resource_group_name,
ssh_public_key_name=ssh_public_key_name)
-
-
-def vm_ssh_public_key_generate_key_pair(client,
- resource_group_name,
- ssh_public_key_name):
- return client.generate_key_pair(resource_group_name=resource_group_name,
- ssh_public_key_name=ssh_public_key_name)
diff --git a/src/azure-cli/azure/cli/command_modules/vm/manual/_params.py b/src/azure-cli/azure/cli/command_modules/vm/manual/_params.py
index 2c23043d06e..0511c0fee00 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/manual/_params.py
+++ b/src/azure-cli/azure/cli/command_modules/vm/manual/_params.py
@@ -10,51 +10,11 @@
# pylint: disable=too-many-lines
# pylint: disable=too-many-statements
-from azure.cli.core.commands.parameters import (
- tags_type,
- resource_group_name_type,
- get_location_type
-)
-from azure.cli.core.commands.validators import get_default_location_from_resource_group
+from azure.cli.core.commands.parameters import resource_group_name_type
def load_arguments(self, _):
- with self.argument_context('sshkey list') as c:
- c.argument('resource_group_name', resource_group_name_type)
-
- with self.argument_context('sshkey show') as c:
- c.argument('resource_group_name', resource_group_name_type)
- c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The '
- 'name of the SSH public key.', id_part='name')
-
- with self.argument_context('sshkey create') as c:
- c.argument('resource_group_name', resource_group_name_type)
- c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The '
- 'name of the SSH public key.')
- c.argument('location', arg_type=get_location_type(self.cli_ctx), required=False,
- validator=get_default_location_from_resource_group)
- c.argument('tags', tags_type)
- c.argument('public_key', type=str, help='SSH public key used to authenticate to a virtual machine through ssh. '
- 'If this property is not initially provided when the resource is created, the publicKey property '
- 'will be populated when generateKeyPair is called. If the public key is provided upon resource '
- 'creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.')
-
- with self.argument_context('sshkey update') as c:
- c.argument('resource_group_name', resource_group_name_type)
- c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The '
- 'name of the SSH public key.', id_part='name')
- c.argument('tags', tags_type)
- c.argument('public_key', type=str, help='SSH public key used to authenticate to a virtual machine through ssh. '
- 'If this property is not initially provided when the resource is created, the publicKey property '
- 'will be populated when generateKeyPair is called. If the public key is provided upon resource '
- 'creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.')
-
- with self.argument_context('sshkey delete') as c:
- c.argument('resource_group_name', resource_group_name_type)
- c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The '
- 'name of the SSH public key.', id_part='name')
-
with self.argument_context('sshkey generate') as c:
c.argument('resource_group_name', resource_group_name_type)
c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The '
diff --git a/src/azure-cli/azure/cli/command_modules/vm/manual/commands.py b/src/azure-cli/azure/cli/command_modules/vm/manual/commands.py
index 7f36030dec6..b99e44f5303 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/manual/commands.py
+++ b/src/azure-cli/azure/cli/command_modules/vm/manual/commands.py
@@ -16,13 +16,10 @@
def load_command_table(self, _):
from ..generated._client_factory import cf_ssh_public_key
+
vm_ssh_public_key = CliCommandType(
operations_tmpl='azure.mgmt.compute.operations._ssh_public_keys_operations#SshPublicKeysOperations.{}',
- client_factory=cf_ssh_public_key)
+ client_factory=cf_ssh_public_key,
+ )
with self.command_group('sshkey', vm_ssh_public_key, client_factory=cf_ssh_public_key) as g:
- g.custom_command('list', 'vm_ssh_public_key_list')
- g.custom_show_command('show', 'vm_ssh_public_key_show')
- g.custom_command('create', 'vm_ssh_public_key_create')
- g.custom_command('update', 'vm_ssh_public_key_update')
- g.custom_command('delete', 'vm_ssh_public_key_delete', confirmation=True)
- # g.custom_command('generate', 'vm_ssh_public_key_generate_key_pair')
+ g.custom_command('create', 'sshkey_create')
diff --git a/src/azure-cli/azure/cli/command_modules/vm/manual/custom.py b/src/azure-cli/azure/cli/command_modules/vm/manual/custom.py
index f1d91302f3f..8f927da989d 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/manual/custom.py
+++ b/src/azure-cli/azure/cli/command_modules/vm/manual/custom.py
@@ -10,30 +10,17 @@
# pylint: disable=too-many-lines
-def vm_ssh_public_key_list(client,
- resource_group_name=None):
- if resource_group_name:
- return client.list_by_resource_group(resource_group_name=resource_group_name)
- return client.list_by_subscription()
-
-
-def vm_ssh_public_key_show(client,
- resource_group_name,
- ssh_public_key_name):
- return client.get(resource_group_name=resource_group_name,
- ssh_public_key_name=ssh_public_key_name)
-
-
-def vm_ssh_public_key_create(client,
- resource_group_name,
- ssh_public_key_name,
- location,
- tags=None,
- public_key=None):
- parameters = {}
- parameters['location'] = location
- parameters['tags'] = tags
- parameters['public_key'] = public_key
+def sshkey_create(client,
+ resource_group_name,
+ ssh_public_key_name,
+ location,
+ tags=None,
+ public_key=None):
+ parameters = {
+ 'location': location,
+ 'tags': tags,
+ 'public_key': public_key
+ }
client.create(resource_group_name=resource_group_name,
ssh_public_key_name=ssh_public_key_name,
parameters=parameters)
@@ -42,30 +29,3 @@ def vm_ssh_public_key_create(client,
ssh_public_key_name=ssh_public_key_name)
return client.get(resource_group_name=resource_group_name,
ssh_public_key_name=ssh_public_key_name)
-
-
-def vm_ssh_public_key_update(client,
- resource_group_name,
- ssh_public_key_name,
- tags=None,
- public_key=None):
- parameters = {}
- parameters['tags'] = tags
- parameters['public_key'] = public_key
- return client.update(resource_group_name=resource_group_name,
- ssh_public_key_name=ssh_public_key_name,
- parameters=parameters)
-
-
-def vm_ssh_public_key_delete(client,
- resource_group_name,
- ssh_public_key_name):
- return client.delete(resource_group_name=resource_group_name,
- ssh_public_key_name=ssh_public_key_name)
-
-
-def vm_ssh_public_key_generate_key_pair(client,
- resource_group_name,
- ssh_public_key_name):
- return client.generate_key_pair(resource_group_name=resource_group_name,
- ssh_public_key_name=ssh_public_key_name)
diff --git a/src/azure-cli/azure/cli/command_modules/vm/report.md b/src/azure-cli/azure/cli/command_modules/vm/report.md
index 92123689574..2b395313e82 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/report.md
+++ b/src/azure-cli/azure/cli/command_modules/vm/report.md
@@ -9,41 +9,40 @@
### Command groups in `az vm` extension
|CLI Command Group|Group Swagger name|Commands|
|---------|------------|--------|
-|az vm ssh-public-key|SshPublicKeys|[commands](#CommandsInSshPublicKeys)|
+|az sshkey|SshPublicKeys|[commands](#CommandsInSshPublicKeys)|
## COMMANDS
-### Commands in `az vm ssh-public-key` group
+### Commands in `az sshkey` group
|CLI Command|Operation Swagger name|Parameters|Examples|
|---------|------------|--------|-----------|
-|[az vm ssh-public-key list](#SshPublicKeysListByResourceGroup)|ListByResourceGroup|[Parameters](#ParametersSshPublicKeysListByResourceGroup)|Not Found|
-|[az vm ssh-public-key list](#SshPublicKeysListBySubscription)|ListBySubscription|[Parameters](#ParametersSshPublicKeysListBySubscription)|Not Found|
-|[az vm ssh-public-key show](#SshPublicKeysGet)|Get|[Parameters](#ParametersSshPublicKeysGet)|[Example](#ExamplesSshPublicKeysGet)|
-|[az vm ssh-public-key create](#SshPublicKeysCreate)|Create|[Parameters](#ParametersSshPublicKeysCreate)|[Example](#ExamplesSshPublicKeysCreate)|
-|[az vm ssh-public-key update](#SshPublicKeysUpdate)|Update|[Parameters](#ParametersSshPublicKeysUpdate)|Not Found|
-|[az vm ssh-public-key delete](#SshPublicKeysDelete)|Delete|[Parameters](#ParametersSshPublicKeysDelete)|Not Found|
-|[az vm ssh-public-key generate-key-pair](#SshPublicKeysGenerateKeyPair)|GenerateKeyPair|[Parameters](#ParametersSshPublicKeysGenerateKeyPair)|[Example](#ExamplesSshPublicKeysGenerateKeyPair)|
+|[az sshkey list](#SshPublicKeysListByResourceGroup)|ListByResourceGroup|[Parameters](#ParametersSshPublicKeysListByResourceGroup)|Not Found|
+|[az sshkey list](#SshPublicKeysListBySubscription)|ListBySubscription|[Parameters](#ParametersSshPublicKeysListBySubscription)|Not Found|
+|[az sshkey show](#SshPublicKeysGet)|Get|[Parameters](#ParametersSshPublicKeysGet)|[Example](#ExamplesSshPublicKeysGet)|
+|[az sshkey create](#SshPublicKeysCreate)|Create|[Parameters](#ParametersSshPublicKeysCreate)|[Example](#ExamplesSshPublicKeysCreate)|
+|[az sshkey update](#SshPublicKeysUpdate)|Update|[Parameters](#ParametersSshPublicKeysUpdate)|Not Found|
+|[az sshkey delete](#SshPublicKeysDelete)|Delete|[Parameters](#ParametersSshPublicKeysDelete)|Not Found|
## COMMAND DETAILS
-### group `az vm ssh-public-key`
-#### Command `az vm ssh-public-key list`
+### group `az sshkey`
+#### Command `az sshkey list`
##### Parameters
|Option|Type|Description|Path (SDK)|Swagger name|
|------|----|-----------|----------|------------|
|**--resource-group-name**|string|The name of the resource group.|resource_group_name|resourceGroupName|
-#### Command `az vm ssh-public-key list`
+#### Command `az sshkey list`
##### Parameters
|Option|Type|Description|Path (SDK)|Swagger name|
|------|----|-----------|----------|------------|
-#### Command `az vm ssh-public-key show`
+#### Command `az sshkey show`
##### Example
```
-az vm ssh-public-key show --resource-group "myResourceGroup" --name "mySshPublicKeyName"
+az sshkey show --resource-group "myResourceGroup" --name "mySshPublicKeyName"
```
##### Parameters
|Option|Type|Description|Path (SDK)|Swagger name|
@@ -51,12 +50,12 @@ az vm ssh-public-key show --resource-group "myResourceGroup" --name "mySshPublic
|**--resource-group-name**|string|The name of the resource group.|resource_group_name|resourceGroupName|
|**--ssh-public-key-name**|string|The name of the SSH public key.|ssh_public_key_name|sshPublicKeyName|
-#### Command `az vm ssh-public-key create`
+#### Command `az sshkey create`
##### Example
```
-az vm ssh-public-key create --location "westus" --public-key "{ssh-rsa public key}" --resource-group "myResourceGroup" \
---name "mySshPublicKeyName"
+az sshkey create --location "westus" --public-key "{ssh-rsa public key}" --resource-group "myResourceGroup" --name \
+"mySshPublicKeyName"
```
##### Parameters
|Option|Type|Description|Path (SDK)|Swagger name|
@@ -67,7 +66,7 @@ az vm ssh-public-key create --location "westus" --public-key "{ssh-rsa public ke
|**--tags**|dictionary|Resource tags|tags|tags|
|**--public-key**|string|SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.|public_key|publicKey|
-#### Command `az vm ssh-public-key update`
+#### Command `az sshkey update`
##### Parameters
|Option|Type|Description|Path (SDK)|Swagger name|
@@ -77,22 +76,10 @@ az vm ssh-public-key create --location "westus" --public-key "{ssh-rsa public ke
|**--tags**|dictionary|Resource tags|tags|tags|
|**--public-key**|string|SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.|public_key|publicKey|
-#### Command `az vm ssh-public-key delete`
+#### Command `az sshkey delete`
##### Parameters
|Option|Type|Description|Path (SDK)|Swagger name|
|------|----|-----------|----------|------------|
|**--resource-group-name**|string|The name of the resource group.|resource_group_name|resourceGroupName|
|**--ssh-public-key-name**|string|The name of the SSH public key.|ssh_public_key_name|sshPublicKeyName|
-
-#### Command `az vm ssh-public-key generate-key-pair`
-
-##### Example
-```
-az vm ssh-public-key generate-key-pair --resource-group "myResourceGroup" --name "mySshPublicKeyName"
-```
-##### Parameters
-|Option|Type|Description|Path (SDK)|Swagger name|
-|------|----|-----------|----------|------------|
-|**--resource-group-name**|string|The name of the resource group.|resource_group_name|resourceGroupName|
-|**--ssh-public-key-name**|string|The name of the SSH public key.|ssh_public_key_name|sshPublicKeyName|
diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/tests/__init__.py
deleted file mode 100644
index 50e0627daff..00000000000
--- a/src/azure-cli/azure/cli/command_modules/vm/tests/__init__.py
+++ /dev/null
@@ -1,114 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
-# license information.
-#
-# Code generated by Microsoft (R) AutoRest Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
-# regenerated.
-# --------------------------------------------------------------------------
-import inspect
-import logging
-import os
-import sys
-import traceback
-import datetime as dt
-
-from azure.core.exceptions import AzureError
-from azure.cli.testsdk.exceptions import CliTestError, CliExecutionError, JMESPathCheckAssertionError
-
-
-logger = logging.getLogger('azure.cli.testsdk')
-logger.addHandler(logging.StreamHandler())
-__path__ = __import__('pkgutil').extend_path(__path__, __name__)
-exceptions = []
-test_map = dict()
-SUCCESSED = "successed"
-FAILED = "failed"
-
-
-def try_manual(func):
- def import_manual_function(origin_func):
- from importlib import import_module
- decorated_path = inspect.getfile(origin_func)
- module_path = __path__[0]
- if not decorated_path.startswith(module_path):
- raise Exception("Decorator can only be used in submodules!")
- manual_path = os.path.join(
- decorated_path[module_path.rfind(os.path.sep) + 1:])
- manual_file_path, manual_file_name = os.path.split(manual_path)
- module_name, _ = os.path.splitext(manual_file_name)
- manual_module = "..manual." + \
- ".".join(manual_file_path.split(os.path.sep) + [module_name, ])
- return getattr(import_module(manual_module, package=__name__), origin_func.__name__)
-
- def get_func_to_call():
- func_to_call = func
- try:
- func_to_call = import_manual_function(func)
- func_to_call = import_manual_function(func)
- logger.info("Found manual override for %s(...)", func.__name__)
- except (ImportError, AttributeError):
- pass
- return func_to_call
-
- def wrapper(*args, **kwargs):
- func_to_call = get_func_to_call()
- logger.info("running %s()...", func.__name__)
- try:
- test_map[func.__name__] = dict()
- test_map[func.__name__]["result"] = SUCCESSED
- test_map[func.__name__]["error_message"] = ""
- test_map[func.__name__]["error_stack"] = ""
- test_map[func.__name__]["error_normalized"] = ""
- test_map[func.__name__]["start_dt"] = dt.datetime.utcnow()
- ret = func_to_call(*args, **kwargs)
- except (AssertionError, AzureError, CliTestError, CliExecutionError, SystemExit,
- JMESPathCheckAssertionError) as e:
- test_map[func.__name__]["end_dt"] = dt.datetime.utcnow()
- test_map[func.__name__]["result"] = FAILED
- test_map[func.__name__]["error_message"] = str(e).replace("\r\n", " ").replace("\n", " ")[:500]
- test_map[func.__name__]["error_stack"] = traceback.format_exc().replace(
- "\r\n", " ").replace("\n", " ")[:500]
- logger.info("--------------------------------------")
- logger.info("step exception: %s", e)
- logger.error("--------------------------------------")
- logger.error("step exception in %s: %s", func.__name__, e)
- logger.info(traceback.format_exc())
- exceptions.append((func.__name__, sys.exc_info()))
- else:
- test_map[func.__name__]["end_dt"] = dt.datetime.utcnow()
- return ret
-
- if inspect.isclass(func):
- return get_func_to_call()
- return wrapper
-
-
-def calc_coverage(filename):
- filename = filename.split(".")[0]
- coverage_name = filename + "_coverage.md"
- with open(coverage_name, "w") as f:
- f.write("|Scenario|Result|ErrorMessage|ErrorStack|ErrorNormalized|StartDt|EndDt|\n")
- total = len(test_map)
- covered = 0
- for k, v in test_map.items():
- if not k.startswith("step_"):
- total -= 1
- continue
- if v["result"] == SUCCESSED:
- covered += 1
- f.write("|{step_name}|{result}|{error_message}|{error_stack}|{error_normalized}|{start_dt}|"
- "{end_dt}|\n".format(step_name=k, **v))
- f.write("Coverage: {}/{}\n".format(covered, total))
- print("Create coverage\n", file=sys.stderr)
-
-
-def raise_if():
- if exceptions:
- if len(exceptions) <= 1:
- raise exceptions[0][1][1]
- message = "{}\nFollowed with exceptions in other steps:\n".format(str(exceptions[0][1][1]))
- message += "\n".join(["{}: {}".format(h[0], h[1][1]) for h in exceptions[1:]])
- raise exceptions[0][1][0](message).with_traceback(exceptions[0][1][2])
diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_ssh_key.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_ssh_key.yaml
index 84dc3d4229a..c92f39b66cf 100644
--- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_ssh_key.yaml
+++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_ssh_key.yaml
@@ -14,14 +14,14 @@ interactions:
- -g -n
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001?api-version=2020-10-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001","name":"cli_test_vm_ssh_key_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-09T07:27:49Z"},"properties":{"provisioningState":"Succeeded"}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001","name":"cli_test_vm_ssh_key_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-15T08:56:00Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@@ -30,7 +30,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:27:51 GMT
+ - Mon, 15 Mar 2021 08:56:05 GMT
expires:
- '-1'
pragma:
@@ -62,12 +62,12 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/sshPublicKeys/k1?api-version=2020-12-01
response:
body:
- string: "{\r\n \"name\": \"k1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_QWHWRJ26WVK2ZU2MQTZ5KBMW3YZUCGRJMUS6OL5O6HWQHJMEXIKET73/providers/Microsoft.Compute/sshPublicKeys/k1\",\r\n
+ string: "{\r\n \"name\": \"k1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_Y2J5R4DQ37B2QBYQ5RFXYRVZDFQQMSGKNUEBJK2VF3LGWT3CQ3MWLV7/providers/Microsoft.Compute/sshPublicKeys/k1\",\r\n
\ \"location\": \"westus\",\r\n \"properties\": {}\r\n}"
headers:
cache-control:
@@ -77,7 +77,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:27:56 GMT
+ - Mon, 15 Mar 2021 08:56:12 GMT
expires:
- '-1'
pragma:
@@ -92,7 +92,7 @@ interactions:
x-ms-ratelimit-remaining-resource:
- Microsoft.Compute/PutDeleteSshPublicKeys3Min;119,Microsoft.Compute/PutDeleteSshPublicKeys30Min;599
x-ms-ratelimit-remaining-subscription-writes:
- - '1159'
+ - '1199'
status:
code: 201
message: Created
@@ -112,23 +112,23 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/sshPublicKeys/k1/generateKeyPair?api-version=2020-12-01
response:
body:
- string: "{\r\n \"privateKey\": \"-----BEGIN RSA PRIVATE KEY-----\\r\\nMIIG5AIBAAKCAYEAw5fcilubkprMGRTD3VGHlx/vSQZLQxerw7idndJ+gzMlfiZp\\r\\nD2ne+Jh9OWQ2s1u+Vnfryhf1BonKni7Ndqu79nT+Cyo9Oa0eM4IYyC/Pi2Hnfu1z\\r\\npCVgY7wALddfqWC5xzW/H9DVDW/wW2ers2snwtR2H4GHr1TbX2x2axQptE1TUsT7\\r\\nRbkZwGDGU++XNULUFBPpxnuKOqyVzjsWM0sv8kSLWHlVhSHuxTI00Ux2q+dQYUhm\\r\\nYilwzyWF1WAPAvvToj+BBw28GvYdeUKDlEqX4uSiXBOIIJv8YRmaPEFZLoYDHU3g\\r\\nvjza8KhpG6lh7aO0YBopS9iDxZTV7GYsvH3t8fJ6Mb22S9qaQ4dwNsdmWLirPFii\\r\\n5rsqX378Gt+SueT8ob2E9eWEH3lRcnjT3EhehXE+ShQEfOhYDw17V3uri7LgRaoN\\r\\nPTV9KWa6JtJ5jU+/mie+PKurLd+BVjzXQv84HtCeqdwCqX5uf81PwPg8IMSRZOs9\\r\\nr1+Y29K+s1Ug3NwDAgMBAAECggGAUts5m0jsUgIOVM+lm1NG15+5G5u1dUIJStuh\\r\\ntXIuksCvcM2vss5cHL5oSdAolflW28VoVs+oRjFH6pOUCWH9uY1c8vjdP9oU0aga\\r\\nfG84geijCvNnChGlUAqbns++X/+wI3IiuUUbg9o4HViA9Xv+t3uOYJFcG8ucNMO7\\r\\nNGgxtIYPNqBoe2RKwuKcEYGM8gyRz8GRxjmeWHW07ky8flUrBfvAdeXMcx3pSpMW\\r\\nqdU07mSKefOUH6BDgBT6qWXMZiysAFOrevkWkyyE7of/JtK3OUXkT+z07kz05jzi\\r\\n6diOiZbrwr+9U5UEJhGhGcTJhcihTjIEjDwOukJ1kdoB2kEAiPaHYMDlPLNrGBl0\\r\\nadrnahUCviLFkW09qG+plIwX8IrqVsCnGblcCF524+AxXehKJgCnfWuiVLnGVy1t\\r\\nfp+zcvqCjSGI37y06R5PCJxmRP9ClH4L1RvGC/wRPIFz5F892IMe7Q6NFpSppDL1\\r\\n4YUdITwAuwSrX/nUTTt8ntU0X7xtAoHBAOMVxns4fegZVIaHO8x8Og6hp9lVY3nR\\r\\nGlhyJT5j7BPEeQ+WjzhB0sdiyVZVr62dTwMxxQRtZ89ZlONsuu84rTNh4BIreaNQ\\r\\nrrEZHFnHvkmrCb4+C78i65seSDPU320eHb3ec+MI2rSU1mPYGP50s2bAKXR/qbR3\\r\\ns6G2ZOpIyie/ffuJJOcocpkWUdyBu1/zMnHW3ONVkfURaJsQTLbWZa4DF8cmTKxX\\r\\nqHgUI98Kw4TbzNd4wbT2UAT3Y3kFlmc7lwKBwQDcf447qOTOpHF3p2qg6t9+9zVO\\r\\nUrW0sb6U4+Gb7/wTbPcJLefEvsnaiQh+1mXOh9cs9InJuGtGIosLjQyIm24tS6X5\\r\\ncuUFOREvQNcFXGikGUYoEjYSygPgBjBFEBcZKvdr1gzCZQekFhLm6XRNJGTPpohV\\r\\nBwQuEa7e03gTxV/68jZsctY0exty+aij6Z2Si0h3pyLDBvr0uY8qeaYUIKZwoMEq\\r\\nbUmJ4+685LU9YwnVRIgW+vwbtOiZMDNnVGAaYHUCgcAJxXIY80FXr19XupH0JpRI\\r\\n9OPIEkiJgVnk3GSF3r7Vyup6pTvca9iqA7IuKNm6Wr5/oLCdlCeXYH9rmc4hZQru\\r\\n3xNJNN2zDVG3BSGXK2Ugvl9Y9EqFGveQYSkyMcK7a0RUWzIZXtQqWQ0wlqfcqyDd\\r\\nFv+xp5yhy1TLbJHDEwa/1xmQrUINQExOEgvLtTle05QkGd6/WXtCVFFv+q+SXn9Z\\r\\nkYCAbUF3WP5CzHsOqePn351c2DFdnAutawe4uWjTYFkCgcEAn6v28ZjyZ/mI+V7Q\\r\\nxkqPIcAeZ+NZFcqI+gSzQVrdrauAkLMfXMfUIF6POlpDSvXviexjQyI6/ITTL8Aq\\r\\nTVpQxJg9TpA27DtRCGjpzEYIuJxcw3O8mIqVl8qjdb+bGmyU0xAkGTlT+SzK71Ar\\r\\nGhm6ruwnWXtFOZ8whMeZ8qdBQ9XWN15JY6OqUu4bgucPZilahtsPPy9013bwB5Ak\\r\\nBftGy9R9TR3q3OGj5kGwRQ3M9xUzf4Csw9uTfCr9blwZY8BpAoHBAJvj7Bgv/fDH\\r\\nBNpZd5DoCeZRsubUS6NMneuYd+v1jUb4/qzDnQlGy7oLB1TuoaxenvIuqPj8CfUa\\r\\nFWRJ7632gztM2o5Wmc7MvSTL1Ofh01mo4tMav8V5UVJKirRvNiowL06bBSoEy3Jb\\r\\n6kXipXOxcB3lLTpJjc89fZENYTn+pqoisr6TPJzEN6eXFA27Tp0kTgKfT+x+bn1e\\r\\nSG+qBSh18WSz4edhy8hHExSDUc5dwXWD1RMHCXdEWPFK5ETQqhlkPQ==\\r\\n-----END
- RSA PRIVATE KEY-----\\r\\n\",\r\n \"publicKey\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDDl9yKW5uSmswZFMPdUYeXH+9J\\r\\nBktDF6vDuJ2d0n6DMyV+JmkPad74mH05ZDazW75Wd+vKF/UGicqeLs12q7v2dP4L\\r\\nKj05rR4zghjIL8+LYed+7XOkJWBjvAAt11+pYLnHNb8f0NUNb/BbZ6uzayfC1HYf\\r\\ngYevVNtfbHZrFCm0TVNSxPtFuRnAYMZT75c1QtQUE+nGe4o6rJXOOxYzSy/yRItY\\r\\neVWFIe7FMjTRTHar51BhSGZiKXDPJYXVYA8C+9OiP4EHDbwa9h15QoOUSpfi5KJc\\r\\nE4ggm/xhGZo8QVkuhgMdTeC+PNrwqGkbqWHto7RgGilL2IPFlNXsZiy8fe3x8nox\\r\\nvbZL2ppDh3A2x2ZYuKs8WKLmuypffvwa35K55PyhvYT15YQfeVFyeNPcSF6FcT5K\\r\\nFAR86FgPDXtXe6uLsuBFqg09NX0pZrom0nmNT7+aJ748q6st34FWPNdC/zge0J6p\\r\\n3AKpfm5/zU/A+DwgxJFk6z2vX5jb0r6zVSDc3AM=
- generated-by-azure\\r\\n\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_QWHWRJ26WVK2ZU2MQTZ5KBMW3YZUCGRJMUS6OL5O6HWQHJMEXIKET73/providers/Microsoft.Compute/sshPublicKeys/k1\"\r\n}"
+ string: "{\r\n \"privateKey\": \"-----BEGIN RSA PRIVATE KEY-----\\r\\nMIIG4wIBAAKCAYEAybFcTv9hk96xSGFzsF7k1r0yhCx0igclyfkfociHG3ntmd0G\\r\\nThDfTMIs22TIqr0pihYbgxN94NfQtCIkPt19F6JMl1Bctnwe7Qvqq09ATeZt1F/6\\r\\nLBjsxv68WLw/n9rrBJeZochtXLx2Ths/NvNIr1NLzAw7joUQON1uBJLwSSdNfJM8\\r\\nhrUGVGikGn2M2T0x5674aQbwl5FMz86iUeNARG267+U8m933uXzwy9hxUOWQeh6g\\r\\nCYywPrB/nutxpsGlwz7tKZsiiO5PajCvp3NV1U1l5fDjMzAfP7x198F+2TX6y4xq\\r\\nVr9ahw1k8Gmi3honJxxAXXS8V8+u3Jd7cxqGG89Rhm713oMD/dRKrxoiF6q1N2hC\\r\\nvhA0gb8gw6cNkoAT77aePdXUeGp8lD6lJf9It0OtLQIddR4n5EKpE+LVPyndTq+N\\r\\nr19EFxggalqvyOxC5erz49/YI1zgvBtq3glN8hWuw8YIYy9dENXKW/PxvQR7mAWm\\r\\nwYaP+pG0vsycEebrAgMBAAECggGAASX/4w6ZiniBpOpdI3DJjR7Nq1VUzTZmNNoK\\r\\nH+c0PGf7fjKf0bukhzDchYaeN+P/g7hFgX+6ae3V/o3qi+sXRmus/k2TAZJVBhTZ\\r\\nH2RCTE9BaoH+EC3iJ0NAZPb0G8po0oFfJWiD6uZt0VsJXJw9BTaMX3CQZEAwtp+C\\r\\n0Vwu1GkjYVALT68Mhq2D2wds+7hZUOWSUjLGau6FCUfhbRBGB5MNC0b7CzN+hhwG\\r\\ng6VLW+JlagnuRQT75Jd9BTV3qQiVkPTK79YD9Dau0dFtLaTZuG6Mu9SYSqpwEwIm\\r\\ndNxuc//7cPCkUt79/htBXwM3YTk/njm1YTfvB42noYdjDGRJgz86/Yi5g0oEPfAh\\r\\nkRvj3L7Rg/5b8uiJeC2sQnpQQDV4w4YQEfTaqMV3rMOkCoKNZH5YdLKoxaLt8XvS\\r\\naBSp62LNFfo5wNJSjvGtr4S/Q/W2bAXivhcCXQIT3DQDbSL0Spsl3p5zPedo0hd9\\r\\nYagCf1TRwA7rW6IGPe4kAqYd44zVAoHBANybXiUXI8799zNHofhCHU0LABCQ6mCR\\r\\nQTGcZKrpnVUdmE43azmqhOcGBt9NSY4gx16CwjHX3EsEW4fgfWcpOB13UWBn8JnL\\r\\nPb30IBiIbtwFAd+aEIXCblnEUVj5IA3peyPdQJs15cRJ98WmH8x9R9/TrXzG73nw\\r\\nBZJrkQTAaI4xe44LZNWo/oDJ1SsVI7PNEJ21TMtd+MMpTqAmrV+R6dnr40VxUb/9\\r\\nFodFu1H8W5/yb5zu5ZscOkhBJpiF0mUCVwKBwQDqDSoy2s5u9FLXCqvDhkQdgxz4\\r\\nBa0ugRbq3rDoEzweJrecCBh8yxEDN6IHGnqgJogMSqSF89RlgejB5OcaO7Bp/xzH\\r\\nqpqydgJr+31RT4TVa6rISM394y6DH3DBwPrEAb/Jy7IAqVfOrjgK3Qch/Y3JjcLU\\r\\n2rM1lRjGZWd5wy6ShQkQk+E+RsLyLzg/FtE6hmjF/2OnXrBfGT/So3jnR+BWSis9\\r\\nKxN29Wib30//EL/XViK0FXCfAc1wMbmgpNxtK40CgcBSpvtM1jCaWtiFI+9xPgQQ\\r\\nW3C4xDKr34AXgErPJhvGSgJIO8c2ocaNb9qfSyulzm4j4MW1OvTUPlu0us0BG5Zk\\r\\no9GfVxHz7QvC4XYs+uDeGhorlmNeWgxSIZWAykXSMInsU/bir/zX4AauzKDZUo7d\\r\\nM0eqmjYa72yHAToiF5yUucFa5LXwvxIrWnM9YvwvX0M8czLEdv6+z/kfU55dUiPV\\r\\ne+V4nQ5N6hrIr72Q6AXEFWbv2ym3RYoojBBT0L+VDJ0CgcBpGXJKldC/KD2OzP7m\\r\\ndQNfUUIP6dSjnlohK9C61fBYBcDLcyMz3qgMDs5WbECGa+cJxfbtI9nLnzNa5iQU\\r\\ntpr4bhOJYYXH/5AE11Cl05RtlcSB3ZeKm5qGTPcAOl0g6TwrLKoI/AIvEDKgRjJu\\r\\nxAIIcPz9QhvZQtN2O5Dkr43ZQ54XcKBjq7jcsfGK+v8HTdX8mzsvrCh8+8SaHMgs\\r\\n6yzE8tdJx28dKwRHglbUzbunwckhnsMM0+1hpSKbDYziBP0CgcEAlK3skWtKqXk3\\r\\nijXsWarzNDJ8eU3Kd8ED9UA3c0fTBACzj5kFDIkQylX1XR78aJuvPEzPtCYFgLIz\\r\\nb1BTcK+0ORkq9Idm+b47zQyHGjMNuEyL43zGlY4/P2LfdUt8nJXNYJP9H7OWjm/3\\r\\ngZWE76JQVoYPATTyTBOijl72eBoGYZ4MCsVN26eW7CnZyEk3o5zwRMwHuv5yh0Ue\\r\\n8Xnd5gPKDMAr2pimWXUFC+8eKi28Z+/OpdMzkNCt15rsEN+3BDmU\\r\\n-----END
+ RSA PRIVATE KEY-----\\r\\n\",\r\n \"publicKey\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDJsVxO/2GT3rFIYXOwXuTWvTKE\\r\\nLHSKByXJ+R+hyIcbee2Z3QZOEN9MwizbZMiqvSmKFhuDE33g19C0IiQ+3X0XokyX\\r\\nUFy2fB7tC+qrT0BN5m3UX/osGOzG/rxYvD+f2usEl5mhyG1cvHZOGz8280ivU0vM\\r\\nDDuOhRA43W4EkvBJJ018kzyGtQZUaKQafYzZPTHnrvhpBvCXkUzPzqJR40BEbbrv\\r\\n5Tyb3fe5fPDL2HFQ5ZB6HqAJjLA+sH+e63GmwaXDPu0pmyKI7k9qMK+nc1XVTWXl\\r\\n8OMzMB8/vHX3wX7ZNfrLjGpWv1qHDWTwaaLeGicnHEBddLxXz67cl3tzGoYbz1GG\\r\\nbvXegwP91EqvGiIXqrU3aEK+EDSBvyDDpw2SgBPvtp491dR4anyUPqUl/0i3Q60t\\r\\nAh11HifkQqkT4tU/Kd1Or42vX0QXGCBqWq/I7ELl6vPj39gjXOC8G2reCU3yFa7D\\r\\nxghjL10Q1cpb8/G9BHuYBabBho/6kbS+zJwR5us=
+ generated-by-azure\\r\\n\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_Y2J5R4DQ37B2QBYQ5RFXYRVZDFQQMSGKNUEBJK2VF3LGWT3CQ3MWLV7/providers/Microsoft.Compute/sshPublicKeys/k1\"\r\n}"
headers:
cache-control:
- no-cache
content-length:
- - '3427'
+ - '3423'
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:27:57 GMT
+ - Mon, 15 Mar 2021 08:56:13 GMT
expires:
- '-1'
pragma:
@@ -147,7 +147,7 @@ interactions:
x-ms-ratelimit-remaining-resource:
- Microsoft.Compute/SshKeyGen3Min;4,Microsoft.Compute/SshKeyGen30Min;14
x-ms-ratelimit-remaining-subscription-writes:
- - '1193'
+ - '1199'
status:
code: 200
message: OK
@@ -165,14 +165,14 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/sshPublicKeys/k1?api-version=2020-12-01
response:
body:
- string: "{\r\n \"name\": \"k1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_QWHWRJ26WVK2ZU2MQTZ5KBMW3YZUCGRJMUS6OL5O6HWQHJMEXIKET73/providers/Microsoft.Compute/sshPublicKeys/k1\",\r\n
+ string: "{\r\n \"name\": \"k1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_Y2J5R4DQ37B2QBYQ5RFXYRVZDFQQMSGKNUEBJK2VF3LGWT3CQ3MWLV7/providers/Microsoft.Compute/sshPublicKeys/k1\",\r\n
\ \"location\": \"westus\",\r\n \"properties\": {\r\n \"publicKey\": \"ssh-rsa
- AAAAB3NzaC1yc2EAAAADAQABAAABgQDDl9yKW5uSmswZFMPdUYeXH+9J\\r\\nBktDF6vDuJ2d0n6DMyV+JmkPad74mH05ZDazW75Wd+vKF/UGicqeLs12q7v2dP4L\\r\\nKj05rR4zghjIL8+LYed+7XOkJWBjvAAt11+pYLnHNb8f0NUNb/BbZ6uzayfC1HYf\\r\\ngYevVNtfbHZrFCm0TVNSxPtFuRnAYMZT75c1QtQUE+nGe4o6rJXOOxYzSy/yRItY\\r\\neVWFIe7FMjTRTHar51BhSGZiKXDPJYXVYA8C+9OiP4EHDbwa9h15QoOUSpfi5KJc\\r\\nE4ggm/xhGZo8QVkuhgMdTeC+PNrwqGkbqWHto7RgGilL2IPFlNXsZiy8fe3x8nox\\r\\nvbZL2ppDh3A2x2ZYuKs8WKLmuypffvwa35K55PyhvYT15YQfeVFyeNPcSF6FcT5K\\r\\nFAR86FgPDXtXe6uLsuBFqg09NX0pZrom0nmNT7+aJ748q6st34FWPNdC/zge0J6p\\r\\n3AKpfm5/zU/A+DwgxJFk6z2vX5jb0r6zVSDc3AM=
+ AAAAB3NzaC1yc2EAAAADAQABAAABgQDJsVxO/2GT3rFIYXOwXuTWvTKE\\r\\nLHSKByXJ+R+hyIcbee2Z3QZOEN9MwizbZMiqvSmKFhuDE33g19C0IiQ+3X0XokyX\\r\\nUFy2fB7tC+qrT0BN5m3UX/osGOzG/rxYvD+f2usEl5mhyG1cvHZOGz8280ivU0vM\\r\\nDDuOhRA43W4EkvBJJ018kzyGtQZUaKQafYzZPTHnrvhpBvCXkUzPzqJR40BEbbrv\\r\\n5Tyb3fe5fPDL2HFQ5ZB6HqAJjLA+sH+e63GmwaXDPu0pmyKI7k9qMK+nc1XVTWXl\\r\\n8OMzMB8/vHX3wX7ZNfrLjGpWv1qHDWTwaaLeGicnHEBddLxXz67cl3tzGoYbz1GG\\r\\nbvXegwP91EqvGiIXqrU3aEK+EDSBvyDDpw2SgBPvtp491dR4anyUPqUl/0i3Q60t\\r\\nAh11HifkQqkT4tU/Kd1Or42vX0QXGCBqWq/I7ELl6vPj39gjXOC8G2reCU3yFa7D\\r\\nxghjL10Q1cpb8/G9BHuYBabBho/6kbS+zJwR5us=
generated-by-azure\\r\\n\"\r\n }\r\n}"
headers:
cache-control:
@@ -182,7 +182,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:27:57 GMT
+ - Mon, 15 Mar 2021 08:56:14 GMT
expires:
- '-1'
pragma:
@@ -199,7 +199,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-resource:
- - Microsoft.Compute/LowCostGet3Min;3977,Microsoft.Compute/LowCostGet30Min;31761
+ - Microsoft.Compute/LowCostGet3Min;3999,Microsoft.Compute/LowCostGet30Min;31999
status:
code: 200
message: OK
@@ -215,15 +215,15 @@ interactions:
Connection:
- keep-alive
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/sshPublicKeys?api-version=2020-12-01
response:
body:
string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"k1\",\r\n \"id\":
- \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_QWHWRJ26WVK2ZU2MQTZ5KBMW3YZUCGRJMUS6OL5O6HWQHJMEXIKET73/providers/Microsoft.Compute/sshPublicKeys/k1\",\r\n
+ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_Y2J5R4DQ37B2QBYQ5RFXYRVZDFQQMSGKNUEBJK2VF3LGWT3CQ3MWLV7/providers/Microsoft.Compute/sshPublicKeys/k1\",\r\n
\ \"location\": \"westus\",\r\n \"properties\": {\r\n \"publicKey\":
- \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDDl9yKW5uSmswZFMPdUYeXH+9J\\r\\nBktDF6vDuJ2d0n6DMyV+JmkPad74mH05ZDazW75Wd+vKF/UGicqeLs12q7v2dP4L\\r\\nKj05rR4zghjIL8+LYed+7XOkJWBjvAAt11+pYLnHNb8f0NUNb/BbZ6uzayfC1HYf\\r\\ngYevVNtfbHZrFCm0TVNSxPtFuRnAYMZT75c1QtQUE+nGe4o6rJXOOxYzSy/yRItY\\r\\neVWFIe7FMjTRTHar51BhSGZiKXDPJYXVYA8C+9OiP4EHDbwa9h15QoOUSpfi5KJc\\r\\nE4ggm/xhGZo8QVkuhgMdTeC+PNrwqGkbqWHto7RgGilL2IPFlNXsZiy8fe3x8nox\\r\\nvbZL2ppDh3A2x2ZYuKs8WKLmuypffvwa35K55PyhvYT15YQfeVFyeNPcSF6FcT5K\\r\\nFAR86FgPDXtXe6uLsuBFqg09NX0pZrom0nmNT7+aJ748q6st34FWPNdC/zge0J6p\\r\\n3AKpfm5/zU/A+DwgxJFk6z2vX5jb0r6zVSDc3AM=
+ \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDJsVxO/2GT3rFIYXOwXuTWvTKE\\r\\nLHSKByXJ+R+hyIcbee2Z3QZOEN9MwizbZMiqvSmKFhuDE33g19C0IiQ+3X0XokyX\\r\\nUFy2fB7tC+qrT0BN5m3UX/osGOzG/rxYvD+f2usEl5mhyG1cvHZOGz8280ivU0vM\\r\\nDDuOhRA43W4EkvBJJ018kzyGtQZUaKQafYzZPTHnrvhpBvCXkUzPzqJR40BEbbrv\\r\\n5Tyb3fe5fPDL2HFQ5ZB6HqAJjLA+sH+e63GmwaXDPu0pmyKI7k9qMK+nc1XVTWXl\\r\\n8OMzMB8/vHX3wX7ZNfrLjGpWv1qHDWTwaaLeGicnHEBddLxXz67cl3tzGoYbz1GG\\r\\nbvXegwP91EqvGiIXqrU3aEK+EDSBvyDDpw2SgBPvtp491dR4anyUPqUl/0i3Q60t\\r\\nAh11HifkQqkT4tU/Kd1Or42vX0QXGCBqWq/I7ELl6vPj39gjXOC8G2reCU3yFa7D\\r\\nxghjL10Q1cpb8/G9BHuYBabBho/6kbS+zJwR5us=
generated-by-azure\\r\\n\"\r\n }\r\n }\r\n ]\r\n}"
headers:
cache-control:
@@ -233,7 +233,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:27:58 GMT
+ - Mon, 15 Mar 2021 08:56:14 GMT
expires:
- '-1'
pragma:
@@ -250,7 +250,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-resource:
- - Microsoft.Compute/LowCostGet3Min;3976,Microsoft.Compute/LowCostGet30Min;31760
+ - Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31998
status:
code: 200
message: OK
@@ -268,14 +268,14 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/sshPublicKeys/k1?api-version=2020-12-01
response:
body:
- string: "{\r\n \"name\": \"k1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_QWHWRJ26WVK2ZU2MQTZ5KBMW3YZUCGRJMUS6OL5O6HWQHJMEXIKET73/providers/Microsoft.Compute/sshPublicKeys/k1\",\r\n
+ string: "{\r\n \"name\": \"k1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_Y2J5R4DQ37B2QBYQ5RFXYRVZDFQQMSGKNUEBJK2VF3LGWT3CQ3MWLV7/providers/Microsoft.Compute/sshPublicKeys/k1\",\r\n
\ \"location\": \"westus\",\r\n \"properties\": {\r\n \"publicKey\": \"ssh-rsa
- AAAAB3NzaC1yc2EAAAADAQABAAABgQDDl9yKW5uSmswZFMPdUYeXH+9J\\r\\nBktDF6vDuJ2d0n6DMyV+JmkPad74mH05ZDazW75Wd+vKF/UGicqeLs12q7v2dP4L\\r\\nKj05rR4zghjIL8+LYed+7XOkJWBjvAAt11+pYLnHNb8f0NUNb/BbZ6uzayfC1HYf\\r\\ngYevVNtfbHZrFCm0TVNSxPtFuRnAYMZT75c1QtQUE+nGe4o6rJXOOxYzSy/yRItY\\r\\neVWFIe7FMjTRTHar51BhSGZiKXDPJYXVYA8C+9OiP4EHDbwa9h15QoOUSpfi5KJc\\r\\nE4ggm/xhGZo8QVkuhgMdTeC+PNrwqGkbqWHto7RgGilL2IPFlNXsZiy8fe3x8nox\\r\\nvbZL2ppDh3A2x2ZYuKs8WKLmuypffvwa35K55PyhvYT15YQfeVFyeNPcSF6FcT5K\\r\\nFAR86FgPDXtXe6uLsuBFqg09NX0pZrom0nmNT7+aJ748q6st34FWPNdC/zge0J6p\\r\\n3AKpfm5/zU/A+DwgxJFk6z2vX5jb0r6zVSDc3AM=
+ AAAAB3NzaC1yc2EAAAADAQABAAABgQDJsVxO/2GT3rFIYXOwXuTWvTKE\\r\\nLHSKByXJ+R+hyIcbee2Z3QZOEN9MwizbZMiqvSmKFhuDE33g19C0IiQ+3X0XokyX\\r\\nUFy2fB7tC+qrT0BN5m3UX/osGOzG/rxYvD+f2usEl5mhyG1cvHZOGz8280ivU0vM\\r\\nDDuOhRA43W4EkvBJJ018kzyGtQZUaKQafYzZPTHnrvhpBvCXkUzPzqJR40BEbbrv\\r\\n5Tyb3fe5fPDL2HFQ5ZB6HqAJjLA+sH+e63GmwaXDPu0pmyKI7k9qMK+nc1XVTWXl\\r\\n8OMzMB8/vHX3wX7ZNfrLjGpWv1qHDWTwaaLeGicnHEBddLxXz67cl3tzGoYbz1GG\\r\\nbvXegwP91EqvGiIXqrU3aEK+EDSBvyDDpw2SgBPvtp491dR4anyUPqUl/0i3Q60t\\r\\nAh11HifkQqkT4tU/Kd1Or42vX0QXGCBqWq/I7ELl6vPj39gjXOC8G2reCU3yFa7D\\r\\nxghjL10Q1cpb8/G9BHuYBabBho/6kbS+zJwR5us=
generated-by-azure\\r\\n\"\r\n }\r\n}"
headers:
cache-control:
@@ -285,7 +285,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:27:59 GMT
+ - Mon, 15 Mar 2021 08:56:15 GMT
expires:
- '-1'
pragma:
@@ -302,7 +302,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-resource:
- - Microsoft.Compute/LowCostGet3Min;3975,Microsoft.Compute/LowCostGet30Min;31759
+ - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997
status:
code: 200
message: OK
@@ -321,14 +321,14 @@ interactions:
- -g -n --public-key
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001?api-version=2020-10-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001","name":"cli_test_vm_ssh_key_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-09T07:27:49Z"},"properties":{"provisioningState":"Succeeded"}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001","name":"cli_test_vm_ssh_key_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-15T08:56:00Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@@ -337,7 +337,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:28:00 GMT
+ - Mon, 15 Mar 2021 08:56:15 GMT
expires:
- '-1'
pragma:
@@ -369,12 +369,12 @@ interactions:
ParameterSetName:
- -g -n --public-key
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/sshPublicKeys/k2?api-version=2020-12-01
response:
body:
- string: "{\r\n \"name\": \"k2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_QWHWRJ26WVK2ZU2MQTZ5KBMW3YZUCGRJMUS6OL5O6HWQHJMEXIKET73/providers/Microsoft.Compute/sshPublicKeys/k2\",\r\n
+ string: "{\r\n \"name\": \"k2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_Y2J5R4DQ37B2QBYQ5RFXYRVZDFQQMSGKNUEBJK2VF3LGWT3CQ3MWLV7/providers/Microsoft.Compute/sshPublicKeys/k2\",\r\n
\ \"location\": \"westus\",\r\n \"properties\": {\r\n \"publicKey\": \"ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABgQC+MQ7LmEsaB7e/H63lCxJzrWdaLVhuUsnwXD5Eo7QpNhG6g9Oj9fKmZTSdHRpnUdVGtyRUJbmEHoeqFBBAt8bHu2bneEJeh8qfRmj0lCJA2QTZsdGlCsVlfSQzMjv/2WiOZ07pPGFVKvwsNS3dYQ1LtsNDAT4KE7ITlCcNjc+BjfWFTYOplAO++nruv+mD8zF1wwgTln/tHs7Ieja9Noon4PqnvyTYExPx7pclDjIPC+FzBrd9JBk+IUZyYPETO5F/LWh0M/+R656SCvHnXZ+xgan+V6nFJ0mGMErUrXUYMyYp8n/k5G5uxAiHjbS6b/+7HGbGLC0OUCBXLB0UyfIBo5ZtOgH9JKbRd2u7hjPBza7SY52JUsHbt7gZU46W35WjbDnW+clB+qLArHrsGr3YvkrEFn0IaD8y/7O9DW0PJFHM8iFZdZqmT+zM/BFse+p9El08MjPydTfKrZW4fzSBogI4oxY42CRDzxTl/WbpuGkjfcGfKwSoDbSy9jqjD/0=\"\r\n
\ }\r\n}"
@@ -386,7 +386,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:28:04 GMT
+ - Mon, 15 Mar 2021 08:56:20 GMT
expires:
- '-1'
pragma:
@@ -401,7 +401,7 @@ interactions:
x-ms-ratelimit-remaining-resource:
- Microsoft.Compute/PutDeleteSshPublicKeys3Min;118,Microsoft.Compute/PutDeleteSshPublicKeys30Min;598
x-ms-ratelimit-remaining-subscription-writes:
- - '1144'
+ - '1199'
status:
code: 201
message: Created
@@ -419,12 +419,12 @@ interactions:
ParameterSetName:
- -g -n --public-key
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/sshPublicKeys/k2?api-version=2020-12-01
response:
body:
- string: "{\r\n \"name\": \"k2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_QWHWRJ26WVK2ZU2MQTZ5KBMW3YZUCGRJMUS6OL5O6HWQHJMEXIKET73/providers/Microsoft.Compute/sshPublicKeys/k2\",\r\n
+ string: "{\r\n \"name\": \"k2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_Y2J5R4DQ37B2QBYQ5RFXYRVZDFQQMSGKNUEBJK2VF3LGWT3CQ3MWLV7/providers/Microsoft.Compute/sshPublicKeys/k2\",\r\n
\ \"location\": \"westus\",\r\n \"properties\": {\r\n \"publicKey\": \"ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABgQC+MQ7LmEsaB7e/H63lCxJzrWdaLVhuUsnwXD5Eo7QpNhG6g9Oj9fKmZTSdHRpnUdVGtyRUJbmEHoeqFBBAt8bHu2bneEJeh8qfRmj0lCJA2QTZsdGlCsVlfSQzMjv/2WiOZ07pPGFVKvwsNS3dYQ1LtsNDAT4KE7ITlCcNjc+BjfWFTYOplAO++nruv+mD8zF1wwgTln/tHs7Ieja9Noon4PqnvyTYExPx7pclDjIPC+FzBrd9JBk+IUZyYPETO5F/LWh0M/+R656SCvHnXZ+xgan+V6nFJ0mGMErUrXUYMyYp8n/k5G5uxAiHjbS6b/+7HGbGLC0OUCBXLB0UyfIBo5ZtOgH9JKbRd2u7hjPBza7SY52JUsHbt7gZU46W35WjbDnW+clB+qLArHrsGr3YvkrEFn0IaD8y/7O9DW0PJFHM8iFZdZqmT+zM/BFse+p9El08MjPydTfKrZW4fzSBogI4oxY42CRDzxTl/WbpuGkjfcGfKwSoDbSy9jqjD/0=\"\r\n
\ }\r\n}"
@@ -436,7 +436,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:28:05 GMT
+ - Mon, 15 Mar 2021 08:56:21 GMT
expires:
- '-1'
pragma:
@@ -453,7 +453,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-resource:
- - Microsoft.Compute/LowCostGet3Min;3979,Microsoft.Compute/LowCostGet30Min;31757
+ - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31996
status:
code: 200
message: OK
@@ -472,14 +472,14 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001?api-version=2020-10-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001","name":"cli_test_vm_ssh_key_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-09T07:27:49Z"},"properties":{"provisioningState":"Succeeded"}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001","name":"cli_test_vm_ssh_key_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-15T08:56:00Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@@ -488,7 +488,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:28:05 GMT
+ - Mon, 15 Mar 2021 08:56:22 GMT
expires:
- '-1'
pragma:
@@ -512,7 +512,7 @@ interactions:
Connection:
- keep-alive
User-Agent:
- - python-requests/2.25.1
+ - python-requests/2.22.0
method: GET
uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json
response:
@@ -567,35 +567,35 @@ interactions:
content-type:
- text/plain; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:28:06 GMT
+ - Mon, 15 Mar 2021 08:56:22 GMT
etag:
- W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da"
expires:
- - Tue, 09 Feb 2021 07:33:06 GMT
+ - Mon, 15 Mar 2021 09:01:22 GMT
source-age:
- - '237'
+ - '168'
strict-transport-security:
- max-age=31536000
vary:
- - Authorization,Accept-Encoding, Accept-Encoding
+ - Authorization,Accept-Encoding
via:
- 1.1 varnish
x-cache:
- HIT
x-cache-hits:
- - '1'
+ - '28'
x-content-type-options:
- nosniff
x-fastly-request-id:
- - 4deb43426499f206fe45c929e1fdc763058e57e4
+ - 28ea7d520576e6d2d64afa31914da9609df258d1
x-frame-options:
- deny
x-github-request-id:
- - 5F66:4D94:DC2B:ECD5:60217BA5
+ - 693A:7502:309D79:40D758:604D837C
x-served-by:
- - cache-sin18041-SIN
+ - cache-sin18031-SIN
x-timer:
- - S1612855686.015735,VS0,VE1
+ - S1615798583.891762,VS0,VE0
x-xss-protection:
- 1; mode=block
status:
@@ -615,7 +615,7 @@ interactions:
ParameterSetName:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-network/17.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/17.1.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01
response:
@@ -629,7 +629,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:28:06 GMT
+ - Mon, 15 Mar 2021 08:56:22 GMT
expires:
- '-1'
pragma:
@@ -657,14 +657,14 @@ interactions:
ParameterSetName:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/sshPublicKeys/k1?api-version=2020-12-01
response:
body:
- string: "{\r\n \"name\": \"k1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_QWHWRJ26WVK2ZU2MQTZ5KBMW3YZUCGRJMUS6OL5O6HWQHJMEXIKET73/providers/Microsoft.Compute/sshPublicKeys/k1\",\r\n
+ string: "{\r\n \"name\": \"k1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_Y2J5R4DQ37B2QBYQ5RFXYRVZDFQQMSGKNUEBJK2VF3LGWT3CQ3MWLV7/providers/Microsoft.Compute/sshPublicKeys/k1\",\r\n
\ \"location\": \"westus\",\r\n \"properties\": {\r\n \"publicKey\": \"ssh-rsa
- AAAAB3NzaC1yc2EAAAADAQABAAABgQDDl9yKW5uSmswZFMPdUYeXH+9J\\r\\nBktDF6vDuJ2d0n6DMyV+JmkPad74mH05ZDazW75Wd+vKF/UGicqeLs12q7v2dP4L\\r\\nKj05rR4zghjIL8+LYed+7XOkJWBjvAAt11+pYLnHNb8f0NUNb/BbZ6uzayfC1HYf\\r\\ngYevVNtfbHZrFCm0TVNSxPtFuRnAYMZT75c1QtQUE+nGe4o6rJXOOxYzSy/yRItY\\r\\neVWFIe7FMjTRTHar51BhSGZiKXDPJYXVYA8C+9OiP4EHDbwa9h15QoOUSpfi5KJc\\r\\nE4ggm/xhGZo8QVkuhgMdTeC+PNrwqGkbqWHto7RgGilL2IPFlNXsZiy8fe3x8nox\\r\\nvbZL2ppDh3A2x2ZYuKs8WKLmuypffvwa35K55PyhvYT15YQfeVFyeNPcSF6FcT5K\\r\\nFAR86FgPDXtXe6uLsuBFqg09NX0pZrom0nmNT7+aJ748q6st34FWPNdC/zge0J6p\\r\\n3AKpfm5/zU/A+DwgxJFk6z2vX5jb0r6zVSDc3AM=
+ AAAAB3NzaC1yc2EAAAADAQABAAABgQDJsVxO/2GT3rFIYXOwXuTWvTKE\\r\\nLHSKByXJ+R+hyIcbee2Z3QZOEN9MwizbZMiqvSmKFhuDE33g19C0IiQ+3X0XokyX\\r\\nUFy2fB7tC+qrT0BN5m3UX/osGOzG/rxYvD+f2usEl5mhyG1cvHZOGz8280ivU0vM\\r\\nDDuOhRA43W4EkvBJJ018kzyGtQZUaKQafYzZPTHnrvhpBvCXkUzPzqJR40BEbbrv\\r\\n5Tyb3fe5fPDL2HFQ5ZB6HqAJjLA+sH+e63GmwaXDPu0pmyKI7k9qMK+nc1XVTWXl\\r\\n8OMzMB8/vHX3wX7ZNfrLjGpWv1qHDWTwaaLeGicnHEBddLxXz67cl3tzGoYbz1GG\\r\\nbvXegwP91EqvGiIXqrU3aEK+EDSBvyDDpw2SgBPvtp491dR4anyUPqUl/0i3Q60t\\r\\nAh11HifkQqkT4tU/Kd1Or42vX0QXGCBqWq/I7ELl6vPj39gjXOC8G2reCU3yFa7D\\r\\nxghjL10Q1cpb8/G9BHuYBabBho/6kbS+zJwR5us=
generated-by-azure\\r\\n\"\r\n }\r\n}"
headers:
cache-control:
@@ -674,7 +674,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:28:06 GMT
+ - Mon, 15 Mar 2021 08:56:23 GMT
expires:
- '-1'
pragma:
@@ -691,7 +691,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-resource:
- - Microsoft.Compute/LowCostGet3Min;3978,Microsoft.Compute/LowCostGet30Min;31756
+ - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31995
status:
code: 200
message: OK
@@ -721,7 +721,7 @@ interactions:
{"publisher": "OpenLogic", "offer": "CentOS", "sku": "7.5", "version": "latest"}},
"osProfile": {"computerName": "vm1", "adminUsername": "fey", "linuxConfiguration":
{"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa
- AAAAB3NzaC1yc2EAAAADAQABAAABgQDDl9yKW5uSmswZFMPdUYeXH+9J\r\nBktDF6vDuJ2d0n6DMyV+JmkPad74mH05ZDazW75Wd+vKF/UGicqeLs12q7v2dP4L\r\nKj05rR4zghjIL8+LYed+7XOkJWBjvAAt11+pYLnHNb8f0NUNb/BbZ6uzayfC1HYf\r\ngYevVNtfbHZrFCm0TVNSxPtFuRnAYMZT75c1QtQUE+nGe4o6rJXOOxYzSy/yRItY\r\neVWFIe7FMjTRTHar51BhSGZiKXDPJYXVYA8C+9OiP4EHDbwa9h15QoOUSpfi5KJc\r\nE4ggm/xhGZo8QVkuhgMdTeC+PNrwqGkbqWHto7RgGilL2IPFlNXsZiy8fe3x8nox\r\nvbZL2ppDh3A2x2ZYuKs8WKLmuypffvwa35K55PyhvYT15YQfeVFyeNPcSF6FcT5K\r\nFAR86FgPDXtXe6uLsuBFqg09NX0pZrom0nmNT7+aJ748q6st34FWPNdC/zge0J6p\r\n3AKpfm5/zU/A+DwgxJFk6z2vX5jb0r6zVSDc3AM=
+ AAAAB3NzaC1yc2EAAAADAQABAAABgQDJsVxO/2GT3rFIYXOwXuTWvTKE\r\nLHSKByXJ+R+hyIcbee2Z3QZOEN9MwizbZMiqvSmKFhuDE33g19C0IiQ+3X0XokyX\r\nUFy2fB7tC+qrT0BN5m3UX/osGOzG/rxYvD+f2usEl5mhyG1cvHZOGz8280ivU0vM\r\nDDuOhRA43W4EkvBJJ018kzyGtQZUaKQafYzZPTHnrvhpBvCXkUzPzqJR40BEbbrv\r\n5Tyb3fe5fPDL2HFQ5ZB6HqAJjLA+sH+e63GmwaXDPu0pmyKI7k9qMK+nc1XVTWXl\r\n8OMzMB8/vHX3wX7ZNfrLjGpWv1qHDWTwaaLeGicnHEBddLxXz67cl3tzGoYbz1GG\r\nbvXegwP91EqvGiIXqrU3aEK+EDSBvyDDpw2SgBPvtp491dR4anyUPqUl/0i3Q60t\r\nAh11HifkQqkT4tU/Kd1Or42vX0QXGCBqWq/I7ELl6vPj39gjXOC8G2reCU3yFa7D\r\nxghjL10Q1cpb8/G9BHuYBabBho/6kbS+zJwR5us=
generated-by-azure\r\n", "path": "/home/fey/.ssh/authorized_keys"}]}}}}}], "outputs":
{}}, "parameters": {}, "mode": "Incremental"}}'
headers:
@@ -741,25 +741,25 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_A2FwHDk7MbsflB8STN9HF33GskHsj4VW","name":"vm_deploy_A2FwHDk7MbsflB8STN9HF33GskHsj4VW","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7382232308912995147","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-02-09T07:28:10.5654276Z","duration":"PT1.976454S","correlationId":"08d64096-0fde-4171-bac8-d85144137dfb","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_yI5yUZA5s5TY57vhWaZt7cYzTyrfzqoU","name":"vm_deploy_yI5yUZA5s5TY57vhWaZt7cYzTyrfzqoU","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18229773278695822060","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-03-15T08:56:27.4458123Z","duration":"PT2.0716036S","correlationId":"7f691d40-7206-4355-924f-a81c4cf4a652","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}'
headers:
azure-asyncoperation:
- - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_A2FwHDk7MbsflB8STN9HF33GskHsj4VW/operationStatuses/08585887511968886608?api-version=2020-10-01
+ - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_yI5yUZA5s5TY57vhWaZt7cYzTyrfzqoU/operationStatuses/08585858083001034232?api-version=2020-10-01
cache-control:
- no-cache
content-length:
- - '2741'
+ - '2743'
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:28:11 GMT
+ - Mon, 15 Mar 2021 08:56:28 GMT
expires:
- '-1'
pragma:
@@ -769,7 +769,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- - '1158'
+ - '1199'
status:
code: 201
message: Created
@@ -788,9 +788,9 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887511968886608?api-version=2020-10-01
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585858083001034232?api-version=2020-10-01
response:
body:
string: '{"status":"Running"}'
@@ -802,7 +802,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:28:41 GMT
+ - Mon, 15 Mar 2021 08:56:59 GMT
expires:
- '-1'
pragma:
@@ -831,9 +831,9 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887511968886608?api-version=2020-10-01
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585858083001034232?api-version=2020-10-01
response:
body:
string: '{"status":"Running"}'
@@ -845,7 +845,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:29:12 GMT
+ - Mon, 15 Mar 2021 08:57:29 GMT
expires:
- '-1'
pragma:
@@ -874,9 +874,9 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887511968886608?api-version=2020-10-01
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585858083001034232?api-version=2020-10-01
response:
body:
string: '{"status":"Running"}'
@@ -888,7 +888,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:29:42 GMT
+ - Mon, 15 Mar 2021 08:57:59 GMT
expires:
- '-1'
pragma:
@@ -917,9 +917,9 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887511968886608?api-version=2020-10-01
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585858083001034232?api-version=2020-10-01
response:
body:
string: '{"status":"Succeeded"}'
@@ -931,7 +931,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:30:12 GMT
+ - Mon, 15 Mar 2021 08:58:29 GMT
expires:
- '-1'
pragma:
@@ -960,12 +960,12 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_A2FwHDk7MbsflB8STN9HF33GskHsj4VW","name":"vm_deploy_A2FwHDk7MbsflB8STN9HF33GskHsj4VW","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7382232308912995147","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-02-09T07:30:02.9056704Z","duration":"PT1M54.3166968S","correlationId":"08d64096-0fde-4171-bac8-d85144137dfb","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_yI5yUZA5s5TY57vhWaZt7cYzTyrfzqoU","name":"vm_deploy_yI5yUZA5s5TY57vhWaZt7cYzTyrfzqoU","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18229773278695822060","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-03-15T08:58:11.7594827Z","duration":"PT1M46.385274S","correlationId":"7f691d40-7206-4355-924f-a81c4cf4a652","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}'
headers:
cache-control:
- no-cache
@@ -974,7 +974,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:30:13 GMT
+ - Mon, 15 Mar 2021 08:58:30 GMT
expires:
- '-1'
pragma:
@@ -1002,29 +1002,29 @@ interactions:
ParameterSetName:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2020-12-01
response:
body:
string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n
\ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n
- \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"0570f518-559f-4915-baec-92a980aaabf3\",\r\n
+ \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"6254290a-495a-48db-a2bd-b3bab2d97d78\",\r\n
\ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n
\ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\":
\"OpenLogic\",\r\n \"offer\": \"CentOS\",\r\n \"sku\": \"7.5\",\r\n
\ \"version\": \"latest\",\r\n \"exactVersion\": \"7.5.201808150\"\r\n
\ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\":
- \"vm1_OsDisk_1_86f2e1e3d88140fb9bdd1664ca907b40\",\r\n \"createOption\":
+ \"vm1_OsDisk_1_fdc2d3940df445d18134312284b858e3\",\r\n \"createOption\":
\"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\":
{\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\":
- \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_86f2e1e3d88140fb9bdd1664ca907b40\"\r\n
+ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_fdc2d3940df445d18134312284b858e3\"\r\n
\ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\":
[]\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n
\ \"adminUsername\": \"fey\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\":
true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n
\ \"path\": \"/home/fey/.ssh/authorized_keys\",\r\n \"keyData\":
- \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDDl9yKW5uSmswZFMPdUYeXH+9J\\r\\nBktDF6vDuJ2d0n6DMyV+JmkPad74mH05ZDazW75Wd+vKF/UGicqeLs12q7v2dP4L\\r\\nKj05rR4zghjIL8+LYed+7XOkJWBjvAAt11+pYLnHNb8f0NUNb/BbZ6uzayfC1HYf\\r\\ngYevVNtfbHZrFCm0TVNSxPtFuRnAYMZT75c1QtQUE+nGe4o6rJXOOxYzSy/yRItY\\r\\neVWFIe7FMjTRTHar51BhSGZiKXDPJYXVYA8C+9OiP4EHDbwa9h15QoOUSpfi5KJc\\r\\nE4ggm/xhGZo8QVkuhgMdTeC+PNrwqGkbqWHto7RgGilL2IPFlNXsZiy8fe3x8nox\\r\\nvbZL2ppDh3A2x2ZYuKs8WKLmuypffvwa35K55PyhvYT15YQfeVFyeNPcSF6FcT5K\\r\\nFAR86FgPDXtXe6uLsuBFqg09NX0pZrom0nmNT7+aJ748q6st34FWPNdC/zge0J6p\\r\\n3AKpfm5/zU/A+DwgxJFk6z2vX5jb0r6zVSDc3AM=
+ \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDJsVxO/2GT3rFIYXOwXuTWvTKE\\r\\nLHSKByXJ+R+hyIcbee2Z3QZOEN9MwizbZMiqvSmKFhuDE33g19C0IiQ+3X0XokyX\\r\\nUFy2fB7tC+qrT0BN5m3UX/osGOzG/rxYvD+f2usEl5mhyG1cvHZOGz8280ivU0vM\\r\\nDDuOhRA43W4EkvBJJ018kzyGtQZUaKQafYzZPTHnrvhpBvCXkUzPzqJR40BEbbrv\\r\\n5Tyb3fe5fPDL2HFQ5ZB6HqAJjLA+sH+e63GmwaXDPu0pmyKI7k9qMK+nc1XVTWXl\\r\\n8OMzMB8/vHX3wX7ZNfrLjGpWv1qHDWTwaaLeGicnHEBddLxXz67cl3tzGoYbz1GG\\r\\nbvXegwP91EqvGiIXqrU3aEK+EDSBvyDDpw2SgBPvtp491dR4anyUPqUl/0i3Q60t\\r\\nAh11HifkQqkT4tU/Kd1Or42vX0QXGCBqWq/I7ELl6vPj39gjXOC8G2reCU3yFa7D\\r\\nxghjL10Q1cpb8/G9BHuYBabBho/6kbS+zJwR5us=
generated-by-azure\\r\\n\"\r\n }\r\n ]\r\n },\r\n
\ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\":
\"ImageDefault\"\r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\":
@@ -1032,19 +1032,19 @@ interactions:
{\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n
\ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\":
\"vm1\",\r\n \"osName\": \"centos\",\r\n \"osVersion\": \"7.5.1804\",\r\n
- \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.53\",\r\n \"statuses\":
+ \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.53.1\",\r\n \"statuses\":
[\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n
\ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n
\ \"message\": \"Guest Agent is running\",\r\n \"time\":
- \"2021-02-09T07:30:10+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\":
- []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_86f2e1e3d88140fb9bdd1664ca907b40\",\r\n
+ \"2021-03-15T08:58:27+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\":
+ []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_fdc2d3940df445d18134312284b858e3\",\r\n
\ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n
\ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning
- succeeded\",\r\n \"time\": \"2021-02-09T07:28:34.1944439+00:00\"\r\n
+ succeeded\",\r\n \"time\": \"2021-03-15T08:56:53.4661748+00:00\"\r\n
\ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\":
\"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n
\ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning
- succeeded\",\r\n \"time\": \"2021-02-09T07:30:01.5577659+00:00\"\r\n
+ succeeded\",\r\n \"time\": \"2021-03-15T08:58:08.2345139+00:00\"\r\n
\ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n
\ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n
\ }\r\n ]\r\n }\r\n }\r\n}"
@@ -1052,11 +1052,11 @@ interactions:
cache-control:
- no-cache
content-length:
- - '4035'
+ - '4037'
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:30:14 GMT
+ - Mon, 15 Mar 2021 08:58:32 GMT
expires:
- '-1'
pragma:
@@ -1073,7 +1073,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-resource:
- - Microsoft.Compute/LowCostGet3Min;3979,Microsoft.Compute/LowCostGet30Min;31760
+ - Microsoft.Compute/LowCostGet3Min;3992,Microsoft.Compute/LowCostGet30Min;31992
status:
code: 200
message: OK
@@ -1091,18 +1091,18 @@ interactions:
ParameterSetName:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-network/17.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/17.1.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2018-01-01
response:
body:
string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n
- \ \"etag\": \"W/\\\"93c90cd6-41c0-4d1d-9707-bc4e3a8a2649\\\"\",\r\n \"location\":
+ \ \"etag\": \"W/\\\"73912390-b650-471c-9aa7-e2de92b3a377\\\"\",\r\n \"location\":
\"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":
- \"Succeeded\",\r\n \"resourceGuid\": \"ca218e8c-b352-4823-a348-0af8c1d52f75\",\r\n
+ \"Succeeded\",\r\n \"resourceGuid\": \"fcf7202c-b87a-43cf-a122-ef0389939d0d\",\r\n
\ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n
\ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n
- \ \"etag\": \"W/\\\"93c90cd6-41c0-4d1d-9707-bc4e3a8a2649\\\"\",\r\n
+ \ \"etag\": \"W/\\\"73912390-b650-471c-9aa7-e2de92b3a377\\\"\",\r\n
\ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n
\ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n
\ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\":
@@ -1111,8 +1111,8 @@ interactions:
\ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\":
\"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\":
[],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\":
- \"miqbrnuqydte5odg5vc0v0k14h.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\":
- \"00-22-48-02-99-19\",\r\n \"enableAcceleratedNetworking\": false,\r\n
+ \"i5amle0sp5eufkqcb40fergale.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\":
+ \"00-22-48-04-4F-8C\",\r\n \"enableAcceleratedNetworking\": false,\r\n
\ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n
\ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n
\ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\":
@@ -1126,9 +1126,9 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:30:15 GMT
+ - Mon, 15 Mar 2021 08:58:32 GMT
etag:
- - W/"93c90cd6-41c0-4d1d-9707-bc4e3a8a2649"
+ - W/"73912390-b650-471c-9aa7-e2de92b3a377"
expires:
- '-1'
pragma:
@@ -1145,7 +1145,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - 524f1f54-db5d-4d77-ab2a-0140a1c79be3
+ - c3a72a0d-2313-4ad6-836c-388f7f6410ed
status:
code: 200
message: OK
@@ -1163,17 +1163,17 @@ interactions:
ParameterSetName:
- -g -n --image --nsg-rule --ssh-key-name
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-network/17.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/17.1.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2018-01-01
response:
body:
string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n
- \ \"etag\": \"W/\\\"bc9988d2-2283-40fe-9df1-91d7f0e76d6a\\\"\",\r\n \"location\":
+ \ \"etag\": \"W/\\\"f6b64e0c-7496-410a-9364-248d1f238623\\\"\",\r\n \"location\":
\"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":
- \"Succeeded\",\r\n \"resourceGuid\": \"caabe4f5-973a-459c-93b3-bc73d7a8b547\",\r\n
- \ \"ipAddress\": \"168.62.214.84\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n
- \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\":
+ \"Succeeded\",\r\n \"resourceGuid\": \"03ff8581-9316-431a-a4e4-ba8a67ea827c\",\r\n
+ \ \"ipAddress\": \"40.118.160.217\",\r\n \"publicIPAddressVersion\":
+ \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\":
4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n
\ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n
\ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}"
@@ -1181,13 +1181,13 @@ interactions:
cache-control:
- no-cache
content-length:
- - '997'
+ - '998'
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:30:15 GMT
+ - Mon, 15 Mar 2021 08:58:32 GMT
etag:
- - W/"bc9988d2-2283-40fe-9df1-91d7f0e76d6a"
+ - W/"f6b64e0c-7496-410a-9364-248d1f238623"
expires:
- '-1'
pragma:
@@ -1204,7 +1204,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - 01d1c21a-7e52-445e-a82d-b50a9fe99eca
+ - 2d157d56-ef8b-43cb-a843-3a707e6aeb7b
status:
code: 200
message: OK
@@ -1223,14 +1223,14 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001?api-version=2020-10-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001","name":"cli_test_vm_ssh_key_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-09T07:27:49Z"},"properties":{"provisioningState":"Succeeded"}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001","name":"cli_test_vm_ssh_key_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-15T08:56:00Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@@ -1239,7 +1239,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:30:16 GMT
+ - Mon, 15 Mar 2021 08:58:32 GMT
expires:
- '-1'
pragma:
@@ -1263,7 +1263,7 @@ interactions:
Connection:
- keep-alive
User-Agent:
- - python-requests/2.25.1
+ - python-requests/2.22.0
method: GET
uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json
response:
@@ -1318,35 +1318,35 @@ interactions:
content-type:
- text/plain; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:30:16 GMT
+ - Mon, 15 Mar 2021 08:58:34 GMT
etag:
- W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da"
expires:
- - Tue, 09 Feb 2021 07:35:16 GMT
+ - Mon, 15 Mar 2021 09:03:34 GMT
source-age:
- - '65'
+ - '299'
strict-transport-security:
- max-age=31536000
vary:
- - Authorization,Accept-Encoding, Accept-Encoding
+ - Authorization,Accept-Encoding
via:
- 1.1 varnish
x-cache:
- HIT
x-cache-hits:
- - '1'
+ - '2'
x-content-type-options:
- nosniff
x-fastly-request-id:
- - 668a75de50ccf42ea2ec3c87168c6e17060fe253
+ - 52ef93b107b486fd0ca698fc33c9465e5f691fd2
x-frame-options:
- deny
x-github-request-id:
- - 5F66:4D94:DC2B:ECD5:60217BA5
+ - 693A:7502:309D79:40D758:604D837C
x-served-by:
- - cache-sin18046-SIN
+ - cache-sin18028-SIN
x-timer:
- - S1612855816.469053,VS0,VE1
+ - S1615798714.214857,VS0,VE0
x-xss-protection:
- 1; mode=block
status:
@@ -1366,37 +1366,37 @@ interactions:
ParameterSetName:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-network/17.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/17.1.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01
response:
body:
string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm1VNET\",\r\n \"id\":
\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET\",\r\n
- \ \"etag\": \"W/\\\"df6d8572-ac9d-4eb2-8eba-0f967eaa1d26\\\"\",\r\n \"type\":
+ \ \"etag\": \"W/\\\"2c3956c0-d6bf-4ab6-aada-f0c3458ef5ec\\\"\",\r\n \"type\":
\"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n
\ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":
- \"Succeeded\",\r\n \"resourceGuid\": \"b6182062-c090-4fe6-b866-fd45aae95bf7\",\r\n
+ \"Succeeded\",\r\n \"resourceGuid\": \"93c5c047-7f52-42c9-aa02-0fb45244c05c\",\r\n
\ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n
\ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\":
\"vm1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\",\r\n
- \ \"etag\": \"W/\\\"df6d8572-ac9d-4eb2-8eba-0f967eaa1d26\\\"\",\r\n
+ \ \"etag\": \"W/\\\"2c3956c0-d6bf-4ab6-aada-f0c3458ef5ec\\\"\",\r\n
\ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n
\ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\":
[\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n
\ }\r\n ]\r\n },\r\n \"type\":
\"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n
\ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\":
- false,\r\n \"enableVmProtection\": false\r\n }\r\n }\r\n ]\r\n}"
+ false\r\n }\r\n }\r\n ]\r\n}"
headers:
cache-control:
- no-cache
content-length:
- - '1750'
+ - '1712'
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:30:16 GMT
+ - Mon, 15 Mar 2021 08:58:34 GMT
expires:
- '-1'
pragma:
@@ -1413,7 +1413,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - 73233cb8-528f-4046-965a-be1b9d4130e7
+ - a3c2ffe7-61d2-4b1e-8ed7-125b3946fb04
status:
code: 200
message: OK
@@ -1436,12 +1436,12 @@ interactions:
ParameterSetName:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/sshPublicKeys/k3?api-version=2020-12-01
response:
body:
- string: "{\r\n \"name\": \"k3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_QWHWRJ26WVK2ZU2MQTZ5KBMW3YZUCGRJMUS6OL5O6HWQHJMEXIKET73/providers/Microsoft.Compute/sshPublicKeys/k3\",\r\n
+ string: "{\r\n \"name\": \"k3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_Y2J5R4DQ37B2QBYQ5RFXYRVZDFQQMSGKNUEBJK2VF3LGWT3CQ3MWLV7/providers/Microsoft.Compute/sshPublicKeys/k3\",\r\n
\ \"location\": \"westus\",\r\n \"properties\": {\r\n \"publicKey\": \"ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQDmzXeK++L20uMK/Ug5wpjnWWyMlHoecEOxyHueHc1gPDj8qgLChiHt1OWJ1sDjiqBJ+hEEwZLjN8lCmUvWzzrl20d7M/BVp1ejulE/zr999kWuY3m5+FpAkbbxeO9LWoafwOir9dPzIOjDGdPWKbgHr3SerOHAuvVdXJDhWHtW5lB/MEnrxi48Pz/8k1lD1YccUAI6zDgKVJPBEk9fWMW8H0hKYsRXmlxdtg2npBQK7kbmcB2NJPEhTVgxVPqSaBVAt2lOCC/QQvAXcoD0lJGujp1IVYqSUarS5RnrYEDZ9Q6EKduWrP0GFkFkF8YzpFe+BRFaV8bLJrvZN43vgzRj
fey@DESKTOP-ARGPJS4\\n\"\r\n }\r\n}"
@@ -1453,7 +1453,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:30:22 GMT
+ - Mon, 15 Mar 2021 08:58:41 GMT
expires:
- '-1'
pragma:
@@ -1468,7 +1468,7 @@ interactions:
x-ms-ratelimit-remaining-resource:
- Microsoft.Compute/PutDeleteSshPublicKeys3Min;117,Microsoft.Compute/PutDeleteSshPublicKeys30Min;597
x-ms-ratelimit-remaining-subscription-writes:
- - '1167'
+ - '1199'
status:
code: 201
message: Created
@@ -1515,17 +1515,17 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_3ltHdXIICTl5SZn5f5vs4otl13eb6Abo","name":"vm_deploy_3ltHdXIICTl5SZn5f5vs4otl13eb6Abo","type":"Microsoft.Resources/deployments","properties":{"templateHash":"1805295529075088296","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-02-09T07:30:26.8466471Z","duration":"PT2.7008907S","correlationId":"b1d48717-60d4-4578-adbe-3a751b212385","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm3PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm3","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm3"}]}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_Z9wYtI1HaIlndNQZbZp4mpAZQ2mXJams","name":"vm_deploy_Z9wYtI1HaIlndNQZbZp4mpAZQ2mXJams","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3355122903584502274","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-03-15T08:58:45.4711451Z","duration":"PT2.0023395S","correlationId":"b3a27df7-833e-4d0a-8540-926bbd0524be","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm3PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm3","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm3"}]}}'
headers:
azure-asyncoperation:
- - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_3ltHdXIICTl5SZn5f5vs4otl13eb6Abo/operationStatuses/08585887510613318730?api-version=2020-10-01
+ - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_Z9wYtI1HaIlndNQZbZp4mpAZQ2mXJams/operationStatuses/08585858081620088246?api-version=2020-10-01
cache-control:
- no-cache
content-length:
@@ -1533,7 +1533,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:30:27 GMT
+ - Mon, 15 Mar 2021 08:58:46 GMT
expires:
- '-1'
pragma:
@@ -1543,7 +1543,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- - '1169'
+ - '1199'
status:
code: 201
message: Created
@@ -1562,9 +1562,9 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887510613318730?api-version=2020-10-01
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585858081620088246?api-version=2020-10-01
response:
body:
string: '{"status":"Running"}'
@@ -1576,7 +1576,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:30:58 GMT
+ - Mon, 15 Mar 2021 08:59:16 GMT
expires:
- '-1'
pragma:
@@ -1605,9 +1605,9 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887510613318730?api-version=2020-10-01
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585858081620088246?api-version=2020-10-01
response:
body:
string: '{"status":"Running"}'
@@ -1619,7 +1619,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:31:29 GMT
+ - Mon, 15 Mar 2021 08:59:46 GMT
expires:
- '-1'
pragma:
@@ -1648,9 +1648,9 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887510613318730?api-version=2020-10-01
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585858081620088246?api-version=2020-10-01
response:
body:
string: '{"status":"Running"}'
@@ -1662,7 +1662,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:32:00 GMT
+ - Mon, 15 Mar 2021 09:00:18 GMT
expires:
- '-1'
pragma:
@@ -1691,52 +1691,9 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887510613318730?api-version=2020-10-01
- response:
- body:
- string: '{"status":"Running"}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '20'
- content-type:
- - application/json; charset=utf-8
- date:
- - Tue, 09 Feb 2021 07:32:30 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - application/json
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - vm create
- Connection:
- - keep-alive
- ParameterSetName:
- - -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
- User-Agent:
- - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887510613318730?api-version=2020-10-01
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585858081620088246?api-version=2020-10-01
response:
body:
string: '{"status":"Succeeded"}'
@@ -1748,7 +1705,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:33:00 GMT
+ - Mon, 15 Mar 2021 09:00:48 GMT
expires:
- '-1'
pragma:
@@ -1777,12 +1734,12 @@ interactions:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3
- azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0
+ azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_3ltHdXIICTl5SZn5f5vs4otl13eb6Abo","name":"vm_deploy_3ltHdXIICTl5SZn5f5vs4otl13eb6Abo","type":"Microsoft.Resources/deployments","properties":{"templateHash":"1805295529075088296","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-02-09T07:32:31.2867231Z","duration":"PT2M7.1409667S","correlationId":"b1d48717-60d4-4578-adbe-3a751b212385","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm3PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm3","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm3"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm3"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP"}]}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Resources/deployments/vm_deploy_Z9wYtI1HaIlndNQZbZp4mpAZQ2mXJams","name":"vm_deploy_Z9wYtI1HaIlndNQZbZp4mpAZQ2mXJams","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3355122903584502274","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-03-15T09:00:43.6451318Z","duration":"PT2M0.1763262S","correlationId":"b3a27df7-833e-4d0a-8540-926bbd0524be","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm3PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm3","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm3"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm3"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP"}]}}'
headers:
cache-control:
- no-cache
@@ -1791,7 +1748,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:33:01 GMT
+ - Mon, 15 Mar 2021 09:00:48 GMT
expires:
- '-1'
pragma:
@@ -1819,23 +1776,23 @@ interactions:
ParameterSetName:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm3?$expand=instanceView&api-version=2020-12-01
response:
body:
string: "{\r\n \"name\": \"vm3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/virtualMachines/vm3\",\r\n
\ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n
- \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"9c9b16ef-3f88-47c6-bb15-9d2f72d270c8\",\r\n
+ \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"9ab677f6-6ca3-47d3-9780-ace4e8410b8e\",\r\n
\ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n
\ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\":
\"OpenLogic\",\r\n \"offer\": \"CentOS\",\r\n \"sku\": \"7.5\",\r\n
\ \"version\": \"latest\",\r\n \"exactVersion\": \"7.5.201808150\"\r\n
\ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\":
- \"vm3_OsDisk_1_227ea716fe414a74a7bc6d192a1db372\",\r\n \"createOption\":
+ \"vm3_OsDisk_1_89f881d6c66a4c15bc954e5dac8740fa\",\r\n \"createOption\":
\"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\":
{\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\":
- \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/disks/vm3_OsDisk_1_227ea716fe414a74a7bc6d192a1db372\"\r\n
+ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/disks/vm3_OsDisk_1_89f881d6c66a4c15bc954e5dac8740fa\"\r\n
\ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\":
[]\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm3\",\r\n
\ \"adminUsername\": \"fey\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\":
@@ -1849,19 +1806,19 @@ interactions:
{\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic\"}]},\r\n
\ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\":
\"vm3\",\r\n \"osName\": \"centos\",\r\n \"osVersion\": \"7.5.1804\",\r\n
- \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.53\",\r\n \"statuses\":
+ \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.53.1\",\r\n \"statuses\":
[\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n
\ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n
\ \"message\": \"Guest Agent is running\",\r\n \"time\":
- \"2021-02-09T07:32:28+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\":
- []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm3_OsDisk_1_227ea716fe414a74a7bc6d192a1db372\",\r\n
+ \"2021-03-15T09:00:45+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\":
+ []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm3_OsDisk_1_89f881d6c66a4c15bc954e5dac8740fa\",\r\n
\ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n
\ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning
- succeeded\",\r\n \"time\": \"2021-02-09T07:31:12.7943248+00:00\"\r\n
+ succeeded\",\r\n \"time\": \"2021-03-15T08:59:07.3303147+00:00\"\r\n
\ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\":
\"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n
\ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning
- succeeded\",\r\n \"time\": \"2021-02-09T07:32:27.8300266+00:00\"\r\n
+ succeeded\",\r\n \"time\": \"2021-03-15T09:00:41.8023829+00:00\"\r\n
\ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n
\ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n
\ }\r\n ]\r\n }\r\n }\r\n}"
@@ -1869,11 +1826,11 @@ interactions:
cache-control:
- no-cache
content-length:
- - '3830'
+ - '3832'
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:33:02 GMT
+ - Mon, 15 Mar 2021 09:00:50 GMT
expires:
- '-1'
pragma:
@@ -1890,7 +1847,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-resource:
- - Microsoft.Compute/LowCostGet3Min;3982,Microsoft.Compute/LowCostGet30Min;31741
+ - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31989
status:
code: 200
message: OK
@@ -1908,18 +1865,18 @@ interactions:
ParameterSetName:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-network/17.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/17.1.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic?api-version=2018-01-01
response:
body:
string: "{\r\n \"name\": \"vm3VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic\",\r\n
- \ \"etag\": \"W/\\\"986a6faf-f2f7-49c9-958e-cf19559cbfed\\\"\",\r\n \"location\":
+ \ \"etag\": \"W/\\\"3685ba62-055a-4f92-abe3-6b553d11dcb0\\\"\",\r\n \"location\":
\"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":
- \"Succeeded\",\r\n \"resourceGuid\": \"fad0f82e-da59-49ef-a3fe-bf0de46768fc\",\r\n
+ \"Succeeded\",\r\n \"resourceGuid\": \"2b949973-ee0d-40ec-9c97-baf95c047d72\",\r\n
\ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm3\",\r\n
\ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic/ipConfigurations/ipconfigvm3\",\r\n
- \ \"etag\": \"W/\\\"986a6faf-f2f7-49c9-958e-cf19559cbfed\\\"\",\r\n
+ \ \"etag\": \"W/\\\"3685ba62-055a-4f92-abe3-6b553d11dcb0\\\"\",\r\n
\ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n
\ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n
\ \"privateIPAddress\": \"10.0.0.5\",\r\n \"privateIPAllocationMethod\":
@@ -1928,8 +1885,8 @@ interactions:
\ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\":
\"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\":
[],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\":
- \"miqbrnuqydte5odg5vc0v0k14h.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\":
- \"00-22-48-04-B8-70\",\r\n \"enableAcceleratedNetworking\": false,\r\n
+ \"i5amle0sp5eufkqcb40fergale.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\":
+ \"00-22-48-02-EB-1B\",\r\n \"enableAcceleratedNetworking\": false,\r\n
\ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n
\ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG\"\r\n
\ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\":
@@ -1943,9 +1900,9 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:33:02 GMT
+ - Mon, 15 Mar 2021 09:00:51 GMT
etag:
- - W/"986a6faf-f2f7-49c9-958e-cf19559cbfed"
+ - W/"3685ba62-055a-4f92-abe3-6b553d11dcb0"
expires:
- '-1'
pragma:
@@ -1962,7 +1919,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - 2c04d69e-9c20-4f11-9dd7-8529bfd369b7
+ - 111466d8-cdc8-427a-97a9-d09f8234d1fe
status:
code: 200
message: OK
@@ -1980,17 +1937,17 @@ interactions:
ParameterSetName:
- -g -n --image --nsg-rule --ssh-key-name --generate-ssh-keys
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-network/17.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/17.1.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP?api-version=2018-01-01
response:
body:
string: "{\r\n \"name\": \"vm3PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP\",\r\n
- \ \"etag\": \"W/\\\"861b707c-9349-42e8-8e13-ca31553b2681\\\"\",\r\n \"location\":
+ \ \"etag\": \"W/\\\"f2b32e8d-55b4-44a1-95d9-1c5e65abe2c8\\\"\",\r\n \"location\":
\"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":
- \"Succeeded\",\r\n \"resourceGuid\": \"5ecc3588-8ccf-4998-88cf-1b2c0d3a9b03\",\r\n
- \ \"ipAddress\": \"40.78.28.226\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n
- \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\":
+ \"Succeeded\",\r\n \"resourceGuid\": \"8732ed5f-17f1-43e9-9ce8-3d2a7c7600ee\",\r\n
+ \ \"ipAddress\": \"40.118.166.240\",\r\n \"publicIPAddressVersion\":
+ \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\":
4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic/ipConfigurations/ipconfigvm3\"\r\n
\ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n
\ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}"
@@ -1998,13 +1955,13 @@ interactions:
cache-control:
- no-cache
content-length:
- - '996'
+ - '998'
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:33:03 GMT
+ - Mon, 15 Mar 2021 09:00:51 GMT
etag:
- - W/"861b707c-9349-42e8-8e13-ca31553b2681"
+ - W/"f2b32e8d-55b4-44a1-95d9-1c5e65abe2c8"
expires:
- '-1'
pragma:
@@ -2021,7 +1978,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - 3a1775df-f2f1-4980-9c0a-454c2658537a
+ - 338c8860-8328-4670-a16a-b7bbfcd9b0b1
status:
code: 200
message: OK
@@ -2039,12 +1996,12 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
+ - AZURECLI/2.20.0 azsdk-python-azure-mgmt-compute/19.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_ssh_key_000001/providers/Microsoft.Compute/sshPublicKeys/k3?api-version=2020-12-01
response:
body:
- string: "{\r\n \"name\": \"k3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_QWHWRJ26WVK2ZU2MQTZ5KBMW3YZUCGRJMUS6OL5O6HWQHJMEXIKET73/providers/Microsoft.Compute/sshPublicKeys/k3\",\r\n
+ string: "{\r\n \"name\": \"k3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_VM_SSH_KEY_Y2J5R4DQ37B2QBYQ5RFXYRVZDFQQMSGKNUEBJK2VF3LGWT3CQ3MWLV7/providers/Microsoft.Compute/sshPublicKeys/k3\",\r\n
\ \"location\": \"westus\",\r\n \"properties\": {\r\n \"publicKey\": \"ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQDmzXeK++L20uMK/Ug5wpjnWWyMlHoecEOxyHueHc1gPDj8qgLChiHt1OWJ1sDjiqBJ+hEEwZLjN8lCmUvWzzrl20d7M/BVp1ejulE/zr999kWuY3m5+FpAkbbxeO9LWoafwOir9dPzIOjDGdPWKbgHr3SerOHAuvVdXJDhWHtW5lB/MEnrxi48Pz/8k1lD1YccUAI6zDgKVJPBEk9fWMW8H0hKYsRXmlxdtg2npBQK7kbmcB2NJPEhTVgxVPqSaBVAt2lOCC/QQvAXcoD0lJGujp1IVYqSUarS5RnrYEDZ9Q6EKduWrP0GFkFkF8YzpFe+BRFaV8bLJrvZN43vgzRj
fey@DESKTOP-ARGPJS4\\n\"\r\n }\r\n}"
@@ -2056,7 +2013,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Tue, 09 Feb 2021 07:33:03 GMT
+ - Mon, 15 Mar 2021 09:00:51 GMT
expires:
- '-1'
pragma:
@@ -2073,7 +2030,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-resource:
- - Microsoft.Compute/LowCostGet3Min;3981,Microsoft.Compute/LowCostGet30Min;31740
+ - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31988
status:
code: 200
message: OK