From c142d613ea72dcc1251a5d4402147f13afc01f2a Mon Sep 17 00:00:00 2001 From: Mitesh Shah <58204159+mitsha-microsoft@users.noreply.github.com> Date: Tue, 2 Jul 2024 19:50:06 +0530 Subject: [PATCH] Fixed examples and property documentation in TestProfiles (#29664) * Fixed examples and properrty documentation in TestProfiles * Remove CANCELLED change --- .../2024-05-01-preview/CreateOrUpdateTestProfile.json | 4 ++-- .../2024-05-01-preview/CreateOrUpdateTestProfileRun.json | 4 ++-- .../examples/2024-05-01-preview/GetTestProfile.json | 4 ++-- .../2024-05-01-preview/GetTestProfileRun_Executed.json | 4 ++-- .../2024-05-01-preview/GetTestProfileRun_Executing.json | 4 ++-- .../examples/2024-05-01-preview/ListTestProfileRuns.json | 4 ++-- .../examples/2024-05-01-preview/ListTestProfiles.json | 4 ++-- .../examples/2024-05-01-preview/StopTestProfileRun.json | 4 ++-- .../loadtestservice/LoadTestService/models.testprofile.tsp | 2 +- .../examples/CreateOrUpdateTestProfile.json | 4 ++-- .../examples/CreateOrUpdateTestProfileRun.json | 4 ++-- .../preview/2024-05-01-preview/examples/GetTestProfile.json | 4 ++-- .../examples/GetTestProfileRun_Executed.json | 4 ++-- .../examples/GetTestProfileRun_Executing.json | 4 ++-- .../2024-05-01-preview/examples/ListTestProfileRuns.json | 4 ++-- .../preview/2024-05-01-preview/examples/ListTestProfiles.json | 4 ++-- .../2024-05-01-preview/examples/StopTestProfileRun.json | 4 ++-- .../preview/2024-05-01-preview/loadtestservice.json | 4 ++-- 18 files changed, 35 insertions(+), 35 deletions(-) diff --git a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/CreateOrUpdateTestProfile.json b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/CreateOrUpdateTestProfile.json index 64e2f5516732..389c8d014750 100644 --- a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/CreateOrUpdateTestProfile.json +++ b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/CreateOrUpdateTestProfile.json @@ -13,11 +13,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/CreateOrUpdateTestProfileRun.json b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/CreateOrUpdateTestProfileRun.json index d0765c4ddf08..ee0823ffc42e 100644 --- a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/CreateOrUpdateTestProfileRun.json +++ b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/CreateOrUpdateTestProfileRun.json @@ -26,11 +26,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfile.json b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfile.json index de3ccfec49b7..6b39216ab1be 100644 --- a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfile.json +++ b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfile.json @@ -17,11 +17,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfileRun_Executed.json b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfileRun_Executed.json index 2dbfe73ad54f..a6695a3d9075 100644 --- a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfileRun_Executed.json +++ b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfileRun_Executed.json @@ -21,11 +21,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfileRun_Executing.json b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfileRun_Executing.json index 25756f76a81f..f30557620b8d 100644 --- a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfileRun_Executing.json +++ b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/GetTestProfileRun_Executing.json @@ -19,11 +19,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/ListTestProfileRuns.json b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/ListTestProfileRuns.json index 78af0f0b7ad3..76e1cf9ef561 100644 --- a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/ListTestProfileRuns.json +++ b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/ListTestProfileRuns.json @@ -29,11 +29,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/ListTestProfiles.json b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/ListTestProfiles.json index fcf359be1f1a..ac5476e50ba6 100644 --- a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/ListTestProfiles.json +++ b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/ListTestProfiles.json @@ -23,11 +23,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/StopTestProfileRun.json b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/StopTestProfileRun.json index 0837614fbd0d..57ab06f4caf8 100644 --- a/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/StopTestProfileRun.json +++ b/specification/loadtestservice/LoadTestService/examples/2024-05-01-preview/StopTestProfileRun.json @@ -21,11 +21,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/LoadTestService/models.testprofile.tsp b/specification/loadtestservice/LoadTestService/models.testprofile.tsp index 02e1e85232ac..7c82e576f1c3 100644 --- a/specification/loadtestservice/LoadTestService/models.testprofile.tsp +++ b/specification/loadtestservice/LoadTestService/models.testprofile.tsp @@ -85,7 +85,7 @@ union RecommendationCategory { @added(APIVersions.v2024_05_01_preview) model FunctionFlexConsumptionResourceConfiguration { #suppress "@azure-tools/typespec-azure-core/casing-style" "Abbreviating MB to Mb changes the meaning of the value." - @doc("Memory size of the instance. Supported values are 512, 2048, 2096.") + @doc("Memory size of the instance. Supported values are 2048, 4096.") instanceMemoryMB: int64; @doc("HTTP Concurrency for the function app.") diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfile.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfile.json index 64e2f5516732..389c8d014750 100644 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfile.json +++ b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfile.json @@ -13,11 +13,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfileRun.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfileRun.json index d0765c4ddf08..ee0823ffc42e 100644 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfileRun.json +++ b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfileRun.json @@ -26,11 +26,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfile.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfile.json index de3ccfec49b7..6b39216ab1be 100644 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfile.json +++ b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfile.json @@ -17,11 +17,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executed.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executed.json index 2dbfe73ad54f..a6695a3d9075 100644 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executed.json +++ b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executed.json @@ -21,11 +21,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executing.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executing.json index 25756f76a81f..f30557620b8d 100644 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executing.json +++ b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executing.json @@ -19,11 +19,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfileRuns.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfileRuns.json index 78af0f0b7ad3..76e1cf9ef561 100644 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfileRuns.json +++ b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfileRuns.json @@ -29,11 +29,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfiles.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfiles.json index fcf359be1f1a..ac5476e50ba6 100644 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfiles.json +++ b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfiles.json @@ -23,11 +23,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/StopTestProfileRun.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/StopTestProfileRun.json index 0837614fbd0d..57ab06f4caf8 100644 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/StopTestProfileRun.json +++ b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/StopTestProfileRun.json @@ -21,11 +21,11 @@ "kind": "FunctionsFlexConsumption", "configurations": { "config1": { - "instanceMemoryMB": 512, + "instanceMemoryMB": 2048, "httpConcurrency": 16 }, "config2": { - "instanceMemoryMB": 2048, + "instanceMemoryMB": 4096, "httpConcurrency": 16 } } diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/loadtestservice.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/loadtestservice.json index b0cdb8ed7c12..38839ab8327d 100644 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/loadtestservice.json +++ b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/loadtestservice.json @@ -2584,7 +2584,7 @@ "instanceMemoryMB": { "type": "integer", "format": "int64", - "description": "Memory size of the instance. Supported values are 512, 2048, 2096." + "description": "Memory size of the instance. Supported values are 2048, 4096." }, "httpConcurrency": { "type": "integer", @@ -2604,7 +2604,7 @@ "instanceMemoryMB": { "type": "integer", "format": "int64", - "description": "Memory size of the instance. Supported values are 512, 2048, 2096." + "description": "Memory size of the instance. Supported values are 2048, 4096." }, "httpConcurrency": { "type": "integer",