diff --git a/src/connectedmachine/HISTORY.rst b/src/connectedmachine/HISTORY.rst index e47baac0cf3..c434f264b19 100644 --- a/src/connectedmachine/HISTORY.rst +++ b/src/connectedmachine/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +0.5.1 ++++++ +* Add enable-auto-upgrade param back into the extension upgrade command + 0.5.0 +++++ * Upgrade the API version to stable/2022-03-10 diff --git a/src/connectedmachine/azext_connectedmachine/generated/custom.py b/src/connectedmachine/azext_connectedmachine/generated/custom.py index 55c7a672c0b..a5cb1502d3f 100644 --- a/src/connectedmachine/azext_connectedmachine/generated/custom.py +++ b/src/connectedmachine/azext_connectedmachine/generated/custom.py @@ -119,6 +119,7 @@ def connectedmachine_extension_update(client, publisher=None, type_=None, type_handler_version=None, + enable_auto_upgrade=None, auto_upgrade_minor=None, settings=None, protected_settings=None, @@ -135,6 +136,8 @@ def connectedmachine_extension_update(client, extension_parameters['properties']['type'] = type_ if type_handler_version is not None: extension_parameters['properties']['type_handler_version'] = type_handler_version + if enable_auto_upgrade is not None: + extension_parameters['properties']['enable_automatic_upgrade'] = enable_auto_upgrade if auto_upgrade_minor is not None: extension_parameters['properties']['auto_upgrade_minor_version'] = auto_upgrade_minor if settings is not None: diff --git a/src/connectedmachine/azext_connectedmachine/tests/latest/recordings/test_ConnectedMachineAndExtension_Scenario.yaml b/src/connectedmachine/azext_connectedmachine/tests/latest/recordings/test_ConnectedMachineAndExtension_Scenario.yaml index f6ed2337052..5617d55cacc 100644 --- a/src/connectedmachine/azext_connectedmachine/tests/latest/recordings/test_ConnectedMachineAndExtension_Scenario.yaml +++ b/src/connectedmachine/azext_connectedmachine/tests/latest/recordings/test_ConnectedMachineAndExtension_Scenario.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine?api-version=2022-03-10&$expand=instanceView response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine","name":"testMachine","location":"eastus2euap","tags":{},"identity":{"type":"SystemAssigned","principalId":"2fe4f9c6-056c-48b2-a19e-4e38b92beab1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"},"type":"Microsoft.HybridCompute/machines","properties":{"provisioningState":"Succeeded","agentVersion":"1.17.01931.201","status":"Connected","lastStatusChange":"2022-05-06T08:17:18.9085464Z","errorDetails":[],"displayName":"DorothysSurface","machineFqdn":"DorothysSurface","osName":"windows","osVersion":"10.0.19044.1645","osType":"windows","osProfile":{"computerName":"DorothysSurface"},"vmId":"785cbd31-2e8d-4b9c-aa40-5e0739467f3e","vmUuid":"2883CCA3-7EE6-60E9-A204-97718B655D1D","clientPublicKey":"MIIBCgKCAQEAu3/aWoSctGo/S0EN4+SSFbF2ObovVy6F/d8KUQ98fJjfXYYv2lMPoCGBM1sru36dsey+iyRxkLJgr09HUAj0WxsjV4BFyIkpCdvcCl5C4K37cABX57a9B73XeD5fKlQeErLoCVxT/lY5Vl/buy0tOAorA/VW5RZxqkHR7YzxFTrMNCMxVpzABVqMgo60hYqSraxVq+MJB+1Ea0VDSQ7OIimRwRvsH6GcGbRXTXKSpDQeeotU3krOEUmGtld/6RGA1eTc7aodVfwPGMUWyIHb0u5klHhaaNfhZPBBo7TMsxnMvbFCCPgDOplf21e8nZ+5MD6Vqz8K/4KuZiVoV/W5EQIDAQAB","osSku":"Windows + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine","name":"testMachine","location":"eastus2euap","tags":{},"identity":{"type":"SystemAssigned","principalId":"fc9a4766-a5d2-41d3-8fdd-3a32ddb4343a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"},"type":"Microsoft.HybridCompute/machines","properties":{"provisioningState":"Succeeded","agentVersion":"1.18.01965.249","status":"Connected","lastStatusChange":"2022-05-23T22:55:52.7801454Z","errorDetails":[],"displayName":"DorothysSurface","machineFqdn":"DorothysSurface","osName":"windows","osVersion":"10.0.19044.1645","osType":"windows","osProfile":{"computerName":"DorothysSurface"},"vmId":"194cde1e-8ee6-425e-b231-a9ec7ecec8d8","vmUuid":"2883CCA3-7EE6-60E9-A204-97718B655D1D","clientPublicKey":"MIIBCgKCAQEAzLWw7rpNN42u19EbdGGfI0+aqdQKwbQA+Dh6iBsIgJM4R2uyuMiZxB+ek6pq3XhM9aQ7Kuooo7vNzIEGLI/RHMS+rMNrFQcQpqmKTKV8NDb2KB/1siovUL2vNXl2X8D8a0/y2MDk/ID1KCXF0bQlmaP5Rji8E9bb+owJNKvfgp2S+0N9Vu9VfBlewzztpwJJKqnBkzAR76ehfTYpmHpoYlvYxtWFGrpri2sEOSsRLf6QgzFy6vPxnYgDfMw/hC3X7x1BmFVBcY8QrGhJ/Nu6ZHsfwrH6PiK8XB58R0OyIRWcKK1FtEt3j2lTdkd7bsl8NBeQDm8L7deSRSIiPAc4pwIDAQAB","osSku":"Windows 10 Enterprise","domainName":"WORKGROUP","adFqdn":"DorothysSurface","dnsFqdn":"DorothysSurface","mssqlDiscovered":"false","cloudMetadata":{"provider":"N/A"},"detectedProperties":{"cloudprovider":"N/A","manufacturer":"Microsoft Corporation","model":"Surface Book 2","mssqldiscovered":"false"},"agentConfiguration":{"proxyUrl":"","incomingConnectionsPorts":[],"extensionsAllowList":[],"extensionsBlockList":[],"proxyBypass":[],"extensionsEnabled":"true","guestConfigurationEnabled":"true"},"serviceStatuses":{"extensionService":{"status":"running","startupType":"automatic"},"guestConfigurationService":{"status":"running","startupType":"automatic"}}},"resources":[]}' headers: @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 08:31:46 GMT + - Mon, 23 May 2022 23:00:44 GMT expires: - '-1' pragma: @@ -66,7 +66,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines?api-version=2022-03-10 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine","name":"testMachine","location":"eastus2euap","tags":{},"identity":{"type":"SystemAssigned","principalId":"2fe4f9c6-056c-48b2-a19e-4e38b92beab1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"},"type":"Microsoft.HybridCompute/machines","properties":{"provisioningState":"Succeeded","agentVersion":"1.17.01931.201","status":"Connected","lastStatusChange":"2022-05-06T08:17:18.9085464Z","errorDetails":[],"displayName":"DorothysSurface","machineFqdn":"DorothysSurface","osName":"windows","osVersion":"10.0.19044.1645","osType":"windows","osProfile":{"computerName":"DorothysSurface"},"vmId":"785cbd31-2e8d-4b9c-aa40-5e0739467f3e","vmUuid":"2883CCA3-7EE6-60E9-A204-97718B655D1D","clientPublicKey":"MIIBCgKCAQEAu3/aWoSctGo/S0EN4+SSFbF2ObovVy6F/d8KUQ98fJjfXYYv2lMPoCGBM1sru36dsey+iyRxkLJgr09HUAj0WxsjV4BFyIkpCdvcCl5C4K37cABX57a9B73XeD5fKlQeErLoCVxT/lY5Vl/buy0tOAorA/VW5RZxqkHR7YzxFTrMNCMxVpzABVqMgo60hYqSraxVq+MJB+1Ea0VDSQ7OIimRwRvsH6GcGbRXTXKSpDQeeotU3krOEUmGtld/6RGA1eTc7aodVfwPGMUWyIHb0u5klHhaaNfhZPBBo7TMsxnMvbFCCPgDOplf21e8nZ+5MD6Vqz8K/4KuZiVoV/W5EQIDAQAB","osSku":"Windows + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine","name":"testMachine","location":"eastus2euap","tags":{},"identity":{"type":"SystemAssigned","principalId":"fc9a4766-a5d2-41d3-8fdd-3a32ddb4343a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"},"type":"Microsoft.HybridCompute/machines","properties":{"provisioningState":"Succeeded","agentVersion":"1.18.01965.249","status":"Connected","lastStatusChange":"2022-05-23T22:55:52.7801454Z","errorDetails":[],"displayName":"DorothysSurface","machineFqdn":"DorothysSurface","osName":"windows","osVersion":"10.0.19044.1645","osType":"windows","osProfile":{"computerName":"DorothysSurface"},"vmId":"194cde1e-8ee6-425e-b231-a9ec7ecec8d8","vmUuid":"2883CCA3-7EE6-60E9-A204-97718B655D1D","clientPublicKey":"MIIBCgKCAQEAzLWw7rpNN42u19EbdGGfI0+aqdQKwbQA+Dh6iBsIgJM4R2uyuMiZxB+ek6pq3XhM9aQ7Kuooo7vNzIEGLI/RHMS+rMNrFQcQpqmKTKV8NDb2KB/1siovUL2vNXl2X8D8a0/y2MDk/ID1KCXF0bQlmaP5Rji8E9bb+owJNKvfgp2S+0N9Vu9VfBlewzztpwJJKqnBkzAR76ehfTYpmHpoYlvYxtWFGrpri2sEOSsRLf6QgzFy6vPxnYgDfMw/hC3X7x1BmFVBcY8QrGhJ/Nu6ZHsfwrH6PiK8XB58R0OyIRWcKK1FtEt3j2lTdkd7bsl8NBeQDm8L7deSRSIiPAc4pwIDAQAB","osSku":"Windows 10 Enterprise","domainName":"WORKGROUP","adFqdn":"DorothysSurface","dnsFqdn":"DorothysSurface","mssqlDiscovered":"false","cloudMetadata":{"provider":"N/A"},"detectedProperties":{"cloudprovider":"N/A","manufacturer":"Microsoft Corporation","model":"Surface Book 2","mssqldiscovered":"false"},"agentConfiguration":{"proxyUrl":"","incomingConnectionsPorts":[],"extensionsAllowList":[],"extensionsBlockList":[],"proxyBypass":[],"extensionsEnabled":"true","guestConfigurationEnabled":"true"},"serviceStatuses":{"extensionService":{"status":"running","startupType":"automatic"},"guestConfigurationService":{"status":"running","startupType":"automatic"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/dorothylinux2-Virtual-Machine","name":"dorothylinux2-Virtual-Machine","location":"eastus2euap","tags":{},"identity":{"type":"SystemAssigned","principalId":"5ce02094-bd55-44ba-b1e4-2d56b6a6ba69","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"},"type":"Microsoft.HybridCompute/machines","properties":{"provisioningState":"Succeeded","agentVersion":"1.7.21162.005","status":"Expired","lastStatusChange":"2021-09-30T06:14:01.8555779Z","errorDetails":[],"displayName":"dorothylinux2-Virtual-Machine","machineFqdn":"dorothylinux2-Virtual-Machine","osName":"linux","osVersion":"5.8.0-59-generic","osType":"linux","osProfile":{"computerName":"dorothylinux2-Virtual-Machine","linuxConfiguration":{"patchSettings":{"assessmentMode":"null"}}},"vmId":"8948ef10-f369-471d-b363-8e2ff44614ca","vmUuid":"80f26cf0-d9a7-4637-a2ff-587bd51626fc","clientPublicKey":"MIIBCgKCAQEAukhdoNaMfaHRGP6MvgdWdyefHdET/mV0J3NdpMU+LFRE5IWwZxG+mGOb2lK3dsgX6HenWyRiumC2BMDX6RuLfRuscZw+HT/W4W/9ScDxbD18o4vECD7DmiFmIs4iPaF8GLTjO2fJzjAl59k7nblfr38SexA8EKo5WqG2LFhbT6CAXtBMPtWebWeZCQ3uXCri8838nDtqhQtqY6Efg4A2sEV9s4Mk7LjINpzcVuPYdvxcFngM22hixUawE9GH8UKIV5XF+/c8xk1b1fvUGizf+sNbgSMZFyJ3Vgg5ne5ibepxyR3WBtmvd3L/mF1negSh/5h9QQKTt7djeUYCb+ztjwIDAQAB","osSku":"Ubuntu 20.04 LTS","domainName":"unknown","adFqdn":"unknown","dnsFqdn":"dorothylinux2-Virtual-Machine","mssqlDiscovered":"false","detectedProperties":{"cloudprovider":"N/A","manufacturer":"Microsoft @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 08:31:47 GMT + - Mon, 23 May 2022 23:00:45 GMT expires: - '-1' pragma: @@ -127,7 +127,7 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/e229b954-5145-4d75-9a0f-4b3994d2efb8?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/d3c75246-97de-491a-a4eb-01bee20c7d0b?api-version=2022-03-10 cache-control: - no-cache content-length: @@ -135,11 +135,11 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 08:31:50 GMT + - Mon, 23 May 2022 23:00:49 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/e229b954-5145-4d75-9a0f-4b3994d2efb8?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/d3c75246-97de-491a-a4eb-01bee20c7d0b?api-version=2022-03-10 pragma: - no-cache server: @@ -170,10 +170,10 @@ interactions: User-Agent: - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/e229b954-5145-4d75-9a0f-4b3994d2efb8?api-version=2022-03-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/d3c75246-97de-491a-a4eb-01bee20c7d0b?api-version=2022-03-10 response: body: - string: '{"name":"e229b954-5145-4d75-9a0f-4b3994d2efb8","status":"Succeeded","startTime":"2022-05-06T08:31:51.1024586Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine/extensions/custom-000001","name":"custom-000001","location":"eastus2euap","type":"Microsoft.HybridCompute/machines/extensions","properties":{"publisher":"Microsoft.Compute","type":"CustomScriptExtension","typeHandlerVersion":"1.10.10","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"commandToExecute":"hostname"},"provisioningState":"Succeeded","instanceView":{"name":"custom-000001","type":"CustomScriptExtension","typeHandlerVersion":"1.10.10","status":{"code":"success","level":"Information","message":"Extension + string: '{"name":"d3c75246-97de-491a-a4eb-01bee20c7d0b","status":"Succeeded","startTime":"2022-05-23T23:00:49.6799697Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine/extensions/custom-000001","name":"custom-000001","location":"eastus2euap","type":"Microsoft.HybridCompute/machines/extensions","properties":{"publisher":"Microsoft.Compute","type":"CustomScriptExtension","typeHandlerVersion":"1.10.10","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"commandToExecute":"hostname"},"provisioningState":"Succeeded","instanceView":{"name":"custom-000001","type":"CustomScriptExtension","typeHandlerVersion":"1.10.10","status":{"code":"success","level":"Information","message":"Extension Message: Command execution finished, StdOut: DorothysSurface\r\n"}}}}}' headers: cache-control: @@ -183,7 +183,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 08:36:51 GMT + - Mon, 23 May 2022 23:02:49 GMT expires: - '-1' pragma: @@ -231,7 +231,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 08:36:51 GMT + - Mon, 23 May 2022 23:02:49 GMT expires: - '-1' pragma: @@ -278,7 +278,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 08:36:52 GMT + - Mon, 23 May 2022 23:02:50 GMT expires: - '-1' pragma: @@ -325,7 +325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 08:36:53 GMT + - Mon, 23 May 2022 23:02:52 GMT expires: - '-1' pragma: @@ -370,7 +370,7 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/e272770b-81ea-4c02-b9c7-798c6ff63ec6?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/ea8afb78-b38f-4179-b7da-f2a94486f3a1?api-version=2022-03-10 cache-control: - no-cache content-length: @@ -378,11 +378,11 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 08:36:54 GMT + - Mon, 23 May 2022 23:02:53 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/e272770b-81ea-4c02-b9c7-798c6ff63ec6?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/ea8afb78-b38f-4179-b7da-f2a94486f3a1?api-version=2022-03-10 pragma: - no-cache server: @@ -412,10 +412,10 @@ interactions: User-Agent: - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/e272770b-81ea-4c02-b9c7-798c6ff63ec6?api-version=2022-03-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/ea8afb78-b38f-4179-b7da-f2a94486f3a1?api-version=2022-03-10 response: body: - string: '{"name":"e272770b-81ea-4c02-b9c7-798c6ff63ec6","status":"Succeeded","startTime":"2022-05-06T08:36:55.0127616Z","properties":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine/extensions/custom-000001","name":"custom-000001","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.Compute","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":false,"settings":{"commandToExecute":"hostname"},"provisioningState":"Succeeded","instanceView":{"name":"custom-000001","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","status":{"code":"success","level":"Information","message":"Extension + string: '{"name":"ea8afb78-b38f-4179-b7da-f2a94486f3a1","status":"Succeeded","startTime":"2022-05-23T23:02:53.8776167Z","properties":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine/extensions/custom-000001","name":"custom-000001","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.Compute","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":false,"settings":{"commandToExecute":"hostname"},"provisioningState":"Succeeded","instanceView":{"name":"custom-000001","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","status":{"code":"success","level":"Information","message":"Extension Message: Command execution finished, StdOut: DorothysSurface\r\n"}}}}]}' headers: cache-control: @@ -425,7 +425,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 08:41:55 GMT + - Mon, 23 May 2022 23:07:54 GMT expires: - '-1' pragma: @@ -459,7 +459,7 @@ interactions: User-Agent: - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/e272770b-81ea-4c02-b9c7-798c6ff63ec6?api-version=2022-03-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/ea8afb78-b38f-4179-b7da-f2a94486f3a1?api-version=2022-03-10 response: body: string: '[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine/extensions/custom-000001","name":"custom-000001","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.Compute","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":false,"settings":{"commandToExecute":"hostname"},"provisioningState":"Succeeded","instanceView":{"name":"custom-000001","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","status":{"code":"success","level":"Information","message":"Extension @@ -472,7 +472,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 08:41:55 GMT + - Mon, 23 May 2022 23:07:54 GMT expires: - '-1' pragma: @@ -491,7 +491,8 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"settings": {"commandToExecute": "dir"}}}' + body: '{"properties": {"enableAutomaticUpgrade": false, "settings": {"commandToExecute": + "dir"}}}' headers: Accept: - application/json @@ -502,11 +503,11 @@ interactions: Connection: - keep-alive Content-Length: - - '57' + - '90' Content-Type: - application/json ParameterSetName: - - --name --settings --machine-name --resource-group + - --name --enable-auto-upgrade --settings --machine-name --resource-group User-Agent: - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: PATCH @@ -516,7 +517,7 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/306d1c3c-84ea-4731-aee5-17b0bebb5b32?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/44ade452-9ccb-4611-9e84-fdad48bffc87?api-version=2022-03-10 cache-control: - no-cache content-length: @@ -524,11 +525,11 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 08:41:57 GMT + - Mon, 23 May 2022 23:07:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/306d1c3c-84ea-4731-aee5-17b0bebb5b32?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/44ade452-9ccb-4611-9e84-fdad48bffc87?api-version=2022-03-10 pragma: - no-cache server: @@ -554,28 +555,28 @@ interactions: Connection: - keep-alive ParameterSetName: - - --name --settings --machine-name --resource-group + - --name --enable-auto-upgrade --settings --machine-name --resource-group User-Agent: - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/306d1c3c-84ea-4731-aee5-17b0bebb5b32?api-version=2022-03-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/44ade452-9ccb-4611-9e84-fdad48bffc87?api-version=2022-03-10 response: body: - string: '{"name":"306d1c3c-84ea-4731-aee5-17b0bebb5b32","status":"Succeeded","startTime":"2022-05-06T08:41:57.748299Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine/extensions/custom-000001","name":"custom-000001","location":"eastus2euap","type":"Microsoft.HybridCompute/machines/extensions","properties":{"publisher":"Microsoft.Compute","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":false,"settings":{"commandToExecute":"dir"},"provisioningState":"Succeeded","instanceView":{"name":"custom-000001","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","status":{"code":"success","level":"Information","message":"Extension + string: '{"name":"44ade452-9ccb-4611-9e84-fdad48bffc87","status":"Succeeded","startTime":"2022-05-23T23:07:56.9038639Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine/extensions/custom-000001","name":"custom-000001","location":"eastus2euap","type":"Microsoft.HybridCompute/machines/extensions","properties":{"publisher":"Microsoft.Compute","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":false,"settings":{"commandToExecute":"dir"},"provisioningState":"Succeeded","instanceView":{"name":"custom-000001","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","status":{"code":"success","level":"Information","message":"Extension Message: Command execution finished, StdOut: Volume in drive C has no label.\r\n - Volume Serial Number is 867D-A9DE\r\n\r\n Directory of C:\\Packages\\Plugins\\Microsoft.Compute.CustomScriptExtension\\1.10.12\\Downloads\\1\r\n\r\n05/06/2022 01:42 - AM .\r\n05/06/2022 01:42 AM ..\r\n 0 - File(s) 0 bytes\r\n 2 Dir(s) 298,947,067,904 bytes + Volume Serial Number is 867D-A9DE\r\n\r\n Directory of C:\\Packages\\Plugins\\Microsoft.Compute.CustomScriptExtension\\1.10.12\\Downloads\\1\r\n\r\n05/23/2022 04:08 + PM .\r\n05/23/2022 04:08 PM ..\r\n 0 + File(s) 0 bytes\r\n 2 Dir(s) 270,794,014,720 bytes free\r\n"}}}}}' headers: cache-control: - no-cache content-length: - - '1232' + - '1233' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 08:46:57 GMT + - Mon, 23 May 2022 23:09:56 GMT expires: - '-1' pragma: @@ -605,7 +606,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - --name --settings --machine-name --resource-group + - --name --enable-auto-upgrade --settings --machine-name --resource-group User-Agent: - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET @@ -614,9 +615,9 @@ interactions: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testMachine/extensions/custom-000001","name":"custom-000001","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.Compute","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":false,"settings":{"commandToExecute":"dir"},"provisioningState":"Succeeded","instanceView":{"name":"custom-000001","type":"CustomScriptExtension","typeHandlerVersion":"1.10.12","status":{"code":"success","level":"Information","message":"Extension Message: Command execution finished, StdOut: Volume in drive C has no label.\r\n - Volume Serial Number is 867D-A9DE\r\n\r\n Directory of C:\\Packages\\Plugins\\Microsoft.Compute.CustomScriptExtension\\1.10.12\\Downloads\\1\r\n\r\n05/06/2022 01:42 - AM .\r\n05/06/2022 01:42 AM ..\r\n 0 - File(s) 0 bytes\r\n 2 Dir(s) 298,947,067,904 bytes + Volume Serial Number is 867D-A9DE\r\n\r\n Directory of C:\\Packages\\Plugins\\Microsoft.Compute.CustomScriptExtension\\1.10.12\\Downloads\\1\r\n\r\n05/23/2022 04:08 + PM .\r\n05/23/2022 04:08 PM ..\r\n 0 + File(s) 0 bytes\r\n 2 Dir(s) 270,794,014,720 bytes free\r\n"}}}}' headers: cache-control: @@ -626,7 +627,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 08:46:58 GMT + - Mon, 23 May 2022 23:09:57 GMT expires: - '-1' pragma: @@ -668,7 +669,7 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/4ae958b4-7eef-4ea2-bbde-dfb0df01373f?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/5140375a-e5a8-4698-9823-b9e9a38b00cd?api-version=2022-03-10 cache-control: - no-cache content-length: @@ -676,11 +677,11 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 08:47:01 GMT + - Mon, 23 May 2022 23:10:01 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/4ae958b4-7eef-4ea2-bbde-dfb0df01373f?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/5140375a-e5a8-4698-9823-b9e9a38b00cd?api-version=2022-03-10 pragma: - no-cache server: @@ -710,10 +711,10 @@ interactions: User-Agent: - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/4ae958b4-7eef-4ea2-bbde-dfb0df01373f?api-version=2022-03-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/5140375a-e5a8-4698-9823-b9e9a38b00cd?api-version=2022-03-10 response: body: - string: '{"name":"4ae958b4-7eef-4ea2-bbde-dfb0df01373f","status":"Succeeded","startTime":"2022-05-06T08:47:01.3144714Z"}' + string: '{"name":"5140375a-e5a8-4698-9823-b9e9a38b00cd","status":"Succeeded","startTime":"2022-05-23T23:10:01.0608346Z"}' headers: cache-control: - no-cache @@ -722,7 +723,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 08:52:01 GMT + - Mon, 23 May 2022 23:12:01 GMT expires: - '-1' pragma: @@ -770,7 +771,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 08:52:12 GMT + - Mon, 23 May 2022 23:12:06 GMT expires: - '-1' pragma: diff --git a/src/connectedmachine/azext_connectedmachine/tests/latest/recordings/test_PrivateLinkAndPrivateEndpointConnection_Scenario.yaml b/src/connectedmachine/azext_connectedmachine/tests/latest/recordings/test_PrivateLinkAndPrivateEndpointConnection_Scenario.yaml index fc89d35bd77..cd03483080e 100644 --- a/src/connectedmachine/azext_connectedmachine/tests/latest/recordings/test_PrivateLinkAndPrivateEndpointConnection_Scenario.yaml +++ b/src/connectedmachine/azext_connectedmachine/tests/latest/recordings/test_PrivateLinkAndPrivateEndpointConnection_Scenario.yaml @@ -17,7 +17,7 @@ interactions: ParameterSetName: - -n -l User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/az-sdk-test-000001?api-version=2021-04-01 response: @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:09 GMT + - Fri, 27 May 2022 03:54:14 GMT expires: - '-1' pragma: @@ -66,21 +66,21 @@ interactions: ParameterSetName: - -n -g -l --subnet-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"vnet-000001\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001\",\r\n - \ \"etag\": \"W/\\\"d3030042-33cf-431a-a6d3-d261ae122bfb\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"4da7fa06-d62d-4af2-a9f1-0de5afd1ff88\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"63239842-bf65-4ea4-8a59-08ebf199380d\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"14c97bff-86b9-4d5b-96fd-68ba05e33016\",\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\": \"subnet-000001\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001\",\r\n - \ \"etag\": \"W/\\\"d3030042-33cf-431a-a6d3-d261ae122bfb\\\"\",\r\n + \ \"etag\": \"W/\\\"4da7fa06-d62d-4af2-a9f1-0de5afd1ff88\\\"\",\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\": @@ -91,7 +91,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/88ce9056-4f48-452b-99c4-c3e524141cb0?api-version=2021-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/6f6dff87-65ab-4cc9-903b-ffc5fd8be8f2?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -99,7 +99,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:13 GMT + - Fri, 27 May 2022 03:54:19 GMT expires: - '-1' pragma: @@ -112,7 +112,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 349d1987-34c4-4671-ac68-197d35dd5895 + - 5f0b755e-5a10-4ccc-9805-e85ed82b5304 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -132,9 +132,9 @@ interactions: ParameterSetName: - -n -g -l --subnet-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/88ce9056-4f48-452b-99c4-c3e524141cb0?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/6f6dff87-65ab-4cc9-903b-ffc5fd8be8f2?api-version=2021-08-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -146,7 +146,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:16 GMT + - Fri, 27 May 2022 03:54:22 GMT expires: - '-1' pragma: @@ -163,7 +163,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6e232944-2bdb-4f5d-9a75-08a8d1a98b47 + - ceeafc93-5d91-45b5-993a-9b65fee1886a status: code: 200 message: OK @@ -181,21 +181,21 @@ interactions: ParameterSetName: - -n -g -l --subnet-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"vnet-000001\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001\",\r\n - \ \"etag\": \"W/\\\"727e74c6-1c89-45c4-8733-9340cec04df1\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"1d210915-9e47-45ab-b43a-ed95ba945f47\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"63239842-bf65-4ea4-8a59-08ebf199380d\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"14c97bff-86b9-4d5b-96fd-68ba05e33016\",\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\": \"subnet-000001\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001\",\r\n - \ \"etag\": \"W/\\\"727e74c6-1c89-45c4-8733-9340cec04df1\\\"\",\r\n + \ \"etag\": \"W/\\\"1d210915-9e47-45ab-b43a-ed95ba945f47\\\"\",\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\": @@ -210,9 +210,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:16 GMT + - Fri, 27 May 2022 03:54:23 GMT etag: - - W/"727e74c6-1c89-45c4-8733-9340cec04df1" + - W/"1d210915-9e47-45ab-b43a-ed95ba945f47" expires: - '-1' pragma: @@ -229,7 +229,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 13036085-de82-407d-9ac1-0d7efe06b8a3 + - a09a1a2a-15d8-4d4d-b825-0c01f6d8f1ab status: code: 200 message: OK @@ -247,13 +247,13 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"subnet-000001\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001\",\r\n - \ \"etag\": \"W/\\\"727e74c6-1c89-45c4-8733-9340cec04df1\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"1d210915-9e47-45ab-b43a-ed95ba945f47\\\"\",\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\": @@ -266,9 +266,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:16 GMT + - Fri, 27 May 2022 03:54:23 GMT etag: - - W/"727e74c6-1c89-45c4-8733-9340cec04df1" + - W/"1d210915-9e47-45ab-b43a-ed95ba945f47" expires: - '-1' pragma: @@ -285,7 +285,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ac2644aa-823f-40f2-b4f8-6756d13a8520 + - 68f0a814-2fcf-4461-8c38-5335307f3270 status: code: 200 message: OK @@ -310,20 +310,20 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"subnet-000001\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001\",\r\n - \ \"etag\": \"W/\\\"e8a55cca-2e67-4672-87c0-4c7ef35114fb\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"94d1c955-7373-4688-9cc7-ced4e354871f\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/6d92c089-bad9-4ef8-8bec-414b51b19b22?api-version=2021-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/67ac2fee-1f49-44bf-924d-41e43d039e93?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -331,7 +331,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:18 GMT + - Fri, 27 May 2022 03:54:24 GMT expires: - '-1' pragma: @@ -348,7 +348,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 910049ff-3636-4bf2-8c5e-42b64347d1d7 + - c17bcb1a-2f71-4737-a3e4-b375b14fa6f1 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -368,9 +368,9 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/6d92c089-bad9-4ef8-8bec-414b51b19b22?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/67ac2fee-1f49-44bf-924d-41e43d039e93?api-version=2021-08-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -382,7 +382,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:21 GMT + - Fri, 27 May 2022 03:54:28 GMT expires: - '-1' pragma: @@ -399,7 +399,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 49d63f5b-aa1e-413e-ab66-31deae2e2354 + - cc35e241-0f84-4e79-80a6-6f2c2e636672 status: code: 200 message: OK @@ -417,13 +417,13 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"subnet-000001\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001\",\r\n - \ \"etag\": \"W/\\\"8ead6915-e831-44aa-a748-7fab21e14c71\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"18b446ac-4311-4d96-b13f-eeae4d3d14ba\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -436,9 +436,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:22 GMT + - Fri, 27 May 2022 03:54:28 GMT etag: - - W/"8ead6915-e831-44aa-a748-7fab21e14c71" + - W/"18b446ac-4311-4d96-b13f-eeae4d3d14ba" expires: - '-1' pragma: @@ -455,7 +455,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2217f824-1685-4ae9-b063-f59840ad6165 + - 07434eef-13a1-4c42-9772-ecdfb0955ef5 status: code: 200 message: OK @@ -477,12 +477,12 @@ interactions: ParameterSetName: - --location --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001?api-version=2022-03-10 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","properties":{"privateLinkScopeId":"97bbf84d-7936-4ec7-afdd-bf9f97b68d86","publicNetworkAccess":"Disabled","provisioningState":"Succeeded","privateEndpointConnections":[]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","properties":{"privateLinkScopeId":"076f224f-9e3b-4327-bf0d-dd858ec62998","publicNetworkAccess":"Disabled","provisioningState":"Succeeded","privateEndpointConnections":[]}}' headers: cache-control: - no-cache @@ -491,7 +491,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:26 GMT + - Fri, 27 May 2022 03:54:33 GMT expires: - '-1' pragma: @@ -525,12 +525,12 @@ interactions: ParameterSetName: - --location --tags --public-network-access --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001?api-version=2022-03-10 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","properties":{"privateLinkScopeId":"97bbf84d-7936-4ec7-afdd-bf9f97b68d86","publicNetworkAccess":"Disabled","provisioningState":"Succeeded","privateEndpointConnections":[]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","properties":{"privateLinkScopeId":"076f224f-9e3b-4327-bf0d-dd858ec62998","publicNetworkAccess":"Disabled","provisioningState":"Succeeded","privateEndpointConnections":[]}}' headers: cache-control: - no-cache @@ -539,7 +539,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:27 GMT + - Fri, 27 May 2022 03:54:35 GMT expires: - '-1' pragma: @@ -576,12 +576,12 @@ interactions: ParameterSetName: - --location --tags --public-network-access --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001?api-version=2022-03-10 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","properties":{"privateLinkScopeId":"97bbf84d-7936-4ec7-afdd-bf9f97b68d86","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":[]},"tags":{"Tag1":"Value1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","properties":{"privateLinkScopeId":"076f224f-9e3b-4327-bf0d-dd858ec62998","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":[]},"tags":{"Tag1":"Value1"}}' headers: cache-control: - no-cache @@ -590,7 +590,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:31 GMT + - Fri, 27 May 2022 03:54:38 GMT expires: - '-1' pragma: @@ -624,12 +624,12 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes?api-version=2022-03-10 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","tags":{"Tag1":"Value1"},"properties":{"privateLinkScopeId":"97bbf84d-7936-4ec7-afdd-bf9f97b68d86","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":[]}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","tags":{"Tag1":"Value1"},"properties":{"privateLinkScopeId":"076f224f-9e3b-4327-bf0d-dd858ec62998","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":[]}}]}' headers: cache-control: - no-cache @@ -638,7 +638,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:31 GMT + - Fri, 27 May 2022 03:54:39 GMT expires: - '-1' pragma: @@ -674,12 +674,12 @@ interactions: ParameterSetName: - --tags --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001?api-version=2022-03-10 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","properties":{"privateLinkScopeId":"97bbf84d-7936-4ec7-afdd-bf9f97b68d86","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":[]},"tags":{"Tag1":"Value1","Tag2":"Value2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","properties":{"privateLinkScopeId":"076f224f-9e3b-4327-bf0d-dd858ec62998","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":[]},"tags":{"Tag1":"Value1","Tag2":"Value2"}}' headers: cache-control: - no-cache @@ -688,7 +688,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:35 GMT + - Fri, 27 May 2022 03:54:42 GMT expires: - '-1' pragma: @@ -722,12 +722,12 @@ interactions: ParameterSetName: - --scope-name -g User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001?api-version=2022-03-10 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","properties":{"privateLinkScopeId":"97bbf84d-7936-4ec7-afdd-bf9f97b68d86","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":[]},"tags":{"Tag1":"Value1","Tag2":"Value2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001","name":"scope-000001","type":"Microsoft.HybridCompute/privateLinkScopes","location":"eastus2euap","properties":{"privateLinkScopeId":"076f224f-9e3b-4327-bf0d-dd858ec62998","publicNetworkAccess":"Enabled","provisioningState":"Succeeded","privateEndpointConnections":[]},"tags":{"Tag1":"Value1","Tag2":"Value2"}}' headers: cache-control: - no-cache @@ -736,7 +736,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:36 GMT + - Fri, 27 May 2022 03:54:43 GMT expires: - '-1' pragma: @@ -768,7 +768,7 @@ interactions: ParameterSetName: - --scope-name -g User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateLinkResources?api-version=2022-03-10 response: @@ -782,7 +782,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:38 GMT + - Fri, 27 May 2022 03:54:44 GMT expires: - '-1' pragma: @@ -815,7 +815,7 @@ interactions: - -g -n --vnet-name --subnet --private-connection-resource-id --connection-name --group-id User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/az-sdk-test-000001?api-version=2021-04-01 response: @@ -829,7 +829,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:37 GMT + - Fri, 27 May 2022 03:54:44 GMT expires: - '-1' pragma: @@ -866,18 +866,18 @@ interactions: - -g -n --vnet-name --subnet --private-connection-resource-id --connection-name --group-id User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"pe-000001\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001\",\r\n - \ \"etag\": \"W/\\\"6bcf918d-0273-4c9e-9ba8-5bb456f66714\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"9dda941d-a42b-4759-a05a-27718eb6bc57\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"846741f3-438c-4413-8cd7-7f5112f41bab\",\r\n \"privateLinkServiceConnections\": + \"e1d1a96c-cbc0-44ca-a759-b0396bc0130e\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"pec-000001\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001/privateLinkServiceConnections/pec-000001\",\r\n - \ \"etag\": \"W/\\\"6bcf918d-0273-4c9e-9ba8-5bb456f66714\\\"\",\r\n + \ \"etag\": \"W/\\\"9dda941d-a42b-4759-a05a-27718eb6bc57\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001\",\r\n \ \"groupIds\": [\r\n \"hybridcompute\"\r\n ],\r\n @@ -888,13 +888,13 @@ interactions: \ \"customNetworkInterfaceName\": \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001\"\r\n \ },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/networkInterfaces/pe-000001.nic.87efd997-aa7b-4949-8b5f-6f6cd5c4a4bb\"\r\n + \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/networkInterfaces/pe-000001.nic.5e8aa26a-49cb-4904-9d81-4005f001bc96\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/c7b4dc66-6b1b-48e2-9eaf-8d502e8761d8?api-version=2021-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/fe389f4d-4feb-40a5-bd22-e0b6ed338bab?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -902,7 +902,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:42 GMT + - Fri, 27 May 2022 03:54:48 GMT expires: - '-1' pragma: @@ -915,7 +915,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7f968d80-57a5-4fa8-835e-6496622651a4 + - 7f6e2684-7b48-4903-98a3-6a3ea228c78d x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -936,9 +936,9 @@ interactions: - -g -n --vnet-name --subnet --private-connection-resource-id --connection-name --group-id User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/c7b4dc66-6b1b-48e2-9eaf-8d502e8761d8?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/fe389f4d-4feb-40a5-bd22-e0b6ed338bab?api-version=2021-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -950,7 +950,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:28:52 GMT + - Fri, 27 May 2022 03:54:58 GMT expires: - '-1' pragma: @@ -967,7 +967,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 57765bef-78ac-40de-932e-e5cc9fa411bb + - ba846e9e-70d9-4893-8965-7538a6fa7c6f status: code: 200 message: OK @@ -986,9 +986,9 @@ interactions: - -g -n --vnet-name --subnet --private-connection-resource-id --connection-name --group-id User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/c7b4dc66-6b1b-48e2-9eaf-8d502e8761d8?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/fe389f4d-4feb-40a5-bd22-e0b6ed338bab?api-version=2021-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1000,7 +1000,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:29:04 GMT + - Fri, 27 May 2022 03:55:08 GMT expires: - '-1' pragma: @@ -1017,7 +1017,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7a32a0c6-95a8-4067-a1f6-a0570a83b313 + - 45bb9e15-1e50-49c9-ad1a-3912298a16ea status: code: 200 message: OK @@ -1036,9 +1036,9 @@ interactions: - -g -n --vnet-name --subnet --private-connection-resource-id --connection-name --group-id User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/c7b4dc66-6b1b-48e2-9eaf-8d502e8761d8?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/fe389f4d-4feb-40a5-bd22-e0b6ed338bab?api-version=2021-08-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1050,7 +1050,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:29:24 GMT + - Fri, 27 May 2022 03:55:28 GMT expires: - '-1' pragma: @@ -1067,7 +1067,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fc088e7b-45ee-4139-b684-59a08d5ec5eb + - 21f12e7f-89d3-4dc5-95bb-0980ebfbdcb0 status: code: 200 message: OK @@ -1086,18 +1086,18 @@ interactions: - -g -n --vnet-name --subnet --private-connection-resource-id --connection-name --group-id User-Agent: - - AZURECLI/2.32.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"pe-000001\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001\",\r\n - \ \"etag\": \"W/\\\"db71e587-4909-409f-b421-c11620646561\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"3f5c34f6-3069-4232-b079-9463dbace2d0\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"846741f3-438c-4413-8cd7-7f5112f41bab\",\r\n \"privateLinkServiceConnections\": + \"e1d1a96c-cbc0-44ca-a759-b0396bc0130e\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"pec-000001\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001/privateLinkServiceConnections/pec-000001\",\r\n - \ \"etag\": \"W/\\\"db71e587-4909-409f-b421-c11620646561\\\"\",\r\n + \ \"etag\": \"W/\\\"3f5c34f6-3069-4232-b079-9463dbace2d0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001\",\r\n \ \"groupIds\": [\r\n \"hybridcompute\"\r\n ],\r\n @@ -1108,7 +1108,7 @@ interactions: \ \"customNetworkInterfaceName\": \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/virtualNetworks/vnet-000001/subnets/subnet-000001\"\r\n \ },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/networkInterfaces/pe-000001.nic.87efd997-aa7b-4949-8b5f-6f6cd5c4a4bb\"\r\n + \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/networkInterfaces/pe-000001.nic.5e8aa26a-49cb-4904-9d81-4005f001bc96\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": \"gbl.his.arc.azure.com\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n \ ]\r\n },\r\n {\r\n \"fqdn\": \"cbn.his.arc.azure.com\",\r\n @@ -1130,9 +1130,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:29:24 GMT + - Fri, 27 May 2022 03:55:29 GMT etag: - - W/"db71e587-4909-409f-b421-c11620646561" + - W/"3f5c34f6-3069-4232-b079-9463dbace2d0" expires: - '-1' pragma: @@ -1149,7 +1149,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c9f8bee0-0bfb-46ec-9c06-565769661565 + - 80b413eb-c39e-4f43-83f8-172bde0fecf2 status: code: 200 message: OK @@ -1167,12 +1167,12 @@ interactions: ParameterSetName: - --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections?api-version=2022-03-10 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.846741f3-438c-4413-8cd7-7f5112f41bab","name":"pe-000001.846741f3-438c-4413-8cd7-7f5112f41bab","type":"Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.e1d1a96c-cbc0-44ca-a759-b0396bc0130e","name":"pe-000001.e1d1a96c-cbc0-44ca-a759-b0396bc0130e","type":"Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}}}]}' headers: cache-control: - no-cache @@ -1181,7 +1181,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:29:26 GMT + - Fri, 27 May 2022 03:55:31 GMT expires: - '-1' pragma: @@ -1218,15 +1218,15 @@ interactions: ParameterSetName: - --connection-state --name --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.846741f3-438c-4413-8cd7-7f5112f41bab?api-version=2022-03-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.e1d1a96c-cbc0-44ca-a759-b0396bc0130e?api-version=2022-03-10 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/f00e7a0e-9b68-4af9-9ca6-0a9563f94712?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/86c3870a-b28f-44cc-9dc5-36aff5258dd6?api-version=2022-03-10 cache-control: - no-cache content-length: @@ -1234,11 +1234,11 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 04:29:28 GMT + - Fri, 27 May 2022 03:55:33 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/f00e7a0e-9b68-4af9-9ca6-0a9563f94712?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/86c3870a-b28f-44cc-9dc5-36aff5258dd6?api-version=2022-03-10 pragma: - no-cache server: @@ -1266,12 +1266,12 @@ interactions: ParameterSetName: - --connection-state --name --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/f00e7a0e-9b68-4af9-9ca6-0a9563f94712?api-version=2022-03-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/86c3870a-b28f-44cc-9dc5-36aff5258dd6?api-version=2022-03-10 response: body: - string: '{"name":"f00e7a0e-9b68-4af9-9ca6-0a9563f94712","status":"Succeeded","startTime":"2022-05-06T04:29:29.1500567Z"}' + string: '{"name":"86c3870a-b28f-44cc-9dc5-36aff5258dd6","status":"Succeeded","startTime":"2022-05-27T03:55:34.0095512Z"}' headers: cache-control: - no-cache @@ -1280,7 +1280,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:29:59 GMT + - Fri, 27 May 2022 03:56:03 GMT expires: - '-1' pragma: @@ -1312,12 +1312,12 @@ interactions: ParameterSetName: - --connection-state --name --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.846741f3-438c-4413-8cd7-7f5112f41bab?api-version=2022-03-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.e1d1a96c-cbc0-44ca-a759-b0396bc0130e?api-version=2022-03-10 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.846741f3-438c-4413-8cd7-7f5112f41bab","name":"pe-000001.846741f3-438c-4413-8cd7-7f5112f41bab","type":"Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejected + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.e1d1a96c-cbc0-44ca-a759-b0396bc0130e","name":"pe-000001.e1d1a96c-cbc0-44ca-a759-b0396bc0130e","type":"Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejected by AZ CLI test","actionsRequired":"None"}}}' headers: cache-control: @@ -1327,7 +1327,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:29:59 GMT + - Fri, 27 May 2022 03:56:03 GMT expires: - '-1' pragma: @@ -1359,12 +1359,12 @@ interactions: ParameterSetName: - --name --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.846741f3-438c-4413-8cd7-7f5112f41bab?api-version=2022-03-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.e1d1a96c-cbc0-44ca-a759-b0396bc0130e?api-version=2022-03-10 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.846741f3-438c-4413-8cd7-7f5112f41bab","name":"pe-000001.846741f3-438c-4413-8cd7-7f5112f41bab","type":"Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejected + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.e1d1a96c-cbc0-44ca-a759-b0396bc0130e","name":"pe-000001.e1d1a96c-cbc0-44ca-a759-b0396bc0130e","type":"Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.Network/privateEndpoints/pe-000001"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejected by AZ CLI test","actionsRequired":"None"}}}' headers: cache-control: @@ -1374,7 +1374,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:30:00 GMT + - Fri, 27 May 2022 03:56:05 GMT expires: - '-1' pragma: @@ -1408,15 +1408,15 @@ interactions: ParameterSetName: - -y --name --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.846741f3-438c-4413-8cd7-7f5112f41bab?api-version=2022-03-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections/pe-000001.e1d1a96c-cbc0-44ca-a759-b0396bc0130e?api-version=2022-03-10 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/a91df94f-7b54-4d89-ba58-89dd492424cf?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/667f269d-d7a8-4daa-8642-d22bfa977bea?api-version=2022-03-10 cache-control: - no-cache content-length: @@ -1424,11 +1424,11 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 04:30:03 GMT + - Fri, 27 May 2022 03:56:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/a91df94f-7b54-4d89-ba58-89dd492424cf?api-version=2022-03-10 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationresults/667f269d-d7a8-4daa-8642-d22bfa977bea?api-version=2022-03-10 pragma: - no-cache server: @@ -1456,12 +1456,12 @@ interactions: ParameterSetName: - -y --name --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/a91df94f-7b54-4d89-ba58-89dd492424cf?api-version=2022-03-10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HybridCompute/locations/eastus2euap/operationstatus/667f269d-d7a8-4daa-8642-d22bfa977bea?api-version=2022-03-10 response: body: - string: '{"name":"a91df94f-7b54-4d89-ba58-89dd492424cf","status":"Succeeded","startTime":"2022-05-06T04:30:03.2592041Z"}' + string: '{"name":"667f269d-d7a8-4daa-8642-d22bfa977bea","status":"Succeeded","startTime":"2022-05-27T03:56:08.5228613Z"}' headers: cache-control: - no-cache @@ -1470,7 +1470,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:30:32 GMT + - Fri, 27 May 2022 03:56:38 GMT expires: - '-1' pragma: @@ -1502,7 +1502,7 @@ interactions: ParameterSetName: - --resource-group --scope-name User-Agent: - - AZURECLI/2.32.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridcompute/1.0.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/az-sdk-test-000001/providers/Microsoft.HybridCompute/privateLinkScopes/scope-000001/privateEndpointConnections?api-version=2022-03-10 response: @@ -1516,7 +1516,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 04:30:34 GMT + - Fri, 27 May 2022 03:56:40 GMT expires: - '-1' pragma: diff --git a/src/connectedmachine/azext_connectedmachine/tests/latest/test_ConnectedMachineAndExtension_scenario.py b/src/connectedmachine/azext_connectedmachine/tests/latest/test_ConnectedMachineAndExtension_scenario.py index 99c491b0fd7..8e811d2d0a9 100644 --- a/src/connectedmachine/azext_connectedmachine/tests/latest/test_ConnectedMachineAndExtension_scenario.py +++ b/src/connectedmachine/azext_connectedmachine/tests/latest/test_ConnectedMachineAndExtension_scenario.py @@ -72,6 +72,7 @@ def test_machine_and_extension(test): '--settings "{{\\"commandToExecute\\":\\"hostname\\"}}"', checks=[ test.check('name', '{customScriptName}'), + test.check('properties.enableAutomaticUpgrade', True), test.check('properties.typeHandlerVersion', '1.10.10'), test.check('properties.settings.commandToExecute', 'hostname') ]) @@ -99,11 +100,13 @@ def test_machine_and_extension(test): test.cmd('az connectedmachine extension update ' '--name "{customScriptName}" ' + '--enable-auto-upgrade false ' '--settings "{{\\"commandToExecute\\":\\"dir\\"}}" ' '--machine-name "{machine}" ' '--resource-group "{rg}"', checks=[ test.check('name', '{customScriptName}'), + test.check('properties.enableAutomaticUpgrade', False), test.check('properties.provisioningState', 'Succeeded'), test.check('properties.settings.commandToExecute', 'dir'), test.check('properties.typeHandlerVersion', '1.10.12') diff --git a/src/connectedmachine/azext_connectedmachine/vendored_sdks/connectedmachine/models/_models.py b/src/connectedmachine/azext_connectedmachine/vendored_sdks/connectedmachine/models/_models.py index e9192629f9a..7bd70076bc2 100644 --- a/src/connectedmachine/azext_connectedmachine/vendored_sdks/connectedmachine/models/_models.py +++ b/src/connectedmachine/azext_connectedmachine/vendored_sdks/connectedmachine/models/_models.py @@ -922,7 +922,10 @@ class MachineExtensionUpdateProperties(msrest.serialization.Model): :param type: Specifies the type of the extension; an example is "CustomScriptExtension". :type type: str :param type_handler_version: Specifies the version of the script handler. - :type type_handler_version: str + :type type_handler_version: str + :param enable_automatic_upgrade: Indicates whether the extension should be automatically + upgraded by the platform if there is a newer version available. + :type enable_automatic_upgrade: bool :param auto_upgrade_minor_version: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. @@ -939,6 +942,7 @@ class MachineExtensionUpdateProperties(msrest.serialization.Model): 'publisher': {'key': 'publisher', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'type_handler_version': {'key': 'typeHandlerVersion', 'type': 'str'}, + 'enable_automatic_upgrade': {'key': 'enableAutomaticUpgrade', 'type': 'bool'}, 'auto_upgrade_minor_version': {'key': 'autoUpgradeMinorVersion', 'type': 'bool'}, 'settings': {'key': 'settings', 'type': 'object'}, 'protected_settings': {'key': 'protectedSettings', 'type': 'object'}, @@ -953,6 +957,7 @@ def __init__( self.publisher = kwargs.get('publisher', None) self.type = kwargs.get('type', None) self.type_handler_version = kwargs.get('type_handler_version', None) + self.enable_automatic_upgrade = kwargs.get('enable_automatic_upgrade', None) self.auto_upgrade_minor_version = kwargs.get('auto_upgrade_minor_version', None) self.settings = kwargs.get('settings', None) self.protected_settings = kwargs.get('protected_settings', None) diff --git a/src/connectedmachine/azext_connectedmachine/vendored_sdks/connectedmachine/models/_models_py3.py b/src/connectedmachine/azext_connectedmachine/vendored_sdks/connectedmachine/models/_models_py3.py index 0d76e93a88f..7652ba1b973 100644 --- a/src/connectedmachine/azext_connectedmachine/vendored_sdks/connectedmachine/models/_models_py3.py +++ b/src/connectedmachine/azext_connectedmachine/vendored_sdks/connectedmachine/models/_models_py3.py @@ -990,6 +990,9 @@ class MachineExtensionUpdateProperties(msrest.serialization.Model): :type type: str :param type_handler_version: Specifies the version of the script handler. :type type_handler_version: str + :param enable_automatic_upgrade: Indicates whether the extension should be automatically + upgraded by the platform if there is a newer version available. + :type enable_automatic_upgrade: bool :param auto_upgrade_minor_version: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. @@ -1006,6 +1009,7 @@ class MachineExtensionUpdateProperties(msrest.serialization.Model): 'publisher': {'key': 'publisher', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'type_handler_version': {'key': 'typeHandlerVersion', 'type': 'str'}, + 'enable_automatic_upgrade': {'key': 'enableAutomaticUpgrade', 'type': 'bool'}, 'auto_upgrade_minor_version': {'key': 'autoUpgradeMinorVersion', 'type': 'bool'}, 'settings': {'key': 'settings', 'type': 'object'}, 'protected_settings': {'key': 'protectedSettings', 'type': 'object'}, @@ -1018,6 +1022,7 @@ def __init__( publisher: Optional[str] = None, type: Optional[str] = None, type_handler_version: Optional[str] = None, + enable_automatic_upgrade: Optional[bool] = None, auto_upgrade_minor_version: Optional[bool] = None, settings: Optional[object] = None, protected_settings: Optional[object] = None, @@ -1028,6 +1033,7 @@ def __init__( self.publisher = publisher self.type = type self.type_handler_version = type_handler_version + self.enable_automatic_upgrade = enable_automatic_upgrade self.auto_upgrade_minor_version = auto_upgrade_minor_version self.settings = settings self.protected_settings = protected_settings diff --git a/src/connectedmachine/report.md b/src/connectedmachine/report.md index dd8f0cd8b15..53b59e29969 100644 --- a/src/connectedmachine/report.md +++ b/src/connectedmachine/report.md @@ -208,6 +208,7 @@ $_.CPU -lt 100 }\\\\\\"\\"}" --type-handler-version "1.10" --machine-name "myMac |**--publisher**|string|The name of the extension handler publisher.|publisher|publisher| |**--type**|string|Specifies the type of the extension; an example is "CustomScriptExtension".|type|type| |**--type-handler-version**|string|Specifies the version of the script handler.|type_handler_version|typeHandlerVersion| +|**--enable-auto-upgrade**|boolean|Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available.|enable_auto_upgrade|enableAutomaticUpgrade| |**--auto-upgrade-minor**|boolean|Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.|auto_upgrade_minor|autoUpgradeMinorVersion| |**--settings**|any|Json formatted public settings for the extension.|settings|settings| |**--protected-settings**|any|The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.|protected_settings|protectedSettings| diff --git a/src/connectedmachine/setup.py b/src/connectedmachine/setup.py index 64d52b0dbe6..15f0503fbc9 100644 --- a/src/connectedmachine/setup.py +++ b/src/connectedmachine/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '0.5.0' +VERSION = '0.5.1' try: from azext_connectedmachine.manual.version import VERSION except ImportError: