From 70dd97cda565f61f656a134267e85521d5de7332 Mon Sep 17 00:00:00 2001 From: "Warren Jones (Insight Global LLC)" Date: Thu, 30 Jan 2025 11:46:36 -0800 Subject: [PATCH 1/4] Added properties to ARM template --- src/quantum/azext_quantum/__init__.py | 2 +- .../templates/create-workspace-and-assign-role.json | 4 ++++ src/quantum/setup.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/quantum/azext_quantum/__init__.py b/src/quantum/azext_quantum/__init__.py index c32444a301f..5cf574e64af 100644 --- a/src/quantum/azext_quantum/__init__.py +++ b/src/quantum/azext_quantum/__init__.py @@ -13,7 +13,7 @@ # This is the version reported by the CLI to the service when submitting requests. # This should be in sync with the extension version in 'setup.py', unless we need to # submit using a different version. -CLI_REPORTED_VERSION = "1.0.0b4" +CLI_REPORTED_VERSION = "1.0.0b4.dev9" class QuantumCommandsLoader(AzCommandsLoader): diff --git a/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json b/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json index a1a7d06f741..06cea5e2df9 100644 --- a/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json +++ b/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json @@ -103,6 +103,10 @@ "name": "[parameters('storageAccountSku')]" }, "kind": "[parameters('storageAccountKind')]", + "properties": { + "allowBlobPublicAccess": false, + "minimumTlsVersion": "TLS1_2", + }, "resources": [ { "name": "default", diff --git a/src/quantum/setup.py b/src/quantum/setup.py index c388227c883..9d8c73c8f9c 100644 --- a/src/quantum/setup.py +++ b/src/quantum/setup.py @@ -17,7 +17,7 @@ # This version should match the latest entry in HISTORY.rst # Also, when updating this, please review the version used by the extension to # submit requests, which can be found at './azext_quantum/__init__.py' -VERSION = '1.0.0b4' +VERSION = '1.0.0b4.dev9' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 6c380000d3bef0e4dcca88220ee651291e4a06e0 Mon Sep 17 00:00:00 2001 From: "Warren Jones (Insight Global LLC)" Date: Thu, 30 Jan 2025 12:14:05 -0800 Subject: [PATCH 2/4] Update storage account API version --- .../operations/templates/create-workspace-and-assign-role.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json b/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json index 06cea5e2df9..0f013447441 100644 --- a/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json +++ b/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json @@ -95,7 +95,7 @@ "contentVersion": "1.0.0.0", "resources": [ { - "apiVersion": "2019-06-01", + "apiVersion": "2023-05-01", "name": "[parameters('storageAccountName')]", "location": "[parameters('storageAccountLocation')]", "type": "Microsoft.Storage/storageAccounts", From 4b421a8702efe642f84ea7260e1b70f3a492f3f8 Mon Sep 17 00:00:00 2001 From: "Warren Jones (Insight Global LLC)" Date: Thu, 30 Jan 2025 15:21:06 -0800 Subject: [PATCH 3/4] Deleted a stray comma --- .../operations/templates/create-workspace-and-assign-role.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json b/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json index 0f013447441..ba6ef109e19 100644 --- a/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json +++ b/src/quantum/azext_quantum/operations/templates/create-workspace-and-assign-role.json @@ -105,7 +105,7 @@ "kind": "[parameters('storageAccountKind')]", "properties": { "allowBlobPublicAccess": false, - "minimumTlsVersion": "TLS1_2", + "minimumTlsVersion": "TLS1_2" }, "resources": [ { From 02279ef0c44a7f8a1e9b61d7b6178aa59c197de5 Mon Sep 17 00:00:00 2001 From: "Warren Jones (Insight Global LLC)" Date: Thu, 30 Jan 2025 18:16:11 -0800 Subject: [PATCH 4/4] Restored the version number --- src/quantum/azext_quantum/__init__.py | 2 +- src/quantum/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/quantum/azext_quantum/__init__.py b/src/quantum/azext_quantum/__init__.py index 5cf574e64af..c32444a301f 100644 --- a/src/quantum/azext_quantum/__init__.py +++ b/src/quantum/azext_quantum/__init__.py @@ -13,7 +13,7 @@ # This is the version reported by the CLI to the service when submitting requests. # This should be in sync with the extension version in 'setup.py', unless we need to # submit using a different version. -CLI_REPORTED_VERSION = "1.0.0b4.dev9" +CLI_REPORTED_VERSION = "1.0.0b4" class QuantumCommandsLoader(AzCommandsLoader): diff --git a/src/quantum/setup.py b/src/quantum/setup.py index 9d8c73c8f9c..c388227c883 100644 --- a/src/quantum/setup.py +++ b/src/quantum/setup.py @@ -17,7 +17,7 @@ # This version should match the latest entry in HISTORY.rst # Also, when updating this, please review the version used by the extension to # submit requests, which can be found at './azext_quantum/__init__.py' -VERSION = '1.0.0b4.dev9' +VERSION = '1.0.0b4' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers