Update CloudShell API version to 2025-09-01-preview (#2570)

This commit is contained in:
BChoudhury-ms
2026-09-21 20:44:05 +05:30
committed by GitHub
parent eb65237acb
commit a92669ccbc
2 changed files with 9 additions and 9 deletions
@@ -85,7 +85,7 @@ describe("CloudShellClient", () => {
host: MOCK_ARM_ENDPOINT,
path: "/providers/Microsoft.Portal/userSettings/cloudconsole",
method: "GET",
apiVersion: "2023-02-01-preview",
apiVersion: "2025-09-01-preview",
});
expect(result).toEqual(mockSettings);
});
@@ -100,7 +100,7 @@ describe("CloudShellClient", () => {
host: MOCK_ARM_ENDPOINT,
path: "/providers/Microsoft.Portal/userSettings/cloudconsole",
method: "GET",
apiVersion: "2023-02-01-preview",
apiVersion: "2025-09-01-preview",
});
});
});
@@ -116,7 +116,7 @@ describe("CloudShellClient", () => {
host: MOCK_ARM_ENDPOINT,
path: "/providers/Microsoft.Portal/userSettings/cloudconsole",
method: "PUT",
apiVersion: "2023-02-01-preview",
apiVersion: "2025-09-01-preview",
body: {
properties: {
preferredOsType: OsType.Linux,
@@ -144,7 +144,7 @@ describe("CloudShellClient", () => {
host: MOCK_ARM_ENDPOINT,
path: "/providers/Microsoft.Portal/userSettings/cloudconsole",
method: "PUT",
apiVersion: "2023-02-01-preview",
apiVersion: "2025-09-01-preview",
body: {
properties: {
preferredOsType: OsType.Linux,
@@ -247,7 +247,7 @@ describe("CloudShellClient", () => {
host: MOCK_ARM_ENDPOINT,
path: "providers/Microsoft.Portal/consoles/default",
method: "PUT",
apiVersion: "2023-02-01-preview",
apiVersion: "2025-09-01-preview",
customHeaders: {
"x-ms-console-preferred-location": "eastus",
},
@@ -271,7 +271,7 @@ describe("CloudShellClient", () => {
host: MOCK_ARM_ENDPOINT,
path: "providers/Microsoft.Portal/consoles/default",
method: "PUT",
apiVersion: "2023-02-01-preview",
apiVersion: "2025-09-01-preview",
customHeaders: {
"x-ms-console-preferred-location": "eastus",
},