From adf04b5cb1d236cdd073161eb180c058c72d901d Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Mon, 29 Jun 2020 08:39:26 +0000 Subject: [PATCH] Generated from 1b0d25d32d0d8850c780cf864a6da961f3263d34 Add go SDK configuration for hsm --- src/hardware-security-modules/HISTORY.rst | 16 +- src/hardware-security-modules/README.md | 59 +- .../__init__.py | 93 +- .../azext_hardware_security_modules/action.py | 34 +- .../azext_metadata.json | 6 +- .../azext_hardware_security_modules/custom.py | 34 +- .../generated/__init__.py | 24 +- .../generated/_client_factory.py | 38 +- .../generated/_help.py | 186 +- .../generated/_params.py | 124 +- .../_version.py => generated/_validators.py} | 18 +- .../generated/action.py | 116 +- .../generated/commands.py | 60 +- .../generated/custom.py | 139 +- .../manual/__init__.py | 24 +- .../tests/__init__.py | 120 +- .../tests/latest/__init__.py | 24 +- .../tests/latest/preparers.py | 159 + .../test_hardwaresecuritymodules.yaml | 9580 ----------------- ...test_hardware_security_modules_scenario.py | 116 + .../test_hardwaresecuritymodules_scenario.py | 129 - .../vendored_sdks/__init__.py | 24 +- .../hardwaresecuritymodules/__init__.py | 5 +- .../_azure_dedicated_hsm_resource_provider.py | 10 +- .../hardwaresecuritymodules/_configuration.py | 6 +- ...e_dedicated_hsm_resource_provider_async.py | 14 +- .../aio/_configuration_async.py | 8 +- .../aio/operations_async/__init__.py | 2 + .../_dedicated_hsm_operations_async.py | 165 +- .../_operation_operations_async.py | 102 + .../models/__init__.py | 9 + .../hardwaresecuritymodules/models/_models.py | 102 +- .../models/_models_py3.py | 112 +- .../operations/__init__.py | 2 + .../operations/_dedicated_hsm_operations.py | 169 +- .../operations/_operation_operations.py | 107 + src/hardware-security-modules/report.md | 97 +- src/hardware-security-modules/setup.cfg | 1 + src/hardware-security-modules/setup.py | 110 +- 39 files changed, 1574 insertions(+), 10570 deletions(-) rename src/hardware-security-modules/azext_hardware_security_modules/{vendored_sdks/hardwaresecuritymodules/_version.py => generated/_validators.py} (79%) create mode 100644 src/hardware-security-modules/azext_hardware_security_modules/tests/latest/preparers.py delete mode 100644 src/hardware-security-modules/azext_hardware_security_modules/tests/latest/recordings/test_hardwaresecuritymodules.yaml create mode 100644 src/hardware-security-modules/azext_hardware_security_modules/tests/latest/test_hardware_security_modules_scenario.py delete mode 100644 src/hardware-security-modules/azext_hardware_security_modules/tests/latest/test_hardwaresecuritymodules_scenario.py create mode 100644 src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/_operation_operations_async.py create mode 100644 src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/_operation_operations.py diff --git a/src/hardware-security-modules/HISTORY.rst b/src/hardware-security-modules/HISTORY.rst index 1c139576ba0..27f152061e8 100644 --- a/src/hardware-security-modules/HISTORY.rst +++ b/src/hardware-security-modules/HISTORY.rst @@ -1,8 +1,8 @@ -.. :changelog: - -Release History -=============== - -0.1.0 -++++++ -* Initial release. +.. :changelog: + +Release History +=============== + +0.1.0 +++++++ +* Initial release. diff --git a/src/hardware-security-modules/README.md b/src/hardware-security-modules/README.md index 0b1302bdd04..363913f7476 100644 --- a/src/hardware-security-modules/README.md +++ b/src/hardware-security-modules/README.md @@ -1,54 +1,5 @@ -Microsoft Azure CLI 'hardware-security-modules' Extension -========================================== - -### How to use ### -Install this extension using the below CLI command -``` -az extension add --name hardware-security-modules -``` - -### Getting Help - -To see examples of commands and parameters details of commands or command groups, one should run the command of interest with a -h - -Examples: -``` -az dedicated-hsm create -h - -az dedicated-hsm list -h - -az dedicated-hsm update -h -``` - - -##### Creating a dedicated hardware security module - -To create a dedicate hardware security module, one must have already setup all of the following in Azure: - -- A VNET -- A subnet for the HSMs in the specified VNET (delegation must be set to HSM) -- A subnet for the virtual network gateway -- A public IP address for the gateway - -More instructions can be found at: https://docs.microsoft.com/en-us/azure/dedicated-hsm/ - -An example of CLI commands that would setup a very basic network that manages a dedicated HSM via a VM would be: - -``` -az feature register --namespace Microsoft.HardwareSecurityModules --name AzureDedicatedHSM - -az feature register --namespace Microsoft.Network --name AllowBaremetalServers - -az network vnet create --name vn -g rg1 --subnet-name default - -az vm create -g rg1 --name vm1 --image UbuntuLTS - -az network vnet subnet create --vnet-name vn -n GatewaySubnet -g rg1 --address-prefix 10.0.5.0/24 - -az network vnet subnet create --vnet-name vn -g rg1 --name hsm --address-prefixes 10.0.2.0/24 --delegations Microsoft.HardwareSecurityModules/dedicatedHSMs - -az network public-ip create -n ERGWVIP -g rg1 --allocation-method Dynamic - -az network vnet-gateway create -n ERGW -l japaneast --public-ip-address ERGWVIP -g rg1 --vnet vn --sku standard --gateway-type ExpressRoute - -``` +Microsoft Azure CLI 'hardware-security-modules' Extension +========================================== + +This package is for the 'hardware-security-modules' extension. +i.e. 'az hardware-security-modules' diff --git a/src/hardware-security-modules/azext_hardware_security_modules/__init__.py b/src/hardware-security-modules/azext_hardware_security_modules/__init__.py index 0645a0a708d..70d30460db5 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/__init__.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/__init__.py @@ -1,47 +1,46 @@ -# -------------------------------------------------------------------------- -# 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. -# -------------------------------------------------------------------------- - -from azure.cli.core import AzCommandsLoader -from azext_hardware_security_modules.generated._help import helps # pylint: disable=unused-import - - -class AzureDedicatedHSMResourceProviderCommandsLoader(AzCommandsLoader): - - def __init__(self, cli_ctx=None): - from azure.cli.core.commands import CliCommandType - from azext_hardware_security_modules.generated._client_factory import cf_hardwaresecuritymodules - hardwaresecuritymodules_custom = CliCommandType( - operations_tmpl='azext_hardware_security_modules.custom#{}', - client_factory=cf_hardwaresecuritymodules) - super(AzureDedicatedHSMResourceProviderCommandsLoader, - self).__init__( - cli_ctx=cli_ctx, custom_command_type=hardwaresecuritymodules_custom) - - def load_command_table(self, args): - from azext_hardware_security_modules.generated.commands import load_command_table - load_command_table(self, args) - try: - from azext_hardware_security_modules.manual.commands import load_command_table as load_command_table_manual - load_command_table_manual(self, args) - except ImportError: - pass - return self.command_table - - def load_arguments(self, command): - from azext_hardware_security_modules.generated._params import load_arguments - load_arguments(self, command) - try: - from azext_hardware_security_modules.manual._params import load_arguments as load_arguments_manual - load_arguments_manual(self, command) - except ImportError: - pass - - -COMMAND_LOADER_CLS = AzureDedicatedHSMResourceProviderCommandsLoader +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- + +from azure.cli.core import AzCommandsLoader +from azext_hardware_security_modules.generated._help import helps # pylint: disable=unused-import + + +class AzureDedicatedHSMResourceProviderCommandsLoader(AzCommandsLoader): + + def __init__(self, cli_ctx=None): + from azure.cli.core.commands import CliCommandType + from azext_hardware_security_modules.generated._client_factory import cf_hardware_security_modules + hardware_security_modules_custom = CliCommandType( + operations_tmpl='azext_hardware_security_modules.custom#{}', + client_factory=cf_hardware_security_modules) + parent = super(AzureDedicatedHSMResourceProviderCommandsLoader, self) + parent.__init__(cli_ctx=cli_ctx, custom_command_type=hardware_security_modules_custom) + + def load_command_table(self, args): + from azext_hardware_security_modules.generated.commands import load_command_table + load_command_table(self, args) + try: + from azext_hardware_security_modules.manual.commands import load_command_table as load_command_table_manual + load_command_table_manual(self, args) + except ImportError: + pass + return self.command_table + + def load_arguments(self, command): + from azext_hardware_security_modules.generated._params import load_arguments + load_arguments(self, command) + try: + from azext_hardware_security_modules.manual._params import load_arguments as load_arguments_manual + load_arguments_manual(self, command) + except ImportError: + pass + + +COMMAND_LOADER_CLS = AzureDedicatedHSMResourceProviderCommandsLoader diff --git a/src/hardware-security-modules/azext_hardware_security_modules/action.py b/src/hardware-security-modules/azext_hardware_security_modules/action.py index d95d53bf711..a846b2766c4 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/action.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/action.py @@ -1,17 +1,17 @@ -# -------------------------------------------------------------------------- -# 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. -# -------------------------------------------------------------------------- -# pylint: disable=wildcard-import -# pylint: disable=unused-wildcard-import - -from .generated.action import * # noqa: F403 -try: - from .manual.action import * # noqa: F403 -except ImportError: - pass +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=wildcard-import +# pylint: disable=unused-wildcard-import + +from .generated.action import * # noqa: F403 +try: + from .manual.action import * # noqa: F403 +except ImportError: + pass diff --git a/src/hardware-security-modules/azext_hardware_security_modules/azext_metadata.json b/src/hardware-security-modules/azext_hardware_security_modules/azext_metadata.json index 13025150393..7b56fb1e11a 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/azext_metadata.json +++ b/src/hardware-security-modules/azext_hardware_security_modules/azext_metadata.json @@ -1,4 +1,4 @@ -{ - "azext.isExperimental": true, - "azext.minCliCoreVersion": "2.3.1" +{ + "azext.isExperimental": true, + "azext.minCliCoreVersion": "2.3.1" } \ No newline at end of file diff --git a/src/hardware-security-modules/azext_hardware_security_modules/custom.py b/src/hardware-security-modules/azext_hardware_security_modules/custom.py index dbe9d5f9742..7f31674ce96 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/custom.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/custom.py @@ -1,17 +1,17 @@ -# -------------------------------------------------------------------------- -# 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. -# -------------------------------------------------------------------------- -# pylint: disable=wildcard-import -# pylint: disable=unused-wildcard-import - -from .generated.custom import * # noqa: F403 -try: - from .manual.custom import * # noqa: F403 -except ImportError: - pass +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=wildcard-import +# pylint: disable=unused-wildcard-import + +from .generated.custom import * # noqa: F403 +try: + from .manual.custom import * # noqa: F403 +except ImportError: + pass diff --git a/src/hardware-security-modules/azext_hardware_security_modules/generated/__init__.py b/src/hardware-security-modules/azext_hardware_security_modules/generated/__init__.py index c9cfdc73e77..ee0c4f36bd0 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/generated/__init__.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/generated/__init__.py @@ -1,12 +1,12 @@ -# 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. -# -------------------------------------------------------------------------- - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/hardware-security-modules/azext_hardware_security_modules/generated/_client_factory.py b/src/hardware-security-modules/azext_hardware_security_modules/generated/_client_factory.py index a8a6ae0de42..ecbd9ca36de 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/generated/_client_factory.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/generated/_client_factory.py @@ -1,19 +1,19 @@ -# -------------------------------------------------------------------------- -# 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. -# -------------------------------------------------------------------------- - - -def cf_hardwaresecuritymodules(cli_ctx, *_): - from azure.cli.core.commands.client_factory import get_mgmt_service_client - from ..vendored_sdks.hardwaresecuritymodules import AzureDedicatedHSMResourceProvider - return get_mgmt_service_client(cli_ctx, AzureDedicatedHSMResourceProvider) - - -def cf_dedicated_hsm(cli_ctx, *_): - return cf_hardwaresecuritymodules(cli_ctx).dedicated_hsm +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- + + +def cf_hardware_security_modules(cli_ctx, *_): + from azure.cli.core.commands.client_factory import get_mgmt_service_client + from ..vendored_sdks.hardwaresecuritymodules import AzureDedicatedHSMResourceProvider + return get_mgmt_service_client(cli_ctx, AzureDedicatedHSMResourceProvider) + + +def cf_dedicated_hsm(cli_ctx, *_): + return cf_hardware_security_modules(cli_ctx).dedicated_hsm diff --git a/src/hardware-security-modules/azext_hardware_security_modules/generated/_help.py b/src/hardware-security-modules/azext_hardware_security_modules/generated/_help.py index 894b8f8fb6c..477c855cf7d 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/generated/_help.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/generated/_help.py @@ -1,84 +1,102 @@ -# -------------------------------------------------------------------------- -# 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. -# -------------------------------------------------------------------------- -# pylint: disable=too-many-lines - -from knack.help_files import helps - - -helps['dedicated-hsm'] = """ - type: group - short-summary: dedicated-hsm to create, update, list, show, and delete HSMs -""" - -helps['dedicated-hsm list'] = """ - type: command - short-summary: The List operation gets information about the dedicated HSMs associated with the resrouce group. - examples: - - name: List dedicated HSM devices in a resource group - text: |- - az dedicated-hsm list -g "hsm-group" -""" - -helps['dedicated-hsm list'] = """ - type: command - short-summary: The List operation gets information about the dedicated HSMs associated with the subscription. - examples: - - name: List dedicated HSM devices in a subscription - text: |- - az dedicated-hsm list -""" - -helps['dedicated-hsm show'] = """ - type: command - short-summary: Gets the specified Azure dedicated HSM. - examples: - - name: Get a dedicated HSM - text: |- - az dedicated-hsm show -n "hsm1" -g "hsm-group" -""" - -helps['dedicated-hsm create'] = """ - type: command - short-summary: Create a dedicated HSM in the specified subscription. - examples: - - name: Create a new dedicated HSM - text: |- - az dedicated-hsm create -n "hsm1" -l "japanwest" -i private-ip-address="1.0.0.1" \ --s id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/hsm/subnets/hsm" \ ---stamp-id "stamp1" --sku name="SafeNet Luna Network HSM A790" --tags Dept="hsm" Environment="dogfood" -g "hsm-group" -""" - -helps['dedicated-hsm update'] = """ - type: command - short-summary: Update a dedicated HSM in the specified subscription. - examples: - - name: Update an existing dedicated HSM - text: |- - az dedicated-hsm update -n "hsm1" --tags Dept="hsm" Environment="dogfood" Sl\ -ice="A" -g "hsm-group" -""" - -helps['dedicated-hsm delete'] = """ - type: command - short-summary: Deletes the specified Azure Dedicated HSM. - examples: - - name: Delete a dedicated HSM - text: |- - az dedicated-hsm delete -n "hsm1" -g "hsm-group" -""" - -helps['dedicated-hsm wait'] = """ - type: command - short-summary: Waits for operation to complete - examples: - - name: Delete a dedicated HSM - text: |- - az dedicated-hsm wait --created -g "hsm-group" --name "hsm1" -""" +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines + +from knack.help_files import helps + + +helps['hardware-security-modules dedicated-hsm'] = """ + type: group + short-summary: hardware-security-modules dedicated-hsm +""" + +helps['hardware-security-modules dedicated-hsm list'] = """ + type: command + short-summary: The List operation gets information about the dedicated HSMs associated with the subscription. + examples: + - name: List dedicated HSM devices in a resource group + text: |- + az hardware-security-modules dedicated-hsm list --resource-group "hsm-group" +""" + +helps['hardware-security-modules dedicated-hsm show'] = """ + type: command + short-summary: Gets the specified Azure dedicated HSM. + examples: + - name: Get a dedicated HSM + text: |- + az hardware-security-modules dedicated-hsm show --name "hsm1" --resource-group "hsm-group" +""" + +helps['hardware-security-modules dedicated-hsm create'] = """ + type: command + short-summary: Create or Update a dedicated HSM in the specified subscription. + parameters: + - name: --network-profile-subnet + short-summary: Specifies the identifier of the subnet. + long-summary: | + Usage: --network-profile-subnet id=XX + + id: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/.\ +.. + - name: --network-profile-network-interfaces + short-summary: Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM. + long-summary: | + Usage: --network-profile-network-interfaces private-ip-address=XX + + private-ip-address: Private Ip address of the interface + + Multiple actions can be specified by using more than one --network-profile-network-interfaces argument. + examples: + - name: Create a new or update an existing dedicated HSM + text: |- + az hardware-security-modules dedicated-hsm create --name "hsm1" --location "westus" --network-profile-ne\ +twork-interfaces private-ip-address="1.0.0.1" --network-profile-subnet id="/subscriptions/00000000-0000-0000-0000-00000\ +0000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" --stamp-id "stamp\ +01" --tags Dept="hsm" Environment="dogfood" --resource-group "hsm-group" +""" + +helps['hardware-security-modules dedicated-hsm update'] = """ + type: command + short-summary: Update a dedicated HSM in the specified subscription. + examples: + - name: Update an existing dedicated HSM + text: |- + az hardware-security-modules dedicated-hsm update --name "hsm1" --tags Dept="hsm" Environment="dogfood" \ +Slice="A" --resource-group "hsm-group" +""" + +helps['hardware-security-modules dedicated-hsm delete'] = """ + type: command + short-summary: Deletes the specified Azure Dedicated HSM. + examples: + - name: Delete a dedicated HSM + text: |- + az hardware-security-modules dedicated-hsm delete --name "hsm1" --resource-group "hsm-group" +""" + +helps['hardware-security-modules dedicated-hsm wait'] = """ + type: command + short-summary: Place the CLI in a waiting state until a condition of the hardware-security-modules dedicated-hsm is\ + met. + examples: + - name: Pause executing next line of CLI script until the hardware-security-modules dedicated-hsm is successfully\ + created. + text: |- + az hardware-security-modules dedicated-hsm wait --name "hsm1" --resource-group "hsm-group" --created + - name: Pause executing next line of CLI script until the hardware-security-modules dedicated-hsm is successfully\ + updated. + text: |- + az hardware-security-modules dedicated-hsm wait --name "hsm1" --resource-group "hsm-group" --updated + - name: Pause executing next line of CLI script until the hardware-security-modules dedicated-hsm is successfully\ + deleted. + text: |- + az hardware-security-modules dedicated-hsm wait --name "hsm1" --resource-group "hsm-group" --deleted +""" diff --git a/src/hardware-security-modules/azext_hardware_security_modules/generated/_params.py b/src/hardware-security-modules/azext_hardware_security_modules/generated/_params.py index c502b974f5e..362f8271d84 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/generated/_params.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/generated/_params.py @@ -1,65 +1,59 @@ -# -------------------------------------------------------------------------- -# 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. -# -------------------------------------------------------------------------- -# pylint: disable=too-many-lines -# pylint: disable=too-many-statements - -from knack.arguments import CLIArgumentType -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 azext_hardware_security_modules.action import ( - AddNetworkProfileSubnet, - AddNetworkProfileNetworkInterfaces -) - - -def load_arguments(self, _): - - with self.argument_context('dedicated-hsm list') as c: - c.argument('resource_group_name', resource_group_name_type) - c.argument('top', help='Maximum number of results to return.') - - with self.argument_context('dedicated-hsm show') as c: - c.argument('resource_group_name', resource_group_name_type) - c.argument('name', options_list=[ - '--name', '-n'], help='The name of the dedicated HSM.') - - with self.argument_context('dedicated-hsm create') as c: - c.argument('resource_group_name', resource_group_name_type) - c.argument('name', options_list=[ - '--name', '-n'], help='Name of the dedicated Hsm') - c.argument('location', arg_type=get_location_type(self.cli_ctx), - validator=get_default_location_from_resource_group) - c.argument('sku', type=str, - help='The HSM device SKU if a non-standard HSM is wanted (default is: SafeNet Luna Network HSM A790)') - c.argument('zones', nargs='+', - help='The Dedicated Hsm zones.') - c.argument('tags', tags_type) - c.argument( - 'stamp_id', help='This field will be used when RP does not support Availability zones.') - c.argument('network_profile_subnet', arg_group='network profile', options_list=['--subnet', '-s'], action=AddNetworkProfileSubnet, nargs='+', help='Specifies the identifier ' - 'of the subnet. Expected value: id=xx.') - c.argument('network_profile_network_interfaces', options_list=['--network-profile-network-interfaces', '-i'], action=AddNetworkProfileNetworkInterfaces, nargs='+', help='Sp' - 'ecifies a list of ip address from the specfied subnet for the network interfaces associated with the dedicated HSM. Expe' - 'cted value: -i private-ip-address=xx.') - - with self.argument_context('dedicated-hsm update') as c: - c.argument('resource_group_name', resource_group_name_type) - c.argument('name', options_list=[ - '--name', '-n'], help='Name of the dedicated HSM') - c.argument('tags', tags_type) - - with self.argument_context('dedicated-hsm delete') as c: - c.argument('resource_group_name', resource_group_name_type) - c.argument('name', options_list=[ - '--name', '-n'], help='The name of the dedicated HSM to delete') +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# 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 azext_hardware_security_modules.action import ( + AddNetworkProfileSubnet, + AddNetworkProfileNetworkInterfaces +) + + +def load_arguments(self, _): + + with self.argument_context('hardware-security-modules dedicated-hsm list') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('top', help='Maximum number of results to return.') + + with self.argument_context('hardware-security-modules dedicated-hsm show') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('name', help='The name of the dedicated HSM.', id_part='name') + + with self.argument_context('hardware-security-modules dedicated-hsm create') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('name', help='Name of the dedicated Hsm') + c.argument('location', arg_type=get_location_type(self.cli_ctx), + validator=get_default_location_from_resource_group) + c.argument('zones', nargs='+', help='The Dedicated Hsm zones.') + c.argument('tags', tags_type) + c.argument('stamp_id', help='This field will be used when RP does not support Availability zones.') + c.argument('network_profile_subnet', action=AddNetworkProfileSubnet, nargs='+', help='Specifies the identifier ' + 'of the subnet.') + c.argument('network_profile_network_interfaces', action=AddNetworkProfileNetworkInterfaces, nargs='+', help='Sp' + 'ecifies the list of resource Ids for the network interfaces associated with the dedicated HSM.') + + with self.argument_context('hardware-security-modules dedicated-hsm update') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('name', help='Name of the dedicated HSM', id_part='name') + c.argument('tags', tags_type) + + with self.argument_context('hardware-security-modules dedicated-hsm delete') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('name', help='The name of the dedicated HSM to delete', id_part='name') + + with self.argument_context('hardware-security-modules dedicated-hsm wait') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('name', help='The name of the dedicated HSM.', id_part='name') diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/_version.py b/src/hardware-security-modules/azext_hardware_security_modules/generated/_validators.py similarity index 79% rename from src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/_version.py rename to src/hardware-security-modules/azext_hardware_security_modules/generated/_validators.py index fe0d5a0b414..e5ac7838677 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/_version.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/generated/_validators.py @@ -1,9 +1,9 @@ -# 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. -# -------------------------------------------------------------------------- - -VERSION = "2019-05-01T00:00:00.000Z" +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- diff --git a/src/hardware-security-modules/azext_hardware_security_modules/generated/action.py b/src/hardware-security-modules/azext_hardware_security_modules/generated/action.py index 000b7086e8e..ed2b6ba242b 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/generated/action.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/generated/action.py @@ -1,58 +1,58 @@ -# -------------------------------------------------------------------------- -# 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. -# -------------------------------------------------------------------------- -# pylint: disable=protected-access - -import argparse -from knack.util import CLIError -from collections import defaultdict - - -class AddNetworkProfileSubnet(argparse.Action): - def __call__(self, parser, namespace, values, option_string=None): - action = self.get_action(values, option_string) - namespace.network_profile_subnet = action - - def get_action(self, values, option_string): # pylint: disable=no-self-use - try: - properties = defaultdict(list) - for (k, v) in (x.split('=', 1) for x in values): - properties[k].append(v) - properties = dict(properties) - except ValueError: - raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) - d = {} - for k in properties: - kl = k.lower() - v = properties[k] - if kl == 'id': - d['id'] = v[0] - return d - - -class AddNetworkProfileNetworkInterfaces(argparse._AppendAction): - def __call__(self, parser, namespace, values, option_string=None): - action = self.get_action(values, option_string) - super(AddNetworkProfileNetworkInterfaces, self).__call__(parser, namespace, action, option_string) - - def get_action(self, values, option_string): # pylint: disable=no-self-use - try: - properties = defaultdict(list) - for (k, v) in (x.split('=', 1) for x in values): - properties[k].append(v) - properties = dict(properties) - except ValueError: - raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) - d = {} - for k in properties: - kl = k.lower() - v = properties[k] - if kl == 'private-ip-address': - d['private_ip_address'] = v[0] - return d +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=protected-access + +import argparse +from knack.util import CLIError +from collections import defaultdict + + +class AddNetworkProfileSubnet(argparse.Action): + def __call__(self, parser, namespace, values, option_string=None): + action = self.get_action(values, option_string) + namespace.network_profile_subnet = action + + def get_action(self, values, option_string): # pylint: disable=no-self-use + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) + except ValueError: + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + for k in properties: + kl = k.lower() + v = properties[k] + if kl == 'id': + d['id'] = v[0] + return d + + +class AddNetworkProfileNetworkInterfaces(argparse._AppendAction): + def __call__(self, parser, namespace, values, option_string=None): + action = self.get_action(values, option_string) + super(AddNetworkProfileNetworkInterfaces, self).__call__(parser, namespace, action, option_string) + + def get_action(self, values, option_string): # pylint: disable=no-self-use + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) + except ValueError: + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + for k in properties: + kl = k.lower() + v = properties[k] + if kl == 'private-ip-address': + d['private_ip_address'] = v[0] + return d diff --git a/src/hardware-security-modules/azext_hardware_security_modules/generated/commands.py b/src/hardware-security-modules/azext_hardware_security_modules/generated/commands.py index dc2ebc0879c..170c1f48a77 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/generated/commands.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/generated/commands.py @@ -1,32 +1,28 @@ -# -------------------------------------------------------------------------- -# 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. -# -------------------------------------------------------------------------- - -from azure.cli.core.commands import CliCommandType - - -def load_command_table(self, _): - - from azext_hardware_security_modules.generated._client_factory import cf_dedicated_hsm - hardwaresecuritymodules_dedicated_hsm = CliCommandType( - operations_tmpl='azext_hardware_security_modules.vendored_sdks.hardwaresecuritymodules.operations._dedicated_hsm_' - 'operations#DedicatedHsmOperations.{}', - client_factory=cf_dedicated_hsm) - with self.command_group('dedicated-hsm', hardwaresecuritymodules_dedicated_hsm, - client_factory=cf_dedicated_hsm, is_experimental=True) as g: - g.custom_command('list', 'hardwaresecuritymodules_dedicated_hsm_list') - g.custom_show_command( - 'show', 'hardwaresecuritymodules_dedicated_hsm_show') - g.custom_command( - 'create', 'hardwaresecuritymodules_dedicated_hsm_create', supports_no_wait=True) - g.custom_command( - 'update', 'hardwaresecuritymodules_dedicated_hsm_update', supports_no_wait=True) - g.custom_command('delete', 'hardwaresecuritymodules_dedicated_hsm_delete', - supports_no_wait=True, confirmation=True) - g.wait_command('wait') +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- + +from azure.cli.core.commands import CliCommandType + + +def load_command_table(self, _): + + from azext_hardware_security_modules.generated._client_factory import cf_dedicated_hsm + hardware_security_modules_dedicated_hsm = CliCommandType( + operations_tmpl='azext_hardware_security_modules.vendored_sdks.hardwaresecuritymodules.operations._dedicated_hs' + 'm_operations#DedicatedHsmOperations.{}', + client_factory=cf_dedicated_hsm) + with self.command_group('hardware-security-modules dedicated-hsm', hardware_security_modules_dedicated_hsm, + client_factory=cf_dedicated_hsm, is_experimental=True) as g: + g.custom_command('list', 'hardware_security_modules_dedicated_hsm_list') + g.custom_show_command('show', 'hardware_security_modules_dedicated_hsm_show') + g.custom_command('create', 'hardware_security_modules_dedicated_hsm_create', supports_no_wait=True) + g.custom_command('update', 'hardware_security_modules_dedicated_hsm_update', supports_no_wait=True) + g.custom_command('delete', 'hardware_security_modules_dedicated_hsm_delete', supports_no_wait=True) + g.custom_wait_command('wait', 'hardware_security_modules_dedicated_hsm_show') diff --git a/src/hardware-security-modules/azext_hardware_security_modules/generated/custom.py b/src/hardware-security-modules/azext_hardware_security_modules/generated/custom.py index 46c466c61cd..02e9f82780b 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/generated/custom.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/generated/custom.py @@ -1,65 +1,74 @@ -# -------------------------------------------------------------------------- -# 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. -# -------------------------------------------------------------------------- -# pylint: disable=too-many-lines - -import json - - -def hardwaresecuritymodules_dedicated_hsm_list(cmd, client, - resource_group_name=None, - top=None): - if resource_group_name: - return client.list_by_resource_group(resource_group_name=resource_group_name, - top=top) - return client.list_by_subscription(top=top) - - -def hardwaresecuritymodules_dedicated_hsm_show(cmd, client, - resource_group_name, - name): - return client.get(resource_group_name=resource_group_name, - name=name) - - -def hardwaresecuritymodules_dedicated_hsm_create(cmd, client, - resource_group_name, - name, - location, - sku=None, - zones=None, - tags=None, - stamp_id=None, - network_profile_subnet=None, - network_profile_network_interfaces=None): - return client.begin_create_or_update(resource_group_name=resource_group_name, - name=name, - location=location, - sku=sku if not sku else {'name': sku}, - zones=zones, - tags=tags, - stamp_id=stamp_id, - subnet=network_profile_subnet, - network_interfaces=network_profile_network_interfaces) - - -def hardwaresecuritymodules_dedicated_hsm_update(cmd, client, - resource_group_name, - name, - tags=None): - return client.begin_update(resource_group_name=resource_group_name, - name=name, - tags=tags) - - -def hardwaresecuritymodules_dedicated_hsm_delete(cmd, client, - resource_group_name, - name): - return client.begin_delete(resource_group_name=resource_group_name, - name=name) +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines + +import json +from azure.cli.core.util import sdk_no_wait + + +def hardware_security_modules_dedicated_hsm_list(client, + resource_group_name=None, + top=None): + if resource_group_name: + return client.list_by_resource_group(resource_group_name=resource_group_name, + top=top) + return client.list_by_subscription(top=top) + + +def hardware_security_modules_dedicated_hsm_show(client, + resource_group_name, + name): + return client.get(resource_group_name=resource_group_name, + name=name) + + +def hardware_security_modules_dedicated_hsm_create(client, + resource_group_name, + name, + location, + zones=None, + tags=None, + stamp_id=None, + network_profile_subnet=None, + network_profile_network_interfaces=None, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_create_or_update, + resource_group_name=resource_group_name, + name=name, + location=location, + sku=json.loads("{\"name\": \"SafeNet Luna Network HSM A790\"}"), + zones=zones, + tags=tags, + stamp_id=stamp_id, + subnet=network_profile_subnet, + network_interfaces=network_profile_network_interfaces) + + +def hardware_security_modules_dedicated_hsm_update(client, + resource_group_name, + name, + tags=None, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_update, + resource_group_name=resource_group_name, + name=name, + tags=tags) + + +def hardware_security_modules_dedicated_hsm_delete(client, + resource_group_name, + name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_delete, + resource_group_name=resource_group_name, + name=name) diff --git a/src/hardware-security-modules/azext_hardware_security_modules/manual/__init__.py b/src/hardware-security-modules/azext_hardware_security_modules/manual/__init__.py index c9cfdc73e77..ee0c4f36bd0 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/manual/__init__.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/manual/__init__.py @@ -1,12 +1,12 @@ -# 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. -# -------------------------------------------------------------------------- - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/hardware-security-modules/azext_hardware_security_modules/tests/__init__.py b/src/hardware-security-modules/azext_hardware_security_modules/tests/__init__.py index df29287338d..5f8f1fd97ad 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/tests/__init__.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/tests/__init__.py @@ -1,49 +1,71 @@ -# 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 os - - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) - - -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) - except (ImportError, AttributeError): - pass - return func_to_call - - def wrapper(*args, **kwargs): - func_to_call = get_func_to_call() - print("running {}()...".format(func.__name__)) - return func_to_call(*args, **kwargs) - - if inspect.isclass(func): - return get_func_to_call() - else: - return wrapper +# 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 os +import sys +import traceback +from azure.core.exceptions import AzureError +from azure.cli.testsdk.exceptions import CliTestError, CliExecutionError, JMESPathCheckAssertionError + + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) +exceptions = [] + + +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) + print("Found manual override for {}(...)".format(func.__name__)) + except (ImportError, AttributeError): + pass + return func_to_call + + def wrapper(*args, **kwargs): + func_to_call = get_func_to_call() + print("running {}()...".format(func.__name__)) + try: + return func_to_call(*args, **kwargs) + except (AssertionError, AzureError, CliTestError, CliExecutionError, JMESPathCheckAssertionError) as e: + print("--------------------------------------") + print("step exception: ", e) + print("--------------------------------------", file=sys.stderr) + print("step exception in {}: {}".format(func.__name__, e), file=sys.stderr) + traceback.print_exc() + exceptions.append((func.__name__, sys.exc_info())) + + if inspect.isclass(func): + return get_func_to_call() + return wrapper + + +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/hardware-security-modules/azext_hardware_security_modules/tests/latest/__init__.py b/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/__init__.py index c9cfdc73e77..ee0c4f36bd0 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/__init__.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/__init__.py @@ -1,12 +1,12 @@ -# 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. -# -------------------------------------------------------------------------- - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/preparers.py b/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/preparers.py new file mode 100644 index 00000000000..4702355b2bd --- /dev/null +++ b/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/preparers.py @@ -0,0 +1,159 @@ +# -------------------------------------------------------------------------- +# 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 os +from datetime import datetime +from azure_devtools.scenario_tests import SingleValueReplacer +from azure.cli.testsdk.preparers import NoTrafficRecordingPreparer +from azure.cli.testsdk.exceptions import CliTestError +from azure.cli.testsdk.reverse_dependency import get_dummy_cli + + +KEY_RESOURCE_GROUP = 'rg' +KEY_VIRTUAL_NETWORK = 'vnet' +KEY_VNET_SUBNET = 'subnet' +KEY_VNET_NIC = 'nic' + + +class VirtualNetworkPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.vn', + parameter_name='virtual_network', + resource_group_name=None, + resource_group_key=KEY_RESOURCE_GROUP, + dev_setting_name='AZURE_CLI_TEST_DEV_VIRTUAL_NETWORK_NAME', + random_name_length=24, key=KEY_VIRTUAL_NETWORK): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VirtualNetworkPreparer, self).__init__( + name_prefix, random_name_length) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group_name = resource_group_name + self.resource_group_key = resource_group_key + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group_name: + self.resource_group_name = self.test_class_instance.kwargs.get( + self.resource_group_key) + if not self.resource_group_name: + raise CliTestError("Error: No resource group configured!") + + tags = {'product': 'azurecli', 'cause': 'automation', + 'date': datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')} + if 'ENV_JOB_NAME' in os.environ: + tags['job'] = os.environ['ENV_JOB_NAME'] + tags = ' '.join(['{}={}'.format(key, value) + for key, value in tags.items()]) + template = 'az network vnet create --resource-group {} --name {} --subnet-name default --tag ' + tags + self.live_only_execute(self.cli_ctx, template.format( + self.resource_group_name, name)) + + self.test_class_instance.kwargs[self.key] = name + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + # delete vnet if test is being recorded and if the vnet is not a dev rg + if not self.dev_setting_name: + self.live_only_execute( + self.cli_ctx, + 'az network vnet delete --name {} --resource-group {}'.format(name, self.resource_group_name)) + + +class VnetSubnetPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.vn', + parameter_name='subnet', + resource_group_key=KEY_RESOURCE_GROUP, + vnet_key=KEY_VIRTUAL_NETWORK, + address_prefixes="11.0.0.0/24", + dev_setting_name='AZURE_CLI_TEST_DEV_VNET_SUBNET_NAME', + key=KEY_VNET_SUBNET): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VnetSubnetPreparer, self).__init__(name_prefix, 15) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group = [resource_group_key, None] + self.vnet = [vnet_key, None] + self.address_prefixes = address_prefixes + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group[1]: + self.resource_group[1] = self.test_class_instance.kwargs.get( + self.resource_group[0]) + if not self.resource_group[1]: + raise CliTestError("Error: No resource group configured!") + if not self.vnet[1]: + self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) + if not self.vnet[1]: + raise CliTestError("Error: No vnet configured!") + + self.test_class_instance.kwargs[self.key] = 'default' + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + pass + + +class VnetNicPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.nic', + parameter_name='subnet', + resource_group_key=KEY_RESOURCE_GROUP, + vnet_key=KEY_VIRTUAL_NETWORK, + dev_setting_name='AZURE_CLI_TEST_DEV_VNET_NIC_NAME', + key=KEY_VNET_NIC): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VnetNicPreparer, self).__init__(name_prefix, 15) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group = [resource_group_key, None] + self.vnet = [vnet_key, None] + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group[1]: + self.resource_group[1] = self.test_class_instance.kwargs.get( + self.resource_group[0]) + if not self.resource_group[1]: + raise CliTestError("Error: No resource group configured!") + if not self.vnet[1]: + self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) + if not self.vnet[1]: + raise CliTestError("Error: No vnet configured!") + + template = 'az network nic create --resource-group {} --name {} --vnet-name {} --subnet default ' + self.live_only_execute(self.cli_ctx, template.format( + self.resource_group[1], name, self.vnet[1])) + + self.test_class_instance.kwargs[self.key] = name + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + if not self.dev_setting_name: + self.live_only_execute( + self.cli_ctx, + 'az network nic delete --name {} --resource-group {}'.format(name, self.resource_group[1])) diff --git a/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/recordings/test_hardwaresecuritymodules.yaml b/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/recordings/test_hardwaresecuritymodules.yaml deleted file mode 100644 index 3d916a95e30..00000000000 --- a/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/recordings/test_hardwaresecuritymodules.yaml +++ /dev/null @@ -1,9580 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - feature register - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --namespace --name - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Features/providers/Microsoft.HardwareSecurityModules/features/AzureDedicatedHSM/register?api-version=2015-12-01 - response: - body: - string: '{"properties":{"state":"Registered"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Features/providers/Microsoft.HardwareSecurityModules/features/AzureDedicatedHsm","type":"Microsoft.Features/providers/features","name":"Microsoft.HardwareSecurityModules/AzureDedicatedHsm"}' - headers: - cache-control: - - no-cache - content-length: - - '304' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:45:50 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - feature register - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --namespace --name - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Features/providers/Microsoft.Network/features/AllowBaremetalServers/register?api-version=2015-12-01 - response: - body: - string: '{"properties":{"state":"Registered"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Features/providers/Microsoft.Network/features/AllowBaremetalServers","type":"Microsoft.Features/providers/features","name":"Microsoft.Network/AllowBaremetalServers"}' - headers: - cache-control: - - no-cache - content-length: - - '280' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:45:51 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet create - Connection: - - keep-alive - ParameterSetName: - - --name -g --subnet-name - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2019-07-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"japaneast","tags":{"product":"azurecli","cause":"automation","date":"2020-05-30T03:45:42Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '431' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:45:52 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: '{"location": "japaneast", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": {"addressPrefix": - "10.0.0.0/24"}, "name": "default"}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet create - Connection: - - keep-alive - Content-Length: - - '208' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - --name -g --subnet-name - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn\",\r\n - \ \"etag\": \"W/\\\"8285fd99-81b1-427b-9b29-2dece0c61fdc\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"japaneast\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"f0103c77-d74f-49b9-bf46-d0941621438b\",\r\n \"addressSpace\": - {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n - \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default\",\r\n - \ \"etag\": \"W/\\\"8285fd99-81b1-427b-9b29-2dece0c61fdc\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": - [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\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}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/76d73189-1870-4907-aab1-9783def4e3f8?api-version=2020-04-01 - cache-control: - - no-cache - content-length: - - '1431' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:45:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 9c4ca241-9cdb-43d4-b378-f8d859f006f1 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet create - Connection: - - keep-alive - ParameterSetName: - - --name -g --subnet-name - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/76d73189-1870-4907-aab1-9783def4e3f8?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:46:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 36979d94-9cb6-4992-9197-99b50619c0fc - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet create - Connection: - - keep-alive - ParameterSetName: - - --name -g --subnet-name - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/76d73189-1870-4907-aab1-9783def4e3f8?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:46:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ce2bb97d-5d0b-492d-bafc-faa28c93fbcf - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet create - Connection: - - keep-alive - ParameterSetName: - - --name -g --subnet-name - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/76d73189-1870-4907-aab1-9783def4e3f8?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:46:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 59ffa7d6-4709-4528-8355-6295d583dab1 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet create - Connection: - - keep-alive - ParameterSetName: - - --name -g --subnet-name - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn\",\r\n - \ \"etag\": \"W/\\\"9973ca25-dacd-4aa3-b877-493a68309c01\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"japaneast\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"f0103c77-d74f-49b9-bf46-d0941621438b\",\r\n \"addressSpace\": - {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n - \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default\",\r\n - \ \"etag\": \"W/\\\"9973ca25-dacd-4aa3-b877-493a68309c01\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": - [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\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}" - headers: - cache-control: - - no-cache - content-length: - - '1433' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:46:21 GMT - etag: - - W/"9973ca25-dacd-4aa3-b877-493a68309c01" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - fe84354d-a9e6-4c90-b80c-a8519b1d0001 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g --name --image --generate-ssh-keys - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2019-07-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"japaneast","tags":{"product":"azurecli","cause":"automation","date":"2020-05-30T03:45:42Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '431' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:46:22 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: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.23.0 - method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json - response: - body: - string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n - \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": - {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": - \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": - {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n - \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n - \ \"CoreOS\": {\n \"publisher\": \"CoreOS\",\n \"offer\": - \"CoreOS\",\n \"sku\": \"Stable\",\n \"version\": \"latest\"\n - \ },\n \"Debian\": {\n \"publisher\": \"Debian\",\n - \ \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \"version\": - \"latest\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": - \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n \"sku\": - \"42.3\",\n \"version\": \"latest\"\n },\n \"RHEL\": - {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n - \ \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n },\n - \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\": - \"SLES\",\n \"sku\": \"15\",\n \"version\": \"latest\"\n - \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n - \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n - \ \"version\": \"latest\"\n }\n },\n \"Windows\": - {\n \"Win2019Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n - \ \"offer\": \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n - \ \"version\": \"latest\"\n },\n \"Win2016Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": - \"latest\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2012-R2-Datacenter\",\n \"version\": \"latest\"\n },\n - \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n - \ \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n - \ \"version\": \"latest\"\n },\n \"Win2008R2SP1\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": - \"latest\"\n }\n }\n }\n }\n }\n}\n" - headers: - accept-ranges: - - bytes - access-control-allow-origin: - - '*' - cache-control: - - max-age=300 - connection: - - keep-alive - content-length: - - '2501' - content-security-policy: - - default-src 'none'; style-src 'unsafe-inline'; sandbox - content-type: - - text/plain; charset=utf-8 - date: - - Sat, 30 May 2020 03:46:23 GMT - etag: - - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" - expires: - - Sat, 30 May 2020 03:51:23 GMT - source-age: - - '0' - strict-transport-security: - - max-age=31536000 - vary: - - Authorization,Accept-Encoding - via: - - 1.1 varnish (Varnish/6.0) - - 1.1 varnish - x-cache: - - HIT, HIT - x-cache-hits: - - 2, 1 - x-content-type-options: - - nosniff - x-fastly-request-id: - - 810ae1fae3090d4f5dd881de432c1ea132fb3afa - x-frame-options: - - deny - x-github-request-id: - - B042:9719:3446E:45BFA:5ED1A9F4 - x-served-by: - - cache-sea4458-SEA - x-timer: - - S1590810383.883749,VS0,VE164 - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g --name --image --generate-ssh-keys - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 - response: - body: - string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vn\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn\",\r\n - \ \"etag\": \"W/\\\"9973ca25-dacd-4aa3-b877-493a68309c01\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"japaneast\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"f0103c77-d74f-49b9-bf46-d0941621438b\",\r\n - \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n - \ ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": - []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": - \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default\",\r\n - \ \"etag\": \"W/\\\"9973ca25-dacd-4aa3-b877-493a68309c01\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\"\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}" - headers: - cache-control: - - no-cache - content-length: - - '1453' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:46:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 64bfdcac-939c-4e60-bbe2-c1af61672af1 - status: - code: 200 - message: OK -- request: - body: 'b''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": - [{"type": "Microsoft.Network/networkSecurityGroups", "name": "vm1NSG", "apiVersion": - "2015-06-15", "location": "japaneast", "tags": {}, "dependsOn": [], "properties": - {"securityRules": [{"name": "default-allow-ssh", "properties": {"protocol": - "Tcp", "sourcePortRange": "*", "destinationPortRange": "22", "sourceAddressPrefix": - "*", "destinationAddressPrefix": "*", "access": "Allow", "priority": 1000, "direction": - "Inbound"}}]}}, {"apiVersion": "2018-01-01", "type": "Microsoft.Network/publicIPAddresses", - "name": "vm1PublicIP", "location": "japaneast", "tags": {}, "dependsOn": [], - "properties": {"publicIPAllocationMethod": null}}, {"apiVersion": "2015-06-15", - "type": "Microsoft.Network/networkInterfaces", "name": "vm1VMNic", "location": - "japaneast", "tags": {}, "dependsOn": ["Microsoft.Network/networkSecurityGroups/vm1NSG", - "Microsoft.Network/publicIpAddresses/vm1PublicIP"], "properties": {"ipConfigurations": - [{"name": "ipconfigvm1", "properties": {"privateIPAllocationMethod": "Dynamic", - "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default"}, - "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"}}}], - "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"}}}, - {"apiVersion": "2019-07-01", "type": "Microsoft.Compute/virtualMachines", "name": - "vm1", "location": "japaneast", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/vm1VMNic"], - "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": - {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"}]}, - "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": - "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": - {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": - "latest"}}, "osProfile": {"computerName": "vm1", "adminUsername": "steve", "linuxConfiguration": - {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDmeG6myuqVWULzCtanE3MPUt7mf86FahR1unV98uYh4Ebi9Mk6Wy2xRPVDMBHoDmIpOs7DAHLYcTABH7J3wrkCXi7OxJ0Q9u1+rzzIGZGgLoXkAisOj2h/PEE/Mosc+/jBVv9BsrrOBVGEkyUlCNeeuM4cUlQvgAbY9U6kjjTsHbrQ0F5fpP4MCLZBU9zNsryDzHERJWyEh3t1caryWnQHE4WEjzl6qc1WC/DT0aB1kQbdh58FFDxrJB0pruKGLjFB10DgBt3zhfNLM7VJgBumLewyLBgzC75k12B5yeq+3T7h6TpHUBL6AnhkgerTZI6aEzIrzn8As/Ffl3g6cPtv", - "path": "/home/steve/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": - {}, "mode": "Incremental"}}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - Content-Length: - - '3312' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g --name --image --generate-ssh-keys - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_gUDVmtcSXEOldDgpA7dnN8ozGff2Q6lF","name":"vm_deploy_gUDVmtcSXEOldDgpA7dnN8ozGff2Q6lF","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14133638549479560481","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-05-30T03:46:27.3028715Z","duration":"PT2.2159262S","correlationId":"9e5e47e6-fe90-4064-97ae-b7fed97b17b1","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["japaneast"]},{"resourceType":"publicIPAddresses","locations":["japaneast"]},{"resourceType":"networkInterfaces","locations":["japaneast"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["japaneast"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/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/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_gUDVmtcSXEOldDgpA7dnN8ozGff2Q6lF/operationStatuses/08586107965003906792?api-version=2019-07-01 - cache-control: - - no-cache - content-length: - - '2417' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:46:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g --name --image --generate-ssh-keys - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586107965003906792?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:46:58 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 --name --image --generate-ssh-keys - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586107965003906792?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:47:28 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 --name --image --generate-ssh-keys - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586107965003906792?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:47:59 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 --name --image --generate-ssh-keys - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586107965003906792?api-version=2019-07-01 - response: - body: - string: '{"status":"Succeeded"}' - headers: - cache-control: - - no-cache - content-length: - - '22' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:29 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 --name --image --generate-ssh-keys - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Resources/deployments/vm_deploy_gUDVmtcSXEOldDgpA7dnN8ozGff2Q6lF","name":"vm_deploy_gUDVmtcSXEOldDgpA7dnN8ozGff2Q6lF","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14133638549479560481","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-05-30T03:48:14.6372531Z","duration":"PT1M49.5503078S","correlationId":"9e5e47e6-fe90-4064-97ae-b7fed97b17b1","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["japaneast"]},{"resourceType":"publicIPAddresses","locations":["japaneast"]},{"resourceType":"networkInterfaces","locations":["japaneast"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["japaneast"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"}]}}' - headers: - cache-control: - - no-cache - content-length: - - '3280' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:29 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 --name --image --generate-ssh-keys - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-compute/12.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2019-07-01 - response: - body: - string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n - \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"japaneast\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"78f8473a-c327-40e1-9bdf-b0e0c28da97a\",\r\n - \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n - \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": - \"18.04.202005220\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_OsDisk_1_9a53b371740b47b2bddeb150306d502d\",\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/CLITESTGUGUQWIKUCMCUNAD6Y5DZSXCXNAB44CHXB6NGOHKNQMSPLBR6R3ZFYHJM4NXJIQE2RDW/providers/Microsoft.Compute/disks/vm1_OsDisk_1_9a53b371740b47b2bddeb150306d502d\"\r\n - \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": - []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n - \ \"adminUsername\": \"steve\",\r\n \"linuxConfiguration\": {\r\n - \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n - \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/steve/.ssh/authorized_keys\",\r\n - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmeG6myuqVWULzCtanE3MPUt7mf86FahR1unV98uYh4Ebi9Mk6Wy2xRPVDMBHoDmIpOs7DAHLYcTABH7J3wrkCXi7OxJ0Q9u1+rzzIGZGgLoXkAisOj2h/PEE/Mosc+/jBVv9BsrrOBVGEkyUlCNeeuM4cUlQvgAbY9U6kjjTsHbrQ0F5fpP4MCLZBU9zNsryDzHERJWyEh3t1caryWnQHE4WEjzl6qc1WC/DT0aB1kQbdh58FFDxrJB0pruKGLjFB10DgBt3zhfNLM7VJgBumLewyLBgzC75k12B5yeq+3T7h6TpHUBL6AnhkgerTZI6aEzIrzn8As/Ffl3g6cPtv\"\r\n - \ }\r\n ]\r\n },\r\n \"provisionVMAgent\": - true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": - true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": - {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"vmAgent\": - {\r\n \"vmAgentVersion\": \"Unknown\",\r\n \"statuses\": [\r\n - \ {\r\n \"code\": \"ProvisioningState/Unavailable\",\r\n - \ \"level\": \"Warning\",\r\n \"displayStatus\": \"Not - Ready\",\r\n \"message\": \"VM status blob is found but not yet - populated.\",\r\n \"time\": \"2020-05-30T03:48:30+00:00\"\r\n }\r\n - \ ]\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": - \"vm1_OsDisk_1_9a53b371740b47b2bddeb150306d502d\",\r\n \"statuses\": - [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2020-05-30T03:47:03.4008401+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\": \"2020-05-30T03:48:13.1213911+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}" - headers: - cache-control: - - no-cache - content-length: - - '3661' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31996 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g --name --image --generate-ssh-keys - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/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/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"b9e467dd-ebaa-4e48-9832-f5d3267a43da\\\"\",\r\n \"location\": - \"japaneast\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"deb2f4c9-9f5d-4e0d-9b33-ced8f0d76987\",\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"b9e467dd-ebaa-4e48-9832-f5d3267a43da\\\"\",\r\n - \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": - \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default\"\r\n - \ },\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\": - \"o24bb2cp042utp0g0ckbmikdrd.lx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-6F-DF-E4\",\r\n \"enableAcceleratedNetworking\": false,\r\n - \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n - \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '2564' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:31 GMT - etag: - - W/"b9e467dd-ebaa-4e48-9832-f5d3267a43da" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 2b0a7c16-971b-4870-be14-4ef445a6e854 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g --name --image --generate-ssh-keys - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/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/clitest000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"4c31b8f3-51c3-4e56-b4ea-bb0e68430a7c\\\"\",\r\n \"location\": - \"japaneast\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"220893d3-407b-4b79-80af-b07359783811\",\r\n - \ \"ipAddress\": \"40.115.235.251\",\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/clitest000001/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}" - headers: - cache-control: - - no-cache - content-length: - - '1001' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:31 GMT - etag: - - W/"4c31b8f3-51c3-4e56-b4ea-bb0e68430a7c" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 62b173a2-1fb5-4fef-96ba-bce7fdf3690e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create - Connection: - - keep-alive - ParameterSetName: - - --vnet-name -n -g --address-prefix - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn\",\r\n - \ \"etag\": \"W/\\\"15ba5107-53b9-4b8f-ba2b-33c6d360d020\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"japaneast\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"f0103c77-d74f-49b9-bf46-d0941621438b\",\r\n \"addressSpace\": - {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n - \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default\",\r\n - \ \"etag\": \"W/\\\"15ba5107-53b9-4b8f-ba2b-33c6d360d020\\\"\",\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/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n - \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\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}" - headers: - cache-control: - - no-cache - content-length: - - '1760' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:32 GMT - etag: - - W/"15ba5107-53b9-4b8f-ba2b-33c6d360d020" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 5bcf2748-fea1-4780-90e3-e50517f443f7 - status: - code: 200 - message: OK -- request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn", - "location": "japaneast", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default", - "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": - "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "default"}, - {"properties": {"addressPrefix": "10.0.5.0/24"}, "name": "GatewaySubnet"}], - "virtualNetworkPeerings": [], "enableDdosProtection": false, "enableVmProtection": - false}}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create - Connection: - - keep-alive - Content-Length: - - '915' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - --vnet-name -n -g --address-prefix - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn\",\r\n - \ \"etag\": \"W/\\\"f505ed86-ab6c-43c5-80c4-6edf8b372242\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"japaneast\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"f0103c77-d74f-49b9-bf46-d0941621438b\",\r\n \"addressSpace\": - {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n - \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default\",\r\n - \ \"etag\": \"W/\\\"f505ed86-ab6c-43c5-80c4-6edf8b372242\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n - \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n - \ },\r\n {\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/GatewaySubnet\",\r\n - \ \"etag\": \"W/\\\"f505ed86-ab6c-43c5-80c4-6edf8b372242\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"addressPrefix\": \"10.0.5.0/24\",\r\n \"delegations\": - [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\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}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b327a2de-597d-4c9a-9389-e3bb1c79ecd5?api-version=2020-04-01 - cache-control: - - no-cache - content-length: - - '2433' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - afe42e86-9c0d-48c7-8ae4-4c0725da6548 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create - Connection: - - keep-alive - ParameterSetName: - - --vnet-name -n -g --address-prefix - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b327a2de-597d-4c9a-9389-e3bb1c79ecd5?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - cc122041-b05c-4d3e-93c6-42fe2dff9497 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create - Connection: - - keep-alive - ParameterSetName: - - --vnet-name -n -g --address-prefix - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b327a2de-597d-4c9a-9389-e3bb1c79ecd5?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 479e6729-069f-4b0f-a9cd-7bef8eb4134e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create - Connection: - - keep-alive - ParameterSetName: - - --vnet-name -n -g --address-prefix - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b327a2de-597d-4c9a-9389-e3bb1c79ecd5?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:56 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 2944ba33-dff1-432b-9f02-4b0407a207c2 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create - Connection: - - keep-alive - ParameterSetName: - - --vnet-name -n -g --address-prefix - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn\",\r\n - \ \"etag\": \"W/\\\"6d77d009-3288-4b63-a8b1-a53ec61869b4\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"japaneast\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"f0103c77-d74f-49b9-bf46-d0941621438b\",\r\n \"addressSpace\": - {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n - \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default\",\r\n - \ \"etag\": \"W/\\\"6d77d009-3288-4b63-a8b1-a53ec61869b4\\\"\",\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/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n - \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n - \ },\r\n {\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/GatewaySubnet\",\r\n - \ \"etag\": \"W/\\\"6d77d009-3288-4b63-a8b1-a53ec61869b4\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.5.0/24\",\r\n \"delegations\": - [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\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}" - headers: - cache-control: - - no-cache - content-length: - - '2436' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:56 GMT - etag: - - W/"6d77d009-3288-4b63-a8b1-a53ec61869b4" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 677547b3-7fe0-4c0f-a8fb-3ffe43cacb0c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create - Connection: - - keep-alive - ParameterSetName: - - --vnet-name -g --name --address-prefixes --delegations - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn\",\r\n - \ \"etag\": \"W/\\\"6d77d009-3288-4b63-a8b1-a53ec61869b4\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"japaneast\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"f0103c77-d74f-49b9-bf46-d0941621438b\",\r\n \"addressSpace\": - {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n - \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default\",\r\n - \ \"etag\": \"W/\\\"6d77d009-3288-4b63-a8b1-a53ec61869b4\\\"\",\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/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n - \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n - \ },\r\n {\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/GatewaySubnet\",\r\n - \ \"etag\": \"W/\\\"6d77d009-3288-4b63-a8b1-a53ec61869b4\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.5.0/24\",\r\n \"delegations\": - [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\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}" - headers: - cache-control: - - no-cache - content-length: - - '2436' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:56 GMT - etag: - - W/"6d77d009-3288-4b63-a8b1-a53ec61869b4" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - e4b0d497-6b30-4a6f-81d6-a60cc8e0dfdd - status: - code: 200 - message: OK -- request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn", - "location": "japaneast", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default", - "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": - "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "default"}, - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/GatewaySubnet", - "properties": {"addressPrefix": "10.0.5.0/24", "delegations": [], "privateEndpointNetworkPolicies": - "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "GatewaySubnet"}, - {"properties": {"addressPrefix": "10.0.2.0/24", "delegations": [{"properties": - {"serviceName": "Microsoft.HardwareSecurityModules/dedicatedHSMs"}, "name": - "0"}]}, "name": "hsm"}], "virtualNetworkPeerings": [], "enableDdosProtection": - false, "enableVmProtection": false}}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create - Connection: - - keep-alive - Content-Length: - - '1427' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - --vnet-name -g --name --address-prefixes --delegations - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn\",\r\n - \ \"etag\": \"W/\\\"0870fb72-f1cc-41da-b256-5c292f97fb8c\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"japaneast\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"f0103c77-d74f-49b9-bf46-d0941621438b\",\r\n \"addressSpace\": - {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n - \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default\",\r\n - \ \"etag\": \"W/\\\"0870fb72-f1cc-41da-b256-5c292f97fb8c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n - \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n - \ },\r\n {\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/GatewaySubnet\",\r\n - \ \"etag\": \"W/\\\"0870fb72-f1cc-41da-b256-5c292f97fb8c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"addressPrefix\": \"10.0.5.0/24\",\r\n \"delegations\": - [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n - \ },\r\n {\r\n \"name\": \"hsm\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm\",\r\n - \ \"etag\": \"W/\\\"0870fb72-f1cc-41da-b256-5c292f97fb8c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"addressPrefix\": \"10.0.2.0/24\",\r\n \"delegations\": - [\r\n {\r\n \"name\": \"0\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm/delegations/0\",\r\n - \ \"etag\": \"W/\\\"0870fb72-f1cc-41da-b256-5c292f97fb8c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"serviceName\": \"Microsoft.HardwareSecurityModules/dedicatedHSMs\",\r\n - \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\",\r\n - \ \"Microsoft.Network/virtualNetworks/subnets/join/action\"\r\n - \ ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\r\n - \ }\r\n ],\r\n \"purpose\": \"HostedWorkloads\",\r\n - \ \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\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}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/185cccb2-cb10-4340-8f1c-909efc710d69?api-version=2020-04-01 - cache-control: - - no-cache - content-length: - - '3954' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:48:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 454f77a1-4f77-4c99-b32a-060341534d72 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create - Connection: - - keep-alive - ParameterSetName: - - --vnet-name -g --name --address-prefixes --delegations - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/185cccb2-cb10-4340-8f1c-909efc710d69?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:49:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 7f1cd07b-e078-4611-ace2-26d78137db5a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create - Connection: - - keep-alive - ParameterSetName: - - --vnet-name -g --name --address-prefixes --delegations - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn\",\r\n - \ \"etag\": \"W/\\\"9bb19ab2-4483-4b12-8da0-78b7802ee2ea\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"japaneast\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"f0103c77-d74f-49b9-bf46-d0941621438b\",\r\n \"addressSpace\": - {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n - \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/default\",\r\n - \ \"etag\": \"W/\\\"9bb19ab2-4483-4b12-8da0-78b7802ee2ea\\\"\",\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/clitest000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n - \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n - \ },\r\n {\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/GatewaySubnet\",\r\n - \ \"etag\": \"W/\\\"9bb19ab2-4483-4b12-8da0-78b7802ee2ea\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.5.0/24\",\r\n \"delegations\": - [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n - \ },\r\n {\r\n \"name\": \"hsm\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm\",\r\n - \ \"etag\": \"W/\\\"9bb19ab2-4483-4b12-8da0-78b7802ee2ea\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.2.0/24\",\r\n \"delegations\": - [\r\n {\r\n \"name\": \"0\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm/delegations/0\",\r\n - \ \"etag\": \"W/\\\"9bb19ab2-4483-4b12-8da0-78b7802ee2ea\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"serviceName\": \"Microsoft.HardwareSecurityModules/dedicatedHSMs\",\r\n - \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\",\r\n - \ \"Microsoft.Network/virtualNetworks/subnets/join/action\"\r\n - \ ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\r\n - \ }\r\n ],\r\n \"purpose\": \"HostedWorkloads\",\r\n - \ \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\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}" - headers: - cache-control: - - no-cache - content-length: - - '3958' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:49:01 GMT - etag: - - W/"9bb19ab2-4483-4b12-8da0-78b7802ee2ea" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 9f66ee1f-104c-4309-9297-b8fb3e2c10a1 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network public-ip create - Connection: - - keep-alive - ParameterSetName: - - -n -g --allocation-method - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2019-07-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"japaneast","tags":{"product":"azurecli","cause":"automation","date":"2020-05-30T03:45:42Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '431' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:49:01 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: '{"location": "japaneast", "properties": {"publicIPAllocationMethod": "Dynamic", - "publicIPAddressVersion": "IPv4", "idleTimeoutInMinutes": 4}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network public-ip create - Connection: - - keep-alive - Content-Length: - - '141' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -n -g --allocation-method - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/ERGWVIP?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"ERGWVIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/ERGWVIP\",\r\n - \ \"etag\": \"W/\\\"58b6c5fe-a443-4df9-89a4-40ac02898baf\\\"\",\r\n \"location\": - \"japaneast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"be5a958a-72a9-4c2d-b93e-68d6d6612679\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n - \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/85fadbc1-00a4-4d87-aa32-c745e56b2ccf?api-version=2020-04-01 - cache-control: - - no-cache - content-length: - - '665' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:49:06 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 595d5114-dac5-4ee4-913d-efb276a461c0 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network public-ip create - Connection: - - keep-alive - ParameterSetName: - - -n -g --allocation-method - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/85fadbc1-00a4-4d87-aa32-c745e56b2ccf?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:49:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f9b0a4d2-f5a2-4b57-8036-f080462ccb47 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network public-ip create - Connection: - - keep-alive - ParameterSetName: - - -n -g --allocation-method - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/ERGWVIP?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"ERGWVIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/ERGWVIP\",\r\n - \ \"etag\": \"W/\\\"a457b108-389d-403d-ac9a-37b295859418\\\"\",\r\n \"location\": - \"japaneast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"be5a958a-72a9-4c2d-b93e-68d6d6612679\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n - \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '666' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:49:08 GMT - etag: - - W/"a457b108-389d-403d-ac9a-37b295859418" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0261dfa0-bd34-45af-97cc-2184f66df02e - status: - code: 200 - message: OK -- request: - body: 'b''{"location": "japaneast", "properties": {"ipConfigurations": [{"properties": - {"privateIPAllocationMethod": "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/GatewaySubnet"}, - "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/ERGWVIP"}}, - "name": "vnetGatewayConfig0"}], "gatewayType": "ExpressRoute", "vpnType": "RouteBased", - "activeActive": false, "sku": {"name": "Standard", "tier": "Standard"}}}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - Content-Length: - - '739' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworkGateways/ERGW?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"ERGW\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworkGateways/ERGW\",\r\n - \ \"etag\": \"W/\\\"de06ebf8-8de6-41c8-8335-119d0d59bf75\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"japaneast\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"66fe01f5-f91a-44cf-801f-c6f59533f83e\",\r\n \"packetCaptureDiagnosticState\": - \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworkGateways/ERGW/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"de06ebf8-8de6-41c8-8335-119d0d59bf75\\\"\",\r\n - \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/ERGWVIP\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/GatewaySubnet\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"sku\": {\r\n \"name\": - \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n - \ },\r\n \"gatewayType\": \"ExpressRoute\",\r\n \"vpnType\": \"RouteBased\",\r\n - \ \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"vpnClientConfiguration\": - {\r\n \"vpnClientProtocols\": [\r\n \"OpenVPN\",\r\n \"IkeV2\"\r\n - \ ],\r\n \"vpnClientRootCertificates\": [],\r\n \"vpnClientRevokedCertificates\": - [],\r\n \"radiusServers\": [],\r\n \"vpnClientIpsecPolicies\": []\r\n - \ },\r\n \"vpnGatewayGeneration\": \"None\"\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - cache-control: - - no-cache - content-length: - - '2248' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:49:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 6eebb35c-ef96-408d-9d86-47faf13c3f61 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:49:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ca725a26-0294-4e6e-b471-b39177a3422f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:49:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 2d4684b4-15c4-4f42-a7af-d97650124afc - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:49:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ee7876cb-be13-4b67-8b2f-4371eb8679c5 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:49:56 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0d01ebdc-b832-4ced-96a0-d37bff25b287 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:50:06 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 6d01dc65-5e82-4c89-af11-49ee156ce57c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:50:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ec2c2b28-427c-430e-980f-63d2acac1b23 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:50:27 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 995f27bb-84da-48d4-a686-e720a0247004 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:50:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 08bbe152-7de2-4f9d-9f87-476376dc8ea4 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:50:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ad93ec8b-933e-4103-9017-aaa391e915a5 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:50:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b163c88b-4024-4663-8fc1-8674941525e9 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:51:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - c9511685-e108-4c67-914e-682cc93bae7e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:51:18 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 25da895f-7085-4d9c-918b-6ad15e5fca56 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:51:28 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ffc4a791-3699-4b1b-9665-5e7b1d877c90 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:51:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 2bd09b4f-62e3-4cbc-96a2-ddb22d9f4945 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:51:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 8d32903d-74e5-4fcd-a9aa-eed58ae66fa2 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:51:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - d7ef4297-c5a3-42bc-84c5-5678f78b7d8f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:52:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 5624e93c-219b-49b4-b94b-ebaa3af51b24 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:52:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b514979f-cf67-49f8-a2c4-2b63749c52d9 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:52:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 20a612a1-e029-4bb4-932d-d986f2105247 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:52:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 84d9a00b-03a3-4193-a61f-af4cc423ffbc - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:52:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 10c65605-d75a-4094-ac3a-da8b585a78de - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:52:59 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - cba3a5c2-8c75-445d-930e-becf5abf7774 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:53:09 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 42a0e912-c7c9-4e70-9c25-7cbb42f5c235 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:53:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 138ed16f-2e7a-4269-bc31-abb1aba334b5 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:53:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 35799fd1-7021-469c-a47f-656f874d9997 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:53:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - bc164ba6-65cd-4612-bce7-66aa3ee11ad1 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:53:50 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b9512d2b-aed2-4182-8e67-98f456510623 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:54:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - c0443f41-e268-44dd-a85a-fc219e19e9d7 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:54:10 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 9daf10f2-9dc2-4f39-bf5d-d8c250f825e9 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:54:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 41b9dd39-3f8c-4cce-b6b9-5e6c242fc7b1 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:54:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 3e2e2a91-fc89-4c6a-b51e-4540b79742dc - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:54:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b8662739-87f4-4af0-b3bf-ba152d90203a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:54:51 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0b39a4ec-5cb4-4b1b-82f8-67b67f72608f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:55:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 3bf3fa8b-ba23-4015-95f8-c6ee6bb30b05 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:55:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 11524099-3ba6-476b-8189-3b6c04150ae0 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:55:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a7f21dd0-ecdf-4f5f-a0d0-f6c143c86309 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:55:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 9c7ef7db-c794-4f58-9119-5ea75124353f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:55:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 2b6ff427-89a2-4035-8610-be8469a37463 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:55:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - bb668d48-63a3-4661-8782-da3e8d058b9c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:56:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - c88aa9ef-e706-4265-b284-59bf851dd277 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:56:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 254cc23a-c8f1-4dd4-b7d4-977f9d56e0d3 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:56:27 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - c9b241db-e292-4838-88df-8f86f29f81a9 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:56:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 87441461-23a7-4e4d-9df5-0322877e849f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:56:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 56c44d03-1318-4489-9257-8dda9c78b6aa - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:56:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0e896949-6222-4c66-b08b-bd400a4c3c9d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:57:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b324b557-3dd4-4a5e-939c-e2eb78e5345a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:57:18 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 73d13e29-0d5d-4983-bb29-efb046045d64 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:57:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 3a2650b3-961b-4438-afd7-19e6d7c73393 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:57:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 44c83285-bb46-4dfb-9d0d-c65211887582 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:57:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 4c6ddbfe-c509-4050-8ade-a654fe5309aa - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:57:59 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 8db36f6a-f66f-4079-90dd-8471a058b3bf - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:58:09 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - bb700bc2-cde0-435a-8410-8a9b492730ae - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:58:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 7c36da4c-70c6-4a12-83b6-5facb90f62c3 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:58:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a03893df-1f81-47e6-a259-da13a0bd1324 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:58:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a8268c02-eb0a-454b-b1aa-732290e48770 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:58:50 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a15b1352-5850-40d7-a1fa-42626307833e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:59:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 12622eb0-c45a-4869-8831-cf459b2dda7e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:59:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0c37ca5a-9ef2-4bd9-832a-c5480051fa26 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:59:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - d2b8304c-225f-4d4b-a99b-0674b857cbb1 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:59:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - c76e1932-4fd9-42ef-8c5a-c0a20ac930ee - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:59:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0974f8b6-0168-4c2a-a5d8-b6a6ee6fdea9 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 03:59:51 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 7e38cf87-9000-4595-a817-9b8fbe120001 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:00:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 061a255a-b27f-4de9-b966-74ab5918bae6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:00:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 7af2d614-39f4-4c10-ab43-240f09e5ddbd - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:00:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - fb599786-5404-49ff-883f-5e81b9105d62 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:00:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 17b85219-b00e-4d81-a875-7bd1676b8413 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:00:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b9a6cee6-b996-41a6-974d-1d2e0b8a9e54 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:00:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 2f24a7ad-59ae-478f-b48d-84abb9bdd617 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:01:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 4b2d2ef8-bc43-4f4c-91d2-00e75d0d7b02 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:01:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 72a834a4-638d-48ca-a044-12bb5795a1cb - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:01:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 566718c5-2fee-4179-af7f-5150b2933c77 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:01:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 79b48585-3437-4334-a195-186e219a63d6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:01:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - d42ffa8c-c12d-41cc-8e1c-4fa91fcf4dae - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:01:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - d4487be5-bfc1-473c-a7ab-9655be542381 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/japaneast/operations/b224bfb0-c732-4a50-aaa8-4a4b79f9c35b?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:02:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 859269cc-94bc-4ff2-8f33-3da3f66006d6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet-gateway create - Connection: - - keep-alive - ParameterSetName: - - -n -l --public-ip-address -g --vnet --sku --gateway-type - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworkGateways/ERGW?api-version=2020-04-01 - response: - body: - string: "{\r\n \"name\": \"ERGW\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworkGateways/ERGW\",\r\n - \ \"etag\": \"W/\\\"690dbca6-db47-4b1f-8d22-7270aa5917c9\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"japaneast\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"66fe01f5-f91a-44cf-801f-c6f59533f83e\",\r\n \"packetCaptureDiagnosticState\": - \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworkGateways/ERGW/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"690dbca6-db47-4b1f-8d22-7270aa5917c9\\\"\",\r\n - \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/ERGWVIP\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/GatewaySubnet\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"sku\": {\r\n \"name\": - \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n - \ },\r\n \"gatewayType\": \"ExpressRoute\",\r\n \"vpnType\": \"RouteBased\",\r\n - \ \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"vpnGatewayGeneration\": - \"None\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1984' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:02:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ee12d557-faf8-418c-bbaa-f741e1abdafb - status: - code: 200 - message: OK -- request: - body: 'b''{"location": "japaneast", "sku": {"name": "SafeNet Luna Network HSM - A790"}, "tags": {"Dept": "hsm", "Environment": "dogfood"}, "properties": {"stampId": - "stamp1", "networkProfile": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"}, - "networkInterfaces": [{"privateIpAddress": "10.0.2.21"}]}}}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - Content-Length: - - '464' - Content-Type: - - application/json - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"privateIpAddress":"10.0.2.21"}]},"provisioningState":"CheckingQuota","statusMessage":"Resource - creation in progress. Validating subscription device quota...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '854' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:02:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"privateIpAddress":"10.0.2.21"}]},"provisioningState":"CheckingQuota","statusMessage":"Resource - creation in progress. Validating subscription device quota...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '854' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:02:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"privateIpAddress":"10.0.2.21"}]},"provisioningState":"CheckingQuota","statusMessage":"Resource - creation in progress. Validating subscription device quota...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '854' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:03:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"privateIpAddress":"10.0.2.21"}]},"provisioningState":"CheckingQuota","statusMessage":"Resource - creation in progress. Validating subscription device quota...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '854' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:03:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Connecting","statusMessage":"Resource - creation in progress. Connecting the device to the virtual network...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1067' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:04:09 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Connecting","statusMessage":"Resource - creation in progress. Connecting the device to the virtual network...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1067' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:04:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Connecting","statusMessage":"Resource - creation in progress. Connecting the device to the virtual network...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1067' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:05:09 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Connecting","statusMessage":"Resource - creation in progress. Connecting the device to the virtual network...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1067' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:05:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Provisioning","statusMessage":"Resource - creation in progress. Configuring the device...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1047' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:06:09 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Provisioning","statusMessage":"Resource - creation in progress. Configuring the device...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1047' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:06:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Provisioning","statusMessage":"Resource - creation in progress. Configuring the device...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1047' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:07:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Provisioning","statusMessage":"Resource - creation in progress. Configuring the device...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1047' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:07:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Provisioning","statusMessage":"Resource - creation in progress. Configuring the device...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1047' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:08:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Provisioning","statusMessage":"Resource - creation in progress. Configuring the device...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1047' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:08:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Provisioning","statusMessage":"Resource - creation in progress. Configuring the device...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1047' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:09:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Provisioning","statusMessage":"Resource - creation in progress. Configuring the device...","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1047' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:09:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm create - Connection: - - keep-alive - ParameterSetName: - - --name --location --network-profile-network-interfaces --subnet --stamp-id - --sku --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Succeeded","statusMessage":"The - Dedicated HSM device is provisioned successfully and ready to use.","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1058' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:10:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm show - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Succeeded","statusMessage":"The - Dedicated HSM device is provisioned successfully and ready to use.","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1058' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:10:13 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm list - Connection: - - keep-alive - ParameterSetName: - - --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs?api-version=2018-10-31-preview - response: - body: - string: '{"value":[{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Succeeded","statusMessage":"The - Dedicated HSM device is provisioned successfully and ready to use.","stampId":"stamp1"}}]}' - headers: - cache-control: - - no-cache - content-length: - - '1070' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:10:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs?api-version=2018-10-31-preview - response: - body: - string: '{"value":[{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Succeeded","statusMessage":"The - Dedicated HSM device is provisioned successfully and ready to use.","stampId":"stamp1"}},{"sku":{"name":"SafeNet - Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/stevens-rg-japan/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/test","name":"test","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"h"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/stevens-rg-japan/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/stevens-rg-japan/providers/Microsoft.Network/networkInterfaces/test_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Succeeded","statusMessage":"The - Dedicated HSM device is provisioned successfully and ready to use.","stampId":"stamp1"}}]}' - headers: - cache-control: - - no-cache - content-length: - - '1931' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:10:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"tags": {"Dept": "hsm", "Environment": "dogfood", "Slice": "A"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm update - Connection: - - keep-alive - Content-Length: - - '65' - Content-Type: - - application/json - ParameterSetName: - - --name --tags --resource-group - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '{"sku":{"name":"SafeNet Luna Network HSM A790"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1","name":"hsm1","type":"Microsoft.HardwareSecurityModules/dedicatedHSMs","location":"japaneast","tags":{"Dept":"hsm","Environment":"dogfood","Slice":"A"},"properties":{"networkProfile":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm"},"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/networkInterfaces/hsm1_HSMnic","privateIpAddress":"10.0.2.21"}]},"provisioningState":"Succeeded","statusMessage":"The - Dedicated HSM device is provisioned successfully and ready to use.","stampId":"stamp1"}}' - headers: - cache-control: - - no-cache - content-length: - - '1070' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 30 May 2020 04:10:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:10:22 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:10:28 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:10:33 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:10:38 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:10:43 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:10:48 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:10:53 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:10:58 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:11:03 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:11:09 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:11:14 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:11:19 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:11:24 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:11:29 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:11:34 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:11:39 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:11:44 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:11:50 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:11:55 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:00 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:06 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:11 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:16 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:21 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:26 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:31 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:36 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:42 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:47 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:52 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:12:57 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:13:03 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:13:08 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:13:13 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:13:18 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:13:33 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:13:38 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:13:44 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:13:49 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:13:54 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:13:59 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:14:04 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:14:09 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:14:14 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:14:19 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:14:24 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:14:29 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 30 May 2020 04:14:35 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - dedicated-hsm delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.7.0 azsdk-python-mgmt-hardwaresecuritymodules/2019-05-01T00:00:00.000Z - Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/locations/japaneast/operationResults/REIxQUI2RjAtNDc2OS00QjI3LTkzMEUtMDFFMkVGOUMxMjNDL0NMSVRFU1RHVUdVUVdJS1VDTUNVTkFENlk1RFpTWENYTkFCNDRDSFhCNk5HT0hLTlFNU1BMQlI2UjNaRllISk00TlhKSVFFMlJEVy9IU00x?api-version=2018-10-31-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Sat, 30 May 2020 04:14:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -version: 1 diff --git a/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/test_hardware_security_modules_scenario.py b/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/test_hardware_security_modules_scenario.py new file mode 100644 index 00000000000..a5b1420db26 --- /dev/null +++ b/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/test_hardware_security_modules_scenario.py @@ -0,0 +1,116 @@ +# -------------------------------------------------------------------------- +# 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 os +from azure.cli.testsdk import ScenarioTest +from .. import try_manual, raise_if +from azure.cli.testsdk import ResourceGroupPreparer +from .preparers import VirtualNetworkPreparer + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +@try_manual +def setup(test, rg): + pass + + +# EXAMPLE: /DedicatedHsm/put/Create a new or update an existing dedicated HSM +@try_manual +def step__dedicatedhsm_put_create_a_new_or_update_an_existing_dedicated_hsm(test, rg): + test.cmd('az hardware-security-modules dedicated-hsm create ' + '--name "hsm1" ' + '--location "westus" ' + '--network-profile-network-interfaces private-ip-address="1.0.0.1" ' + '--network-profile-subnet id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Net' + 'work/virtualNetworks/{vn}/subnets/default" ' + '--stamp-id "stamp01" ' + '--tags Dept="hsm" Environment="dogfood" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /DedicatedHsm/get/Get a dedicated HSM +@try_manual +def step__dedicatedhsm_get_get_a_dedicated_hsm(test, rg): + test.cmd('az hardware-security-modules dedicated-hsm show ' + '--name "hsm1" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /DedicatedHsm/get/List dedicated HSM devices in a resource group +@try_manual +def step__dedicatedhsm_get_list_dedicated_hsm_devices_in_a_resource_group(test, rg): + test.cmd('az hardware-security-modules dedicated-hsm list ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /DedicatedHsm/get/List dedicated HSM devices in a subscription +@try_manual +def step__dedicatedhsm_get_list_dedicated_hsm_devices_in_a_subscription(test, rg): + test.cmd('az hardware-security-modules dedicated-hsm list ' + '-g ""', + checks=[]) + + +# EXAMPLE: /DedicatedHsm/patch/Update an existing dedicated HSM +@try_manual +def step__dedicatedhsm_patch_update_an_existing_dedicated_hsm(test, rg): + test.cmd('az hardware-security-modules dedicated-hsm update ' + '--name "hsm1" ' + '--tags Dept="hsm" Environment="dogfood" Slice="A" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /DedicatedHsm/delete/Delete a dedicated HSM +@try_manual +def step__dedicatedhsm_delete_delete_a_dedicated_hsm(test, rg): + test.cmd('az hardware-security-modules dedicated-hsm delete ' + '--name "hsm1" ' + '--resource-group "{rg}"', + checks=[]) + + +@try_manual +def cleanup(test, rg): + pass + + +@try_manual +def call_scenario(test, rg): + setup(test, rg) + step__dedicatedhsm_put_create_a_new_or_update_an_existing_dedicated_hsm(test, rg) + step__dedicatedhsm_get_get_a_dedicated_hsm(test, rg) + step__dedicatedhsm_get_list_dedicated_hsm_devices_in_a_resource_group(test, rg) + step__dedicatedhsm_get_list_dedicated_hsm_devices_in_a_subscription(test, rg) + step__dedicatedhsm_patch_update_an_existing_dedicated_hsm(test, rg) + step__dedicatedhsm_delete_delete_a_dedicated_hsm(test, rg) + cleanup(test, rg) + + +@try_manual +class AzureDedicatedHSMResourceProviderScenarioTest(ScenarioTest): + + @ResourceGroupPreparer(name_prefix='clitesthardware_security_modules_hsm-group'[:7], key='rg', + parameter_name='rg') + @VirtualNetworkPreparer(name_prefix='clitesthardware_security_modules_stamp01'[:7], key='vn', resource_group_key='r' + 'g') + def test_hardware_security_modules(self, rg): + + self.kwargs.update({ + 'subscription_id': self.get_subscription_id() + }) + + call_scenario(self, rg) + raise_if() diff --git a/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/test_hardwaresecuritymodules_scenario.py b/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/test_hardwaresecuritymodules_scenario.py deleted file mode 100644 index 6d2797baa72..00000000000 --- a/src/hardware-security-modules/azext_hardware_security_modules/tests/latest/test_hardwaresecuritymodules_scenario.py +++ /dev/null @@ -1,129 +0,0 @@ -# -------------------------------------------------------------------------- -# 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 os -import unittest - -from azure_devtools.scenario_tests import AllowLargeResponse -from azure.cli.testsdk import ScenarioTest -from .. import try_manual -from azure.cli.testsdk import ResourceGroupPreparer -from azure.cli.testsdk import JMESPathCheck - - -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -@try_manual -def setup(test, rg): - test.cmd('az feature register --namespace Microsoft.HardwareSecurityModules --name AzureDedicatedHSM') - test.cmd( - 'az feature register --namespace Microsoft.Network --name AllowBaremetalServers') - test.cmd('az network vnet create --name vn -g {rg} --subnet-name default') - test.cmd( - 'az vm create -g {rg} --name vm1 --image UbuntuLTS --generate-ssh-keys') - test.cmd( - 'az network vnet subnet create --vnet-name vn -n GatewaySubnet -g {rg} --address-prefix 10.0.5.0/24') - test.cmd( - 'az network vnet subnet create --vnet-name vn -g {rg} --name hsm --address-prefixes 10.0.2.0/24 --delegations Microsoft.HardwareSecurityModules/dedicatedHSMs') - test.cmd( - 'az network public-ip create -n ERGWVIP -g {rg} --allocation-method Dynamic') - test.cmd( - 'az network vnet-gateway create -n ERGW -l japaneast --public-ip-address ERGWVIP -g {rg} --vnet vn --sku standard --gateway-type ExpressRoute') - - -# EXAMPLE: /DedicatedHsm/put/Create a new or update an existing dedicated HSM -@try_manual -def step__dedicatedhsm_put_create_a_new_or_update_an_existing_dedicated_hsm(test, rg): - test.cmd('az dedicated-hsm create ' - '--name "hsm1" ' - '--location "japaneast" ' - '--network-profile-network-interfaces private-ip-address="10.0.2.21" ' - '--subnet id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetworks/vn/subnets/hsm" ' - '--stamp-id "stamp1" ' - '--sku name="SafeNet Luna Network HSM A790" ' - '--tags Dept="hsm" Environment="dogfood" ' - '--resource-group "{rg}"', - checks=[JMESPathCheck('name', 'hsm1')]) - - -# EXAMPLE: /DedicatedHsm/get/Get a dedicated HSM -@try_manual -def step__dedicatedhsm_get_get_a_dedicated_hsm(test, rg): - test.cmd('az dedicated-hsm show ' - '--name "hsm1" ' - '--resource-group "{rg}"', - checks=[JMESPathCheck('name', 'hsm1')]) - - -# EXAMPLE: /DedicatedHsm/get/List dedicated HSM devices in a resource group -@try_manual -def step__dedicatedhsm_get_list_dedicated_hsm_devices_in_a_resource_group(test, rg): - test.cmd('az dedicated-hsm list ' - '--resource-group "{rg}"', - checks=[JMESPathCheck('[0].name', 'hsm1')]) - - -# EXAMPLE: /DedicatedHsm/get/List dedicated HSM devices in a subscription -@try_manual -def step__dedicatedhsm_get_list_dedicated_hsm_devices_in_a_subscription(test, rg): - test.cmd('az dedicated-hsm list ' - '-g=', - checks=[JMESPathCheck('[0].name', 'hsm1')]) - - -# EXAMPLE: /DedicatedHsm/patch/Update an existing dedicated HSM -@try_manual -def step__dedicatedhsm_patch_update_an_existing_dedicated_hsm(test, rg): - test.cmd('az dedicated-hsm update ' - '--name "hsm1" ' - '--tags Dept="hsm" Environment="dogfood" Slice="A" ' - '--resource-group "{rg}"', - checks=[JMESPathCheck('tags.Slice', "A")]) - - -# EXAMPLE: /DedicatedHsm/delete/Delete a dedicated HSM -@try_manual -def step__dedicatedhsm_delete_delete_a_dedicated_hsm(test, rg): - test.cmd('az dedicated-hsm delete ' - '--name "hsm1" ' - '--resource-group "{rg}" ' - '-y', - checks=[]) - - -@try_manual -def call_scenario(test, rg): - try: - setup(test, rg) - step__dedicatedhsm_put_create_a_new_or_update_an_existing_dedicated_hsm( - test, rg) - step__dedicatedhsm_get_get_a_dedicated_hsm(test, rg) - step__dedicatedhsm_get_list_dedicated_hsm_devices_in_a_resource_group( - test, rg) - step__dedicatedhsm_get_list_dedicated_hsm_devices_in_a_subscription( - test, rg) - step__dedicatedhsm_patch_update_an_existing_dedicated_hsm(test, rg) - step__dedicatedhsm_delete_delete_a_dedicated_hsm(test, rg) - except: - test.cmd('az group delete -n {rg} --yes ') - - -@try_manual -class AzureDedicatedHSMResourceProviderScenarioTest(ScenarioTest): - - @ResourceGroupPreparer(name_prefix='clitesthardwaresecuritymodules_hsm-group'[:7], location='japaneast', key='rg', parameter_name='rg') - def test_hardwaresecuritymodules(self, rg): - - self.kwargs.update({ - 'subscription_id': self.get_subscription_id() - }) - - call_scenario(self, rg) diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/__init__.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/__init__.py index c9cfdc73e77..ee0c4f36bd0 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/__init__.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/__init__.py @@ -1,12 +1,12 @@ -# 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. -# -------------------------------------------------------------------------- - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/__init__.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/__init__.py index da430e088ff..36b0f7850ad 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/__init__.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/__init__.py @@ -7,13 +7,10 @@ # -------------------------------------------------------------------------- from ._azure_dedicated_hsm_resource_provider import AzureDedicatedHSMResourceProvider -from ._version import VERSION - -__version__ = VERSION __all__ = ['AzureDedicatedHSMResourceProvider'] try: - from .patch import patch_sdk + from ._patch import patch_sdk patch_sdk() except ImportError: pass diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/_azure_dedicated_hsm_resource_provider.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/_azure_dedicated_hsm_resource_provider.py index fd0731669f1..2daf331c153 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/_azure_dedicated_hsm_resource_provider.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/_azure_dedicated_hsm_resource_provider.py @@ -15,7 +15,10 @@ # pylint: disable=unused-import,ungrouped-imports from typing import Any, Optional + from azure.core.credentials import TokenCredential + from ._configuration import AzureDedicatedHSMResourceProviderConfiguration +from .operations import OperationOperations from .operations import DedicatedHsmOperations from . import models @@ -23,13 +26,16 @@ class AzureDedicatedHSMResourceProvider(object): """The Azure management API provides a RESTful set of web services that interact with Azure Dedicated HSM RP. + :ivar operation: OperationOperations operations + :vartype operation: azure_dedicated_hsm_resource_provider.operations.OperationOperations :ivar dedicated_hsm: DedicatedHsmOperations operations - :vartype dedicated_hsm: azure.mgmt.hardwaresecuritymodules.operations.DedicatedHsmOperations + :vartype dedicated_hsm: azure_dedicated_hsm_resource_provider.operations.DedicatedHsmOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. :type subscription_id: str :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ def __init__( @@ -49,6 +55,8 @@ def __init__( self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) + self.operation = OperationOperations( + self._client, self._config, self._serialize, self._deserialize) self.dedicated_hsm = DedicatedHsmOperations( self._client, self._config, self._serialize, self._deserialize) diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/_configuration.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/_configuration.py index ac353d6ad2e..7f52c3ed7e1 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/_configuration.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/_configuration.py @@ -11,14 +11,13 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies -from ._version import VERSION - if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from typing import Any from azure.core.credentials import TokenCredential +VERSION = "unknown" class AzureDedicatedHSMResourceProviderConfiguration(Configuration): """Configuration for AzureDedicatedHSMResourceProvider. @@ -49,7 +48,8 @@ def __init__( self.subscription_id = subscription_id self.api_version = "2018-10-31-preview" self.credential_scopes = ['https://management.azure.com/.default'] - kwargs.setdefault('sdk_moniker', 'mgmt-hardwaresecuritymodules/{}'.format(VERSION)) + self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + kwargs.setdefault('sdk_moniker', 'azurededicatedhsmresourceprovider/{}'.format(VERSION)) self._configure(**kwargs) def _configure( diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/_azure_dedicated_hsm_resource_provider_async.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/_azure_dedicated_hsm_resource_provider_async.py index 66f3543db03..ca61f9719f4 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/_azure_dedicated_hsm_resource_provider_async.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/_azure_dedicated_hsm_resource_provider_async.py @@ -6,12 +6,17 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Optional +from typing import Any, Optional, TYPE_CHECKING from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + from ._configuration_async import AzureDedicatedHSMResourceProviderConfiguration +from .operations_async import OperationOperations from .operations_async import DedicatedHsmOperations from .. import models @@ -19,13 +24,16 @@ class AzureDedicatedHSMResourceProvider(object): """The Azure management API provides a RESTful set of web services that interact with Azure Dedicated HSM RP. + :ivar operation: OperationOperations operations + :vartype operation: azure_dedicated_hsm_resource_provider.aio.operations_async.OperationOperations :ivar dedicated_hsm: DedicatedHsmOperations operations - :vartype dedicated_hsm: azure.mgmt.hardwaresecuritymodules.aio.operations_async.DedicatedHsmOperations + :vartype dedicated_hsm: azure_dedicated_hsm_resource_provider.aio.operations_async.DedicatedHsmOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. :type subscription_id: str :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ def __init__( @@ -44,6 +52,8 @@ def __init__( self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) + self.operation = OperationOperations( + self._client, self._config, self._serialize, self._deserialize) self.dedicated_hsm = DedicatedHsmOperations( self._client, self._config, self._serialize, self._deserialize) diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/_configuration_async.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/_configuration_async.py index ec22f630e46..c0342acc8d6 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/_configuration_async.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/_configuration_async.py @@ -11,12 +11,11 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies -from .._version import VERSION - if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials import TokenCredential + from azure.core.credentials_async import AsyncTokenCredential +VERSION = "unknown" class AzureDedicatedHSMResourceProviderConfiguration(Configuration): """Configuration for AzureDedicatedHSMResourceProvider. @@ -46,7 +45,8 @@ def __init__( self.subscription_id = subscription_id self.api_version = "2018-10-31-preview" self.credential_scopes = ['https://management.azure.com/.default'] - kwargs.setdefault('sdk_moniker', 'mgmt-hardwaresecuritymodules/{}'.format(VERSION)) + self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + kwargs.setdefault('sdk_moniker', 'azurededicatedhsmresourceprovider/{}'.format(VERSION)) self._configure(**kwargs) def _configure( diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/__init__.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/__init__.py index 8322ec044b3..9aa2000705a 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/__init__.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/__init__.py @@ -6,8 +6,10 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from ._operation_operations_async import OperationOperations from ._dedicated_hsm_operations_async import DedicatedHsmOperations __all__ = [ + 'OperationOperations', 'DedicatedHsmOperations', ] diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/_dedicated_hsm_operations_async.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/_dedicated_hsm_operations_async.py index 3ac7d7ff6d5..84615f6e653 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/_dedicated_hsm_operations_async.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/_dedicated_hsm_operations_async.py @@ -5,7 +5,7 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union +from typing import Any, AsyncIterable, Callable, Dict, Generic, List, Optional, TypeVar, Union import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList @@ -28,7 +28,7 @@ class DedicatedHsmOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.hardwaresecuritymodules.models + :type models: ~azure_dedicated_hsm_resource_provider.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -53,18 +53,19 @@ async def _create_or_update_initial( tags: Optional[Dict[str, str]] = None, stamp_id: Optional[str] = None, subnet: Optional["models.ApiEntityReference"] = None, - network_interfaces: Optional[List["NetworkInterface"]] = None, + network_interfaces: Optional[List["models.NetworkInterface"]] = None, **kwargs ) -> "models.DedicatedHsm": cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsm"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _parameters = models.DedicatedHsm(location=location, sku=sku, zones=zones, tags=tags, stamp_id=stamp_id, subnet=subnet, network_interfaces=network_interfaces) api_version = "2018-10-31-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self._create_or_update_initial.metadata['url'] + url = self._create_or_update_initial.metadata['url'] # type: ignore path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'name': self._serialize.url("name", name, 'str', pattern=r'^[a-zA-Z0-9-]{3,24}$'), @@ -103,10 +104,10 @@ async def _create_or_update_initial( deserialized = self._deserialize('DedicatedHsm', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore async def create_or_update( self, @@ -118,7 +119,7 @@ async def create_or_update( tags: Optional[Dict[str, str]] = None, stamp_id: Optional[str] = None, subnet: Optional["models.ApiEntityReference"] = None, - network_interfaces: Optional[List["NetworkInterface"]] = None, + network_interfaces: Optional[List["models.NetworkInterface"]] = None, **kwargs ) -> "models.DedicatedHsm": """Create or Update a dedicated HSM in the specified subscription. @@ -130,7 +131,7 @@ async def create_or_update( :param location: The supported Azure location where the dedicated HSM should be created. :type location: str :param sku: SKU details. - :type sku: ~azure.mgmt.hardwaresecuritymodules.models.Sku + :type sku: ~azure_dedicated_hsm_resource_provider.models.Sku :param zones: The Dedicated Hsm zones. :type zones: list[str] :param tags: Resource tags. @@ -138,21 +139,25 @@ async def create_or_update( :param stamp_id: This field will be used when RP does not support Availability zones. :type stamp_id: str :param subnet: Specifies the identifier of the subnet. - :type subnet: ~azure.mgmt.hardwaresecuritymodules.models.ApiEntityReference + :type subnet: ~azure_dedicated_hsm_resource_provider.models.ApiEntityReference :param network_interfaces: Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM. - :type network_interfaces: list[~azure.mgmt.hardwaresecuritymodules.models.NetworkInterface] + :type network_interfaces: list[~azure_dedicated_hsm_resource_provider.models.NetworkInterface] :keyword callable cls: A custom type or function that will be passed the direct response :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :return: An instance of LROPoller that returns DedicatedHsm - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsm] - + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: DedicatedHsm, or the result of cls(response) + :rtype: ~azure_dedicated_hsm_resource_provider.models.DedicatedHsm :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsm"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) raw_result = await self._create_or_update_initial( resource_group_name=resource_group_name, name=name, @@ -167,6 +172,9 @@ async def create_or_update( **kwargs ) + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + def get_long_running_output(pipeline_response): deserialized = self._deserialize('DedicatedHsm', pipeline_response) @@ -174,15 +182,11 @@ def get_long_running_output(pipeline_response): return cls(pipeline_response, deserialized, {}) return deserialized - lro_delay = kwargs.get( - 'polling_interval', - self._config.polling_interval - ) if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = AsyncNoPolling() else: polling_method = polling return await async_poller(self._client, raw_result, get_long_running_output, polling_method) - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore async def _update_initial( self, @@ -192,14 +196,15 @@ async def _update_initial( **kwargs ) -> "models.DedicatedHsm": cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsm"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _parameters = models.DedicatedHsmPatchParameters(tags=tags) api_version = "2018-10-31-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self._update_initial.metadata['url'] + url = self._update_initial.metadata['url'] # type: ignore path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'name': self._serialize.url("name", name, 'str', pattern=r'^[a-zA-Z0-9-]{3,24}$'), @@ -233,10 +238,10 @@ async def _update_initial( deserialized = self._deserialize('DedicatedHsm', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore async def update( self, @@ -257,13 +262,17 @@ async def update( :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :return: An instance of LROPoller that returns DedicatedHsm - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsm] - + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: DedicatedHsm, or the result of cls(response) + :rtype: ~azure_dedicated_hsm_resource_provider.models.DedicatedHsm :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsm"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) raw_result = await self._update_initial( resource_group_name=resource_group_name, name=name, @@ -272,6 +281,9 @@ async def update( **kwargs ) + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + def get_long_running_output(pipeline_response): deserialized = self._deserialize('DedicatedHsm', pipeline_response) @@ -279,15 +291,11 @@ def get_long_running_output(pipeline_response): return cls(pipeline_response, deserialized, {}) return deserialized - lro_delay = kwargs.get( - 'polling_interval', - self._config.polling_interval - ) if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = AsyncNoPolling() else: polling_method = polling return await async_poller(self._client, raw_result, get_long_running_output, polling_method) - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore async def _delete_initial( self, @@ -296,11 +304,12 @@ async def _delete_initial( **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) api_version = "2018-10-31-preview" # Construct URL - url = self._delete_initial.metadata['url'] + url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'name': self._serialize.url("name", name, 'str'), @@ -326,9 +335,9 @@ async def _delete_initial( raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore async def delete( self, @@ -346,13 +355,17 @@ async def delete( :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :return: An instance of LROPoller that returns None - :rtype: ~azure.core.polling.LROPoller[None] - + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: None, or the result of cls(response) + :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) raw_result = await self._delete_initial( resource_group_name=resource_group_name, name=name, @@ -360,19 +373,18 @@ async def delete( **kwargs ) + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + def get_long_running_output(pipeline_response): if cls: return cls(pipeline_response, None, {}) - lro_delay = kwargs.get( - 'polling_interval', - self._config.polling_interval - ) if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = AsyncNoPolling() else: polling_method = polling return await async_poller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore async def get( self, @@ -387,16 +399,17 @@ async def get( :param name: The name of the dedicated HSM. :type name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: DedicatedHsm or the result of cls(response) - :rtype: ~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsm + :return: DedicatedHsm, or the result of cls(response) + :rtype: ~azure_dedicated_hsm_resource_provider.models.DedicatedHsm :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsm"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) api_version = "2018-10-31-preview" # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'name': self._serialize.url("name", name, 'str'), @@ -425,17 +438,17 @@ async def get( deserialized = self._deserialize('DedicatedHsm', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore def list_by_resource_group( self, resource_group_name: str, top: Optional[int] = None, **kwargs - ) -> "models.DedicatedHsmListResult": + ) -> AsyncIterable["models.DedicatedHsmListResult"]: """The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group. :param resource_group_name: The name of the Resource Group to which the dedicated HSM belongs. @@ -443,32 +456,33 @@ def list_by_resource_group( :param top: Maximum number of results to return. :type top: int :keyword callable cls: A custom type or function that will be passed the direct response - :return: DedicatedHsmListResult or the result of cls(response) - :rtype: ~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsmListResult + :return: An iterator like instance of either DedicatedHsmListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure_dedicated_hsm_resource_provider.models.DedicatedHsmListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsmListResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) api_version = "2018-10-31-preview" def prepare_request(next_link=None): if not next_link: # Construct URL - url = self.list_by_resource_group.metadata['url'] + url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), } url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + else: url = next_link - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if top is not None: - query_parameters['$top'] = self._serialize.query("top", top, 'int') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - + query_parameters = {} # type: Dict[str, Any] # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' @@ -500,43 +514,44 @@ async def get_next(next_link=None): return AsyncItemPaged( get_next, extract_data ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs'} + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs'} # type: ignore def list_by_subscription( self, top: Optional[int] = None, **kwargs - ) -> "models.DedicatedHsmListResult": + ) -> AsyncIterable["models.DedicatedHsmListResult"]: """The List operation gets information about the dedicated HSMs associated with the subscription. :param top: Maximum number of results to return. :type top: int :keyword callable cls: A custom type or function that will be passed the direct response - :return: DedicatedHsmListResult or the result of cls(response) - :rtype: ~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsmListResult + :return: An iterator like instance of either DedicatedHsmListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure_dedicated_hsm_resource_provider.models.DedicatedHsmListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsmListResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) api_version = "2018-10-31-preview" def prepare_request(next_link=None): if not next_link: # Construct URL - url = self.list_by_subscription.metadata['url'] + url = self.list_by_subscription.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), } url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + else: url = next_link - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if top is not None: - query_parameters['$top'] = self._serialize.query("top", top, 'int') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - + query_parameters = {} # type: Dict[str, Any] # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' @@ -568,4 +583,4 @@ async def get_next(next_link=None): return AsyncItemPaged( get_next, extract_data ) - list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs'} + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs'} # type: ignore diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/_operation_operations_async.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/_operation_operations_async.py new file mode 100644 index 00000000000..fd35858dd71 --- /dev/null +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/aio/operations_async/_operation_operations_async.py @@ -0,0 +1,102 @@ +# 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. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OperationOperations: + """OperationOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_dedicated_hsm_resource_provider.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["models.DedicatedHsmOperationListResult"]: + """Get a list of Dedicated HSM operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DedicatedHsmOperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure_dedicated_hsm_resource_provider.models.DedicatedHsmOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsmOperationListResult"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-31-preview" + + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DedicatedHsmOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.DedicatedHsmError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.HardwareSecurityModules/operations'} # type: ignore diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/__init__.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/__init__.py index f83ac526495..5e247ff64d9 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/__init__.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/__init__.py @@ -11,6 +11,9 @@ from ._models_py3 import DedicatedHsm from ._models_py3 import DedicatedHsmError from ._models_py3 import DedicatedHsmListResult + from ._models_py3 import DedicatedHsmOperation + from ._models_py3 import DedicatedHsmOperationDisplay + from ._models_py3 import DedicatedHsmOperationListResult from ._models_py3 import DedicatedHsmPatchParameters from ._models_py3 import Error from ._models_py3 import NetworkInterface @@ -22,6 +25,9 @@ from ._models import DedicatedHsm # type: ignore from ._models import DedicatedHsmError # type: ignore from ._models import DedicatedHsmListResult # type: ignore + from ._models import DedicatedHsmOperation # type: ignore + from ._models import DedicatedHsmOperationDisplay # type: ignore + from ._models import DedicatedHsmOperationListResult # type: ignore from ._models import DedicatedHsmPatchParameters # type: ignore from ._models import Error # type: ignore from ._models import NetworkInterface # type: ignore @@ -38,6 +44,9 @@ 'DedicatedHsm', 'DedicatedHsmError', 'DedicatedHsmListResult', + 'DedicatedHsmOperation', + 'DedicatedHsmOperationDisplay', + 'DedicatedHsmOperationListResult', 'DedicatedHsmPatchParameters', 'Error', 'NetworkInterface', diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/_models.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/_models.py index 737f4e31f6e..3ea07197819 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/_models.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/_models.py @@ -47,7 +47,7 @@ class Resource(msrest.serialization.Model): created. :type location: str :param sku: SKU details. - :type sku: ~azure.mgmt.hardwaresecuritymodules.models.Sku + :type sku: ~azure_dedicated_hsm_resource_provider.models.Sku :param zones: The Dedicated Hsm zones. :type zones: list[str] :param tags: A set of tags. Resource tags. @@ -102,7 +102,7 @@ class DedicatedHsm(Resource): created. :type location: str :param sku: SKU details. - :type sku: ~azure.mgmt.hardwaresecuritymodules.models.Sku + :type sku: ~azure_dedicated_hsm_resource_provider.models.Sku :param zones: The Dedicated Hsm zones. :type zones: list[str] :param tags: A set of tags. Resource tags. @@ -113,12 +113,13 @@ class DedicatedHsm(Resource): :vartype status_message: str :ivar provisioning_state: Provisioning state. Possible values include: "Succeeded", "Provisioning", "Allocating", "Connecting", "Failed", "CheckingQuota", "Deleting". - :vartype provisioning_state: str or ~azure.mgmt.hardwaresecuritymodules.models.JsonWebKeyType + :vartype provisioning_state: str or + ~azure_dedicated_hsm_resource_provider.models.JsonWebKeyType :param subnet: Specifies the identifier of the subnet. - :type subnet: ~azure.mgmt.hardwaresecuritymodules.models.ApiEntityReference + :type subnet: ~azure_dedicated_hsm_resource_provider.models.ApiEntityReference :param network_interfaces: Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM. - :type network_interfaces: list[~azure.mgmt.hardwaresecuritymodules.models.NetworkInterface] + :type network_interfaces: list[~azure_dedicated_hsm_resource_provider.models.NetworkInterface] """ _validation = { @@ -163,7 +164,7 @@ class DedicatedHsmError(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar error: The key vault server error. - :vartype error: ~azure.mgmt.hardwaresecuritymodules.models.Error + :vartype error: ~azure_dedicated_hsm_resource_provider.models.Error """ _validation = { @@ -186,7 +187,7 @@ class DedicatedHsmListResult(msrest.serialization.Model): """List of dedicated HSMs. :param value: The list of dedicated HSMs. - :type value: list[~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsm] + :type value: list[~azure_dedicated_hsm_resource_provider.models.DedicatedHsm] :param next_link: The URL to get the next set of dedicated hsms. :type next_link: str """ @@ -205,6 +206,89 @@ def __init__( self.next_link = kwargs.get('next_link', None) +class DedicatedHsmOperation(msrest.serialization.Model): + """REST API operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: The name of the Dedicated HSM Resource Provider Operation. + :type name: str + :ivar is_data_action: Gets or sets a value indicating whether it is a data plane action. + :vartype is_data_action: str + :param display: + :type display: ~azure_dedicated_hsm_resource_provider.models.DedicatedHsmOperationDisplay + """ + + _validation = { + 'is_data_action': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'DedicatedHsmOperationDisplay'}, + } + + def __init__( + self, + **kwargs + ): + super(DedicatedHsmOperation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.is_data_action = None + self.display = kwargs.get('display', None) + + +class DedicatedHsmOperationDisplay(msrest.serialization.Model): + """DedicatedHsmOperationDisplay. + + :param provider: The Resource Provider of the operation. + :type provider: str + :param resource: Resource on which the operation is performed. + :type resource: str + :param operation: Operation type: Read, write, delete, etc. + :type operation: str + :param description: The object that represents the operation. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DedicatedHsmOperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) + + +class DedicatedHsmOperationListResult(msrest.serialization.Model): + """Result of the request to list Dedicated HSM Provider operations. It contains a list of operations. + + :param value: List of Dedicated HSM Resource Provider operations. + :type value: list[~azure_dedicated_hsm_resource_provider.models.DedicatedHsmOperation] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DedicatedHsmOperation]'}, + } + + def __init__( + self, + **kwargs + ): + super(DedicatedHsmOperationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + class DedicatedHsmPatchParameters(msrest.serialization.Model): """Patchable properties of the dedicated HSM. @@ -234,7 +318,7 @@ class Error(msrest.serialization.Model): :ivar message: The error message. :vartype message: str :ivar inner_error: The key vault server error. - :vartype inner_error: ~azure.mgmt.hardwaresecuritymodules.models.Error + :vartype inner_error: ~azure_dedicated_hsm_resource_provider.models.Error """ _validation = { @@ -293,7 +377,7 @@ class ResourceListResult(msrest.serialization.Model): """List of dedicated HSM resources. :param value: The list of dedicated HSM resources. - :type value: list[~azure.mgmt.hardwaresecuritymodules.models.Resource] + :type value: list[~azure_dedicated_hsm_resource_provider.models.Resource] :param next_link: The URL to get the next set of dedicated HSM resources. :type next_link: str """ diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/_models_py3.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/_models_py3.py index 1921ec0ff9e..7496019f6a5 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/_models_py3.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/models/_models_py3.py @@ -51,7 +51,7 @@ class Resource(msrest.serialization.Model): created. :type location: str :param sku: SKU details. - :type sku: ~azure.mgmt.hardwaresecuritymodules.models.Sku + :type sku: ~azure_dedicated_hsm_resource_provider.models.Sku :param zones: The Dedicated Hsm zones. :type zones: list[str] :param tags: A set of tags. Resource tags. @@ -111,7 +111,7 @@ class DedicatedHsm(Resource): created. :type location: str :param sku: SKU details. - :type sku: ~azure.mgmt.hardwaresecuritymodules.models.Sku + :type sku: ~azure_dedicated_hsm_resource_provider.models.Sku :param zones: The Dedicated Hsm zones. :type zones: list[str] :param tags: A set of tags. Resource tags. @@ -122,12 +122,13 @@ class DedicatedHsm(Resource): :vartype status_message: str :ivar provisioning_state: Provisioning state. Possible values include: "Succeeded", "Provisioning", "Allocating", "Connecting", "Failed", "CheckingQuota", "Deleting". - :vartype provisioning_state: str or ~azure.mgmt.hardwaresecuritymodules.models.JsonWebKeyType + :vartype provisioning_state: str or + ~azure_dedicated_hsm_resource_provider.models.JsonWebKeyType :param subnet: Specifies the identifier of the subnet. - :type subnet: ~azure.mgmt.hardwaresecuritymodules.models.ApiEntityReference + :type subnet: ~azure_dedicated_hsm_resource_provider.models.ApiEntityReference :param network_interfaces: Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM. - :type network_interfaces: list[~azure.mgmt.hardwaresecuritymodules.models.NetworkInterface] + :type network_interfaces: list[~azure_dedicated_hsm_resource_provider.models.NetworkInterface] """ _validation = { @@ -180,7 +181,7 @@ class DedicatedHsmError(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar error: The key vault server error. - :vartype error: ~azure.mgmt.hardwaresecuritymodules.models.Error + :vartype error: ~azure_dedicated_hsm_resource_provider.models.Error """ _validation = { @@ -203,7 +204,7 @@ class DedicatedHsmListResult(msrest.serialization.Model): """List of dedicated HSMs. :param value: The list of dedicated HSMs. - :type value: list[~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsm] + :type value: list[~azure_dedicated_hsm_resource_provider.models.DedicatedHsm] :param next_link: The URL to get the next set of dedicated hsms. :type next_link: str """ @@ -225,6 +226,99 @@ def __init__( self.next_link = next_link +class DedicatedHsmOperation(msrest.serialization.Model): + """REST API operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: The name of the Dedicated HSM Resource Provider Operation. + :type name: str + :ivar is_data_action: Gets or sets a value indicating whether it is a data plane action. + :vartype is_data_action: str + :param display: + :type display: ~azure_dedicated_hsm_resource_provider.models.DedicatedHsmOperationDisplay + """ + + _validation = { + 'is_data_action': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'DedicatedHsmOperationDisplay'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display: Optional["DedicatedHsmOperationDisplay"] = None, + **kwargs + ): + super(DedicatedHsmOperation, self).__init__(**kwargs) + self.name = name + self.is_data_action = None + self.display = display + + +class DedicatedHsmOperationDisplay(msrest.serialization.Model): + """DedicatedHsmOperationDisplay. + + :param provider: The Resource Provider of the operation. + :type provider: str + :param resource: Resource on which the operation is performed. + :type resource: str + :param operation: Operation type: Read, write, delete, etc. + :type operation: str + :param description: The object that represents the operation. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: Optional[str] = None, + resource: Optional[str] = None, + operation: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): + super(DedicatedHsmOperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class DedicatedHsmOperationListResult(msrest.serialization.Model): + """Result of the request to list Dedicated HSM Provider operations. It contains a list of operations. + + :param value: List of Dedicated HSM Resource Provider operations. + :type value: list[~azure_dedicated_hsm_resource_provider.models.DedicatedHsmOperation] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DedicatedHsmOperation]'}, + } + + def __init__( + self, + *, + value: Optional[List["DedicatedHsmOperation"]] = None, + **kwargs + ): + super(DedicatedHsmOperationListResult, self).__init__(**kwargs) + self.value = value + + class DedicatedHsmPatchParameters(msrest.serialization.Model): """Patchable properties of the dedicated HSM. @@ -256,7 +350,7 @@ class Error(msrest.serialization.Model): :ivar message: The error message. :vartype message: str :ivar inner_error: The key vault server error. - :vartype inner_error: ~azure.mgmt.hardwaresecuritymodules.models.Error + :vartype inner_error: ~azure_dedicated_hsm_resource_provider.models.Error """ _validation = { @@ -317,7 +411,7 @@ class ResourceListResult(msrest.serialization.Model): """List of dedicated HSM resources. :param value: The list of dedicated HSM resources. - :type value: list[~azure.mgmt.hardwaresecuritymodules.models.Resource] + :type value: list[~azure_dedicated_hsm_resource_provider.models.Resource] :param next_link: The URL to get the next set of dedicated HSM resources. :type next_link: str """ diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/__init__.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/__init__.py index 1c1c2fbbddc..c8b216c2704 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/__init__.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/__init__.py @@ -6,8 +6,10 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from ._operation_operations import OperationOperations from ._dedicated_hsm_operations import DedicatedHsmOperations __all__ = [ + 'OperationOperations', 'DedicatedHsmOperations', ] diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/_dedicated_hsm_operations.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/_dedicated_hsm_operations.py index 1c5a682d161..a5f9a35e616 100644 --- a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/_dedicated_hsm_operations.py +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/_dedicated_hsm_operations.py @@ -20,7 +20,7 @@ if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union + from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -32,7 +32,7 @@ class DedicatedHsmOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.hardwaresecuritymodules.models + :type models: ~azure_dedicated_hsm_resource_provider.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,19 +57,20 @@ def _create_or_update_initial( tags=None, # type: Optional[Dict[str, str]] stamp_id=None, # type: Optional[str] subnet=None, # type: Optional["models.ApiEntityReference"] - network_interfaces=None, # type: Optional[List["NetworkInterface"]] + network_interfaces=None, # type: Optional[List["models.NetworkInterface"]] **kwargs # type: Any ): # type: (...) -> "models.DedicatedHsm" cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsm"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _parameters = models.DedicatedHsm(location=location, sku=sku, zones=zones, tags=tags, stamp_id=stamp_id, subnet=subnet, network_interfaces=network_interfaces) api_version = "2018-10-31-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self._create_or_update_initial.metadata['url'] + url = self._create_or_update_initial.metadata['url'] # type: ignore path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'name': self._serialize.url("name", name, 'str', pattern=r'^[a-zA-Z0-9-]{3,24}$'), @@ -108,10 +109,10 @@ def _create_or_update_initial( deserialized = self._deserialize('DedicatedHsm', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore def begin_create_or_update( self, @@ -123,10 +124,10 @@ def begin_create_or_update( tags=None, # type: Optional[Dict[str, str]] stamp_id=None, # type: Optional[str] subnet=None, # type: Optional["models.ApiEntityReference"] - network_interfaces=None, # type: Optional[List["NetworkInterface"]] + network_interfaces=None, # type: Optional[List["models.NetworkInterface"]] **kwargs # type: Any ): - # type: (...) -> "models.DedicatedHsm" + # type: (...) -> LROPoller """Create or Update a dedicated HSM in the specified subscription. :param resource_group_name: The name of the Resource Group to which the resource belongs. @@ -136,7 +137,7 @@ def begin_create_or_update( :param location: The supported Azure location where the dedicated HSM should be created. :type location: str :param sku: SKU details. - :type sku: ~azure.mgmt.hardwaresecuritymodules.models.Sku + :type sku: ~azure_dedicated_hsm_resource_provider.models.Sku :param zones: The Dedicated Hsm zones. :type zones: list[str] :param tags: Resource tags. @@ -144,21 +145,25 @@ def begin_create_or_update( :param stamp_id: This field will be used when RP does not support Availability zones. :type stamp_id: str :param subnet: Specifies the identifier of the subnet. - :type subnet: ~azure.mgmt.hardwaresecuritymodules.models.ApiEntityReference + :type subnet: ~azure_dedicated_hsm_resource_provider.models.ApiEntityReference :param network_interfaces: Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM. - :type network_interfaces: list[~azure.mgmt.hardwaresecuritymodules.models.NetworkInterface] + :type network_interfaces: list[~azure_dedicated_hsm_resource_provider.models.NetworkInterface] :keyword callable cls: A custom type or function that will be passed the direct response :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy :paramtype polling: bool or ~azure.core.polling.PollingMethod - :return: An instance of LROPoller that returns DedicatedHsm - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsm] - + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DedicatedHsm or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure_dedicated_hsm_resource_provider.models.DedicatedHsm] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsm"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, name=name, @@ -173,6 +178,9 @@ def begin_create_or_update( **kwargs ) + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + def get_long_running_output(pipeline_response): deserialized = self._deserialize('DedicatedHsm', pipeline_response) @@ -180,15 +188,11 @@ def get_long_running_output(pipeline_response): return cls(pipeline_response, deserialized, {}) return deserialized - lro_delay = kwargs.get( - 'polling_interval', - self._config.polling_interval - ) if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore def _update_initial( self, @@ -199,14 +203,15 @@ def _update_initial( ): # type: (...) -> "models.DedicatedHsm" cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsm"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _parameters = models.DedicatedHsmPatchParameters(tags=tags) api_version = "2018-10-31-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self._update_initial.metadata['url'] + url = self._update_initial.metadata['url'] # type: ignore path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'name': self._serialize.url("name", name, 'str', pattern=r'^[a-zA-Z0-9-]{3,24}$'), @@ -240,10 +245,10 @@ def _update_initial( deserialized = self._deserialize('DedicatedHsm', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore def begin_update( self, @@ -252,7 +257,7 @@ def begin_update( tags=None, # type: Optional[Dict[str, str]] **kwargs # type: Any ): - # type: (...) -> "models.DedicatedHsm" + # type: (...) -> LROPoller """Update a dedicated HSM in the specified subscription. :param resource_group_name: The name of the Resource Group to which the server belongs. @@ -265,13 +270,17 @@ def begin_update( :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy :paramtype polling: bool or ~azure.core.polling.PollingMethod - :return: An instance of LROPoller that returns DedicatedHsm - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsm] - + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DedicatedHsm or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure_dedicated_hsm_resource_provider.models.DedicatedHsm] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsm"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) raw_result = self._update_initial( resource_group_name=resource_group_name, name=name, @@ -280,6 +289,9 @@ def begin_update( **kwargs ) + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + def get_long_running_output(pipeline_response): deserialized = self._deserialize('DedicatedHsm', pipeline_response) @@ -287,15 +299,11 @@ def get_long_running_output(pipeline_response): return cls(pipeline_response, deserialized, {}) return deserialized - lro_delay = kwargs.get( - 'polling_interval', - self._config.polling_interval - ) if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore def _delete_initial( self, @@ -305,11 +313,12 @@ def _delete_initial( ): # type: (...) -> None cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) api_version = "2018-10-31-preview" # Construct URL - url = self._delete_initial.metadata['url'] + url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'name': self._serialize.url("name", name, 'str'), @@ -335,9 +344,9 @@ def _delete_initial( raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore def begin_delete( self, @@ -345,7 +354,7 @@ def begin_delete( name, # type: str **kwargs # type: Any ): - # type: (...) -> None + # type: (...) -> LROPoller """Deletes the specified Azure Dedicated HSM. :param resource_group_name: The name of the Resource Group to which the dedicated HSM belongs. @@ -356,13 +365,17 @@ def begin_delete( :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy :paramtype polling: bool or ~azure.core.polling.PollingMethod - :return: An instance of LROPoller that returns None + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) raw_result = self._delete_initial( resource_group_name=resource_group_name, name=name, @@ -370,19 +383,18 @@ def begin_delete( **kwargs ) + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + def get_long_running_output(pipeline_response): if cls: return cls(pipeline_response, None, {}) - lro_delay = kwargs.get( - 'polling_interval', - self._config.polling_interval - ) if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore def get( self, @@ -398,16 +410,17 @@ def get( :param name: The name of the dedicated HSM. :type name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: DedicatedHsm or the result of cls(response) - :rtype: ~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsm + :return: DedicatedHsm, or the result of cls(response) + :rtype: ~azure_dedicated_hsm_resource_provider.models.DedicatedHsm :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsm"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) api_version = "2018-10-31-preview" # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'name': self._serialize.url("name", name, 'str'), @@ -436,10 +449,10 @@ def get( deserialized = self._deserialize('DedicatedHsm', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}'} # type: ignore def list_by_resource_group( self, @@ -447,7 +460,7 @@ def list_by_resource_group( top=None, # type: Optional[int] **kwargs # type: Any ): - # type: (...) -> "models.DedicatedHsmListResult" + # type: (...) -> Iterable["models.DedicatedHsmListResult"] """The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group. :param resource_group_name: The name of the Resource Group to which the dedicated HSM belongs. @@ -455,32 +468,33 @@ def list_by_resource_group( :param top: Maximum number of results to return. :type top: int :keyword callable cls: A custom type or function that will be passed the direct response - :return: DedicatedHsmListResult or the result of cls(response) - :rtype: ~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsmListResult + :return: An iterator like instance of either DedicatedHsmListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure_dedicated_hsm_resource_provider.models.DedicatedHsmListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsmListResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) api_version = "2018-10-31-preview" def prepare_request(next_link=None): if not next_link: # Construct URL - url = self.list_by_resource_group.metadata['url'] + url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), } url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + else: url = next_link - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if top is not None: - query_parameters['$top'] = self._serialize.query("top", top, 'int') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - + query_parameters = {} # type: Dict[str, Any] # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' @@ -512,44 +526,45 @@ def get_next(next_link=None): return ItemPaged( get_next, extract_data ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs'} + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs'} # type: ignore def list_by_subscription( self, top=None, # type: Optional[int] **kwargs # type: Any ): - # type: (...) -> "models.DedicatedHsmListResult" + # type: (...) -> Iterable["models.DedicatedHsmListResult"] """The List operation gets information about the dedicated HSMs associated with the subscription. :param top: Maximum number of results to return. :type top: int :keyword callable cls: A custom type or function that will be passed the direct response - :return: DedicatedHsmListResult or the result of cls(response) - :rtype: ~azure.mgmt.hardwaresecuritymodules.models.DedicatedHsmListResult + :return: An iterator like instance of either DedicatedHsmListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure_dedicated_hsm_resource_provider.models.DedicatedHsmListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsmListResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) api_version = "2018-10-31-preview" def prepare_request(next_link=None): if not next_link: # Construct URL - url = self.list_by_subscription.metadata['url'] + url = self.list_by_subscription.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), } url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + else: url = next_link - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if top is not None: - query_parameters['$top'] = self._serialize.query("top", top, 'int') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - + query_parameters = {} # type: Dict[str, Any] # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' @@ -581,4 +596,4 @@ def get_next(next_link=None): return ItemPaged( get_next, extract_data ) - list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs'} + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs'} # type: ignore diff --git a/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/_operation_operations.py b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/_operation_operations.py new file mode 100644 index 00000000000..7336e0d22f2 --- /dev/null +++ b/src/hardware-security-modules/azext_hardware_security_modules/vendored_sdks/hardwaresecuritymodules/operations/_operation_operations.py @@ -0,0 +1,107 @@ +# 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. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class OperationOperations(object): + """OperationOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_dedicated_hsm_resource_provider.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DedicatedHsmOperationListResult"] + """Get a list of Dedicated HSM operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DedicatedHsmOperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure_dedicated_hsm_resource_provider.models.DedicatedHsmOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DedicatedHsmOperationListResult"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-31-preview" + + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DedicatedHsmOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.DedicatedHsmError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.HardwareSecurityModules/operations'} # type: ignore diff --git a/src/hardware-security-modules/report.md b/src/hardware-security-modules/report.md index aae7def24e8..59a6438d698 100644 --- a/src/hardware-security-modules/report.md +++ b/src/hardware-security-modules/report.md @@ -1,50 +1,49 @@ -# Azure CLI Module Creation Report - -### hardwaresecuritymodules dedicated-hsm create - -create a hardwaresecuritymodules dedicated-hsm. - -|Option|Type|Description|Path (SDK)|Path (swagger)| -|------|----|-----------|----------|--------------| -|**--resource-group-name**|string|The name of the Resource Group to which the resource belongs.|resource_group_name| -|**--name**|string|Name of the dedicated Hsm|name| -|**--location**|string|The supported Azure location where the dedicated HSM should be created.|location| -|**--sku**|object|SKU details|sku| -|**--zones**|array|The Dedicated Hsm zones.|zones| -|**--tags**|dictionary|Resource tags|tags| -|**--stamp-id**|string|This field will be used when RP does not support Availability zones.|stamp_id| -|**--network-profile-subnet**|object|Specifies the identifier of the subnet.|subnet| -|**--network-profile-network-interfaces**|array|Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM.|network_interfaces| -### hardwaresecuritymodules dedicated-hsm delete - -delete a hardwaresecuritymodules dedicated-hsm. - -|Option|Type|Description|Path (SDK)|Path (swagger)| -|------|----|-----------|----------|--------------| -|**--resource-group-name**|string|The name of the Resource Group to which the dedicated HSM belongs.|resource_group_name| -|**--name**|string|The name of the dedicated HSM to delete|name| -### hardwaresecuritymodules dedicated-hsm list - -list a hardwaresecuritymodules dedicated-hsm. - -|Option|Type|Description|Path (SDK)|Path (swagger)| -|------|----|-----------|----------|--------------| -|**--resource-group-name**|string|The name of the Resource Group to which the dedicated HSM belongs.|resource_group_name| -|**--top**|integer|Maximum number of results to return.|top| -### hardwaresecuritymodules dedicated-hsm show - -show a hardwaresecuritymodules dedicated-hsm. - -|Option|Type|Description|Path (SDK)|Path (swagger)| -|------|----|-----------|----------|--------------| -|**--resource-group-name**|string|The name of the Resource Group to which the dedicated hsm belongs.|resource_group_name| -|**--name**|string|The name of the dedicated HSM.|name| -### hardwaresecuritymodules dedicated-hsm update - -update a hardwaresecuritymodules dedicated-hsm. - -|Option|Type|Description|Path (SDK)|Path (swagger)| -|------|----|-----------|----------|--------------| -|**--resource-group-name**|string|The name of the Resource Group to which the server belongs.|resource_group_name| -|**--name**|string|Name of the dedicated HSM|name| +# Azure CLI Module Creation Report + +### hardware-security-modules dedicated-hsm create + +create a hardware-security-modules dedicated-hsm. + +|Option|Type|Description|Path (SDK)|Path (swagger)| +|------|----|-----------|----------|--------------| +|**--resource-group-name**|string|The name of the Resource Group to which the resource belongs.|resource_group_name| +|**--name**|string|Name of the dedicated Hsm|name| +|**--location**|string|The supported Azure location where the dedicated HSM should be created.|location| +|**--zones**|array|The Dedicated Hsm zones.|zones| +|**--tags**|dictionary|Resource tags|tags| +|**--stamp-id**|string|This field will be used when RP does not support Availability zones.|stamp_id| +|**--network-profile-subnet**|object|Specifies the identifier of the subnet.|subnet| +|**--network-profile-network-interfaces**|array|Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM.|network_interfaces| +### hardware-security-modules dedicated-hsm delete + +delete a hardware-security-modules dedicated-hsm. + +|Option|Type|Description|Path (SDK)|Path (swagger)| +|------|----|-----------|----------|--------------| +|**--resource-group-name**|string|The name of the Resource Group to which the dedicated HSM belongs.|resource_group_name| +|**--name**|string|The name of the dedicated HSM to delete|name| +### hardware-security-modules dedicated-hsm list + +list a hardware-security-modules dedicated-hsm. + +|Option|Type|Description|Path (SDK)|Path (swagger)| +|------|----|-----------|----------|--------------| +|**--resource-group-name**|string|The name of the Resource Group to which the dedicated HSM belongs.|resource_group_name| +|**--top**|integer|Maximum number of results to return.|top| +### hardware-security-modules dedicated-hsm show + +show a hardware-security-modules dedicated-hsm. + +|Option|Type|Description|Path (SDK)|Path (swagger)| +|------|----|-----------|----------|--------------| +|**--resource-group-name**|string|The name of the Resource Group to which the dedicated hsm belongs.|resource_group_name| +|**--name**|string|The name of the dedicated HSM.|name| +### hardware-security-modules dedicated-hsm update + +update a hardware-security-modules dedicated-hsm. + +|Option|Type|Description|Path (SDK)|Path (swagger)| +|------|----|-----------|----------|--------------| +|**--resource-group-name**|string|The name of the Resource Group to which the server belongs.|resource_group_name| +|**--name**|string|Name of the dedicated HSM|name| |**--tags**|dictionary|Resource tags|tags| \ No newline at end of file diff --git a/src/hardware-security-modules/setup.cfg b/src/hardware-security-modules/setup.cfg index e69de29bb2d..2fdd96e5d39 100644 --- a/src/hardware-security-modules/setup.cfg +++ b/src/hardware-security-modules/setup.cfg @@ -0,0 +1 @@ +#setup.cfg \ No newline at end of file diff --git a/src/hardware-security-modules/setup.py b/src/hardware-security-modules/setup.py index 9dc91de47ee..1cdbf819464 100644 --- a/src/hardware-security-modules/setup.py +++ b/src/hardware-security-modules/setup.py @@ -1,53 +1,57 @@ -#!/usr/bin/env python - -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - - -from codecs import open -from setuptools import setup, find_packages - -# TODO: Confirm this is the right version number you want and it matches your -# HISTORY.rst entry. -VERSION = '0.1.0' - -# The full list of classifiers is available at -# https://pypi.python.org/pypi?%3Aaction=list_classifiers -CLASSIFIERS = [ - 'Development Status :: 4 - Beta', - 'Intended Audience :: Developers', - 'Intended Audience :: System Administrators', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'License :: OSI Approved :: MIT License', -] - -# TODO: Add any additional SDK dependencies here -DEPENDENCIES = [] - -with open('README.md', 'r', encoding='utf-8') as f: - README = f.read() -with open('HISTORY.rst', 'r', encoding='utf-8') as f: - HISTORY = f.read() - -setup( - name='hardware-security-modules', - version=VERSION, - description='Microsoft Azure Command-Line Tools AzureDedicatedHSMResourceProvider Extension', - # TODO: Update author and email, if applicable - author='Microsoft Corporation', - author_email='azpycli@microsoft.com', - # TODO: consider pointing directly to your source code instead of the generic repo - url='https://github.com/Azure/azure-cli-extensions', - long_description=README + '\n\n' + HISTORY, - license='MIT', - classifiers=CLASSIFIERS, - packages=find_packages(), - install_requires=DEPENDENCIES, - package_data={'azext_hardware_security_modules': ['azext_metadata.json']}, -) +#!/usr/bin/env python + +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +from codecs import open +from setuptools import setup, find_packages + +# HISTORY.rst entry. +VERSION = '0.1.0' +try: + from .manual.version import VERSION +except ImportError: + pass + +# The full list of classifiers is available at +# https://pypi.python.org/pypi?%3Aaction=list_classifiers +CLASSIFIERS = [ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'License :: OSI Approved :: MIT License', +] + +DEPENDENCIES = [] +try: + from .manual.dependency import DEPENDENCIES +except ImportError: + pass + +with open('README.md', 'r', encoding='utf-8') as f: + README = f.read() +with open('HISTORY.rst', 'r', encoding='utf-8') as f: + HISTORY = f.read() + +setup( + name='hardware_security_modules', + version=VERSION, + description='Microsoft Azure Command-Line Tools AzureDedicatedHSMResourceProvider Extension', + author='Microsoft Corporation', + author_email='azpycli@microsoft.com', + url='https://github.com/Azure/azure-cli-extensions/tree/master/src/hardware-security-modules', + long_description=README + '\n\n' + HISTORY, + license='MIT', + classifiers=CLASSIFIERS, + packages=find_packages(), + install_requires=DEPENDENCIES, + package_data={'azext_hardware_security_modules': ['azext_metadata.json']}, +)