From b321e956cbeb906e46199cc003cce222988b8bba Mon Sep 17 00:00:00 2001 From: Christopher Scott Date: Mon, 15 Aug 2022 11:58:01 -0500 Subject: [PATCH 01/15] change default location to eastus (#30512) --- sdk/confidentialledger/test-resources.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/confidentialledger/test-resources.json b/sdk/confidentialledger/test-resources.json index 51273a8e3a072..7ab19afd9f456 100644 --- a/sdk/confidentialledger/test-resources.json +++ b/sdk/confidentialledger/test-resources.json @@ -25,7 +25,7 @@ }, "location": { "type": "string", - "defaultValue": "southcentralus", + "defaultValue": "eastus", "metadata": { "description": "The location of the resource. By default, this is the same as the resource group." } @@ -48,7 +48,7 @@ "type": "Microsoft.ConfidentialLedger/ledgers", "apiVersion": "2020-12-01-preview", "name": "[parameters('baseName')]", - "location": "[parameters('location')]", + "location": "eastus", "properties": { "ledgerType": "Public", "aadBasedSecurityPrincipals": [ From e837efe25a5b3872a8b81e27802390a403874f45 Mon Sep 17 00:00:00 2001 From: Vishwesh Bankwar Date: Mon, 15 Aug 2022 10:02:25 -0700 Subject: [PATCH 02/15] Attach Statsbeat [Part1] - Set up (#29641) * Statsbeat draft * change public to internal * try catch * comment fix * add comments * resolve PR comments * rename * rename * empty * filename * rename * resolve PR comments * typo * update comment * revert * resolve PR comments * remove dispose * refact * comment out init * refactor * refactor * resolve PR comments * revert reourceparser changes * added todo * rmv unnecessary usings * resolve PR comments * Update sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs Co-authored-by: Reiley Yang * add forceflush * rmv forceflush * add todo Co-authored-by: Reiley Yang --- .../AzureMonitorExporterHelperExtensions.cs | 4 ++ .../src/Internals/Statsbeat/Statsbeat.cs | 45 +++++++++++++++++++ .../Internals/Statsbeat/StatsbeatHelper.cs | 25 +++++++++++ 3 files changed, 74 insertions(+) create mode 100644 sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs create mode 100644 sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/StatsbeatHelper.cs diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterHelperExtensions.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterHelperExtensions.cs index c855dab539807..c3bdcf6115952 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterHelperExtensions.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterHelperExtensions.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using Azure.Monitor.OpenTelemetry.Exporter.Internals; using OpenTelemetry; using OpenTelemetry.Trace; using System; @@ -34,6 +35,9 @@ public static TracerProviderBuilder AddAzureMonitorTraceExporter(this TracerProv options.StorageDirectory = StorageHelper.GetDefaultStorageDirectory(); } + // TODO: provide a way to turn off statsbeat + // StatsbeatHelper.InitializeStatsbeat(options.ConnectionString); + // TODO: Pick Simple vs Batching based on AzureMonitorExporterOptions return builder.AddProcessor(new BatchActivityExportProcessor(new AzureMonitorTraceExporter(options))); } diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs new file mode 100644 index 0000000000000..2c731e0771b30 --- /dev/null +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Diagnostics.Metrics; +using OpenTelemetry; +using OpenTelemetry.Metrics; + +namespace Azure.Monitor.OpenTelemetry.Exporter.Internals +{ + internal static class Statsbeat + { + private static readonly Meter s_myMeter = new("AttachStatsBeatMeter", "1.0"); + + private const string StatsBeat_ConnectionString = ""; + + internal const int AttachStatsBeatInterval = 86400000; + + static Statsbeat() + { + s_myMeter.CreateObservableGauge("AttachStatsBeat", () => GetAttachStatsBeat()); + + // Configure for attach statsbeat which has collection + // schedule of 24 hrs == 86400000 milliseconds. + // TODO: Follow up in spec to confirm the behavior + // in case if the app exits before 24hrs duration. + var exporterOptions = new AzureMonitorExporterOptions(); + exporterOptions.DisableOfflineStorage = true; + exporterOptions.ConnectionString = StatsBeat_ConnectionString; + + Sdk.CreateMeterProviderBuilder() + .AddMeter("AttachStatsBeatMeter") + .AddReader(new PeriodicExportingMetricReader(new AzureMonitorMetricExporter(exporterOptions), AttachStatsBeatInterval) + { TemporalityPreference = MetricReaderTemporalityPreference.Delta }) + .Build(); + } + + internal static string Customer_Ikey { get; set; } + + private static Measurement GetAttachStatsBeat() + { + // TODO: Add additional properties required for statbeat + return new(1, new("cikey", Customer_Ikey), new("language", "dotnet")); + } + } +} diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/StatsbeatHelper.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/StatsbeatHelper.cs new file mode 100644 index 0000000000000..0d3b64c2c8c0a --- /dev/null +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/StatsbeatHelper.cs @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure.Monitor.OpenTelemetry.Exporter.Internals.ConnectionString; +using OpenTelemetry.Metrics; + +namespace Azure.Monitor.OpenTelemetry.Exporter.Internals +{ + internal class StatsbeatHelper + { + internal static void InitializeStatsbeat(string connectionString) + { + // Race condition is not taken in to account here + // If the exporters have different connection string + // only one of them will be used. + if (Statsbeat.Customer_Ikey == null) + { + ConnectionStringParser.GetValues(connectionString, out string instrumentationKey, out _); + Statsbeat.Customer_Ikey = instrumentationKey; + + // TODO: set statsbeat connectionstring based on customer's connectionstring endpoint. + } + } + } +} From 3f74b6634a2d5c424bc839610379d23edfa2c4d1 Mon Sep 17 00:00:00 2001 From: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Date: Mon, 15 Aug 2022 10:22:52 -0700 Subject: [PATCH 03/15] Split test dependencies across test jobs. (#29957) --- eng/Directory.Build.Common.targets | 32 ++- eng/pipelines/templates/jobs/ci.tests.yml | 47 +++-- eng/pipelines/templates/jobs/ci.yml | 42 +++- .../templates/stages/archetype-sdk-client.yml | 4 + .../templates/steps/dependency.tests.yml | 55 ++++++ .../Generate-Dependency-Test-References.ps1 | 73 +++++++ eng/scripts/splittestdependencies/README.md | 43 ++++ .../assets/test-split-workflow.png | Bin 0 -> 51887 bytes .../generate-dependency-functions.ps1 | 86 ++++++++ ...erate-Dependency-Test-References-Tests.ps1 | 122 ++++++++++++ .../tests/expectOutputs/1-1.xml | 6 + .../tests/expectOutputs/1-2.xml | 6 + .../tests/expectOutputs/2-1.xml | 6 + .../expect-matrix-integration.json | 95 +++++++++ .../tests/expectOutputs/expect-matrix1.json | 48 +++++ .../tests/expectOutputs/expect-matrix2.json | 51 +++++ .../tests/inputs/empty_projects.txt | 0 .../tests/inputs/platform-matrix1.json | 40 ++++ .../inputs/platform_2_include_agents.json | 55 ++++++ .../tests/inputs/projects.txt | 186 ++++++++++++++++++ .../tests/inputs/sync-platform-matrix.json | 65 ++++++ eng/service.proj | 24 ++- sdk/core/ci.yml | 1 + sdk/core/tests.yml | 1 + 24 files changed, 1068 insertions(+), 20 deletions(-) create mode 100644 eng/pipelines/templates/steps/dependency.tests.yml create mode 100644 eng/scripts/splittestdependencies/Generate-Dependency-Test-References.ps1 create mode 100644 eng/scripts/splittestdependencies/README.md create mode 100644 eng/scripts/splittestdependencies/assets/test-split-workflow.png create mode 100644 eng/scripts/splittestdependencies/generate-dependency-functions.ps1 create mode 100644 eng/scripts/splittestdependencies/tests/Generate-Dependency-Test-References-Tests.ps1 create mode 100644 eng/scripts/splittestdependencies/tests/expectOutputs/1-1.xml create mode 100644 eng/scripts/splittestdependencies/tests/expectOutputs/1-2.xml create mode 100644 eng/scripts/splittestdependencies/tests/expectOutputs/2-1.xml create mode 100644 eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix-integration.json create mode 100644 eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix1.json create mode 100644 eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix2.json create mode 100644 eng/scripts/splittestdependencies/tests/inputs/empty_projects.txt create mode 100644 eng/scripts/splittestdependencies/tests/inputs/platform-matrix1.json create mode 100644 eng/scripts/splittestdependencies/tests/inputs/platform_2_include_agents.json create mode 100644 eng/scripts/splittestdependencies/tests/inputs/projects.txt create mode 100644 eng/scripts/splittestdependencies/tests/inputs/sync-platform-matrix.json diff --git a/eng/Directory.Build.Common.targets b/eng/Directory.Build.Common.targets index ab302b4e9bd34..a44030a901833 100644 --- a/eng/Directory.Build.Common.targets +++ b/eng/Directory.Build.Common.targets @@ -1,4 +1,4 @@ - + @@ -330,5 +330,33 @@ + + + ProjectDependsOnInner + + + + + + + + + + + + + <_LibrariesReferenced Include="@(ReferencePath -> '%(Filename)')"/> + <_DependsOnGiven Include="@(_LibrariesReferenced)" Condition="'%(Identity)' == '$(TestDependsOnDependency)'" /> + + + + + + + - + \ No newline at end of file diff --git a/eng/pipelines/templates/jobs/ci.tests.yml b/eng/pipelines/templates/jobs/ci.tests.yml index dc525c77544a9..5d4f394bf3eb4 100644 --- a/eng/pipelines/templates/jobs/ci.tests.yml +++ b/eng/pipelines/templates/jobs/ci.tests.yml @@ -2,12 +2,6 @@ parameters: - name: SDKType type: string default: all -- name: ServiceDirectory - type: string - default: not-specified -- name: ServiceToTest - type: string - default: '' - name: TestSetupSteps type: stepList default: [] @@ -24,6 +18,12 @@ parameters: - name: CloudConfig type: object default: {} +- name: ProjectListOverrideFilePropertyName + type: string + default: '' +- name: ServiceDirectory + type: string + default: '' jobs: - job: @@ -43,10 +43,23 @@ jobs: - ${{ if not(contains(variables['Build.DefinitionName'], '-pr - ')) }}: - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml parameters: + ${{ if eq(parameters.ProjectListOverrideFilePropertyName, '') }}: + Paths: + - "/*" + - "!SessionRecords" + - "/sdk/${{ parameters.ServiceDirectory }}/**/SessionRecords" + ${{ else }}: Paths: - "/*" - "!SessionRecords" - - "/sdk/${{ parameters.ServiceToTest }}/**/SessionRecords" + - "/sdk/*/**/SessionRecords" + - ${{ if ne(parameters.ProjectListOverrideFilePropertyName, '') }}: + - task: DownloadPipelineArtifact@2 + inputs: + artifact: DependencyTestProjectReferences + patterns: "**/$(${{ parameters.ProjectListOverrideFilePropertyName }})" + path: $(Build.SourcesDirectory) + - pwsh: | $(Build.SourcesDirectory)/eng/common/scripts/trust-proxy-certificate.ps1 displayName: 'Language Specific Certificate Trust' @@ -63,6 +76,17 @@ jobs: - template: /eng/pipelines/templates/steps/install-dotnet.yml parameters: NuGetCacheKey: Test + - pwsh: | + if ("${{ parameters.ProjectListOverrideFilePropertyName }}" -ne '') { + Write-Host "##vso[task.setvariable variable=ProjectListOverrideFileName]$(${{ parameters.ProjectListOverrideFilePropertyName }})" + Write-Host "##vso[task.setvariable variable=CodeCoverageFilePattern]$(Build.SourcesDirectory)\sdk\**\coverage.cobertura.xml" + } + else + { + Write-Host "##vso[task.setvariable variable=ProjectListOverrideFileName]" + Write-Host "##vso[task.setvariable variable=CodeCoverageFilePattern]$(Build.SourcesDirectory)\sdk\${{parameters.ServiceDirectory}}\**\coverage.cobertura.xml" + } + displayName: Set variable for the project list file and coverage directory - pwsh: >- dotnet test eng/service.proj --filter '(TestCategory!=Manually) & (TestCategory!=Live) & ($(AdditionalTestFilters))' @@ -70,12 +94,13 @@ jobs: --logger 'trx;LogFileName=$(TestTargetFramework).trx' --logger:'console;verbosity=normal' --blame-crash-dump-type full --blame-hang-dump-type full --blame-hang-timeout ${{parameters.TestTimeoutInMinutes}}minutes /p:SDKType=${{ parameters.SDKType }} - /p:ServiceDirectory=${{ parameters.ServiceToTest }} + /p:ServiceDirectory=${{ parameters.ServiceDirectory }} /p:IncludeSrc=false /p:IncludeSamples=false /p:IncludePerf=false /p:IncludeStress=false /p:RunApiCompat=false /p:InheritDocEnabled=false /p:Configuration=$(BuildConfiguration) - /p:CollectCoverage=$(CollectCoverage) /p:CodeCoverageDirectory=$(Build.SourcesDirectory)\sdk\${{parameters.ServiceDirectory}} - /p:EnableSourceLink=false + /p:CollectCoverage=$(CollectCoverage) + /p:EnableSourceLink=false + /p:ProjectListOverrideFile=$(ProjectListOverrideFileName) $(AdditionalTestArguments) displayName: "Build & Test ($(TestTargetFramework))" - task: PublishTestResults@2 @@ -91,7 +116,7 @@ jobs: condition: and(succeededOrFailed(), eq(variables['CollectCoverage'], 'true'), eq(variables['coverage.collected'], 'true')) displayName: Generate Code Coverage Reports inputs: - reports: $(Build.SourcesDirectory)\sdk\${{parameters.ServiceDirectory}}\**\coverage.cobertura.xml + reports: $(CodeCoverageFilePattern) targetdir: $(Build.ArtifactStagingDirectory)\coverage reporttypes: Cobertura filefilters: +$(Build.SourcesDirectory)\sdk\${{parameters.ServiceDirectory}}\** diff --git a/eng/pipelines/templates/jobs/ci.yml b/eng/pipelines/templates/jobs/ci.yml index 8885f2cac8380..ca31f25af582e 100644 --- a/eng/pipelines/templates/jobs/ci.yml +++ b/eng/pipelines/templates/jobs/ci.yml @@ -36,7 +36,9 @@ parameters: - name: MatrixReplace type: object default: [] - +- name: TestDependsOnDependency + type: string + default: not-specified jobs: - job: Build pool: @@ -226,18 +228,48 @@ jobs: parameters: BaselineFilePath: $(Build.sourcesdirectory)/eng/dotnet.gdnbaselines ServiceDirectory: ${{ parameters.ServiceDirectory }} - - template: /eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml parameters: + GenerateJobName: generate_target_service_test_matrix JobTemplatePath: /eng/pipelines/templates/jobs/ci.tests.yml MatrixConfigs: ${{ parameters.MatrixConfigs }} MatrixFilters: ${{ parameters.MatrixFilters }} MatrixReplace: ${{ parameters.MatrixReplace }} CloudConfig: - Cloud: Public + Cloud: public AdditionalParameters: SDKType: ${{ parameters.SDKType }} - ServiceToTest: ${{ coalesce(parameters.ServiceToTest, parameters.ServiceDirectory) }} ServiceDirectory: ${{ parameters.ServiceDirectory }} TestSetupSteps: ${{ parameters.TestSetupSteps }} - TestTimeoutInMinutes: ${{ parameters.TestTimeoutInMinutes }} + TestTimeoutInMinutes: ${{ parameters.TestTimeoutInMinutes }} + - ${{ if ne(parameters.TestDependsOnDependency, 'not-specified') }}: + - template: /eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml + parameters: + GenerateJobName: generate_target_dependencies_test_matrix + JobTemplatePath: /eng/pipelines/templates/jobs/ci.tests.yml + MatrixConfigs: ${{ parameters.MatrixConfigs }} + MatrixFilters: ${{ parameters.MatrixFilters }} + MatrixReplace: ${{ parameters.MatrixReplace }} + CloudConfig: + Cloud: public + SparseCheckoutPaths: + - "/*" + - "!/sdk/*/**/SessionRecords" + PreGenerationSteps: + - ${{ each config in parameters.MatrixConfigs }}: + - template: /eng/pipelines/templates/steps/dependency.tests.yml + parameters: + TestDependsOnDependency: ${{ parameters.TestDependsOnDependency }} + # The value for ProjectListOverrideFilePropertyName should be the same as AdditionalParameters ProjectListOverrideFilePropertyName below + ProjectListOverrideFilePropertyName: 'ProjectListOverrideFile' + ProjectFilesOutputFolder: $(Build.ArtifactStagingDirectory) + ExcludeTargetTestProjects: true + ServiceDirectory: ${{ parameters.ServiceDirectory }} + MatrixConfigsFile: ${{ config.Path }} + AdditionalParameters: + SDKType: ${{ parameters.SDKType }} + ServiceDirectory: ${{ parameters.ServiceDirectory }} + TestSetupSteps: ${{ parameters.TestSetupSteps }} + TestTimeoutInMinutes: ${{ parameters.TestTimeoutInMinutes }} + # The value for ProjectListOverrideFilePropertyName should be the same as dependency.tests.yml parameter ProjectListOverrideFilePropertyName + ProjectListOverrideFilePropertyName: 'ProjectListOverrideFile' diff --git a/eng/pipelines/templates/stages/archetype-sdk-client.yml b/eng/pipelines/templates/stages/archetype-sdk-client.yml index 91361b04f352a..12bac8a82edd3 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-client.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-client.yml @@ -55,6 +55,9 @@ parameters: - name: MatrixReplace type: object default: [] +- name: TestDependsOnDependency + type: string + default: not-specified variables: - template: ../variables/globals.yml @@ -85,6 +88,7 @@ stages: - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - BuildConfiguration=Debug/Release - ${{ parameters.MatrixReplace }} + TestDependsOnDependency: ${{ parameters.TestDependsOnDependency }} # The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch. - ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}}: diff --git a/eng/pipelines/templates/steps/dependency.tests.yml b/eng/pipelines/templates/steps/dependency.tests.yml new file mode 100644 index 0000000000000..180dba4815430 --- /dev/null +++ b/eng/pipelines/templates/steps/dependency.tests.yml @@ -0,0 +1,55 @@ +parameters: +- name: ProjectFilesOutputFolder + type: string + default: "$(Build.ArtifactStagingDirectory)" +- name: NumOfTestProjectsPerJob + type: number + default: 20 +- name: OutputProjectFilePath + type: string + default: "$(System.DefaultWorkingDirectory)/projects.txt" +- name: TestDependsOnDependency + type: string + default: "not-specific" +- name: ProjectListOverrideFilePropertyName + type: string + default: '' +- name: MatrixConfigsFile + type: string + default: './eng/pipelines/templates/stages/platform-matrix.json' +- name: ExcludeTargetTestProjects + type: boolean + default: false +- name: ServiceDirectory + type: string + default: 'not-specific' +steps: + - pwsh: | + dotnet build /t:ProjectDependsOn ./eng/service.proj ` + /p:TestDependsOnDependency="${{parameters.TestDependsOnDependency}}" ` + /p:IncludeSrc=false /p:IncludeStress=false /p:IncludeSamples=false ` + /p:IncludePerf=false /p:RunApiCompat=false ` + /p:InheritDocEnabled=false /p:BuildProjectReferences=false ` + /p:OutputProjectFilePath="${{parameters.OutputProjectFilePath}}" + displayName: Find all test dependencies + + - task: PowerShell@2 + inputs: + targetType: filePath + filePath: eng/scripts/splittestdependencies/Generate-Dependency-Test-References.ps1 + arguments: >- + -ProjectListFilePath ${{ parameters.OutputProjectFilePath }} + -ProjectFilesOutputFolder ${{ parameters.ProjectFilesOutputFolder }} + -NumOfTestProjectsPerJob ${{ parameters.NumOfTestProjectsPerJob }} + -MatrixConfigsFile ${{parameters.MatrixConfigsFile}} + -ProjectFileConfigName ${{parameters.ProjectListOverrideFilePropertyName}} + -ExcludeTargetTestProjects: $${{parameters.ExcludeTargetTestProjects}} + -ServiceDirectoryToExclude ${{parameters.ServiceDirectory}} + ignoreLASTEXITCODE: true + pwsh: true + displayName: Split testing packages into different files + + - task: PublishBuildArtifacts@1 + inputs: + pathToPublish: $(Build.ArtifactStagingDirectory) + artifactName: DependencyTestProjectReferences diff --git a/eng/scripts/splittestdependencies/Generate-Dependency-Test-References.ps1 b/eng/scripts/splittestdependencies/Generate-Dependency-Test-References.ps1 new file mode 100644 index 0000000000000..6cdd470a19c00 --- /dev/null +++ b/eng/scripts/splittestdependencies/Generate-Dependency-Test-References.ps1 @@ -0,0 +1,73 @@ +<# +.SYNOPSIS +Split the test dependencies into different project files. + +.DESCRIPTION +.NET pipelines will run centain number of test dependencies in each entry of job matrix. +The Script is to split all test dependencies into difference sets for later use. +The script is able to test locally using Pester. Please run tests as following every time you made changes to the script: + +``` +Invoke-Pester -Output Detailed $PSScriptRoot\tests\Generate-Dependency-Test-References-Tests.ps1 +``` + +.PARAMETER ProjectListFilePath +The file path contains all test dependencies. E.g. The file generated by 'eng/service.proj' in dependecny.tests.yml `Find all test dependencies` step + +.PARAMETER ProjectFilesOutputFolder +The folder for all test dependency split files e.g. `Project_1.props` which are ready to publish. E.g. $(Build.ArtifactStagingDirectory) + +.PARAMETER NumOfTestProjectsPerJob +The number of test run on each job. + +.PARAMETER MatrixConfigsFile +The file path of the matrix job configuration. E.g. "/eng/pipelines/templates/stages/platform-matrix.json" + +.PARAMETER ProjectFileConfigName +The config name of the project file name. Hardcoded in "\eng\pipelines\templates\jobs\ci.yml" `PreGenerationSteps` for matix generation. E.g. 'ProjectListOverrideFile' + +.PARAMETER ExcludeTargetTestProjects +The flag to indicate whether exclude target test package or not. + +.PARAMETER ServiceDirectoryToExclude +The service directory which needs to exclude. E.g. "core" + +.EXAMPLE +Run script with default parameters. + +Generate-Dependency-Test-References.ps1 -ProjectFilesOutputFolder "$(Build.ArtifactStagingDirectory)/projects" -ProjectListFilePath "eng/projects.txt" ` +-MatrixConfigsFile "eng/pipelines/templates/stages/platform-matrix.json" -ProjectFileConfigName "ProjectListOverrideFile" -ExcludeTargetTestProjects $true ` +-ServiceDirectoryToExclude "core" + +#> +Param ( + [ValidateNotNullOrEmpty()] + [string] $ProjectListFilePath, + [string] $ProjectFilesOutputFolder="./", + [int] $NumOfTestProjectsPerJob = 20, + [ValidateNotNullOrEmpty()] + [string] $MatrixConfigsFile, + [ValidateNotNullOrEmpty()] + [string] $ProjectFileConfigName, + [boolean] $ExcludeTargetTestProjects=$false, + [string] $ServiceDirectoryToExclude +) + +. (Join-Path $PSScriptRoot generate-dependency-functions.ps1) +Set-StrictMode -Version 3 + +$projGroups = Split-Project-File-To-Groups ` + -ProjectFile $ProjectListFilePath ` + -NumberOfTestsPerJob $NumOfTestProjectsPerJob ` + -ExcludeService $ExcludeTargetTestProjects ` + -ServiceDirToExclude $ServiceDirectoryToExclude + +$projFiles = Write-Test-Dependency-Group-To-Files ` + -ProjectGroups $projGroups ` + -MatrixOutputFolder $ProjectFilesOutputFolder + +Write-Project-Files-To-Matrix ` + -ProjectFiles $projFiles ` + -MatrixJsonPath $MatrixConfigsFile ` + -MatrixOutputFolder $ProjectFilesOutputFolder ` + -ProjectFileConfigName $ProjectFileConfigName \ No newline at end of file diff --git a/eng/scripts/splittestdependencies/README.md b/eng/scripts/splittestdependencies/README.md new file mode 100644 index 0000000000000..153f6c7e7a109 --- /dev/null +++ b/eng/scripts/splittestdependencies/README.md @@ -0,0 +1,43 @@ +# Test dependency Splitting Strategy +## Problems +Today, most of the Azure SDKs implemented in our repo have a dependency on the core library. In order to guarantee the changes on core do not break the SDKs depend on it, our core PR validation pipeline currently runs all tests under `sdk` folder. As the onboarding packages keep growing, the test steps of pipeline usually take nearly an hour to finish. To achieve the purpose of speeding up the PR validation, we decided to move on to the test splitting task. + +## Existing workflow +Before we run the tests, we have a step to determine the testing matrix (OS image, pool, .NET framework etc.). For each of the testing environment, we check which is the service triggers the pipeline. If it is service other that core, then we run the tests under the service only. If it is core library, then we will run all tests under `sdk` folder. There are more than 400 packages in total as of today, so even we execute them in parallel, it still takes long while to get them done. + +## New workflow +In order to speed up the pipeline, we have to answer two questions here: + +1. Is it necessary to run all tests under `sdk`? Can we fetch the tests which have a dependency on core? +1. Can we split the tests depend on core into different test jobs? + +To optimize the existing process, we first use the `MSBuild` to find all test `.csproj` files depend on target service. Then, we split these test projects (exclude the target service) into certain number of chunks (according to the input of how many tests we expect to run on each test job) and write them into separate project files. We will dynamically write the project files back as a new property to the matrix json which will use to determine the test job settings later on. By having the mutate matrix json, the test steps can execute their tests on small number of tests defined in project files respectively. We also have another set of test jobs which run the target service tests only. Though we double the size of test matrix, it saves nearly 80% of the time we spend on test jobs. + +Here is the workflow for better understanding: +![Workflow](assets/test-split-workflow.png) + +## Enable/Disable the split work +We currently have this support in public PR validation pipeline and internal release pipeline. +We have enabled the core pipeline. + +To enable the split on your service, you can add the line below in `ci.yml` under service folder. E.g. [ci.yml](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/ci.yml) +``` +TestDependsOnDependency: ${service-name} +``` +To disable, just remove the above line, and the corresponding pipeline will run the tests on target service only. + +## Performance +Here is the comparison: +| | Old | New | +| --- | --- | --- | +| Num of tests on each job | ~400 | ~20 | +| Time spent on core | ~ 1 hour as maximum | ~ 13 min as maximum | + +## Downside of the feature + +1. The job matrix is determined once generate-job-matrix is done. Rerun any failed step will still run on the same testing environment (OSImage, Pool, Test framework, Test dependency project etc). +This is by design. So if a new project is added/deleted, we are not able to pick up the latest test projects in the same build. The case is rare, so it should not be a concern for our current usage. + +## Future work +1. Onboard to live test pipeline +1. Leverage the work on other time consuming job. \ No newline at end of file diff --git a/eng/scripts/splittestdependencies/assets/test-split-workflow.png b/eng/scripts/splittestdependencies/assets/test-split-workflow.png new file mode 100644 index 0000000000000000000000000000000000000000..7e681617b23eb01f6634aec5f4d126be715b73d5 GIT binary patch literal 51887 zcmbTd2{hF28$OJvsB9G}%OFYiZN}JVjIj^Hj4df<#yV!0VP-7Zixyi^Bq~~jvLz{7 z$x?|Zg^IFg35jg!eJ1+;{_i>OIq!MjbEfc_&+q&vu)KW9Bn~-Ela1fx zG}L^k^k6wnl$?f!M_`}|(bvP9<`FXA@F?wmFVl`OCoNZqoJmup{%B(tgenz zgUV?l)U?_E!Bn($)Lb{t_wXiBHgBk{q6Tho*vXedq%!H?R}2pPr>+JLYa+pK;0vhM z#;+`>mI63}2n-~XoJgKlzToL-ZB3YpCKMb#Y-NtKv6j;?0l$-d{Yl`58HwOeWnW_A zL!$}qx(`R|0b)Vp`y9*MQ~^!Y2&CjmFi6f57dy;GzEs-v>3S7chg2D+V)7gmL?VD zp=?DAb0uMdLqa!hLh%42{cCGGU?yetjhnz6S*}DlooZ&M7OW$ufkcGCTrlup8(;z? z4r8H4!E1&2hfypswi-Gvt`rvx+Lvl#L)7pB^V2~1AYBp8Ar^2?M=cLJ)(=Sp&q8}4 z17Ow+dp|pxuaAX&Fwq}jZf;G-dW4Y~AtBm0Ukz8RvyLCs*Ht^r3F!i!gLlMgQO)RN zj3dE?{amK4CB_LCj6`UA2btUZ`vh2_O=&JH3v(M=3oB*U%m5m=jkgXKh4(^}!LJ(LWEjZ?OGLZUe6d7tteLBN5RDM3 z?Fz$U$v)r&B1VhoZN@T1Yx#il(ZFBO+6*r(H4O|C?q%i$M=`YE;8>Vl2#jqdwu9Iq zHT}R33fbAh5^dv34_32*vG0VmLzse}{tR1t4-HQy*22UIM?#>`7HCgvJA3dA%ZB7( zhoOLLb&x&*o(?)Fqz@8JvUl+I^mj0`M0jbNI+$3)>|9M;LY<%*RyG(df{6!0n}i1! zTLz>3oEdnMiv!!#OngYFmo~{6@9$~pq7^_ivqG3+DL6AK0({A`b@3+oz{#f8Oz!|P z$_s62;p!WNFr|2_v#c?m6zd>{s}7DxwgO`drP`wjYGB$(M>K+{W@1UgSZb0S1JK|I zCXi*NZKdXC=8rMehN*!?_h!O_oUmpDe;u1pO)W z`}&4aoXp_fu0)y@(ILd#(-McZH#Jo^_q9QLg7F1uQz_2Y7%JI{g7Xdl4}vmme2@YD zK?p|;B-`3{OcK=!&m@u^OzcU)-o&r~JbPhWS)LwVj^rRe8j|6Nv2dlpumN}`0!6m< z)9|ve0*in~VFK(zt-Zl-4vt>d&aP(u2wPLQnTZYEk-ZDMjm8n_~xPtvysErxjnqY5dY3ZkqPy_DkWJzY4>v$6!9APwn zS2&!B^T7awLc#-?+P2WYUWH~5?98=wLc-{F;1&$1CWGeVD;uU` z0LmUl_qRi#gIIwYHkJWuW+A{tNN)`nG{un?5XR8Gt?3%B!N9m7eh!*Qmk^)Oq6EsJhp z9%g0+b_v>4o8@gz$7y?8sN49WG)%RaVFU|JSb&vPuxXGJBgn+pj%5L+?h1}FnYKP) zozX5@2pBBP+TJNdn`{aX!>Ic~EeKE_8r0Io)z&=7HN=GCgm$sA&?IVTI>B6n@ia3S zTr&iwZNu_l;i1;*e!!3I90_Ef5N&!8+)4|oW?_zDXlMp_253<|!A?RW&CnJhl+aKU zh8dn|;~ZdSgAW87Bai~q2!@4FXl8*a6tj4!C?+Gnzn^4QUeBp z1lrWm0>i?XI;pup=_Y1jUT6(JCx5s(iKqe9K?j4lg`~Lz=~#Qx%&{mdl7+RY7EQwf zWyT=Du>=Qaikg!n(i_hLrv*CNQqWjyH55T3z{kZ?Cr~TY&e;V?&)>wY9KTNOh{8y{7}pOp{_w@e3q7TUj#6Fbc}lH^2l1V_{gX z6fKgr6G`1w%ZkbbW7hJt^8;Rq^z>k8>4bq8gSKRugTHZ%U?j=k%GU#~=4us8!-bic zI?y~laACGo4EP#PL_6q&p}?SMo@}s1SkM7CK@+?QR&<2FBbnvk1g8cg=s|wgjuwF~ z7z?T?4(?%ML9(@?lGUN?eGug7W8&gxYD4#-c!t`lX*s9|;^~wi{}2W(zz4-9B1pV5 z%*raz$tBp&&KhZN%JT9uA%{6rEUjFv2~>|jaE7a?Um(^}-NTke^m6c0v)8djp#xz4 zAsUt*0eCNlW@xB2z$SvXAJvCt!Zt0#5($GNY*@kS2oqZeR;X(*#^2iBg~`I%;?(dK zS}s=LBoGTc)V)JsjwDaNU~2}#-VQ;uHMPN82724DZ4Px|Ias4?0vR5bOl+vXiH3G4 z!vyUQI1rkO3$~&$Y~lWJ8#o(ZeI3C3!6jt#KpnD^B^0XV=?!xw_-i@Z;0R{s7_^oX zEG!^ID?~@l%$5Sxfx>Cl2$D+(J779l>3G`d&_ZCAE+nR!Em|8IfOdc(u|yU{EsVwv zI3}Sc!CKxvHqI=ji6+@67#ijm=mE#0$OM=#dv%?CT+nu|Fb}wmtEmT!uH|XwXyv3G z3jDjjgIzssL&<(5EGf*}%+Jf*&)?ZX zOIyR+!xW+A;z7_tJA;)#n&N2yc&)8bR17H$<_Zs0_p-yofSr+0M_(sRFDDqq$I-*Z z0o>Wegk`So1bhJLpur~CXjiKsz-y7AmSI{Nfv!kRmJT5ZhX^2$0)2dmcuOz}q_c)= zpg)rA01(e61fd0^o7n}i7({DN4+|tgIq!!{sVtb?}lI7s#5fXyHAsH49rgi|X>@MpTO_j4uPYqj`uvlH39w{ukf41w5j)*XX zll|GgC#Lam>Xs3K59h!2l;tbAJ~03OWX90<)1$Ine+)!%2QiXTNC25n> z<~h0{#I{WJ@4?Rr%ZGN&5h%Arn;=_mLVVZqrs=a8{E@SuVMPT)g>i`SC^Ct?PVXY zpY)M}zvwQ+Ukv#8aQThilY@UJ3yB#QzHXd+pW5BZuQ#RUapS_cZq|CzeJWgI!yJFM z+d)=a`Y+}xT-Sd(byWUm33a?zoi~+(H`O?v*A8OVQ+-#ab*BDL-I3jw$R-Mp`YQdO zphr5*q%!#S9xF>K!ElvCUgh{QQe)v(CAwP7& zphH}$`Tcdo76tp8=8iIY7o%hiYvKBv&K7uzgQr~4Iqt2`Ax;t>G3Sb173G+mOyyxo z!-z-w?ZD!ZhFjB)gc$GeP4rea584?&dwSP_^vveak(U_`o|V>F8kV!S&O-84A4L6L z_)s(iNfcFaE9g5~PCTP45T)o?oVg;FZAkh2ID}V7Ano_?McYC`s%K2V;PW$u668|3 z-lYeD5A`J9zTMaOC}`*=b)arS=IOBa$O!}6`7TCu5ET2{dVN>B^-Z~rWjZJ*3B2p; z93FGYOW5w4y%Ho=kNLe==1I?kL=&878dh09oWb-nSs`q~oHHTgypiKw+V5{%3 z#9bUnvAm`A)fw9>{>7&Z<5$;~=Sj~Kg)E(q!YWcE^ccfhlA8O;HYIANbs2G?xsoX& z&)*Ncg&SUsqF>R{Kl9hSqq#jX(OmGs-H?mX<$T1+EfKmooSBgH${uU^^)?(|Qk6&J z=_6eFe(ws>xq8V1drEXybQx1U@l~l@LBBpTi_Bs1x0X-b5NXv}S{h2Z%!Y^cYkm>u zL{%{g6K|7R_VmAqzmM5bMpNskSYbbjYRR9nvHxa)+ijW2Tif|SHud!b-W;?CI@N|V zTOqditz_~0J62_CvhTc5y+_09;d&mRLst=P@gxDg}`j>*sB5j8eOuGvkO}yfQeJ%)*7}592W9N z7rahSx)!-&@%#AL_?1p4<-%?J;)nCiQZVVEZ}V!f`Dh;Qa(Eq?o_cRc-9fHv1mdlm z0&nFEA9^GH*WqHEcZ1#jXmxr!@w!@(DdZNXK&y*vnXZBH9Yx5lE#LTcpe}oNzi6A$@Uh!|mVQnhBU| z)_A2hbr;!hS9T;ntpmXKKtOvUQgazL_%^#yb^~oVodBFXiPhFg3X{A3yE6G= z_tNXFWdmHjFXnoVS#+#?xqjauXBVt$E!$>5|MaG(jb1;@;2G(^Siq!}hAGpqnWw7VM!HYV> z!9z>0$s#K4vAZiluIfVx-r@Uw09Eql(8l_dg7x8lvQ4u`iowYv^s&fERohaDE0)I~ z_}&S6kl@;}lA8$xb&6758KH&$Dc{M%X5K3AVhF{G1E+$H#DA{$AY!sNf>53<+jkB5 zE23i?j#W`|T(RxN7umbwc~`e{Z3#fGGb5$ar_GYZ@5Vo<7KcW{F4v%IM~UE00lM+M z^&SM9@QphSny~Lw$6plPh4oaT?+Pk{O%A-y81s8ytN>6p?Q3I#RnytM-Cdo6O@e*S zqq@DG2R&>nwiiXou0I@_-LN;3y=jN}+lZ0QJn7miMJ-uVGlJE7kKhEi4;!9bNp!#8 z_ZTVBSKxT>%2}w1F(Kc$T`O)WY7-_Cr8xP96Ib<%x!@nRm*XL}S9P$b`6Z6rz0`2q zIC<$n^gjoS5eM!v#-VI|Cms)(99MA<;V;Kr%QQS0_EMba06Cif+PpIQ#CrwNHU$4$ z>)ZD>LG6nKCm(Ufd9}+SlZRI5xAz-xZ!WQhG-h#;v-4X;=cZ?u6<%QeMfd+;U}uGK zJ9Rj#gFifs2W|exYf&?0gF`?#p8%+s7T(c2x5w^4^+B zjhWgOGP80ss+RCNcf(Gb##V7Dzv*gvKlodhkd*J*>8j9qFZ@Hw$A{3B&J}<`q@a65zz!}Ysn}*vU z*B>)yR6uY@TrwYm)fD23UN*#R>E;oHZQ2{cIR@;g*P>CX95U5|Wo)n*-r^*!Hp!Sx z8bbn{XAv{pxoJXUE-^p{yit3Swm>e3D!U#8SbI&2@+lMkLONKHmh9b;t88+5XPR!v zgq?W8n*^<_4NMgWLu&jgZ&r+Y%=5!hRLL3gv5LyPX#*XUh!K{vG_MU?z!}2d9;q2> z|7RjI;7XB(DL)fk7L~fbk9^sjT*Gd#FLO_L$-4_(H(orewJQC8r#J+-2H&vr7Pdmw_XOv>$pQBuY+lAdnuvy4X^z(;jz%thO?V|_CN90Q&?=jPs~=h@$WJ~}Ds}Q_XYB7xLb5`sRQObx zeSw{HXUVA@qK@DMfvBapFoW-phTe6sy2I0COu6-@zM{FXY{xJyX(n1P2`f6>J|D3* z*J58y8!ok`_KB!AK}&S zpP!h{7_BempGb(-Utb#P_CBq!U0QH~zq5duXyI^TFe1@L8C9uv>O@lq>r}Kh(_t7n zM%VfNqU2FXiph2ObtX&k)V7df7Pe}C`j?$w6@A5k-4JB!xN^pu&LIlf)3Hv5_N zIqgK)+D>f3wYfr5cQsz_4@cZi7%L6!oti6DMg25A6MBQ|_=Ln1AY>{aO*5a8v%0jW z_FBY`7kSKij7OmFoASfJv6C;r2s$Dt4UEA8Zh1UE1(0_!gXFKoFR3PG99V0&FM}#6 z{b`48{d%1Z+rdB`v&uMf>-mMqQ;E-JSlT=yDAB4w!RYHy)xf~cxE<2JACq2*EaxYqhAOk0V<$T#Yc!%6uJ|QFeM1f%~gz9YMJ#|iDe(*(2!8214Mw_CWR)(Sz=CxwY zpmad(kTm6!@)tB$uOM*y)50mdTAcoS#5#v|sMgq>JfZPR=gs~6AR!1x=Z}RC$K@A8 zCf~n+4MfPYn!q6?QSVG8VS#9q0` zGWh-T?d~Vb(N!0rW%mNvsB>q)r}9*^m}%WmvK~(BY<0`kLkGX?IpnTAW0vCYyjb*=Pk8V^$P=GYdHz+sp?+D(Mdn)6dZ?$_u}^;8g)c(Ka_-di%xSt;19vCda)@SuM9o3;iq&Nm zyitDL{PNhfYdu9yCHH^KRG(s7<>{vX;d;Q8*6?3E2sfy?Poo*FgHp_3Xt*7_6U>idh zF%QjSrViRX961nEzrIlNBPD9hX!!3 zWvGn;U>A(w5_~BYF&k6!XMNSLrE4@~;vF^|kFsU209#L7p`u#~cb-=KC_=43t_Y!vlyh|(_E0=h$`!&b%>=>^7 z)$b5~19@t=%StulmC6(A>EZ+5@1-cD){eaH7YF(XA(4;_xLO#tcE*-7f z616^m?Z@IrYLWbyYW*6m@>;1zV$F19!)*IQ$0RC;YNML=I<;mvx!+Yu zt*!>~zxP-j`7;j}L$)zX=Cw*@>miE<5zd=DuX7EKPSZ!*uvWuRa*y3~qA>k$%7eNL zoT-RWEYeeem1RpveJ&}VmX{GRQ~C}M$Ax1eXy@kPA8vgu?akcXQ%*Wpv%WHU=Jyr< z`$AJr$4^$e@?HS5<>0+36RkT+ty{ibGuM2;kJ@$9!c!GrxaTR{7>tNBk^Jl=7sfPZ z8h!1vlvsG;?wDgw7%$qgG`o|J-u`fmnd25dUFkP=)-C7?uec(wjv0sIiMo}EBEP7S z3@4nfyHw1E75X%64I>~1eQ2hcUfr(ERi}62BUKIU_*cw3}f{v*Bv zH8>heU&OyWT`F8xZ2O!1r+p9!j^B}=sF6T3JpyU+xhXIEe z$qoOWb`hhiFzyxZCB;+jUC@g?#1&~qt4((E9(?*|+hvYROi6uKY2TleI@9sL>I$A~XYbpN_Gyrl`!!2BD>yQzyZ7(iyJUV^o zptM@VQefy*SqrY#)9qbO=xEk3ip{rf$d`J(-Y=$hBD%0-?Tv|m#buRaNTb^kTLE7c zFv!h@#au@R{7&{7+jVJ|4(7!BVwWzUX(5ExL8@jBAWD2DZWo&lMh|csu1;w#h$S?g zUs;@1bUGH2F>q+P%ZR63wWn8MJGa3MYF9_M{xlVr#Q zw_R1OS&HPu@>%&@mJH*Sivz^$jZnOU5a=rQ6+cqOJ zQGddRn_D>lTH+Ab($44J(uP~+T=rc~;)1K>^0(?VW)2-dXKxw&ZkHW%^!(vdT3&7Y ze8H9}Xh9CKQ#gneS4sW)<6w~3WRyPlCWu4%hILqQ2w`Wq7E}p46a7fpLPBlhwB_3pJbsB``oeHiGe28;^PQR~wD(3u7 zro*2q?mxEA&2)RZ`F@PFhf_wAv zl+%@ZFPt(?r!({QA3nkiAD}!!SYB39E}*w1ZDd&nobN1vkXljmv&$+CWf~)HQMF=J z@CfCSFCy_PYIKRfDXHsHPCOH4pS?Lu2De>z9?&_{A_7ym;7{NU`DDSwqq&q%&HjWV z@q=#!jMnUKIi9G-D{(#Be25;Gv-M5js7Ja7K?r&I{bs5-c#^Q$siw9^Xxxyny1*;_ z2ZS;04{rIFlInn-GEaQ-NrBFp}}|zM0fX92jhd8WoUO`zMTm1-*5r z8%Um}+@t!u=OqnXm2H1FAE2W6Krp`f>D$1G%!`W1t?RGr-NFH(PU#k11-dmoAa;x= zK3b$zu+g<<`eT*tW5)E6fW8M7YsyY^>G*BC_8$Zuc=7CB#X_&yD!}|-zPVv?%kBoU z8k+Mf^tLg>a*uyLBpL>i-hHwwe!b|Dy^X0r|yWLE}4wXj`;i0Dx zkcbai{@MC$+!wJJl$5s$+d`jNj@c%e%I0~mRO_#X%j#kdxLEFow|qGxwNjI?w&-0rHXxuh~FSZ zWQVwI1J16Qmy8R=i4u1o@L3m)+g!dKO_0Z2Wtm^$l)2FZi73mG=_3oI9iNX9%y~rr zD=`-oVRooHAR*&#&j8HAaf$uD!kAP~IRL}-=F2v|H-EJELB>6WOExiN8+a$waIuH* z1AwsH%G=`1C*nD<1rSb$LCPsyjM|?8Q0++W&p`3E%GZ)m7gEQ|6j^L7m+f)-4x<>H zuV5I_k&}G#3xA9Bf(M|Mu?fk+FSl?rmVb;~1lly>-2CfpOTpoZTV*f!^Wlq(9~wF* z8m0;7N!7d!ZF-+D68sW%Bu3x6{VEr{>&jEW0`E5G(P;747KwNaF6L4}YC{leE2{uF3c0 zl1UUt9PV*~XPbPpb~kzAg6sTRag}<=QA&ECC%2*V{58B%>_|#PahYOj=jCNFPsdB< zq=W^{mX*+pg|#>#Vxp)2-W{6WeQRWml(>5ZjxlHVJ=Q&a--LYUtSOYs5Q+Kt7xuBHrxQq;DWo;6ilGgj0;_{ED~xlRj`Y^(e2Cdxu)r*ike zy~c-z!55YK(s=QYx6wZdwwAWo+|Fu#^+)tzgKq0pp@UxxIprs@PpHb_t*1C9A!Ep- zvG_~TA3HG;csRhnTP_t|JdR$v%flB*>ubxFI+NpZ%Wrn($-Uq%7rTr2mPZt59=~9c zn0xR^(wS`mf;W8MT#s1;xOrch>kArZ_~7Dev&QNRxhb=~Axdm@=;LcQ3stt*t^~N+ zX;hvZ%vkV!jsN2@#@&r|B)Yw-YrZo)PF z%C4f;+ajePETjWMfjr}(-=;zB*RKY&dAC48CRZl(lH+70Z-!>ReBo%+o~A(Uc~ z(!{MMkO9WW0F9F?!If^eDz_H6{CWF$Pf_*$i_15eh4L*9rm6R|P402&2|N(9UAS@* z9p}kv*aiCpxn*_Pu_!!fqb6c*%fSqUfpW5H?N9rISS-Y>>)ztF5wksS_gvTXZchj0 zT3*Yham7wzw_IE7;=WtjP0!ZqD|PBsoYE~Jt9ud9+7bNE{`H+_*2PwT%{bi^d8Bhd zC-B72ZEZqqie{Y5%@%tB-a6jh+aeiGPQJ&zs>L^aVzotcQsv2%2AiFX^m<=gD7Ky4 z62j6^>3wO(hIcGUKhs;}zU`$rauS3&@y??3!d}Vd#^p-?50?O>ZTax3ZtxNoaMQgz zVD!|BPuc3;$Ye>qqksZ!{!#-Ft!{xdVWL(I&@ZZ=*S4r_&%smD(7jQl+LkHsy2O^_NsCF-6E6y+uA z9_7E9=rvyQK;5yE&^#?g!vkf)zUeT&;ltq{Mtd^1`R~q*OSo7YrzYXYr(oEjKY#x0 zL6~pX^Ba!6e^u7_lm;+Ul|=D@pcaX=2#9Ky8Bnodw#TY6vDP1iM8_La#%rr&cT%YZ zesh=W*Gy+`E)M)z|24}We~De#0*f*$me_%e*g9CDrgDIX=B6J&zgpbkzuP%E;UYcx zi@yG@&fnXlBJBDjR|7(UYKZ4WZe$W6Tm?tE^UVaR2hS?vZr$CD(UG1oQBgAl(suR7 z{u5%o4_aP*?>ztRqul7s9Lx0yu#lg+(9PrT3b2jG<9hViTj-JTmx>NUhigI3+}s^s zu0OUF2UFJx``nzFb-;g%(-&}X$@MeODfas^WEZj#Y8NFc{+dK-u3-2K^sQ*`k2ulmkjRb zw4x2(Pv&;K?{@cP7A8j*41IZSmHYJQcLE2GhIgzo*ZJtaXBj$~LQ9_> zof;_yREKxM%LsV7A9jB_5^1w}6D_XY@}TiusjTNcTg4O^|55lp>W%ZwiUcmWbw6L? zy|x>#`-O-Z21NzpY{}}?(%jI;BE5W*G@8Ur(1%6QR7n^E+3Cncy#Ve zEg)aC$$M2Vfo>=DERE%@!BfsGmi@3hKkwVImptxpRZv91s#wn(8uulR&`GfNHz2>>*<{s?LIVS zq0-)7QChVKgu9m@b>$8*&4y7`V4nix9{6-3`9VrrDv-1Ye2zO2lz6tW>p?$&RKivV z@Shh!HT7lX2loRI#YPW49-7YD9v?+91?6!`^!qIa$4+Wf!1kW7+OeuPQzOe35>^JE zMYgH8EcqSKlLwtL@-aXaa|skm{tXn8G(cM2jwKS<+HoVifWz4)Mw~+)^^|+G?`$e! zk5@U9U@Wu_sG>pHar$fRSc!!UTcF*}?DVi@XQZ;TfXTherq(G?YvxY(Wo!9f=qbw- zs#*g@nz4>l<$c_P`wd8Ya;R|;+rJF@fl9RBHBIm2bfBm1hms2x0s9|$tJNU~pU8_`o1ej19d3p>7b)q`*vKmhlC^GUMHU`|AA75l6r#|Nsne~f90;t zU;Bewu$cP^r(}7S9IrQ2^jsPgVpwwZ?`{Z>0;$sxi5+@{U$6JCfT=26cB7s7wY90( zjBhv-{;B9|vs~W(4~f-I^NGI`$^A7hqaD{u7MTMlo$Tmh$CG=6j@`%I6;=l+D=NAH zRNJ_*o^B9=S-_x`YAue9!IdEY*5%6I*&zsEWT@zk%l?t8pAM%e2k%z)+8PD+UwPnH z3>4ok9OxXyV*M1NO46w-&li; zr#24_B`!AXfl_|C|MEC1b!<<-s#FX+)ku(vEMT;~9(i?HF|C-X#5dbww4T-qHhILs z+3Bi*m-5#lWCWYSjDCHhk38F+TXDO)j z$Zelp0Z>rnCl;1)qB%Js(K)Ky>2eu;8!u#EY{CiY(`EUE@%^?&zk~0(RhK_L@w})m zdYCVhUl(%11`FBNCLN?9KfYXps8YqyPZ1U_H-J-bas$zvb*#cGsV_xma65dyO>+b! zn1YGh>8hZ1Tz|TPDO@Vp^DrR$@fXcsAZ8a|^f^NrmHeHCGvZz7u;xGs9Z^Vu~mC z*Dnt)CSqaYMQzeE?lYjG=L8B5rf2tHyJghm=ltB?Ng1*_Ps`c0R%HdrFkH`*}9By7J}MRCKd7yYhQ>{kc<4O*ae%_bGJ%AoYs@Id-|d#eO!d| z3`qLr88?l-67zgiFbW|$47Tjf#_iMMUKDN{ZHMF-AwRZl) zP>NA*XOs9^$`fvOW$z29em(a8pt7LpUiJsn0MAI&z0>Ov1$(H0hhK&DGkFK3w(-s< z^9CzWO?B_`I_@Ggt9xORIjpOASU(YHT8dl+GdmGmg}nGQmES`?{p44_!%WnlDzM}z zJMV^9`d#$PXzi;&9#g;c)-U8KK3)b&W$x@eC}EW4A5vkUo-RzLnMo>)CU27f!cO2q zgRHxN-c;#%f&pvxy0}iDv4QjL<58>AFwpON?5Roppf~Qw)8ugj_g~W=??g5$GW1jL z{)+muI*`Xy^1aU-z7)5&eVgLRpqL%IPIhw66{(^E)jiz{jHd>fv!LXK0E;D#>v;Z2 zMU@s)J1#p)8J@L(;J6{W((9$!v4S!}^(H!l-Zg&ezI@iox|Q3T6j66Y?g|!$C8VBu z)LnAB=aj_geQBgl_7jCd>HE@;7ZkaxtNm}>KlLQC`-eq<&BzTH-&o)Sw!w`g{J6y z99okUSOtN0qlCZxUpc1dV5))!8P-Lv2$#hCHy|vyRw#t*b~;0;Ds#CxXwGmWg8_5< z4l0a{1jVBZnbFB2%*ppQTLmPQUSH9^$hl=Ji_G)nUw4*pA{Wru53|w;cHF7dPoQ}I z?emkW2mT+DactJN@%e9%2)SsI?dyy?v3~N?GXD)yg=@>3lw&3ob$#g=`*gz=L_-A0!RA zgKmMvD>|#2gO3?!-#FKnU?2mi@RMtC|LkT45>ma`v?OluAex;%Lhs)^YQO^;C-q!& z;{j*9!}B+{WOMWX*G>iuXmQA*$Nifavi=Wq1-D0~Q=h6G zFuLCk_Eu4^t$|Y2#4j1sv!K)qnC8ZZ2)b6_{y2TL0`9P%y|>Ej z<{Nga075&P!B)!uez?F2*`~X^Rnd~DAc^nGd+j< zRsrIL)wix&bU*%uQ=r;(0sZ_{P3SxyDtel4m@S(Bl>)Ou9*As}ok%j*>N9({=V;^U zT|8ri5q(qzs8XwdZ2to3)uk7p1saFjKUfLM*b^)zqog6`RFAas(TBK}Z%{#n_YY-d zlJ}$o+Z_j;-8b92h2}vMV&T95D3r2GgJ)BZ%C_E4lF$uK1*NG%#)V!=lHJ(g)y?j* zEK1rA{oH>YQ@(7KC?brVqwpRczBl^BqjxmdAiS_u{rTu-A2P3yk9?C%hO%HeXd-v` zc0d>T5j1ya^hXD8MFj@!d^q|#TQQ~vG?K@2oc`M`y<+rywlz&Qqv7Bev@{6;~MZ*Mr;guKHs*;c&or?Cg{Tv_B{-kXjSm{Ps@TIbIg@vGFy1w z072qMh;qk2{19e$ftf|_%McUI16mGZ}!y)m?@+-lr+pX`$ zCWgRZvs+2;t6yvTzqj7*nCR!P8=tIZVr}wiR55j|ElUZ9uQgD6xWkZquPX|F&;BaD3z0CLkG1O!u0IquAZi(veOLNf*uQT8Wn8zK2P9 z^KC~d!i>H!ciR{$bv^Fnl2l%YIaSTH%7F_A_EePympeh3cO|?gPVL47b=6~f8lnHt zkB=RrzBFkO0xgZRgq(g~zao}#tkN&z-VqUoOzV3>$o{P|6@sn0v1D|*5CY0mE-FOK z*?)mznWbuwVZ ztrdK_`;fJHxM8)| zcM?-4B!(07`9?s;vB@{+ewz(U3Qo5wd0LlCU<9Jj|L|<=><;@O>`H%D!}Fwf#jBVIT!PgmJ@P!95iDUG?^wFt+T|m zd{Q$j&s;Rk#u6TZRICfUAS>6hHLjiQvJIN<=C-Em)iHhH_wSPUgv}M zxwqZ;?;lF8xjx{|b}M$!eg%wN zuV`T52pwdssXssZccks=Ofofk0O`Kp8OtuppBb7p`U$je+rq{`e(s`PBkpC8 zu9d8N^F`2`K%?GExs`4!r^$z}=k}<&yOpjS%Z3KLQ*6$$hIqS{sbcrOKXRwSD4-C`2_qKxiqVgBho1yQD zT{MNBp1xkmN311R8VY@r*r&)%E}wI53OEu&-uv6D-lws~4sfug?3B%R?Cr{c48D1+ zqSrVt)SB2TbLuN-OU|eb|8=Aj4peh?)8^Sv6F=jvx!}jR;Rl{(s>Gf@{1Ee5?Tm55 z6(Qn06O}3?R)sFSCm?ZKcx@S#S|LVd4{wWFk`b>exDE@&3Ngdoz+gXL*(dq?fT%6~>c*Gupo3-c z!b5?RSmR}m&y6bIjth8HDE>vcm>!TXBtI%r`2YXX1TMdAfm82Tb~TWnT~a={?c~1o z>DfapB;hsTA589K66-LG5w~@P4)+ZIO#a-^+zu(Bjd2&9`4ZzGT+iQk5cDH0k zfobgPhdoH!2nPLsH{TyMzJg!{kx|-f!B)XK!Pm~;mqC5`GP_L+aJ6)&g|2Qk4-tMP z*do|AD%=YcDA0$s6#l;$_}}{k0D#j0S+fAl)`U=vhnR5xn&?*ah)Up>AdbJe!4;z) zG>BTDgO<3PfE!I@f>Mp|fl;V$*FhkJVtsgi0N#Z6YXx)zIdpWt<)(*uK!AsBRUPpl z0Qqegyb*Z;Bm`rfXRGd9;SyVJ@k;O64>$nr@pf9F)>$>DGS>I%F(POSVmGl+C7$>H z3nqhqr+Z?1!6qd|YIfncs)4(+-~ZE2CJGIMmy=(T;8}-K zKI!a5yw5mfH^~A-o84@M2<|-(8H##!S=9-z^j8fA7<1^JXUtE&VY$hOVZiDSJXYvT>fXzpihw6^Yl+31)^Oou+1saw4nG}L_KrA0fVXA~*zx&(Te zop`?pA^JcuC!4(n}lriDB9Zx!I@c&Ft)(5QNh`B@H7DZ(?T<~El=%Yj&%7LBk}VKZVmoE0OGvGMi`t7)u(;YC_5|EHG{kM}hSS`D6jstA&EnngbGQTu~LG?V6ORd}m zGD!!nY5-&tm7s{rXdC+9L!{YJOW2I3*LpIJS#W%+W$*xH2XX1IN-Ay(Du1<%iFXRE z_iqIJH!e846`pgy?Xm!;s$@+?W8aRL;%PQBOE+EzCER!ZAXS~peEE;sM00algT33( z&Rgi~ZpiXZh`G$=@^NACoa&JnH_+m|5Y{Z_-J_n>!Y+hwNFb>IVyLN$?k}B zdEk>41}gLc1t)F)_7<|ubRU>$XkvNi(0hUYBr(lHWu*yHVDW=e2EgD}*j>kmXYi*8Jx=!C_aAHg_u@9h=kvDdr+Ru3u`;QZuOB^%wgC;0_k`J%nDU&jv(EnyGF0{oazDEi3DdWRH-&cNEIV&Wgy&UfCjBMargZvR7u3J+h*#>{)im z_?@TEcm4k8^(rsD-_LVD&wcK5u5(@2nNm*{x~&vT&kbpyib7OdqB4zOAU*@2vFEyT zROZz00d~6dX5EJ9UyBeIfTS-`xgq1?+ZW= zPxAoHS+gEz9(i9vWl`(f_*Vo~a2JrQ{42oF6Vx2BcH_^V{hJH$pIzn@4{IS9<{^Shace;GeL4KFiI9UaEb}RKJ(GSFI5mR1Fc2t(|;X90T|8zx1@-F zXi29Ih5aBym@G49AwOk_vw-M-8X@nU=`Z#AcQzLn&<2l;4r|TB<&F=$6$7PsmXe|@z-euL_&-mH5n>Ht;NFMVdB`jGXdILO^D&?zobeKX`t3tJ)DXw{@74^s zhRZ)&I`;u9_m7XNaBT z6Fd^xGU(&dX5Rzy!j=Um{X6e=_XWYITlU9@enw+Cl z3@p-@1V%DP)+BIQ_q~DST^}01`LFFDvw=hnQ@j=IU!|oTz=`>D3-X&8N2XGqxx10s zwa91BUyHlZ0c0`Gz!Ol9=rqzl{zT%y_@ASc_!2yi3r+&`4f0po;l;J%^IGE)cFVHT@t(=%kc`iqh%>fE0I~f`vBXzuz zJ^Bdp%#^?$-G65`O7IvZ-Gvw$T!=(4ch1KV(S|At&I#?tL=K&9$t}Bo1dRb0Ob9&6 z9QKB2dQ~ujL#M!V#7Ck&Q-)_{8E6RXk0l^s**^wB_a_S`roeXI#6 zC6lNUVFUyb5%@ae155`m=4MX_7SH}(Bkf)^jj$@9huXoqfp%vDb@XjthXDA~_S*q6 zLV{+~&-(R`!Z-%BkI+5Q_8HC(!(9JA*#GGbE;byRvjEatzB=4#6@S%orSIoNg>r(3 zIJ_o{&sfvqpeieb-uR>*!q+|m8uWv%=Pck|K=L~pSC;5~({TZ5Csfm#?-BJ3PEpRY z$Je&}&wu+Pj0X;k`Ht9Ez)6t>g-Cyth&#k84~SCVXMuxcBCB0)-X3vtU@q80$W+Yr zVJy9*a7(8R5Z{O!cFxLY_4BXY?DCnHkjpt{dqB~EsQC`C`$pC zCA^Oy$O{ZVqUdvH8{O7*Sz_F@>*T`-34NaS#moGJjtBl@{Ox3(8ECvX*MwNZF8P!I zfif|TLBuJe`*G;jF>(g!du|aPwS#Qn_5vlm&|HCHo>W<#|AOBYt0G9P0q|hR?$GBu zn++z?7W4x7p(-E5okjhWc6pT+$$yDQe(HB8?y>}YJ4Y-k018)wmNf^C&<}O48dKty zEUml%S7>hkEn=Wgf44}l%#><5koSuB zanRbl_3@G_>TBUWjYg0|P5UuR1Y_)=;xrr{OD!*%@oV%2%K)`xw1OF^&GFZ6zfl38 zee~j2BV0kEJi_#dNbG2w$LKBnn;lu8i>>TfX;0r)4nK>!;L;q@A zNPyNI(+^*)#oBz(57puDEQW5n=vs*#;IR$DL6S=fGVjMDJ}l!Dq=52Ew2Cb81zX&( z=UUB-pO)hs;^h$&#Md%o;&=2wM>5cm4+j-tC-t_Yo4oE1=HhIedtlxL43|RPVr>gV zFf-{nAHDV)Qfr~#gr3)MsW4LdnceFp#d<{1i92d_VlTahkRkq+&v54@n(caaFVkI% zEUxG5al^L?k;()xFig3L$+&rM5K(lOnziYbP7l{SIPM3jC!t%5z<>l9s_^5Z?i5j% zmoieTZ(odXGIbo@ZIdqm3@YJKN!_)E;Oxaf)U58OuleDwD3oF+&f7b)nQ9U9TjJzQ z)RfscZx!6KWz^>yEiP!OQ!3A%K%=PC%Xz6N^2 z?#pb{g?qTOKkyY++(acO73+YnhnS0$9Q1t7R&H5eDKWgWw&L}lV~h{%mf>AV)=Z9BT3ABsCX0O{T>jFXrJZ@RkvPt5A)9lLl?UcG`cw!>z;jA|X2 zOpA5PX)mCTVRoK>CliyRCW<0;N<&j9b(?AQsp)192>>x#J`M&urHD%PC!5b1b7T}O z<~M6ryy$EwDDV50A!62e8d^-}1*7hNge8197&mO!Jp{$6rnmd?CLe#?y<~*(Nqos< zKcrp3iS>)YW>4YS)J7Qk#O->!WTezLS4FLOH3LUOb$F??jgX8>;S={8jI6c$cnc5v z@5Mk&2TBbyaUzbrCi7&IX#cyIY>o`0kL2}M*~sq<-d4QwSJ&TqmH0F54Bt1}TfcIv zISSA@?EIX1rt^+pp-&W3xBcyoqLeT`(nk}hjfh8SA-@sTXRZ%ARPUl52KiuVn4|tezTFzQ< zwtpL?OrCd-Y{bS-y=Iv_EMsq8P&)VfB|O&m8z|}bDv=7@J68@=YCX~hnsV)?VS$v-c@_6 z!^%ogRF6B?T$av(FUO+SIwIEZx)dY}Sc=XcXn(m{T9(p9D!Q!j~$ zK4CGd?zX%a;#x16`H!rc}w{#LZ#{zc?j_F7fcW>1>_~H9F7!Uu4!H5Hkd#byz8x-@a4w$8I>Mk1^hs z)?>F%xNz5O9T&`P~kh|B(CDD4K;jO=|b_Z;3q z{n>vOZ{0lMJ3GGmarIzhk1o{W@15T(iE;y}jyl10!chmwYht^D!4(*Evq7PXh*)e$n>XM3U|B?v6v zKmnW<83QbZdIutV`BG-%i<@nP<6*bI8^8gFffnwWLKGj>Ja28Ma-@=A9#|%qVqv$^ z@y0xG`_>!5n-h88KY%Le1)k+w9aD*%QepdmC*G4|dzV}$uQ70!zA(m5N*h?1*|55~ z6_X`Hn5I!)-nojq>guCUz$Aw)+BdLzz!V}@m>G9pH_49S^4D-%Bc`QlR)s`XOK)kp z21aN6>o$$Wj<;_NHY3c}zp4zTd;=WA_LMV(PnR$#xa-QOdHc>Iyb)2CrA~nHF@m&n z{j~G%Dn{#lf8%gS+$|#gLgwetyGVQnDWi9MdYI1q-%*p>9*;040NkIGCS#aN>nilx zUBdk2S+H%jTlX4 zz#Ex=nXpmTE;;$e?F;9_`LwG{ol6&eR_TX^&nr0N;``&H3eOD7!)U4+!8D8|#?rfO z;Y>HG07dhI;FT5ibf=|>N@P`L6qiu|APEgAqjYJyti5oMj&sAiuFT%t4S7I z(E+$yzf2hJE)Zn5BcR1qv`UeGV%=D3igD!s);AKhdxDH!@r2$ZxX5c_cq`DiR)Y@EI-`H@IvPuU-lb-PE{9h4PD|u)bg6`D3KjoR7W*P z{|aHX4Bxth`2s!jC_2$lrX%zREK?cm@A7qQ1EH5aIsRS>dplFAjF3w~v1n&KE&Xx3 zysucUm=0n2>mGaV;11e_gZSP#~dd>#^A>-OR)L`@W4V<4m2s^r3KJl1#hGA(_?+MMAn10GZSaBCsd@wcp z?O!TNV-@Ku`O~puC#DsOg%5}GiSsH;-8T(b?v}mQ;nLjBM3f*LH}sg_jv2ICAy!bC z4CZPFv#BN4c65#TyqcMFB_Do1M`{G@6V$?;DfIMvpa;D>N1d!+g-&$95}5++jwS0x zo834@c>r#t?o`F@%ey5d6ZejBP~=PTzR)QP2v<+2CVe&VT?WUJ%)R_O_e3+nxr^ns zKsyT30eAHAD#oepiOaiVOf8%j;y8j%K&RF9#P~xu@Ct}XVkh{!uEuR=v@25HFM2Z^ zRJnh z_M34QCeH4ahkm^=T6(b&1^)8TRwq!nMZe3@ee$8?e)xCBdcsT{qnu;8(V#1$N}Zt} zvBKuZLV4QE$5cKgq*2QXy*J;k(6{>Rt&_hS)@u-I)kR)m#r#dxtqR&%;0{Jo+_+J$ zM$RgbWp{Sk%}LV<1)k+kL&vV-O@})jG5&sXfo$b5sAP2N4jWnHY$XDg{wnFg>6ldU z#icRfF6dM${(gM7%-mcl?r{V4eya5ORLHnc_LvBRpXbJQhjs{6oz;tL%}EDxXhBD( zzbU)6%-Zl2zDym2oz32Izd)V)J8b{b)zS9S;WM0dN@z4tlUJ#2NOuT)OG~4fiLL7^ zEKMQTIma?VB?rmO@W}k^n}P;}3Zvt#YsS2MuS;)Ti|cD<%%3W{nRgyG$ud=z{!y%8yJ|u`r`PEnxN!s+y zgf8`I^o(!CPvY;xPuMaw?4JDDV|Pj#W+2Z0RsmXtW@(U{9jw3bsyf=f+B|ZSa^~AR zpe6C$2K~;y<192PNO|)#lI;4nZ?RM4cc)z?V;IBmKCLYFJHBC@PmS}_@==NP3-dr+ zT7bQn^TfX1Q+Dv#^HlLZ*>8R8)$kgl{06qZ@|zdWcAF)?X`G$?HVeutJ33DlcV`R4 z7Z-D1$yl?H(@timA)Z`1I+kZLjtD)H4JykzxW+UA>K?ohnV9uI^6&K$IIzVF7{=B8 z%T^Ck!UGI;Z)i=t+1#Z$c6igDEBLF@<~&zbcKAu|pCUKr#u$>r1(W4JUy3~(_`XH| z^HO$)q~VFBe!S(+*USd0JOS*96cekU2K8*do+7<=F$Z_JOix^IaKn;F^;$w&wlRspIFGv&iRT%2v(Sv zm1-`~)8n1%eRq5Q;H<^-h2(|UX65~h-&fzuv${N-BJC_KyZPeUGwkF&IZ_p$M*w-w z{puRGq=|BRUijixYGuzr^`YP1i>5zMlt-I0i95Y-ym56<*Krw?V4dRDr-eRpm!AfO ztU7sDbs7VCU{qzuEuCww$LKLGswhKDmjY-ksZ{Tu*a4WfGq=#i;an8z7Kh<%G{dlU zpW_b2D3Kj&^IA%byTKDPDVz7fSC(KASABOuy6hT4xme{oir%=#m$umQwBVw*n_$D5 z3?>KJDvQ_tF1_b@45I%%3}ih)s7g9tDcD{0sBh;kijwQQGjaTS+k9%rIsE7PsK&SNveKp&*ueR@4#7 zs8DROsm9BaV*3MQmztvS?RC|VR;BQ*=|-PIOq7!~DQ6CtulL{;Euw@)md(SyFI&Fx ze?1+06jA9r;PFC($K!g#`2O5>_saw{yzOZ^xFa#@a5-HV{MEcKRAo$Ms9C6&^hHGAlu7j$Q3WBtOWe5t zCyD+k2t^RrgEe%%R84ozavMC$@Ltye$E5s6`JbYxyGBV&!p*oXNltI?^HrA!IF?+? z!7Qg38dJHxA@lvP{A(a3Ytzfrm=STa7sK{&v#S^{tA@1d*Y1pYH(D8+O-hzdNAvxX zi@I_{H7+r`IekC$vfiO_6`qG^sm=FF8Flwp?e%HFCLN5!o=&viMk6y;L`{nuqv~P_ zDBq3M59TisV3xQ2$}7F-Hjg(zXr6oYj$_xVx-19})ZhVr zzKyzlPDU@dUvdZ!T`pC*7fdDhW(3~TOI$OB_pS{S-A^{3jFEXtcYfF*efi2;gCre+ zl(|LSy=nG8J2tFSC-PVKKy1dIT%&YdYs#!e47)3>uG5uL?vg5%sqt^q!>u3PUnito zLh3S?--s%^h5W!vp^TZt|nrlB&8QC>`Esb4R-`rQm>AAEW6 zmhkbL`$?GP3^DIy4uZW8o|sFykcqD4WxoaHXb|rZB#_2wPY(2z%aZPASSiLM7M+S0 zh8I!mX!1FLv%pW)R-2ZIW6k=nL zj7A;jEYEOfclRmszC$c9aM5pXW z9DI1UV@U^Nq8GPniPOs4Pk#AcPB(K+j?8S&mHX3TVM9?S$wvpB%SPpvH|KtcpEiV* zn48@$llk_v#40c>zw7}g{)YM)n{wQ6pY#V3ORcx>%!@7`%X=spORW&SYzmVr*?vx%R3qMQyvHfQyR4aw7)9Roa!3`Om}+mbB{!)(yUSF zLw6<*8L=x7Ul3WzX6LwzbH_4oNWy3rTz7dPP#Y7Ldzo1-rGD>{{rpy@{|^}AlG@;m zg%>jD6!u0+0Ar_Ig-7?t4a{<{nonZ%PXhCK2?y^9iFQVz&VMn7po_*aK(BtUSoKC4P(AX0CSL6c6zUML>?BUG zjuvF6}Yr4_F~P-y0U-=z&7 zpc6xCW8cs7UcVP!(e30df3{L?oyhLo(@gV~78CCX8Z*#7?ZI&#v@%FM5RqgAYoH!8 zg(W`Zk(pS^Sc?+x^pKAD6IoOa)4$hN7685j{!DCt@B55uQl0a=s1JPennes6Jzy!J z1GGJsJlx~&j?G<&=0wlx_!F7NODGleOZQe0&$$6Kwv?wKvi~jyPzass*Mjb4@lq`G8n_6N}1h_5pmL`En7o zSA-eTM(D|z`Y$QlZ0!NSe-L;Ic2kj`{_~VI)kIM9u-^Qb# zq0He%I=yhcEH;M!T*Z}ui`YX9gff+1K0!}}4bis!f#P74b7?C-H?3fa=VuIx$OXKh z%VAYj8l>%JaZfW5(Q2q=0$rg|^ZmQUXI7h|MXYu_Cd0s#s^W4T6dv{~EOzI7I4(Jj zD^z#<^;y%DT`;<+T0O|eDJSI+VPklBsi2-+|KO+hh{+tPm=9v3%ao6`%9*@{^J zty|fAElH(?GWMBLN?M$H&8yRgF5=J6I-?DFtO2;UUPC8*KQ4WK;sOG|r}gWPL9|!+ zwL5{caI_=q_^dP3aD2c_Td)zE+J3GJU@a43W*C;8S-tsIMgE9a1PP8(V@cNm>M zYG!pD09rtc4>aBR0c2|3c?WH+ab0O6R|J||ZYP8Cm*l%$e~+c~=jdO*E!}PYlF$WeX|DS@MYK1cpsbinYFRRJD^dh?k1h9EpL~uVEa_)LcqejuJ8!&Mv-P8GF-H8SW|pKn`s*_%I}W-b;wDo>hdSg_%3O?H zx8*JUBZQ1ll-1$PDb{bx(CTevMl6+njkI+INoVc&)0H+3@5BCf54vjbc%IyebO6DGcl%@DN^1A0%S*_eAPfW!-J-liv!_WR zdLeqhzEu@IOfGtoj8QJhYxw6&+9*%siNH?|i$|cwtxu{25HCTm`djdPE9N;ib`;TM z>AU$1-fPPAnd<-M0?-4pAs=xUYAY+O$S4dsoU-=cpx-jA)}zTpkx;AhF?Y z+Sa$ibHLFmL{rw}(!cthL&ZguH{n!Qyf>Whxc#>j(>FaaXyJYf6H#SwB=0{Grk`0%lM;Kqgzll>#vSeYMqct_2TCstxjy}l9n_k!KrV%7Sjy97oA9Ye@# zp>?{b+D2*q?Popb^N8qKvY9$98oGY>E;U)AQ;%j4kB-)ynZ^6z@FvJqN0=_KuCMT) zSw~2(x7k}Ii;Z4v6*w{eo}tCm>;61749Bzjz;Ls3@589T(l(oL;jmg<*0WAg4jb7$ zd70e#=t~iH42KpNqRqdRyDNg*n(wKF`jZrF_k;|qm?Mye zfz-@)n84o`+NtF>!`E~!dPCJ2ROrR^7F@O2u%8whkAy096HsW$+8d9=NIA_0a4=IW z_mxO%KKcW}@ot?D=<(~iGn>IXuv{+bHhDtPl{wjX7UEX``!X-7YfRc<@E?a9w*QtX z2XkoCH8wV;jH3nAAC|b`iF9=obC59@2PH5^Ye#+u#ZR1gz_G9I5)l=j%oA*x4Xfl} zyPQhCppAtWCWMWJL7HF3GBXvjs6U*wn3EtzkdZkV6hGhGc!W{25_y?D%XVQ-mn?)g zE19@2FFkUS6{i*~E%Tk-iMy5Q++G@(E<#p(&wu%V0sZw!AZcLjez>o>0*yL&7Q9?> zE^fPhAFR+_oU}WDR5~d1TI_%UuHuU#0x!DrBLx| zxo9UAjUKQ2R{3p#`42Fm8uQaGQ?a7tz@a%WzCJ4_xud z;h-?k)3F%s?V3(=19fl zQhK@r%}nRRqI0CBjuyyT&%hd^+a@6I?I#rHxj9ev%DO+dim{gsXJjQK5!^VWzJdR^su}14t@aNW^yN^d$}jJp<8MDT z+#jzKl}Ed`UTYs*_+%kg_E0W~@%Yj~_?a9^o{iZ#s^K1vkV8LNOK2AmU~+u}3@vM^ zT753EbJeCQ`-=>uaG%A>Xz#dY^T%ZL-Nv(Yln64iQ~2SAF`aDEzU@ZcP%f?|-83rO zZ%NfO3(KzMR!D!8TdQ*p=W>1?m4obT^$9>*Ss|2J3B)FBAA-@pcF=jGkXkJjAKyCN zKA#}-gi}w4T>@ts&Pro)z2zm|K*T4a?;JFMM_`p0%N}&?#2kns#(^na z8+U%84#j9_vN$rzseNc;o)!2%A?xg9RVrD4l2zyCD+G_=e%!K6}>8rs$jd6^#!+jn*S&d0F>JO)j{`=Y0YDv2pQFOLECoowkT>hL@?R7;~sp-0N zWW1v@=UBI_jiT)zmumq`@a6zD9_bB~Bvm5``~19NsU1c6@KkPu`7+Yo;44 zo)ucwRZ3>!*HLA^dlFN{JqoO&f&1Jcc&RyMR<60$xAy| zy?6_Wj1F!Ij8c^zL^V@z)#(yZAW+ZqFVRdM*Y9+5wpoa9M`K?2N9j$`@BAFtiMm6pL86?lEbA6W@Ih1ea=scQ*42-7YYF#np|ZU(1Nze> z#f?H97S}(BeGsM3$msjR3QtQ)BmF0`_rM94fnnQ-0VhL&h$D_K zV&kH3Sp5b_50MfGEEGPvQimm#Q!nEzybwqksOygo;GSR%NLfHkv5XtQ%1EJjEFvtT zE-9QY;wOEiqRiH;@DSTphLq}_)ZuJ!e4l9b(4IDGzS{yEV1l0WPJUEGE3DK3ObU2! zTKnDHDHu=jsk82KYt|FBPu0cC4C0JOql=S2A-obMG9J7}f%E2v?kSWyAXVT-zw;UF zTb#-e=Y_vf&Gr_gt<3txOyu?&nEVuYt+sZaWKLeIrVST1^a3x@T*mCU=rj3I4XscQ z{Es#Zs&6m}PpY6EVwCqW_aD?|M8_TgofjiLAQzolgg6ahd4Op1+M(;iAB-5KZ?E$> zJ3Wdr^u(Ptn*gCmC%`ksS?GU1fM4|8 zgC#|u>({_+4IPq9NGc1Ah-$V-TlnV?^BW1E1v)RMdOY<&RZ5g&JYS>`m=P)exzwV9 z(!`LU?4**kWkdpLP_8~0Sa!->$h`g<*B3kl3z%@nOq$`95=d`hMpr}Y(Gmu2=oZ=x z&??FF#BKB%a918)Us^?+l2R03v;U=!&r)2tkHL>M47!O4aPd$bT&9ph*9$>U;Es!p zavQG;eboZR)H?v63V7IUO^|p-D$}%$5DASPryKFI!XA?0Dntf2qEl0W$m#n&T$4&= z-e*feaGck=K>}~2eLj?$x0LAm%*@%h3*R>xD8_$qT_x?4b=LkDBRh`e!hKBs2=)7q z+sTK(bgJqqPt6tym8kPugvVQY*BrX7ABE8jQc$Jf9*+1Mck_bPJ9F2+ByFy1X4O}vFuN!impHrLVC6Y!fMLvJL54pAu?Ek;T95XA%^>4R;x2EGGs#H=7Xz7J&-P) zE+MBrn|^+ht6GyJ?3m`Q9`G+OR9j$}eo3YaBf*F5)e0Zbmlo?ggV+n2mkk{(|*OM46bEB(shfclVBNEz%K_~(-X_K zCYP%L;%HlR6dAJ=4(JG({#})m^=$2Y%%$I^4<(UnuLXI^1WT!u5RFJ6J_Q@Y0r>6} zc8)@ZyT(lKo_gs*QMCu;3^!qLRc+K`9<+<@{TGQOP~guM4;IolOcTHSo&AG@1tek9 z!`7Re=)+WGbsM9B55E+XUh}#?E+G#+P)rGM9|uEBiekhr+PZzXB!-h10paIDw43jvXmoa$V9r?paD*U3>KeuwI`hVe;KZzMbEhYR+1VAK{yas z0R1xaP+A~1Es#5-1COW~Tybui_-?ny#fB^)CT;-&z|l?pLG@Nwjxp{6K05_)xZ|IZ zv0^=AuSfV4IQHb6hlv8P_wERGFujwjN9(u5@6un7tey9*Z+dbVb;KD^L9+Hc#6xJFXQ#!)7|cb&lq&)d}P8 zbu+_t)3#zBR%+rc0HFYCCgTN&LZr7;9eywctZbKc&~t*?#j+MZwUT?wL|1`cwbwwpO_F)#CM35H;E(f|zO|xnO612`yTr>)K*f3E?oKj58G1X&!=OF6*@yuQe&?k-|=x8ikej(H6xUD$y}39KY2 zx8s%kJ!=Q+Ad7kcRG=>mT*@kl{^)XNS<=N!^3E;7td7nHseEQ~Tq)%5WPi>y-|vQg zcp|qH?3OISO1&6Fuxxuh9kRR6&L^~jU^UW!%NIl|c^+nf0zl-~ny#en`rM^A;B@Xa$-GaRl)v((y?hNmn65KxhG*I=l?RS81+r@CU750!Q@gG(CC3p-gx1SAOvaChS zn|DUEG`h&|8Ied5Df%k-|M@#@YM3;ft;=QL;CL4GtW)}`+*|zk%n%y9FDM?CyVU#(N>82grQ=^ts;FMo>Le!p znapU(aWls<$LMUp(e3MZzgU;)ih+q?1D_|qcZ-%6pL{i0uaTOm8aVsuHfC}OLk0~a ziV-cCRw`fKB2NE`-;YPIING4g++ru+q1bL11#AH69MSD0KK+0Qin757Nyxn;Wj@hhC`w4Ci)Hvn&3s-?X=%X=ZMqXCL!e@;dF7+e|Q4xBq^ zH~}&N7=UOi!d4>SL)YFE3e==tfbnp5!PM0TXy|k8ysX%1SgC_*KaHmOEP?#14S3Z8 z9*SutQBdrwI)JF+_A^bXCCz8v-yg^cf6w#n!jbfCwJUrM8Fhq*py!l7Z7W#-ee0vy zdl;Ggo%ow@43Uag?*E+nP9i^vqWz(^wgAyN_3qufE8wVjbIn%@x1J@szlx0JhOGkP zrTwr@cxCB|-#xq_`Vv#ucX1FTH50k?KaH^b&nF9Xg7T376lFm$dTKMA(SbN-i^Z+{ z1S`OQ39_Di{tUyr<3^G;(1AC9bLstUhu;AX?l+HK5P2WAO{jA>WRm)Gx}2SOiBH6L zSfCHKS+wAhGl&KE+IjJ4!a1?pip_BA$_)qNo7pa|=D-!tLu_T5i?F9?e|Rh|0AEw9 zBZkff5~b>%V2A2EN6$&T4}&IjS%90G4W#a;P*6PLl;-zRL-Y3Rx%X~J-X`vd^B97a z!dpwCNz`+e<&B0qm*t^H?;DjsfTvM_T1mVt^i^YSGv~-K1%5iFJ2BWtaczcQmS{$^ zqj&{K%rANGONoIhezKu+R`SBi4@nChTby^YORuP5Ajxe=*SM#E%YL)$GXWF3T}jHP zo_%hE%5Wgqzi{#z#6iup1*n`QtE zU7!}`<@eNp3m?!+xFTm0N6qs-w}*GV5svHseE8l*#X!XS%U-vq6o^(5*{(b8AnEH| z@t=DpUhTS=|L@X2JtLblafg(y)+@f%2Nv7sbHNC)L2!e4JKh@bAoa)@Utbgsx6G?^ z=?6;vr;FW||M4&g5gdK=+nO*infN44e#Ut4?IZ1sThx}0J_U*TNW#)T;MSbJA z_`e^$edAMlSVKKg%q*@RXtfHUvBm zQVyzmmXMy|USF;B8;>Z!cbLaPa*&&c>Arvr(f!A{h75a z7j!WGe|Hag+b5X;Xtx!qYho#*OZJjT?_s_EDz`+p@BVZ0zt;%kQ8J-bF%0uk?Ozd1 z*=6rYF!QSEfU?NYaYkNvU{NIxeI=flM?+w@h7U$@V1vR+BW*1B<0eS}{eeg*G*J_>OR@SD^+$u{J90E-Nw!>eNNjAZUxO%Ke2dxtFnWleBM z9qbdnX{UoBX=k>>G7Pp5c|eTagY)3{E(6ESbhJIb+%PJ$IAq3;S>^HXUyg?QlPI`A z!Fk}CXuy&A4*GT93$XurkNj>X?!)R+;gh%^6pe0$Dlg{) z(Dt0rG%B>B`8p-ApL>iLf>Wctms4x;gCduAKl3?E2_tgx4ky8Sy$C%h;cedqnD)?` zSYInU{&B%82hO~^u%(b}xOy$fp_=a~(FS@}dvJ9T7{MDf?j7Vm#GIoBtI!WCAlviC zZC0K)Kx1PgxUgcT9>(_>b-wB7PsYFxNodVG9tUFhfalL@^i!c8DqftMKQP2n)%xmzm1zVp@nDv#Kfggk6oy6R99m@+wZ+z-eZ-fk| zdZeA;BgM7*{M+&b&8A&FP3__th7xjT=aR4@=E`b*M5wU~Qzu_BiMVX9$CCGf2SGlt z&MNJ{3rV6Adc7QEUO+c|V;v>C^lZODJ7%hV>~Wj!GE)-&1H3*c-(U!me>(wQeY@g< z57sp12B0$UpikC<`lBvghxeF{rK2yhV#Dv!yy6twt}{fc6ce*3S*x2zN~bW|MH6OG z&2dE0C>SX;J(zvPQ~=Ic?hhh8WNJJ^PR@P67aU_1OpSm=w?XII#46>x1rE(J?$=i#PVlt2e1G5Xcs2L&(Hs^D z5+ppijp-Hrz#G~u?g`7UhH}XL0}udyF1?J<$gyAagFgD6(~F#nayX1X8O(wGbaN_s zNQE&Ynxs){o+6_XwdHhtw8tJ2V~rj=1&2p=e#Hm<9*iCNIs^fhAb5k*YdK*%`V=zp zY?#5(0uv!u)o>3_b}=i8RY4-C0%l(-zmLmwi23W}(7bDd?nKJLwHB#>lyk z72wWuVBAZfUfV-#S1mQ+mCP7=iK-~+-;h%Nziaw13!`_!4t`EWl32nu!SK7)ZqD~t z>p0M(5~a|0?tMD{(|k_jQb9?@UsV}GzqV2a_(<8#5LD#v{`cO7DA+V*8n$$5oy?*X zY)8IA3TScNU!qY*#mVBH)*#sa3`2N*2zd^btgcp;;GG|0ca;&!_#N214*@Iu&&d!i z*x6ve%p5BrM=lI0 zJxseH!7sNutp&{VlQ`3~|M@9j=M|d{H5k^F{0hv#F{cCv39$6(;>W3Wd0rx2wEsN5 zx3WtF@}BuMkj{PtaO0~NOUTAVMdW+h>p?}YJSC0?)UJXmb)~$;taD_D)H^S`15$#A z02}Rr%s!9oWotad%}>HZsEP(KsU>0V1TlHYm!Z67jbx!{tAVuJ!?_w^4p&w`XF{_f z!Nh0tM!}tIEd27hZ>^|8=0P~LY`|V+)o(suz4AvahIhz)iwQXk0%w>AlaFB8_ea_Y z?XCH)9568fob0w$N;qXLD zIRm_$hM`yTY$mmpMB>5Y@w1Qas=S@?m$ zX8&_F&|y(>FQq%v+&9s^w$a=S9`-9>+4quJnXoJ>rmFG8@l0$6gRp+J|IOCTbd&yn za{-b+Isfo|bmD9AD$HSXuJ+4}3B^ueur%%A6|=GU^z*WkY`vrHKhpaGt%_LXR`Fh+Ab1mpH->dycziSh5Br8iTdd+ZpO?oG4HKE`~byBf#bFEf48ns zXT#_okZU-`tlGm9rBc)Gm3F>hB}$d_p{QSFP7bexTnCD8wt8ecD-gmu$06%{_?`c3 zjO&}Q)tZ8hI+7k1M++N!2e9X;W=ir#LMdz zO332;1|E|Lr0&nse0OfH=*Y66*)-a;On=CzDbK@D= z1zc1M_HMYp`PCuJ3@P%~VNR%fl%O?m(RKHk7yoDridDWZ*#(&}cnp1}_DhTZbDzSU zU^PnY!UV?CZvXm37szWl46C`eHK;5p1CI3+puw|paqk^m`Qn4z_Ed>ne1{*VI!~9(^r&he*@^lg@2pc|lcd&MG;b3UT^<4Cr`m zt`i|_1U`c+H}931D|*9nwC6DLb=u-#2N%Wgfa_xh6x72oIbjsHdsZbQOmvRMF%H5v zcmX^kCozrNUps^Y`yJQ`#DLryJNsR{D-^If(CmwPBV>;^b$Jvy63k!}?pZ97%E+_) zr*uP~C*Tk6PvE44A}g$U%fm#GL3t-GG^#V{^-`uZ9^yt^JeOx zhs!DC4frC1tJeLJ5geEq%qFz_BfWNdR+6XZBt38{L!1$dWrIY7rzN8D z6ViW&tB%BQNdC=Z5XtEE8FJ-Pj6(u*zp@<|OiH=C10c5Iw>lSAaDQ?$uWJHm2QL_Z zDrl6w+`Z5N#z#;b%L-QsmMdKhrY#bJ93vahiD9ImM4@S10Nj`v;2x-LzbU{0{SINF zkD~|*=)9?}R=>;V>r|L4oQAVBvMSCi8q%f;ytWh=>?Y=OP;@Akbe=Bh<1XOyOs;sz zc-)haD%sQo+Y2_~Cyn2}MxY+w10xj(DSOW|_1xx@36d>Vaxyf}32?DQ_3RH#J`tTG z69x|@=6#UVXcZQR2vRmewWcF3qP;EZTBgxf6xlP(aj*67us??3XbJ6lj-AZYRM!mL z`3RM#d>q<&D5dzLSsENiF%mBs;r(M=S1pYfdL*qV>_T!Pw9@Nm0Cf*xe5~L2UK5K) z!9`^k@N|?=5}(Y7@UjuV>&I)&<5e(!&l@_@?O%5!1|pZ=@4V^My=vET*hQD!v1Wv7 zc<2X2i(#tyP8u;+EoEM6Seoa;#DI$zPKZ+-Q|C-SNSlE86m740p9-oG*1p&WW9}NY} zYYhi*|5br+46W#=28$*tKD_*&n5{&74LaKhbJoNPlz;?N(5o`nrmmM2cEio1o&Z*0 z9@yM@-qgSD3rdM$o4=$}aI!x?Xzjw^t7;@|#{e3$1G15jWd{ zZxmgk`D@y9LZj>if!ApxIB()%aBs`e<_Pq#BHx#lKj=|{CJ?E3#kLV*cx>_WF>xb* zpxCbuzocvdBhf>D=D0J+eZljBRj9*-kFj@dNSn^FJlJ<#1&-pO-TWVt{~u14QujRV zZ>IV9!dUS);vPJ=U-O54tG4G%9BIwOzL0j0aB6R``wEMzmb`$F8PpzR!!JROBX>eT zlf#Mmo}dIUrIzIc12`ZEU~e9JHv#JJIw1Kwd@~26uiQEJw!ZG)ej`Y-yW^C1J3!ba z(82c6Wp1&RoJ1>#+hm`U?rF@D`;D``H>grAMiE3{eGM}(mnW*)+Y-A%wQx?lG_?z) z4AyDlrT68K7qE2yYi^;)GUphZb!>|vR&?Lx8w($bwE6SO0D9o7^y za_oNgbX|q}W(M}2W@JF!7b*zdl?qMc3Ddq7AC7uARnMv?OX%Hqk7yd}swPI;9Hd-s z)(<;>NZDL+VdZd9E9;r~|37*;M|lBKrYz>R?X-hs^x>;=%X zF=DV?B~cJmx?;)dqMe#T6VhT+X{l_kHp8mqk*?ci&T{czCxdUO#?{{A~cA{LJ><_mfE; zB5x69G|7=UY{`_>%#RbFsVv_s`A&JyX=e)LQC)P^x|48tUAE>h>ZJFA0=Fyg=K~!~$PRLRSC$CATB?Q8cRk--l34li?|%p^ zHw<1`$XGhZ&~enOx6?ccDxj=ks+xzwwN}pTC~_<$m36>746a z-|PC!_xt@JsbAamGmIB1eWU0lSPs8cNF}T-G5)c_@4m}5Y_^u z{jD+-6~FMZo%-DTSUf#6gfn&v%!OxejGvax$BN)-wZIFj72lmdr>FJamcTsvHq&%-C79)4>2R{A(G4DQt9Gv3oJwQ_Og27r{1|-!_r@k)TMrb=1LhWZ5 zq3}rCF<%P9H1&&%I!~uSP@AR~_+DLla~CQdZTyR%QV(NK*GHezvguBD_)CM1ab9m6 zGt+K6xbLWS=%IHQR+%+slzvO$)LnLb23h7pr`YYW{O)kF_ecd4N}E#Z6k^7+*uS0( z<4-^8=Z9Nf`Lh_p^5>3t0j)DhJ+;!?JS1=&dL)^Q)In2pFpRbpxSzAVq3x4&J4Ac*hMBR#=>vNP(!~?bA%k8!r&gdM zu1t0K;ul0Oify(ZDdJPF1(Llv(r@UlVYyMmvSJgTe68hWVfeN7_Hyin5PmGnL2sW# z7l>{aG1{_hRKX;md0S@vXMZ}N{CHi|2YORwk2OIXB33f$oaBQ+iBAw3UD41uJy7ps zo4LD9wQ@M;)6%+5OPug~4jQGU z&~_KSf3Vec=trXflLvde#G(AKt&&kke3Lz?N|o25N+U87C=SP@!oTr#qo;VT#J@rc1ahj9DLb! zHb<8hGy28;7DWH32pX-$jJ6$aum3{!Xc9wTN9+%EyH}zFf1=W{Syk-8k#XoZ6g@DD zKzU~G@CcIPXa^eL5RflhWI6v~Vm(TAt5lkp17#4m_sb#JCb04}S)b@tXHCvcfDEoj z1BApvh=dJnn(D>Z(mF*SC_=LFDr<<#Q&>HBsPqzM^ie1w@L-8nw<(k4zCLp3av zVmX9WFI&u!Ywh#8FW}!+b)1vzvP(?2yehuP$TQz~_WOMCjgOu&3}7DfjXQ*YiZ!ZX z<5hh_&N<5^j+1MCaeS`-n!>Up^2f>u`#9R1g5!1qyX)Qr{ekO5%WLlrhW4UvPNzrZ@pEm|j*igvD zyj%V_aYqr!b1bHv8;QQ2BicU?Q@mXt40j9i2JT?U5WB5HC;ROgHvPT^)1t}lok9kI zL&Z2eA=fA;tEC2_^|5GW(jCCjjb>P{4`r^`b`;&}qgJkv=iiNcS~fZ^bIe&K1zv7y`a#Wc_omRd0mo3%`u)&O9|F@}`t_UU<6Z``a!s!8 z|298keD50ml%V`?lDhlpYK@S%H;h!Mb-4?&#q;-x^iRy0yH-ZVpg)=(vl$<^#?yxy zNo-0VkyAUWBnz+64#6K(y}E62$Qbi1D)cBVyo4u5(t~T9np@<-xkE|v^;2Tc@0YLH ztwm7m>Aj#mqB(Wq5w|25mq_Y!Bqb6h+WY^$k&J=v45d)#z{mw@kAy0&X{kQ_Pd)Fm z;ie5yX2QeDl$0hp+ThxDd`k7Sx^>ET-bT@zzK46&HE!>EoM?aI-zGUxWR85<8?Nch z5U1m`P*%CB@6onB_8ET#S%;E2TBmPQ>!v471cWKT@uZw)lTqtG-HpF}sMc=^Z=nT1fXQ>W?cJe%-rS^l;iSHwL8{@kMx;E)m2}8b-;XXlzeEvx zv#>I0q`Suhb*bNHO})B}Q))WJLZI&51D64cP?rI>Gr#z2JU!f*S6c@;nS!C#8j=3u zTeSjZS*M2I!l2V&SY`Rq`P(kxBDVLqdXdmTe(g?P%rxh(7h~~KW5wSBJasapBqi!Ow~gy+J3ODP ziKOe0id=F-qSPz#J{4Rm^(2KkH`O;Rv`>DK#Lwi~BdxtB118hWFUI0FZQg!~#uy(u zaDB?EfNCnWYue6v?vaX#^E33RQ4?G%%T=Sp8#Rs^0Ymh?>)K1}{U2F2byp*;u*2Qv zmiggL_o)PA^<^mq6a_^k+Yv(juoMd;ozw!BI_RR7(Z(o-t=2jK%)3Y<1 z4sS14RENtqwAZ{6yw!Ht9)Ed8?8B0i#IHRJ86U@#aZJA=n zz}D9Gk%K!#`c{jW2x@j_q}zpexQZZj+t1)ws{W(A*8tsjsRt~7_=shXmY8dv`S|rn z&-HZPyPn{c`J2-DZ05{^WY-T968F4>`)7i4YVW#N=h2aQYHBjI9!~vUcsi*PKVRy5 z)kE~haJTfQZH+LNZKA{9cP-9DZhOz7*Y{E=UGYq@A^c0ao(*`doZg>(Qkhy~pUC*` zBnXlfB~E^X7B&_tYWW~^I1G|B?Q2{-5@&IJnK5Kyt*7_&l)`O~gUv>M)5We69D+`0 zF$5Ox0n%{n7#fl_n*FByDaMWisyamgFdKo8=L_Wn7dMK-G~CwJTM0}1y+S)MjNUT) zo&21X7Y;zW@nlgrtdBLIaYP&W>r^A#Pa(!h(s~{C#2Cp>e6%!w!^8EflbhE{^ZG6w^*iO+3HDQFaW{YlJDQN_mdE7ZunYC#hECQy=zlZq{)B~ zFED|;nfxYv`b$iM9>mq*muKZ_eC#XEmJ#KZ|KMm_nuMY3?u2lAE`d%+oVW>N$i3jN4MnQS09%I z29{il_6kwOY?*InEyX)vSN*KLlODpIU`Cw6>` zd?0diP)(i#&$oxj6hD7N*|2U!SuBwo)KTL(*+P;qM6Ur3XctllWwUQ?H%ID~teS%i5&%UBWpjUKBxMgfk z_2=AN%(C1?ki3AW!p36AQ4}VH$ zGQ05Aq@SFcJOX3qvKou?@Gxwn;a#&BD%I)Suz;lduznP zjm9^HwaMh&uwg#}+-Xs@=*55|pXpkgQ`w;K@yEnyR*V+I4A@nxQ$`TTWdQ;VIT&~|5Z~3*(j*Oqiz!Q~nTX=ZT zwG=X!v`pp%O0yh)PV2?>!2F3!(7Mf)x~3!O!|Ggi-jue}Xcm~)`neXbBmNHE-1#`o z%gej)(<1B~MyFUta`fdJt^uZ303jNkaVkt@YB8kDd$aq~hYBU<8+S z>E|kfH}PlxSlDR@ZiKE29BYnk_@-n0(OdnztRuxn%{0lZl}DxB0xYYkr(}=vojT)c zS8O_8eI8&a#iY^a`799o0g>{R`J~Ks8%yzs&a`CK4krz%yPJ=GHL_+;LGBPqX18AI zQTZec#>piXJF)C1EDcEdSjY=`^yHW^+KM;s2)L||s;s7R?+!@nonw7BfkXB&L=@#5O|YIazD$dB?yY7YE;Yzo&Q0{KWWf*Zk=5FeRj{BvU>L zT6y)k*Zv-x8zz3w0scLFc>GIk(QH(_JDo5?%7~FkaT^DQM?172ITTp znvMN6$Ca97reEK0Ukx4kRR0IY)nX8?)S6jdq9%iBr)tAnnq2w7jxRg5*g6Bjrt~5F zzNgT9zdhISe14(#NKitW-}ATQ4ZNvqu&qog!ekb%KWfAWnPT4Z@d#qZ9XtE*k}o0O zF_GN--S{Bd-*{lr@Fn`q$QE<^MrhbnP;0QgZqS@WY#--AA za=YJCgRkLG4O=R$9!KxmSMNV*S7X0$H(29Yy9t4$S<7I^mlhZ*2i;_)u?7bN=y7Cy zc%t#-RO|7RFt5|3p6nN&5KWq2zgjWJ?h&c-HE=T@>t2908!8C@JE`C&Mo<-QCfXjU zN*v;3nYIjN?y+XK8`Dj$tWajv9mHQwG?Z-ma9b2i=R{842Q=3FHjleQk+Nz+P8!`C zH1>joyWk8MRN6+_PoBiTpC~ppXqsZ08lXEp)tP4dwstT?yL~Azr-1TQ>h+UAh3}#s zFD+uG&JgIVaC%o$5=c(hW1uxe(>AwdZvlwb9{c)7AG^(ScOKc~hRlFAal*#)>QCa^l~~Lpj-Hhz51IvO^sbj zGzdL^dz6T5UVzXh=i{RL)#gu0oo3q1%vZd|X#GU>*N*8{3es2x0!PdIi{Z3Tm|n%7 zr?~)FGj&dl6mr*|$#NsjLEU8~K?;r%g+-WXRC&k7QirEr=CBETQ&jq1A%m^B)WpC( zv>vJdvck+p;j)Q?B;I##`Dg*j^8_|B`mh&KK3GfAbT`5oFE&wVlE3N8$=(eE_xc2-JOcZ zZ=Jfegw-*^8qT`33FZY3cRMfTfVF$H-95ERrS}Q#aWJwx^Y9fq+*gjm^Zo7@LMV!6 zJLFN^9_f@}gpaH^tRx`&k~)@_V5&iXLfA{#C0g*Yl6T9Ev6q6pjXSH=Ox5g-zo;N- zw4xk7-hHhp9*|m`jpQWb}A|&xxJPTZnbVE~P1Wt|D84axyKFN+behpNQZapmXg2Tm z?55xFkaOXm6vEk~&rVIWNW)DY?7aM=jR}g?j4 z%*t|#weVM^ChO+Da+?36>S#|QBBAv}QiktUpTRDnc)QrOkUZ2|J3TtzNKB1#gnD*q}5o8gU}G$Z^< zDPu1ZWCpj%{_We?FCMr`8UmgY*e9vo|IpYOd-&T6r`A2zJ?f1SgOyT-hEJUWIDhgHhcl=AAV97`5of8WwXAL&;sgE9bx-Fwi{_Ax#KxVnjL|Z>Il+<15BhSptCyn6lB#YgIv@foH-C( zp{>OMIFKgJ3a)Glm$mU7;eP$S`1XG%=JWT(!90h4u&a`@1(0{MHodYN28>eLo>3=OJpBa|3!J*Xk??uBmR+K@Q zA4!6*|9d&Zaj+ckr1RGQUNn3oMBIhGr%reCzn5c=#UU`29v~O~*P>ymLFusW|G$m! z#Q)!KBQeDRV6|62)ZN$vNY}{rm%dl;V8(BR=gy*fB0vi{M_1pMtOAmO4PaHqMbNb# zf#SK!LjC1qprv{OP-@I`dqE`$=2B^vZ6hhJh}~dD7Ql6tMJ$2->baD9HOh0`=xSt& zq=((>B+h6x=#bN_0!XMB0Ai6T0BlHfU+g~*G_)2T5Fhpg=6^(>hw0^iZqpc?%F1HF zh|_qAn4s7dKy|JFUa|lb9iuz}-y;Po`M0I~_IL(*R5M76L=#61HIfIy3>fvqA3rLR zObs()H2E{Yl`>Q{{!N4G+?iU@cg6-oT-igBmPEaCNb#0=0q}DiyKMfRjH8vuS!(?!Y{g&=(6m zcA8m2;@2~<6*^7xyy&BOHdfn%f-qK>%ZNTo&*MRfSx+i(uo^|6u#u^eE-0Y-!|fjf zRm6!C62pRvBA}R0|A1(T!EjS5=TGgXMS%N^XlVpCD@9l&RW`S{zEhan!w?*%TLD|2 z!_fis3(&hU-hTO6plL=CLQR@7Nbo#Ci6|=I6{Ga$G3og%(fje z0nHHhU+(}0qXS$Q+DL5f$yo1kM3z+ZCYWtpLWJnwStVmk)z+NZjcSm6>ADUCWEmDW!G* zAjLvx3!~U=J&@B=c_~WF-Wq%*c5#*A!qsYO2S~ZDHzv1jwnhV@gO`$JG$rZG3wR+8 z1snoNT$BFOr~t}&uTVN6EB;ZsYxmDjobLF&*`@;TOuO_p=i|FOdUQlRoLjI5qW~AN zhda);{p&3ZbtIdG#x0vo)p9dYA}*eS0tNV!D579tg&^Xs$w}aYNCL6oTIFRu5L|$f z9%sj^%;}a20ah%#m3uAB0c6|expZ<{^djL9YurZD z-XN;g&j2K^Kj8cg^A&J!PdD(2IgH{}py=P98rHM&x(R)NJs8(9j98RlLY91(97s+U zw!#PwPJ=uMW2{JkXM@5O#{*1O36P^B5*OeWzgHrY<>>J4#YJ&Z&95p${#Aqs(Z%pL z0Z7*DnNuX8YO*x`^jQ=xRS@Q^363GF3kre4mKl^p^$@f`?Tu}Fx(6|Bg4|t>f`Fmc z=CHcef|UK>@Dn#9Hm^$pHnXEZRfUUUUf@1As9#XlkOHFA96{x%6Ac@a-_e>!7_C56 zjo9x1Y?~0JYh>Ih#J{(5fe#n6NpYpd4KNRU`H&du0F-{P2PzBuQOI%R&<&cr8UQy( zx!kf%To&g0UH76p+4y-H*!Y_MLW{>lTWXWw4^{!XHU`pVfc{I?-@x9$bP1tAzm5w) zhH-GIuuyV+A#o`n7%PjmriZ`VjfeG^|BgX!wg7bE1wmh9KeRy$1sp zfZA@o7OJs;rX?TFfal!1aNhGTF#zjA2+p2U17=YHFqERwzu$q+iKiQMZJ7y>2S#OA zLZNAm1*>GRg*lG`SuNr@TN6j5`6(cqRx24z!oaVqMVWr8U4X)tpEVt zP)I=;4~5Rhhh+-bDkfkkO`iLS?SGpxXr~s1Y8+Tl<%G}qF621Dm+>Hz=B+jja7e3} zf*bUJ0lBgq%5c-pTl70I1_Pc#NKRo#EN`4s|#x8Wl$4XUn|Y)^D%WWU?8Ed0EPF!Vt7o;sL=^pn3@$RfMA?cugEw zB@W6BK3Sj2Ly}?&HL!eGR)52GQhD%@@3Z26JOK9r^D9Gq_A^0iDE)Q15bJC4LVfsK zn-GV3$8&0&#>M@FTLY6m7o2^Zeo&w=BY5Ps}-$%Kb+4MCiK=d z6wK_*2Mp+YXsO3*6AoWcKo{Zpc;o@j>OFA6HNYgDakwzT4|`q$_Bn^L=db`>3xk`> zL7o84d@Lv>QbvgvP{1Nah=E0$4YpAQn5~GuBrX-Qe-^4Z1PnPZeNccSeGFzU!pq=e zgToCOG8`QE1q7p9>DU2`Nx&y25NoS4!QN1!aY7#9@Y|Ad2g78K2(K%3huF*eDisQ7 zTHJuiph?L*30D?$F!D(lkxxRdN;U5lmo9Wo2Z9^1tW%6+sA5V)X>Sz-17AuF6no<| zFyUPXo1i)=oYsZtNqWD6MIcV@waHog%S0Jk*04N7;L$J4{ya@5=p=Hwff+8cBCLJ( zg$WAW#|ah`4sz_xpfCuB$zf}v!INVFvO;iTxyWIIMkr!9?m%zyb)LLDg3N_@!GIT6ejlpK^DL-T2ax2|HAWm<0@Wq#CEg( zjr)^Z2~#-VA%;Q5SV6RQ#tng$jKchDWq;xRwVxCv6d-Z==pb|!ARW>Ir@z97c^Cw4 ziAY(QijuqQP0O~9S-k8IlLhWCBy+^dm-%lBs_8d&T|Ni@?lm{$YsII zxx3b-!Zs+^&SUXyovcdm#1J~e<6#v}Qh+IMJ>E|tMi8q%ZWWUPgvy^eDU^&O0RDjq zNbkISA7p7&x`$m`#!{m$1F|0yLNR$M{v%^$!IAaK$4{cNtQ=Xse%gX1R*YWKcn7msQkK5 z1n&cdqVvlX7UEUzEcIT$dZ6%VKw96J0S(ie%rdVB!^io}Nkt|HvNiix>Ce3Zw~9q{ znpa>55oPw<{zQANq2ZDXd6FJsh|Mk0&70u1S3ZqG&oh8YdN*8XoeCbeEW@gxUeV!3 zv|YjyHDTsc2wg>i5?yBtBHYr4^_DUrPE{A(r&WqDaWig-CCl&6KPXzYru7UwGt) zKbmOhA5N^&Bzizyn z3HT3PFe!d(VWrHJ^S)t6y;9zz9z>KSB@k0iG+o-#@k2;d7d~2Z%ldmMFQVtU;3-Nt z6!KRQ!N|c_ky~%IVBzC@E_i3)5eo(b)N2ID682!YH)&%=!NWH|3|(2}Ni@TY8xUEp z49t$Db54u%DO_&}ab=0Ob^;OLIcShY#a=tH);JJ|sLBgxbwL(`aOz9oV+nB$ zh_~9mAhBUC(02_e@@K&c>%%raHmBFk2XcoY1fQkmBur$4I11<q1StVxn|WXnBD>30PM?T&wyTz&&68xCJ_k!SJJh zodR5xa>M`X22fn^?&rCL@BMHB+fO54(Jbs`zC|uUr+o^ST3jvN!o~Jgl*kB1K!J|-j)~$Oo~ndGi3(cwYa$C zL=?dgs2j993d0O;2!gyL%)*M{g_^bD3Og6_=-xv?qiGMO$6bMnyFI9%Pd5>gf`LJ= zjXWkqv;z>?;f1P!f1-Oo#BR$gpic*bVS5k4sugT5-1o{{16rH%Pzsq3*G99lHs+aL#{1gI=k= z;-3T!tay}AT6#n;v?!i{Qj_+g!a-1PrwKv5|;Vl9pIaHsQOy&LiDfy9EXAeen<`cEJE{!&1nixRQzR{+7ozGb<80#G7&;7SiwFFoh%dTavY z!)S!?y*6hUvSWOrnVv9d1xfs-mvDLH$YDnZjg`USn#(R$fs#FCb znZ0^*KcnOuu01uwZPd{aN$35aAcCn6v4IL7)DufT#`HqiQHp^I7%4NkiW;#+^PS*g zogBUsGBlDL7=Z*SUzR?LV05XID(-)Ud3VHtua`17v@jjq; zqg5{14d%l|FxXuldKIk#oNV_i{BQAbH;A1;m;{1vNK+D!fCCONxlnsO22vQfaTsu$ zXCFwdiRN}82_EoH_FxALf>HPg#&wxWxv#%r$S0S-m36-FAr98qgPfq_baldQyhfsuv)g2 zBpx`f046lNAk$tcg6Ig)$~}*J;Be5a0{i8<=K=8EXo$&t&r>pK;|3=n*<4GPy_FBq z{p0<~y`}VPFy`aXy{^L@4kMz1!e$wGy#LvO->eWn7}DQN=x6gHBW5EeFLXfZs1*9d zY={P7v^QD}iB=+@tQ8}Ni^`&$Z?usFhZO~Q7;PkWfP_VbTbfbp6|66UW8N0<85~jBZ|0cXUGW<*Hx+n_m)|JoS29Q8&u*@`{Mdj z&RDv?w(QS9PpEY{%W}E!RIy^TbM@+R%86<+t@aRE` zt%e}qu??lO>j&KOV_V&%#n|S@r!>Gl35P)L#~}4M6+KUkEAAlk+DXi5w0~PScP-^fYF75Fe2(L^1iQUPUjrjK!DUyMZK?!LroIk{}DH z`KCZ+Vhka!E>N$}XGmH$-#IUaREv8I=zXf6X#t&w<|F4Wk2JT{PRx5KjVL2t!tLH= zX8C|ea2O>LeTveln!;I6+a{5b93``&4=@j?KD?`tZ(Ew;$=6#q8b^)&M<$Ix@p-=jx2{&+Y47BM4)++QO2FJYJs<59`Z Sj5ZGZqpqT(T&-yR;C}$74N*7% literal 0 HcmV?d00001 diff --git a/eng/scripts/splittestdependencies/generate-dependency-functions.ps1 b/eng/scripts/splittestdependencies/generate-dependency-functions.ps1 new file mode 100644 index 0000000000000..74594f7bb78c7 --- /dev/null +++ b/eng/scripts/splittestdependencies/generate-dependency-functions.ps1 @@ -0,0 +1,86 @@ +# Take the input of the project list file. Read all files out and split them into groups, and return the group array. +# Give the option of whether exclude the target service project files or not. + +function Split-Project-File-To-Groups($ProjectFile, $NumberOfTestsPerJob, $ExcludeService, $ServiceDirToExclude) { + $projects = Get-Content $ProjectFile + if ($ExcludeService) { + $projects = $projects.Where({ $_ -notmatch "sdk[\\/]+${ServiceDirToExclude}[\\/]+" }) + } + if (!$projects) { + throw "The project file is empty. Please check the input file: $ProjectFile" + } + $numOfGroups = [Math]::Ceiling([decimal]($projects.Count / $NumberOfTestsPerJob )) + $projGroup = [System.Object[]]::New($numOfGroups) + $i = 0 + while ($i -lt $projects.Count) { + $groupNum = [Math]::Floor([decimal]($i / $NumberOfTestsPerJob )) + if(!$projGroup[$groupNum]) { + $projGroup[$groupNum] = [System.Collections.ArrayList]::new() + } + $projGroup[$groupNum].Add($projects[$i]) > $null + $i += 1 + } + return ,$projGroup +} + + +# Take the group contains the project list. Write each group into a project file which can be used by dotnet test command. +# Return the array of project files +function Write-Test-Dependency-Group-To-Files($ProjectGroups, $MatrixOutputFolder) { + if (!$ProjectGroups -or !$ProjectGroups[0]) { + Throw "There should be some project files in the group. Please check the given project list." + } + $null = New-Item -Path $MatrixOutputFolder -ItemType "directory" -Force + $numOfGroups = $ProjectGroups.Count + $allOutputFiles = @() + for ($i = 0; $i -lt $numOfGroups; $i++) { + $projectFilePath = "Project_$i.props" + $null = New-Item -Path "$MatrixOutputFolder/$projectFilePath" -ItemType "file" -Force + # Retain the structure without ProjectReference. + $templateXml=[xml]'' + $projectNode = $templateXml.SelectNodes("/Project") + $itemGroupNode=$templateXml.CreateNode("element", "ItemGroup", "") + $projectNode.AppendChild($itemGroupNode) > $null + foreach($pkg in $ProjectGroups[$i]) { + $newElem = $templateXml.CreateNode("element", "ProjectReference", "") + $newElemAttr = $templateXml.CreateAttribute("Include") + $newElemAttr.InnerText = $pkg + $newElem.Attributes.Append($newElemAttr) > $null + $itemGroupNode.AppendChild($newElem) > $null + } + $null = $templateXml.Save("$MatrixOutputFolder/$projectFilePath") + $allOutputFiles += $projectFilePath + } + return ,$allOutputFiles +} + +# Add new property in the platform-matrix json and assign the values of the project file paths. +function Write-Project-Files-To-Matrix($ProjectFiles, $MatrixJsonPath, $MatrixOutputFolder, $ProjectFileConfigName) { + if (!(Test-Path $MatrixOutputFolder)) { + New-Item -Path $MatrixOutputFolder -ItemType "directory" -Force > $null + } + $platformJson = Get-Content $MatrixJsonPath | ConvertFrom-Json + $overrideFiles = New-Object PSObject + foreach ($projectFile in $ProjectFiles) { + $n = $projectFile -replace "Project_(\d+).props", '$1' + $PropertyOverride = New-Object -Typename PSCustomObject -Property @{ + $($ProjectFileConfigName) = $ProjectFile + } + $overrideFiles | Add-Member -Name "DependencyGroup$n" -value $PropertyOverride -MemberType NoteProperty + } + # Add one project files into the "include" session for short-term solution. + foreach ($include in $platformJson.include) { + if (!$overrideFiles) { + Throw "Need at least one project file for include property. Please adjust the NumberOfTestsPerJob for better split." + } + $lastElem = $overrideFiles.PSObject.Properties | Select-Object -Last 1 + $overrideFiles.PSObject.properties.remove($lastElem.Name) + $include | Add-Member -Name "OverrideFiles" -value $lastElem.Value -MemberType NoteProperty + } + if (!$($overrideFiles.PSObject.properties)) { + Throw "Need at least one project file for test matrix. Please adjust the NumberOfTestsPerJob for better split." + } + $platformJson.matrix | Add-Member -Name "OverrideFiles" -value $overrideFiles -MemberType NoteProperty + $platformJson | ConvertTo-Json -Depth 100 | Out-File $MatrixJsonPath + Copy-Item $MatrixJsonPath -Destination $MatrixOutputFolder +} \ No newline at end of file diff --git a/eng/scripts/splittestdependencies/tests/Generate-Dependency-Test-References-Tests.ps1 b/eng/scripts/splittestdependencies/tests/Generate-Dependency-Test-References-Tests.ps1 new file mode 100644 index 0000000000000..c93e3d85076cd --- /dev/null +++ b/eng/scripts/splittestdependencies/tests/Generate-Dependency-Test-References-Tests.ps1 @@ -0,0 +1,122 @@ +<# +``` +Invoke-Pester -Output Detailed $PSScriptRoot\tests\Generate-Dependency-Test-References-Tests.ps1 +``` +#> + +Import-Module Pester + +BeforeAll { + . $PSScriptRoot/../generate-dependency-functions.ps1 + function Backup-File($targetPath, $backupFolder) { + $fileName = (Split-Path $targetPath -leaf) + $backupFile = "$backupFolder/temp-$fileName" + $null = New-Item $backupFile -ItemType "file" -Force + $null = Copy-Item $targetPath -Destination $backupFile + } + function Reset-File($targetPath, $backupFolder) { + $fileName = (Split-Path $targetPath -leaf) + $null = Copy-Item "$backupFolder/temp-$fileName" -Destination $targetPath + } +} + +AfterAll { + Remove-Item "$PSScriptRoot/testFolder*" -Recurse +} +# Test plan: +# 1. Tests on Split-Project-File-To-Groups. Expect the right num of groups. +# 2. Tests on Write-Test-Dependency-Group-To-Files. Expect the right xml of the output, right number of output files. +# 3. Tests on Write-Project-Files-To-Matrix. Expect the right property addition on both include and matrix +# 4. Integration test on calling the entire script. Expect on right property on platform-matrix.json +Describe "Split-Project-File-To-Groups" -Tag "UnitTest" { + # Passed cases + It "Split project list into groups" -TestCases @( + @{ projectFile = "$PSScriptRoot/inputs/projects.txt"; excludeTargetService=$true ; NumOfTestProjectsPerJob = 20; length = 9 } + @{ projectFile = "$PSScriptRoot/inputs/projects.txt"; excludeTargetService=$false ; NumOfTestProjectsPerJob = 20; length = 10 } + @{ projectFile = "$PSScriptRoot/inputs/projects.txt"; excludeTargetService=$true ; NumOfTestProjectsPerJob = 180; length = 1 } + @{ projectFile = "$PSScriptRoot/inputs/projects.txt"; excludeTargetService=$true ; NumOfTestProjectsPerJob = 178; length = 1 } + ) { + $projGroups = Split-Project-File-To-Groups -ProjectFile $projectFile -NumberOfTestsPerJob $NumOfTestProjectsPerJob ` + -ExcludeService $excludeTargetService -ServiceDirToExclude "core" + $projGroups.Length | Should -Be $length + } + # Failed cases + It "Zero test projects per job" -TestCases @( + @{ projectFile = "$PSScriptRoot/inputs/projects.txt"; NumOfTestProjectsPerJob = 0} + @{ projectFile = "$PSScriptRoot/inputs/empty_projects.txt"} + ) { + {Split-Project-File-To-Groups -ProjectFile $projectFile -NumberOfTestsPerJob $NumOfTestProjectsPerJob ` + -ExcludeService $true -ServiceDirToExclude "core"} | Should -Throw -ExceptionType ([System.Management.Automation.RuntimeException]) + } +} + +Describe "Write-Test-Dependency-Group-To-Files" -Tag "UnitTest" { + # passed cases + It "Split project group array to prop xml files " -TestCases @( + @{ projGroupArray = @(@("1", "2"), @("3", "4")); length = 2; expectOutput = @("$PSScriptRoot/expectOutputs/1-1.xml", "$PSScriptRoot/expectOutputs/1-2.xml")} + @{ projGroupArray = ,@("1", "2"); length = 1; expectOutput = @("$PSScriptRoot/expectOutputs/2-1.xml")} + ) { + $outputFiles = Write-Test-Dependency-Group-To-Files -ProjectGroups $projGroupArray -MatrixOutputFolder "$PSScriptRoot/testFolder" + $outputFiles.Length | Should -Be $length + for ($i = 0; $i -lt $length; $i++) { + Get-Content "$PSScriptRoot\testFolder\$($outputFiles[$i])" | Should -Be (Get-Content $expectOutput[$i]) + } + } + # Failed cases + It "Empty project array" -TestCases @( + @{ projGroupArray = ,@(); } + @{ projGroupArray = @(); } + ) { + { Write-Test-Dependency-Group-To-Files -ProjectGroups $projGroupArray -MatrixOutputFolder "$PSScriptRoot/testFolder" } + | Should -Throw -ExceptionType ([System.Management.Automation.RuntimeException]) + } +} + +Describe "Write-Project-Files-To-Matrix" -Tag "UnitTest" { + # Passed cases + It "Write project files into matrix property" -TestCases @( + @{ TestFolderName = "$PSScriptRoot/testFolder1"; ProjectFiles = "1.txt", "2.txt"; MatrixJsonPath = "$PSScriptRoot/inputs/platform-matrix1.json"; expectOutput="$PSScriptRoot/expectOutputs/expect-matrix1.json" } + @{ TestFolderName = "$PSScriptRoot/testFolder2"; ProjectFiles = "1.txt", "2.txt", "3.txt"; MatrixJsonPath = "$PSScriptRoot/inputs/platform-matrix1.json"; expectOutput="$PSScriptRoot/expectOutputs/expect-matrix2.json" } + ) { + Backup-File -targetPath $MatrixJsonPath -backupFolder $TestFolderName + Write-Project-Files-To-Matrix -ProjectFiles $ProjectFiles -MatrixJsonPath $MatrixJsonPath -MatrixOutputFolder $TestFolderName -ProjectFileConfigName "OverrideFiles" + Get-Content "$TestFolderName\platform-matrix1.json" | Should -Be (Get-Content $expectOutput) + Reset-File -targetPath $MatrixJsonPath -backupFolder $TestFolderName + } + # Failed cases + It "More include agents than project files" -TestCases @( + @{ MatrixJsonPath = "$PSScriptRoot/inputs/platform_2_include_agents.json"; ProjectFiles = "1.txt", "2.txt"; } + @{ MatrixJsonPath = "$PSScriptRoot/inputs/platform_2_include_agents.json"; ProjectFiles = "1.txt"; } + ) { + { Write-Project-Files-To-Matrix -ProjectFiles $ProjectFiles -MatrixJsonPath $MatrixJsonPath -MatrixOutputFolder "$PSScriptRoot/testFolder3" -ProjectFileConfigName "OverrideFiles"} + | Should -Throw -ExceptionType ([System.Management.Automation.RuntimeException]) + } +} + +Describe "Generate-Dependency-Test-References" -Tag "IntegrationTest" { + # Passed cases + It "Populate the project file properties into matrix json" -TestCases @( + @{ projectFile = "$PSScriptRoot/inputs/projects.txt"; TestFolderName = "$PSScriptRoot/testFolder4"; MatrixInputJsonFile = "$PSScriptRoot/inputs/sync-platform-matrix.json"; NumOfTestProjectsPerJob = 20; ExpectMatrixPropertyLength = 8} + @{ projectFile = "$PSScriptRoot/inputs/projects.txt"; TestFolderName = "$PSScriptRoot/testFolder5"; MatrixInputJsonFile = "$PSScriptRoot/inputs/sync-platform-matrix.json"; NumOfTestProjectsPerJob = 89; ExpectMatrixPropertyLength = 1} + ) { + Backup-File -targetPath $MatrixInputJsonFile -backupFolder $TestFolderName + & "$PSScriptRoot/../Generate-Dependency-Test-References.ps1" -ProjectListFilePath $projectFile -NumOfTestProjectsPerJob $NumOfTestProjectsPerJob ` + -ExcludeTargetTestProjects $true -ServiceDirectoryToExclude "core" -ProjectFilesOutputFolder $TestFolderName ` + -MatrixConfigsFile $MatrixInputJsonFile -ProjectFileConfigName "ProjectListOverrideFile" + $outputFileJson = Get-Content "$TestFolderName/sync-platform-matrix.json" | ConvertFrom-Json + ($outputFileJson.matrix.OverrideFiles.PSObject.Properties | Measure-Object).Count | Should -Be $ExpectMatrixPropertyLength + ($outputFileJson.include.OverrideFiles.PSObject.Properties | Measure-Object).Count | Should -Be 1 + Reset-File -targetPath $MatrixInputJsonFile -backupFolder $TestFolderName + } + # Failed cases + It "Validate on invalid parameters" -TestCases @( + @{ projectFile = "$PSScriptRoot/projects.txt"; MatrixInputJsonFile = "$PSScriptRoot/inputs/sync-platform-matrix.json"; projectFileConfigName = ""} + @{ projectFile = ""; MatrixInputJsonFile = "$PSScriptRoot/inputs/sync-platform-matrix.json"; projectFileConfigName = "test"} + @{ projectFile = "$PSScriptRoot/projects.txt"; MatrixInputJsonFile = ""; projectFileConfigName = "test"} + ) { + { & "$PSScriptRoot/../Generate-Dependency-Test-References.ps1" -ProjectListFilePath $projectFile -NumOfTestProjectsPerJob 20 ` + -ExcludeTargetTestProjects $true -ServiceDirectoryToExclude "core" -ProjectFilesOutputFolder "$PSScriptRoot/testFolder4" ` + -MatrixConfigsFile $MatrixInputJsonFile -ProjectFileConfigName $projectFileConfigName } + | Should -Throw -ExceptionType ([System.Management.Automation.RuntimeException]) + } +} \ No newline at end of file diff --git a/eng/scripts/splittestdependencies/tests/expectOutputs/1-1.xml b/eng/scripts/splittestdependencies/tests/expectOutputs/1-1.xml new file mode 100644 index 0000000000000..a51f3dd66ead7 --- /dev/null +++ b/eng/scripts/splittestdependencies/tests/expectOutputs/1-1.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/eng/scripts/splittestdependencies/tests/expectOutputs/1-2.xml b/eng/scripts/splittestdependencies/tests/expectOutputs/1-2.xml new file mode 100644 index 0000000000000..151bc19be755d --- /dev/null +++ b/eng/scripts/splittestdependencies/tests/expectOutputs/1-2.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/eng/scripts/splittestdependencies/tests/expectOutputs/2-1.xml b/eng/scripts/splittestdependencies/tests/expectOutputs/2-1.xml new file mode 100644 index 0000000000000..a51f3dd66ead7 --- /dev/null +++ b/eng/scripts/splittestdependencies/tests/expectOutputs/2-1.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix-integration.json b/eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix-integration.json new file mode 100644 index 0000000000000..2852973c7f952 --- /dev/null +++ b/eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix-integration.json @@ -0,0 +1,95 @@ +{ + "displayNames": { + "/p:UseProjectReferenceToAzureClients=false": "PackageRef", + "/p:UseProjectReferenceToAzureClients=true": "ProjectRef" + }, + "matrix": { + "Agent": { + "Ubuntu-20.04_NETCore3.1": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "TestTargetFramework": "netcoreapp3.1" + }, + "Ubuntu-20.04_NET6.0": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "TestTargetFramework": "net6.0" + }, + "Windows2019_NET6.0": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general", + "TestTargetFramework": "net6.0" + }, + "Windows2019_NET461": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general", + "TestTargetFramework": "net461" + }, + "macos-11_NETCore3.1": { + "OSVmImage": "macos-11", + "Pool": "Azure Pipelines", + "TestTargetFramework": "netcoreapp3.1" + }, + "macos-11_NET6.0": { + "OSVmImage": "macos-11", + "Pool": "Azure Pipelines", + "TestTargetFramework": "net6.0" + } + }, + "AdditionalTestArguments": [ + "/p:UseProjectReferenceToAzureClients=false", + "/p:UseProjectReferenceToAzureClients=true" + ], + "BuildConfiguration": [ + "Debug", + "Release" + ], + "OverrideFiles": { + "DependencyGroup1": { + "ProjectListOverrideFile": "Project_1.props" + }, + "DependencyGroup2": { + "ProjectListOverrideFile": "Project_2.props" + }, + "DependencyGroup3": { + "ProjectListOverrideFile": "Project_3.props" + }, + "DependencyGroup4": { + "ProjectListOverrideFile": "Project_4.props" + }, + "DependencyGroup5": { + "ProjectListOverrideFile": "Project_5.props" + }, + "DependencyGroup6": { + "ProjectListOverrideFile": "Project_6.props" + }, + "DependencyGroup7": { + "ProjectListOverrideFile": "Project_7.props" + }, + "DependencyGroup8": { + "ProjectListOverrideFile": "Project_8.props" + } + } + }, + "include": [ + { + "Agent": { + "Windows2019": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general", + "TestTargetFramework": "netcoreapp3.1" + } + }, + "TestMode": { + "netcoreapp31_Coverage_Record": { + "SupportsRecording": true, + "CollectCoverage": true + } + }, + "OverrideFiles": { + "ProjectListOverrideFile": "Project_0.props" + } + } + ] +} + \ No newline at end of file diff --git a/eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix1.json b/eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix1.json new file mode 100644 index 0000000000000..007dc24402fee --- /dev/null +++ b/eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix1.json @@ -0,0 +1,48 @@ +{ + "displayNames": { + "/p:UseProjectReferenceToAzureClients=false": "PackageRef", + "/p:UseProjectReferenceToAzureClients=true": "ProjectRef" + }, + "matrix": { + "Agent": { + "Ubuntu-20.04_NETCore3.1": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "TestTargetFramework": "netcoreapp3.1" + } + }, + "AdditionalTestArguments": [ + "/p:UseProjectReferenceToAzureClients=false", + "/p:UseProjectReferenceToAzureClients=true" + ], + "BuildConfiguration": [ + "Debug", + "Release" + ], + "OverrideFiles": { + "DependencyGroup1.txt": { + "OverrideFiles": "1.txt" + } + } + }, + "include": [ + { + "Agent": { + "Windows2019": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general", + "TestTargetFramework": "netcoreapp3.1" + } + }, + "TestMode": { + "netcoreapp31_Coverage_Record": { + "SupportsRecording": true, + "CollectCoverage": true + } + }, + "OverrideFiles": { + "OverrideFiles": "2.txt" + } + } + ] +} diff --git a/eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix2.json b/eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix2.json new file mode 100644 index 0000000000000..f2ff2f6b7cc1d --- /dev/null +++ b/eng/scripts/splittestdependencies/tests/expectOutputs/expect-matrix2.json @@ -0,0 +1,51 @@ +{ + "displayNames": { + "/p:UseProjectReferenceToAzureClients=false": "PackageRef", + "/p:UseProjectReferenceToAzureClients=true": "ProjectRef" + }, + "matrix": { + "Agent": { + "Ubuntu-20.04_NETCore3.1": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "TestTargetFramework": "netcoreapp3.1" + } + }, + "AdditionalTestArguments": [ + "/p:UseProjectReferenceToAzureClients=false", + "/p:UseProjectReferenceToAzureClients=true" + ], + "BuildConfiguration": [ + "Debug", + "Release" + ], + "OverrideFiles": { + "DependencyGroup1.txt": { + "OverrideFiles": "1.txt" + }, + "DependencyGroup2.txt": { + "OverrideFiles": "2.txt" + } + } + }, + "include": [ + { + "Agent": { + "Windows2019": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general", + "TestTargetFramework": "netcoreapp3.1" + } + }, + "TestMode": { + "netcoreapp31_Coverage_Record": { + "SupportsRecording": true, + "CollectCoverage": true + } + }, + "OverrideFiles": { + "OverrideFiles": "3.txt" + } + } + ] +} diff --git a/eng/scripts/splittestdependencies/tests/inputs/empty_projects.txt b/eng/scripts/splittestdependencies/tests/inputs/empty_projects.txt new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/eng/scripts/splittestdependencies/tests/inputs/platform-matrix1.json b/eng/scripts/splittestdependencies/tests/inputs/platform-matrix1.json new file mode 100644 index 0000000000000..5231f4dc1fb7e --- /dev/null +++ b/eng/scripts/splittestdependencies/tests/inputs/platform-matrix1.json @@ -0,0 +1,40 @@ +{ + "displayNames": { + "/p:UseProjectReferenceToAzureClients=false": "PackageRef", + "/p:UseProjectReferenceToAzureClients=true": "ProjectRef" + }, + "matrix": { + "Agent": { + "Ubuntu-20.04_NETCore3.1": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "TestTargetFramework": "netcoreapp3.1" + } + }, + "AdditionalTestArguments": [ + "/p:UseProjectReferenceToAzureClients=false", + "/p:UseProjectReferenceToAzureClients=true" + ], + "BuildConfiguration": [ + "Debug", + "Release" + ] + }, + "include": [ + { + "Agent": { + "Windows2019": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general", + "TestTargetFramework": "netcoreapp3.1" + } + }, + "TestMode": { + "netcoreapp31_Coverage_Record": { + "SupportsRecording": true, + "CollectCoverage": true + } + } + } + ] +} diff --git a/eng/scripts/splittestdependencies/tests/inputs/platform_2_include_agents.json b/eng/scripts/splittestdependencies/tests/inputs/platform_2_include_agents.json new file mode 100644 index 0000000000000..56544ab54a6b0 --- /dev/null +++ b/eng/scripts/splittestdependencies/tests/inputs/platform_2_include_agents.json @@ -0,0 +1,55 @@ +{ + "displayNames": { + "/p:UseProjectReferenceToAzureClients=false": "PackageRef", + "/p:UseProjectReferenceToAzureClients=true": "ProjectRef" + }, + "matrix": { + "Agent": { + "Ubuntu-20.04_NETCore3.1": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "TestTargetFramework": "netcoreapp3.1" + } + }, + "AdditionalTestArguments": [ + "/p:UseProjectReferenceToAzureClients=false", + "/p:UseProjectReferenceToAzureClients=true" + ], + "BuildConfiguration": [ + "Debug", + "Release" + ] + }, + "include": [ + { + "Agent": { + "Windows2019": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general", + "TestTargetFramework": "netcoreapp3.1" + } + }, + "TestMode": { + "netcoreapp31_Coverage_Record": { + "SupportsRecording": true, + "CollectCoverage": true + } + } + }, + { + "Agent": { + "Ubuntu-20.04_NETCore3.1": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "TestTargetFramework": "netcoreapp3.1" + } + }, + "TestMode": { + "netcoreapp31_Coverage_Record": { + "SupportsRecording": true, + "CollectCoverage": true + } + } + } + ] + } \ No newline at end of file diff --git a/eng/scripts/splittestdependencies/tests/inputs/projects.txt b/eng/scripts/splittestdependencies/tests/inputs/projects.txt new file mode 100644 index 0000000000000..9d65151977413 --- /dev/null +++ b/eng/scripts/splittestdependencies/tests/inputs/projects.txt @@ -0,0 +1,186 @@ +$(RepoRoot)sdk\agrifood\Azure.Verticals.AgriFood.Farming\tests\Azure.Verticals.AgriFood.Farming.Tests.csproj +$(RepoRoot)sdk\alertsmanagement\Azure.ResourceManager.AlertsManagement\tests\Azure.ResourceManager.AlertsManagement.Tests.csproj +$(RepoRoot)sdk\anomalydetector\Azure.AI.AnomalyDetector\tests\Azure.AI.AnomalyDetector.Tests.csproj +$(RepoRoot)sdk\apimanagement\Azure.ResourceManager.ApiManagement\tests\Azure.ResourceManager.ApiManagement.Tests.csproj +$(RepoRoot)sdk\appconfiguration\Azure.Data.AppConfiguration\tests\Azure.Data.AppConfiguration.Tests.csproj +$(RepoRoot)sdk\appconfiguration\Azure.Data.AppConfiguration\tests\Performance\Azure.Data.AppConfiguration.Performance.csproj +$(RepoRoot)sdk\appconfiguration\Azure.ResourceManager.AppConfiguration\tests\Azure.ResourceManager.AppConfiguration.Tests.csproj +$(RepoRoot)sdk\appplatform\Azure.ResourceManager.AppPlatform\tests\Azure.ResourceManager.AppPlatform.Tests.csproj +$(RepoRoot)sdk\arc-scvmm\Azure.ResourceManager.ArcScVmm\tests\Azure.ResourceManager.ArcScVmm.Tests.csproj +$(RepoRoot)sdk\attestation\Azure.Security.Attestation\tests\Azure.Security.Attestation.Tests.csproj +$(RepoRoot)sdk\authorization\Azure.ResourceManager.Authorization\tests\Azure.ResourceManager.Authorization.Tests.csproj +$(RepoRoot)sdk\azurestackhci\Azure.ResourceManager.Hci\tests\Azure.ResourceManager.Hci.Tests.csproj +$(RepoRoot)sdk\batch\Azure.ResourceManager.Batch\tests\Azure.ResourceManager.Batch.Tests.csproj +$(RepoRoot)sdk\cdn\Azure.ResourceManager.Cdn\tests\Azure.ResourceManager.Cdn.Tests.csproj +$(RepoRoot)sdk\cognitivelanguage\Azure.AI.Language.Conversations\tests\Azure.AI.Language.Conversations.Tests.csproj +$(RepoRoot)sdk\cognitivelanguage\Azure.AI.Language.QuestionAnswering\tests\Azure.AI.Language.QuestionAnswering.Tests.csproj +$(RepoRoot)sdk\cognitiveservices\Azure.ResourceManager.CognitiveServices\tests\Azure.ResourceManager.CognitiveServices.Tests.csproj +$(RepoRoot)sdk\communication\Azure.Communication.CallingServer\tests\Azure.Communication.CallingServer.Tests.csproj +$(RepoRoot)sdk\communication\Azure.Communication.Chat\tests\Azure.Communication.Chat.Tests.csproj +$(RepoRoot)sdk\communication\Azure.Communication.Common\tests\Azure.Communication.Common.Tests.csproj +$(RepoRoot)sdk\communication\Azure.Communication.Email\tests\Azure.Communication.Email.Tests.csproj +$(RepoRoot)sdk\communication\Azure.Communication.Identity\tests\Azure.Communication.Identity.Tests.csproj +$(RepoRoot)sdk\communication\Azure.Communication.MediaComposition\tests\Azure.Communication.MediaComposition.Tests.csproj +$(RepoRoot)sdk\communication\Azure.Communication.NetworkTraversal\tests\Azure.Communication.NetworkTraversal.Tests.csproj +$(RepoRoot)sdk\communication\Azure.Communication.PhoneNumbers\tests\Azure.Communication.PhoneNumbers.Tests.csproj +$(RepoRoot)sdk\communication\Azure.Communication.ShortCodes\tests\Azure.Communication.ShortCodes.Tests.csproj +$(RepoRoot)sdk\communication\Azure.Communication.Sms\tests\Azure.Communication.Sms.Tests.csproj +$(RepoRoot)sdk\communication\Azure.ResourceManager.Communication\tests\Azure.ResourceManager.Communication.Tests.csproj +$(RepoRoot)sdk\compute\Azure.ResourceManager.Compute\tests\Azure.ResourceManager.Compute.Tests.csproj +$(RepoRoot)sdk\confidentialledger\Azure.ResourceManager.ConfidentialLedger\tests\Azure.ResourceManager.ConfidentialLedger.Tests.csproj +$(RepoRoot)sdk\confidentialledger\Azure.Security.ConfidentialLedger\tests\Azure.Security.ConfidentialLedger.Tests.csproj +$(RepoRoot)sdk\connectedvmwarevsphere\Azure.ResourceManager.ConnectedVMwarevSphere\tests\Azure.ResourceManager.ConnectedVMwarevSphere.Tests.csproj +$(RepoRoot)sdk\containerapps\Azure.ResourceManager.AppContainers\tests\Azure.ResourceManager.AppContainers.Tests.csproj +$(RepoRoot)sdk\containerinstance\Azure.ResourceManager.ContainerInstance\tests\Azure.ResourceManager.ContainerInstance.Tests.csproj +$(RepoRoot)sdk\containerregistry\Azure.Containers.ContainerRegistry\tests\Azure.Containers.ContainerRegistry.Tests.csproj +$(RepoRoot)sdk\containerregistry\Azure.ResourceManager.ContainerRegistry\tests\Azure.ResourceManager.ContainerRegistry.Tests.csproj +$(RepoRoot)sdk\containerservice\Azure.ResourceManager.ContainerService\tests\Azure.ResourceManager.ContainerService.Tests.csproj +$(RepoRoot)sdk\core\Azure.Core.Amqp\tests\Azure.Core.Amqp.Tests.csproj +$(RepoRoot)sdk\core\Azure.Core.Experimental\tests\Azure.Core.Experimental.Tests.csproj +$(RepoRoot)sdk\core\Azure.Core.Experimental\tests\perf\Azure.Core.Experimental.Performance.csproj +$(RepoRoot)sdk\core\Azure.Core.TestFramework\tests\Azure.Core.TestFramework.Tests.csproj +$(RepoRoot)sdk\core\Azure.Core\tests\Azure.Core.Tests.csproj +$(RepoRoot)sdk\core\Microsoft.Azure.Core.NewtonsoftJson\tests\Microsoft.Azure.Core.NewtonsoftJson.Tests.csproj +$(RepoRoot)sdk\core\Microsoft.Azure.Core.Spatial.NewtonsoftJson\tests\Microsoft.Azure.Core.Spatial.NewtonsoftJson.Tests.csproj +$(RepoRoot)sdk\core\Microsoft.Azure.Core.Spatial\tests\Microsoft.Azure.Core.Spatial.Tests.csproj +$(RepoRoot)sdk\cosmosdb\Azure.ResourceManager.CosmosDB\tests\Azure.ResourceManager.CosmosDB.Tests.csproj +$(RepoRoot)sdk\datafactory\Azure.ResourceManager.DataFactory\tests\Azure.ResourceManager.DataFactory.Tests.csproj +$(RepoRoot)sdk\desktopvirtualization\Azure.ResourceManager.DesktopVirtualization\tests\Azure.ResourceManager.DesktopVirtualization.Tests.csproj +$(RepoRoot)sdk\deviceupdate\Azure.IoT.DeviceUpdate\tests\Azure.IoT.DeviceUpdate.Tests.csproj +$(RepoRoot)sdk\deviceupdate\Azure.ResourceManager.DeviceUpdate\tests\Azure.ResourceManager.DeviceUpdate.Tests.csproj +$(RepoRoot)sdk\digitaltwins\Azure.DigitalTwins.Core\tests\Azure.DigitalTwins.Core.Tests.csproj +$(RepoRoot)sdk\dnsresolver\Azure.ResourceManager.DnsResolver\tests\Azure.ResourceManager.DnsResolver.Tests.csproj +$(RepoRoot)sdk\dns\Azure.ResourceManager.Dns\tests\Azure.ResourceManager.Dns.Tests.csproj +$(RepoRoot)sdk\dynatrace\Azure.ResourceManager.Dynatrace\tests\Azure.ResourceManager.Dynatrace.Tests.csproj +$(RepoRoot)sdk\edgeorder\Azure.ResourceManager.EdgeOrder\tests\Azure.ResourceManager.EdgeOrder.Tests.csproj +$(RepoRoot)sdk\elasticsan\Azure.ResourceManager.ElasticSan\tests\Azure.ResourceManager.ElasticSan.Tests.csproj +$(RepoRoot)sdk\eventgrid\Azure.Messaging.EventGrid\tests\Azure.Messaging.EventGrid.Tests.csproj +$(RepoRoot)sdk\eventgrid\Microsoft.Azure.Messaging.EventGrid.CloudNativeCloudEvents\tests\Microsoft.Azure.Messaging.EventGrid.CloudNativeCloudEvents.Tests.csproj +$(RepoRoot)sdk\eventgrid\Microsoft.Azure.WebJobs.Extensions.EventGrid\tests\Microsoft.Azure.WebJobs.Extensions.EventGrid.Tests.csproj +$(RepoRoot)sdk\eventhub\Azure.Messaging.EventHubs.Experimental\tests\Azure.Messaging.EventHubs.Experimental.Tests.csproj +$(RepoRoot)sdk\eventhub\Azure.Messaging.EventHubs.Processor\tests\Azure.Messaging.EventHubs.Processor.Tests.csproj +$(RepoRoot)sdk\eventhub\Azure.Messaging.EventHubs.Shared\tests\Azure.Messaging.EventHubs.Shared.Tests.csproj +$(RepoRoot)sdk\eventhub\Azure.Messaging.EventHubs\tests\Azure.Messaging.EventHubs.Tests.csproj +$(RepoRoot)sdk\eventhub\Azure.ResourceManager.EventHubs\tests\Azure.ResourceManager.EventHubs.Tests.csproj +$(RepoRoot)sdk\eventhub\Microsoft.Azure.WebJobs.Extensions.EventHubs\tests\Microsoft.Azure.WebJobs.Extensions.EventHubs.Tests.csproj +$(RepoRoot)sdk\extendedlocation\Azure.ResourceManager.ExtendedLocations\tests\Azure.ResourceManager.ExtendedLocations.Tests.csproj +$(RepoRoot)sdk\extensions\Azure.Extensions.AspNetCore.Configuration.Secrets\tests\Azure.Extensions.AspNetCore.Configuration.Secrets.Tests.csproj +$(RepoRoot)sdk\extensions\Azure.Extensions.AspNetCore.DataProtection.Blobs\tests\Azure.Extensions.AspNetCore.DataProtection.Blobs.Tests.csproj +$(RepoRoot)sdk\extensions\Azure.Extensions.AspNetCore.DataProtection.Keys\tests\Azure.Extensions.AspNetCore.DataProtection.Keys.Tests.csproj +$(RepoRoot)sdk\extensions\Microsoft.Azure.WebJobs.Extensions.Clients\tests\Microsoft.Azure.WebJobs.Extensions.Clients.Tests.csproj +$(RepoRoot)sdk\extensions\Microsoft.Extensions.Azure\tests\Microsoft.Extensions.Azure.Tests.csproj +$(RepoRoot)sdk\fluidrelay\Azure.ResourceManager.FluidRelay\tests\Azure.ResourceManager.FluidRelay.Tests.csproj +$(RepoRoot)sdk\formrecognizer\Azure.AI.FormRecognizer\tests\Azure.AI.FormRecognizer.Tests.csproj +$(RepoRoot)sdk\grafana\Azure.ResourceManager.Grafana\tests\Azure.ResourceManager.Grafana.Tests.csproj +$(RepoRoot)sdk\guestconfiguration\Azure.ResourceManager.GuestConfiguration\tests\Azure.ResourceManager.GuestConfiguration.Tests.csproj +$(RepoRoot)sdk\hdinsight\Azure.ResourceManager.HDInsight\tests\Azure.ResourceManager.HDInsight.Tests.csproj +$(RepoRoot)sdk\hybridconnectivity\Azure.ResourceManager.HybridConnectivity\tests\Azure.ResourceManager.HybridConnectivity.Tests.csproj +$(RepoRoot)sdk\identity\Azure.Identity.BrokeredAuthentication\tests\Azure.Identity.BrokeredAuthentication.Tests.csproj +$(RepoRoot)sdk\identity\Azure.Identity\tests\Azure.Identity.Tests.csproj +$(RepoRoot)sdk\iotcentral\Azure.ResourceManager.IotCentral\tests\Azure.ResourceManager.IotCentral.Tests.csproj +$(RepoRoot)sdk\iothub\Azure.ResourceManager.IotHub\tests\Azure.ResourceManager.IotHub.Tests.csproj +$(RepoRoot)sdk\iot\Azure.IoT.Hub.Service\tests\Azure.IoT.Hub.Service.Tests.csproj +$(RepoRoot)sdk\keyvault\Azure.ResourceManager.KeyVault\tests\Azure.ResourceManager.KeyVault.Tests.csproj +$(RepoRoot)sdk\keyvault\Azure.Security.KeyVault.Administration\tests\Azure.Security.KeyVault.Administration.Tests.csproj +$(RepoRoot)sdk\keyvault\Azure.Security.KeyVault.Certificates\tests\Azure.Security.KeyVault.Certificates.Tests.csproj +$(RepoRoot)sdk\keyvault\Azure.Security.KeyVault.Keys\tests\Azure.Security.KeyVault.Keys.Tests.csproj +$(RepoRoot)sdk\keyvault\Azure.Security.KeyVault.Secrets\tests\Azure.Security.KeyVault.Secrets.Tests.csproj +$(RepoRoot)sdk\keyvault\samples\keyvaultproxy\tests\AzureSamples.Security.KeyVault.Proxy.Tests.csproj +$(RepoRoot)sdk\logic\Azure.ResourceManager.Logic\tests\Azure.ResourceManager.Logic.Tests.csproj +$(RepoRoot)sdk\machinelearningservices\Azure.ResourceManager.MachineLearning\tests\Azure.ResourceManager.MachineLearning.Tests.csproj +$(RepoRoot)sdk\managedserviceidentity\Azure.ResourceManager.ManagedServiceIdentities\tests\Azure.ResourceManager.ManagedServiceIdentities.Tests.csproj +$(RepoRoot)sdk\mediaservices\Azure.ResourceManager.Media\tests\Azure.ResourceManager.Media.Tests.csproj +$(RepoRoot)sdk\metricsadvisor\Azure.AI.MetricsAdvisor\tests\Azure.AI.MetricsAdvisor.Tests.csproj +$(RepoRoot)sdk\mixedreality\Azure.MixedReality.Authentication\tests\Azure.MixedReality.Authentication.Tests\Azure.MixedReality.Authentication.Tests.csproj +$(RepoRoot)sdk\mixedreality\Azure.MixedReality.Authentication\tests\Shared.Azure.MixedReality.Authentication.Tests\Shared.Azure.MixedReality.Authentication.Tests.csproj +$(RepoRoot)sdk\modelsrepository\Azure.IoT.ModelsRepository\tests\Azure.IoT.ModelsRepository.Tests.csproj +$(RepoRoot)sdk\monitor\Azure.Monitor.Ingestion\tests\Azure.Monitor.Ingestion.Tests.csproj +$(RepoRoot)sdk\monitor\Azure.Monitor.OpenTelemetry.Exporter\tests\Azure.Monitor.OpenTelemetry.Exporter.Benchmarks\Azure.Monitor.OpenTelemetry.Exporter.Benchmarks.csproj +$(RepoRoot)sdk\monitor\Azure.Monitor.OpenTelemetry.Exporter\tests\Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing\Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing.csproj +$(RepoRoot)sdk\monitor\Azure.Monitor.OpenTelemetry.Exporter\tests\Azure.Monitor.OpenTelemetry.Exporter.Tests\Azure.Monitor.OpenTelemetry.Exporter.Tests.csproj +$(RepoRoot)sdk\monitor\Azure.Monitor.OpenTelemetry.Exporter\tests\Azure.Monitor.OpenTelemetry.Exporter.Tracing.Customization\Azure.Monitor.OpenTelemetry.Exporter.Tracing.Customization.csproj +$(RepoRoot)sdk\monitor\Azure.Monitor.OpenTelemetry.Exporter\tests\E2E.Tests\Azure.Monitor.OpenTelemetry.Exporter.E2E.Tests.csproj +$(RepoRoot)sdk\monitor\Azure.Monitor.OpenTelemetry.Exporter\tests\Integration.Tests\Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.csproj +$(RepoRoot)sdk\monitor\Azure.Monitor.Query\tests\Azure.Monitor.Query.Tests.csproj +$(RepoRoot)sdk\monitor\Azure.ResourceManager.Monitor\tests\Azure.ResourceManager.Monitor.Tests.csproj +$(RepoRoot)sdk\mysql\Azure.ResourceManager.MySql\tests\Azure.ResourceManager.MySql.Tests.csproj +$(RepoRoot)sdk\networkfunction\Azure.ResourceManager.NetworkFunction\tests\Azure.ResourceManager.NetworkFunction.Tests.csproj +$(RepoRoot)sdk\network\Azure.ResourceManager.Network\tests\Azure.ResourceManager.Network.Tests.csproj +$(RepoRoot)sdk\notificationhubs\Azure.ResourceManager.NotificationHubs\tests\Azure.ResourceManager.NotificationHubs.Tests.csproj +$(RepoRoot)sdk\objectanchors\Azure.MixedReality.ObjectAnchors.Conversion\tests\Azure.MixedReality.ObjectAnchors.Conversion.Tests.csproj +$(RepoRoot)sdk\personalizer\Azure.AI.Personalizer\tests\Azure.AI.Personalizer.Tests.csproj +$(RepoRoot)sdk\postgresql\Azure.ResourceManager.PostgreSql\tests\Azure.ResourceManager.PostgreSql.Tests.csproj +$(RepoRoot)sdk\purview\Azure.Analytics.Purview.Account\tests\Azure.Analytics.Purview.Account.Tests.csproj +$(RepoRoot)sdk\purview\Azure.Analytics.Purview.Administration\tests\Azure.Analytics.Purview.Administration.Tests.csproj +$(RepoRoot)sdk\purview\Azure.Analytics.Purview.Catalog\tests\Azure.Analytics.Purview.Catalog.Tests.csproj +$(RepoRoot)sdk\purview\Azure.Analytics.Purview.Scanning\tests\Azure.Analytics.Purview.Scanning.Tests.csproj +$(RepoRoot)sdk\quantum\Azure.Quantum.Jobs\tests\Azure.Quantum.Jobs.Tests.csproj +$(RepoRoot)sdk\redisenterprise\Azure.ResourceManager.RedisEnterpriseCache\tests\Azure.ResourceManager.RedisEnterpriseCache.Tests.csproj +$(RepoRoot)sdk\redis\Azure.ResourceManager.Redis\tests\Azure.ResourceManager.Redis.Tests.csproj +$(RepoRoot)sdk\relay\Azure.ResourceManager.Relay\tests\Azure.ResourceManager.Relay.Tests.csproj +$(RepoRoot)sdk\remoterendering\Azure.MixedReality.RemoteRendering\tests\Azure.MixedReality.RemoteRendering.Tests.csproj +$(RepoRoot)sdk\reservations\Azure.ResourceManager.Reservations\tests\Azure.ResourceManager.Reservations.Tests.csproj +$(RepoRoot)sdk\resourcemanager\Azure.ResourceManager\tests\Azure.ResourceManager.Tests.csproj +$(RepoRoot)sdk\resourcemover\Azure.ResourceManager.Migrate\tests\Azure.ResourceManager.Migrate.Tests.csproj +$(RepoRoot)sdk\resources\Azure.ResourceManager.Resources\tests\Azure.ResourceManager.Resources.Tests.csproj +$(RepoRoot)sdk\schemaregistry\Azure.Data.SchemaRegistry\tests\Azure.Data.SchemaRegistry.Tests.csproj +$(RepoRoot)sdk\schemaregistry\Microsoft.Azure.Data.SchemaRegistry.ApacheAvro\tests\Microsoft.Azure.Data.SchemaRegistry.ApacheAvro.Tests.csproj +$(RepoRoot)sdk\search\Azure.Search.Documents\tests\Azure.Search.Documents.Tests.csproj +$(RepoRoot)sdk\servicebus\Azure.Messaging.ServiceBus\tests\Azure.Messaging.ServiceBus.Tests.csproj +$(RepoRoot)sdk\servicebus\Azure.ResourceManager.ServiceBus\tests\Azure.ResourceManager.ServiceBus.Tests.csproj +$(RepoRoot)sdk\servicebus\Microsoft.Azure.WebJobs.Extensions.ServiceBus\tests\Microsoft.Azure.WebJobs.Extensions.ServiceBus.Tests.csproj +$(RepoRoot)sdk\servicefabric\Azure.ResourceManager.ServiceFabric\tests\Azure.ResourceManager.ServiceFabric.Tests.csproj +$(RepoRoot)sdk\servicelinker\Azure.ResourceManager.ServiceLinker\tests\Azure.ResourceManager.ServiceLinker.Tests.csproj +$(RepoRoot)sdk\signalr\Microsoft.Azure.WebJobs.Extensions.SignalRService\tests\Microsoft.Azure.WebJobs.Extensions.SignalRService.Tests.csproj +$(RepoRoot)sdk\sqlmanagement\Azure.ResourceManager.Sql\tests\Azure.ResourceManager.Sql.Tests.csproj +$(RepoRoot)sdk\sqlvirtualmachine\Azure.ResourceManager.SqlVirtualMachine\tests\Azure.ResourceManager.SqlVirtualMachine.Tests.csproj +$(RepoRoot)sdk\storagepool\Azure.ResourceManager.StoragePool\tests\Azure.ResourceManager.StoragePool.Tests.csproj +$(RepoRoot)sdk\storage\Azure.ResourceManager.Storage\tests\Azure.ResourceManager.Storage.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Blobs.Batch\tests\Azure.Storage.Blobs.Batch.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Blobs.ChangeFeed\tests\Azure.Storage.Blobs.ChangeFeed.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Blobs\tests\Azure.Storage.Blobs.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Common\tests\AesGcmTests\Azure.Storage.Common.AesGcm.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Common\tests\Azure.Storage.Common.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Files.DataLake\tests\Azure.Storage.Files.DataLake.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Files.Shares\tests\Azure.Storage.Files.Shares.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Internal.Avro\tests\Azure.Storage.Internal.Avro.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Queues\tests\Azure.Storage.Queues.Tests.csproj +$(RepoRoot)sdk\storage\Microsoft.Azure.WebJobs.Extensions.Storage.Blobs\tests\Microsoft.Azure.WebJobs.Extensions.Storage.Blobs.Tests.csproj +$(RepoRoot)sdk\storage\Microsoft.Azure.WebJobs.Extensions.Storage.Common\tests\Microsoft.Azure.WebJobs.Extensions.Storage.Common.Tests.csproj +$(RepoRoot)sdk\storage\Microsoft.Azure.WebJobs.Extensions.Storage.Queues\tests\Microsoft.Azure.WebJobs.Extensions.Storage.Queues.Tests.csproj +$(RepoRoot)sdk\storage\Microsoft.Azure.WebJobs.Extensions.Storage.Scenario.Tests\tests\Microsoft.Azure.WebJobs.Extensions.Storage.Scenario.Tests.csproj +$(RepoRoot)sdk\streamanalytics\Azure.ResourceManager.StreamAnalytics\tests\Azure.ResourceManager.StreamAnalytics.Tests.csproj +$(RepoRoot)sdk\synapse\Azure.Analytics.Synapse.AccessControl\tests\Azure.Analytics.Synapse.AccessControl.Tests.csproj +$(RepoRoot)sdk\synapse\Azure.Analytics.Synapse.Artifacts\tests\Azure.Analytics.Synapse.Artifacts.Tests.csproj +$(RepoRoot)sdk\synapse\Azure.Analytics.Synapse.ManagedPrivateEndpoints\tests\Azure.Analytics.Synapse.ManagedPrivateEndpoints.Tests.csproj +$(RepoRoot)sdk\synapse\Azure.Analytics.Synapse.Monitoring\tests\Azure.Analytics.Synapse.Monitoring.Tests.csproj +$(RepoRoot)sdk\synapse\Azure.Analytics.Synapse.Spark\tests\Azure.Analytics.Synapse.Spark.Tests.csproj +$(RepoRoot)sdk\tables\Azure.Data.Tables\tests\Azure.Data.Tables.Tests.csproj +$(RepoRoot)sdk\tables\Azure.Data.Tables\tests\perf\Azure.Data.Tables.Perf.csproj +$(RepoRoot)sdk\tables\Microsoft.Azure.WebJobs.Extensions.Tables\tests\Microsoft.Azure.WebJobs.Extensions.Tables.Tests.csproj +$(RepoRoot)sdk\template\Azure.Template\tests\Azure.Template.Tests.csproj +$(RepoRoot)sdk\textanalytics\Azure.AI.TextAnalytics\tests\Azure.AI.TextAnalytics.Tests.csproj +$(RepoRoot)sdk\timeseriesinsights\Azure.IoT.TimeSeriesInsights\tests\Azure.IoT.TimeSeriesInsights.Tests.csproj +$(RepoRoot)sdk\translation\Azure.AI.Translation.Document\tests\Azure.AI.Translation.Document.Tests.csproj +$(RepoRoot)sdk\videoanalyzer\Azure.Media.VideoAnalyzer.Edge\tests\Azure.Media.VideoAnalyzer.Edge.Tests.csproj +$(RepoRoot)sdk\webpubsub\Azure.Messaging.WebPubSub\tests\Azure.Messaging.WebPubSub.Tests.csproj +$(RepoRoot)sdk\webpubsub\Azure.ResourceManager.WebPubSub\tests\Azure.ResourceManager.WebPubSub.Tests.csproj +$(RepoRoot)sdk\webpubsub\Microsoft.Azure.WebJobs.Extensions.WebPubSub\tests\Microsoft.Azure.WebJobs.Extensions.WebPubSub.Tests.csproj +$(RepoRoot)sdk\webpubsub\Microsoft.Azure.WebPubSub.AspNetCore\tests\Microsoft.Azure.WebPubSub.AspNetCore.Tests.csproj +$(RepoRoot)sdk\websites\Azure.ResourceManager.AppService\tests\Azure.ResourceManager.AppService.Tests.csproj +$(RepoRoot)sdk\workloads\Azure.ResourceManager.Workloads\tests\Azure.ResourceManager.Workloads.Tests.csproj +$(RepoRoot)sdk\extensions\Microsoft.Azure.WebJobs.Extensions.Clients\samples\Microsoft.Azure.WebJobs.Extensions.Clients.Samples.csproj +$(RepoRoot)sdk\extensions\Microsoft.Extensions.Azure\samples\Microsoft.Extensions.Azure.Samples.csproj +$(RepoRoot)sdk\quantum\Azure.Quantum.Jobs\samples\Azure.Quantum.Jobs.Samples.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Blobs.Batch\samples\Azure.Storage.Blobs.Batch.Samples.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Blobs.ChangeFeed\samples\Azure.Storage.Blobs.ChangeFeed.Samples.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Blobs\samples\Azure.Storage.Blobs.Samples.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Common\samples\Azure.Storage.Common.Samples.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Files.DataLake\samples\Azure.Storage.Files.DataLake.Samples.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Files.Shares\samples\Azure.Storage.Files.Shares.Samples.Tests.csproj +$(RepoRoot)sdk\storage\Azure.Storage.Queues\samples\Azure.Storage.Queues.Samples.Tests.csproj +$(RepoRoot)sdk\storage\Microsoft.Azure.WebJobs.Extensions.Storage.Blobs\samples\functionapp\Microsoft.Azure.WebJobs.Extensions.Storage.Blobs.Samples.Function.App.csproj +$(RepoRoot)sdk\storage\Microsoft.Azure.WebJobs.Extensions.Storage.Blobs\samples\readmes\Microsoft.Azure.WebJobs.Extensions.Storage.Blobs.Samples.Tests.csproj +$(RepoRoot)sdk\storage\Microsoft.Azure.WebJobs.Extensions.Storage.Queues\samples\functionapp\Microsoft.Azure.WebJobs.Extensions.Storage.Queues.Samples.Function.App.csproj +$(RepoRoot)sdk\storage\Microsoft.Azure.WebJobs.Extensions.Storage.Queues\samples\readmes\Microsoft.Azure.WebJobs.Extensions.Storage.Queues.Samples.Tests.csproj +$(RepoRoot)sdk\videoanalyzer\Azure.Media.VideoAnalyzer.Edge\samples\Azure.Media.VideoAnalyzer.Edge.Samples.csproj diff --git a/eng/scripts/splittestdependencies/tests/inputs/sync-platform-matrix.json b/eng/scripts/splittestdependencies/tests/inputs/sync-platform-matrix.json new file mode 100644 index 0000000000000..93caea89d7179 --- /dev/null +++ b/eng/scripts/splittestdependencies/tests/inputs/sync-platform-matrix.json @@ -0,0 +1,65 @@ +{ + "displayNames": { + "/p:UseProjectReferenceToAzureClients=false": "PackageRef", + "/p:UseProjectReferenceToAzureClients=true": "ProjectRef" + }, + "matrix": { + "Agent": { + "Ubuntu-20.04_NETCore3.1": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "TestTargetFramework": "netcoreapp3.1" + }, + "Ubuntu-20.04_NET6.0": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general", + "TestTargetFramework": "net6.0" + }, + "Windows2019_NET6.0": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general", + "TestTargetFramework": "net6.0" + }, + "Windows2019_NET461": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general", + "TestTargetFramework": "net461" + }, + "macos-11_NETCore3.1": { + "OSVmImage": "macos-11", + "Pool": "Azure Pipelines", + "TestTargetFramework": "netcoreapp3.1" + }, + "macos-11_NET6.0": { + "OSVmImage": "macos-11", + "Pool": "Azure Pipelines", + "TestTargetFramework": "net6.0" + } + }, + "AdditionalTestArguments": [ + "/p:UseProjectReferenceToAzureClients=false", + "/p:UseProjectReferenceToAzureClients=true" + ], + "BuildConfiguration": [ + "Debug", + "Release" + ] + }, + "include": [ + { + "Agent": { + "Windows2019": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general", + "TestTargetFramework": "netcoreapp3.1" + } + }, + "TestMode": { + "netcoreapp31_Coverage_Record": { + "SupportsRecording": true, + "CollectCoverage": true + } + } + } + ] +} diff --git a/eng/service.proj b/eng/service.proj index 7fe681dc1560a..d8bb19a293c7d 100644 --- a/eng/service.proj +++ b/eng/service.proj @@ -13,7 +13,7 @@ false - + @@ -28,8 +28,9 @@ - + + @@ -79,4 +80,23 @@ SkipNonexistentProjects="false" SkipNonexistentTargets="true" /> + + + + + + + + + + + <_WriteToLines Include="%24%28RepoRoot%29%(ProjectsToIncludeFitered.Identity)" /> + + + + diff --git a/sdk/core/ci.yml b/sdk/core/ci.yml index be3643b2915ea..36d7f4e6c0bba 100644 --- a/sdk/core/ci.yml +++ b/sdk/core/ci.yml @@ -56,3 +56,4 @@ extends: TestSetupSteps: - template: /sdk/storage/tests-install-azurite.yml TestTimeoutInMinutes: 100 + TestDependsOnDependency: Azure.Core \ No newline at end of file diff --git a/sdk/core/tests.yml b/sdk/core/tests.yml index c96181c059d35..45a75e475c643 100644 --- a/sdk/core/tests.yml +++ b/sdk/core/tests.yml @@ -4,3 +4,4 @@ extends: template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: ServiceDirectory: core + TestDependsOnDependency: Azure.Core \ No newline at end of file From 204ffa2e23e4bfde995ced0c846c53ef9ea68402 Mon Sep 17 00:00:00 2001 From: Yingying Wu <98626395+yyw-msft@users.noreply.github.com> Date: Mon, 15 Aug 2022 10:31:15 -0700 Subject: [PATCH 04/15] update eventParser, added tests (#30487) * update eventParser, added tests * added back parse with binaryData --- ...munication.CallingServer.netstandard2.0.cs | 17 +- .../Events/CallAutomationEventParser.cs | 111 +++++++++++ .../src/Models/Events/EventParser.cs | 131 ------------- .../Events/CallAutomationEventParserTests.cs | 176 ++++++++++++++++++ 4 files changed, 295 insertions(+), 140 deletions(-) create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallAutomationEventParser.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Models/Events/EventParser.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/Events/CallAutomationEventParserTests.cs diff --git a/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs b/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs index dc1dc52999881..e23c0069f3a43 100644 --- a/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs @@ -68,6 +68,14 @@ protected CallAutomationEventBase() { } public string CorrelationId { get { throw null; } } public string ServerCallId { get { throw null; } } } + public static partial class CallAutomationEventParser + { + public static Azure.Communication.CallingServer.CallAutomationEventBase Parse(Azure.Messaging.CloudEvent cloudEvent) { throw null; } + public static Azure.Communication.CallingServer.CallAutomationEventBase Parse(System.BinaryData json) { throw null; } + public static Azure.Communication.CallingServer.CallAutomationEventBase Parse(string eventData, string eventType) { throw null; } + public static Azure.Communication.CallingServer.CallAutomationEventBase[] ParseMany(Azure.Messaging.CloudEvent[] cloudEvents) { throw null; } + public static Azure.Communication.CallingServer.CallAutomationEventBase[] ParseMany(System.BinaryData json) { throw null; } + } public static partial class CallAutomationModelFactory { public static Azure.Communication.CallingServer.AddParticipantsFailed AddParticipantsFailed(string operationContext = null, Azure.Communication.CallingServer.ResultInformation resultInformation = null, System.Collections.Generic.IEnumerable participants = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } @@ -273,15 +281,6 @@ internal CreateCallResult() { } public Azure.Communication.CallingServer.CallConnection CallConnection { get { throw null; } } public Azure.Communication.CallingServer.CallConnectionProperties CallProperties { get { throw null; } } } - public static partial class EventParser - { - public static Azure.Communication.CallingServer.CallAutomationEventBase Parse(Azure.Messaging.CloudEvent cloudEvent) { throw null; } - public static Azure.Communication.CallingServer.CallAutomationEventBase Parse(System.BinaryData content) { throw null; } - public static Azure.Communication.CallingServer.CallAutomationEventBase Parse(string content) { throw null; } - public static Azure.Communication.CallingServer.CallAutomationEventBase[] ParseMany(Azure.Messaging.CloudEvent[] cloudEvents) { throw null; } - public static Azure.Communication.CallingServer.CallAutomationEventBase[] ParseMany(System.BinaryData content) { throw null; } - public static Azure.Communication.CallingServer.CallAutomationEventBase[] ParseMany(string content) { throw null; } - } public partial class FileSource : Azure.Communication.CallingServer.PlaySource { public FileSource(System.Uri fileUri) { } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallAutomationEventParser.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallAutomationEventParser.cs new file mode 100644 index 0000000000000..f24539c11b93e --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallAutomationEventParser.cs @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using Azure.Messaging; + +namespace Azure.Communication.CallingServer +{ + /// + /// Helper class for parsing Acs call back events. + /// + public static class CallAutomationEventParser + { + private const string EventPrefix = "Microsoft.Communication."; + + /// + /// Parsing a CallAutomation event from a CloudEvent. + /// + /// . + /// A object. + public static CallAutomationEventBase Parse(CloudEvent cloudEvent) + { + return Deserialize(cloudEvent.Data.ToString(), cloudEvent.Type); + } + + /// + /// Parsing a CallAutomation event from BinaryData. + /// + /// event json in BinaryData format. + /// A object. + public static CallAutomationEventBase Parse(BinaryData json) + { + CloudEvent cloudEvent = CloudEvent.Parse(json); + return Deserialize(cloudEvent.Data.ToString(), cloudEvent.Type); + } + + /// + /// Parsing a CallAutomation event given the data and event type of the payload. + /// + /// the event data of a in string. + /// the event type of a in string. + /// An array of object. + public static CallAutomationEventBase Parse(string eventData, string eventType) + { + return Deserialize(eventData, eventType); + } + + /// + /// Parsing CallAutomation events from an array of CloudEvent. + /// + /// . + /// An array of object. + public static CallAutomationEventBase[] ParseMany(CloudEvent[] cloudEvents) + { + var callAutomationEvents = new CallAutomationEventBase[cloudEvents.Length]; + for (int i = 0; i < cloudEvents.Length; i++) + { + var cloudEvent = cloudEvents[i]; + callAutomationEvents[i] = Deserialize(cloudEvent.Data.ToString(), cloudEvent.Type); + } + return callAutomationEvents; + } + + /// + /// Parsing CallAutomation events from BinaryData. + /// + /// events json in BinaryData format. + /// An array of object. + public static CallAutomationEventBase[] ParseMany(BinaryData json) + { + CloudEvent[] cloudEvents = CloudEvent.ParseMany(json); + var callAutomationEvents = new CallAutomationEventBase[cloudEvents.Length]; + for (int i = 0; i < cloudEvents.Length; i++) + { + var cloudEvent = cloudEvents[i]; + callAutomationEvents[i] = Deserialize(cloudEvent.Data.ToString(), cloudEvent.Type); + } + return callAutomationEvents; + } + + /// + /// Deserialize a CloudEvent to its corresponding CallAutomation Event. + /// + /// the event data of a in string. + /// the event type of a in string. + /// A object. + private static CallAutomationEventBase Deserialize(string eventData, string type) + { + var eventType = type.Replace(EventPrefix, ""); + switch (eventType) + { + case nameof(AddParticipantsFailed): + return AddParticipantsFailed.Deserialize(eventData); + case nameof(AddParticipantsSucceeded): + return AddParticipantsSucceeded.Deserialize(eventData); + case nameof(CallConnected): + return CallConnected.Deserialize(eventData); + case nameof(CallDisconnected): + return CallDisconnected.Deserialize(eventData); + case nameof(CallTransferAccepted): + return CallTransferAccepted.Deserialize(eventData); + case nameof(CallTransferFailed): + return CallTransferFailed.Deserialize(eventData); + case nameof(ParticipantsUpdated): + return ParticipantsUpdated.Deserialize(eventData); + default: + return null; + } + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/EventParser.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/EventParser.cs deleted file mode 100644 index 5f50c3f3b08ae..0000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/EventParser.cs +++ /dev/null @@ -1,131 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using Azure.Messaging; - -namespace Azure.Communication.CallingServer -{ - /// - /// Helper class for parsing Acs call back events. - /// - public static class EventParser - { - private const string EventPrefix = "Microsoft.Communication."; - - /// - /// Parsing an event from a string. - /// - /// event json in string format. - /// A object. - public static CallAutomationEventBase Parse(string content) - { - CloudEvent cloudEvent = CloudEvent.Parse(BinaryData.FromString(content)); - return Deserialize(cloudEvent); - } - - /// - /// Parsing an event from BinaryData. - /// - /// event json in BinaryData format. - /// A object. - public static CallAutomationEventBase Parse(BinaryData content) - { - CloudEvent cloudEvent = CloudEvent.Parse(content); - return Deserialize(cloudEvent); - } - - /// - /// Parsing an event from a CloudEvent. - /// - /// . - /// A object. - public static CallAutomationEventBase Parse(CloudEvent cloudEvent) - { - return Deserialize(cloudEvent); - } - - /// - /// Parsing events from a string. - /// - /// events json in string format. - /// An array of object. - public static CallAutomationEventBase[] ParseMany(string content) - { - CloudEvent[] cloudEvents = CloudEvent.ParseMany(BinaryData.FromString(content)); - var callAutomationEvents = new CallAutomationEventBase[cloudEvents.Length]; - for (int i = 0; i < cloudEvents.Length; i++) - { - var cloudEvent = cloudEvents[i]; - callAutomationEvents[i] = Deserialize(cloudEvent); - } - return callAutomationEvents; - } - - /// - /// Parsing events from BinaryData. - /// - /// events json in BinaryData format. - /// An array of object. - public static CallAutomationEventBase[] ParseMany(BinaryData content) - { - CloudEvent[] cloudEvents = CloudEvent.ParseMany(content); - var callAutomationEvents = new CallAutomationEventBase[cloudEvents.Length]; - for (int i = 0; i < cloudEvents.Length; i++) - { - var cloudEvent = cloudEvents[i]; - callAutomationEvents[i] = Deserialize(cloudEvent); - } - return callAutomationEvents; - } - - /// - /// Parsing events from an array of CloudEvent. - /// - /// . - /// An array of object. - public static CallAutomationEventBase[] ParseMany(CloudEvent[] cloudEvents) - { - var callAutomationEvents = new CallAutomationEventBase[cloudEvents.Length]; - for (int i = 0; i < cloudEvents.Length; i++) - { - var cloudEvent = cloudEvents[i]; - callAutomationEvents[i] = Deserialize(cloudEvent); - } - return callAutomationEvents; - } - - /// - /// Deserialize a CloudEvent to its corresponding CallingServer Event. - /// - /// . - /// A object. - private static CallAutomationEventBase Deserialize(CloudEvent cloudEvent) - { - if (cloudEvent != null && cloudEvent.Data != null) - { - var eventType = cloudEvent.Type.Replace(EventPrefix, ""); - switch (eventType) - { - case nameof(AddParticipantsFailed): - return AddParticipantsFailed.Deserialize(cloudEvent.Data.ToString()); - case nameof(AddParticipantsSucceeded): - return AddParticipantsSucceeded.Deserialize(cloudEvent.Data.ToString()); - case nameof(CallConnected): - return CallConnected.Deserialize(cloudEvent.Data.ToString()); - case nameof(CallDisconnected): - return CallDisconnected.Deserialize(cloudEvent.Data.ToString()); - case nameof(CallTransferAccepted): - return CallTransferAccepted.Deserialize(cloudEvent.Data.ToString()); - case nameof(CallTransferFailed): - return CallTransferFailed.Deserialize(cloudEvent.Data.ToString()); - case nameof(ParticipantsUpdated): - return ParticipantsUpdated.Deserialize(cloudEvent.Data.ToString()); - default: - return null; - } - } - return null; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/Events/CallAutomationEventParserTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/Events/CallAutomationEventParserTests.cs new file mode 100644 index 0000000000000..7546efe42ba37 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/Events/CallAutomationEventParserTests.cs @@ -0,0 +1,176 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Text.Json; +using Azure.Messaging; +using Newtonsoft.Json.Linq; +using NUnit.Framework; + +namespace Azure.Communication.CallingServer.Tests.Events +{ + public class CallAutomationEventParserTests + { + [Test] + public void EventParserShouldParseEventWithEventDataAndType() + { + // arrange + var callConnectionId = Guid.NewGuid().ToString(); + var serverCallId = Guid.NewGuid().ToString(); + var correlationId = Guid.NewGuid().ToString(); + + JsonSerializerOptions jsonOptions = new() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase }; + CallConnected @event = CallAutomationModelFactory.CallConnected(callConnectionId, serverCallId, correlationId); + string jsonEvent = JsonSerializer.Serialize(@event, jsonOptions); + + // act + CallAutomationEventBase callConnected = CallAutomationEventParser.Parse(jsonEvent, "Microsoft.Communication.CallConnected"); + + // assert + Assert.AreEqual(callConnected.GetType(), typeof(CallConnected)); + Assert.AreEqual(callConnectionId, callConnected.CallConnectionId); + Assert.AreEqual(serverCallId, callConnected.ServerCallId); + Assert.AreEqual(correlationId, callConnected.CorrelationId); + } + + [Test] + public void EventParserShouldParseEventWithCloudEvent() + { + // arrange + var callConnectionId = Guid.NewGuid().ToString(); + var serverCallId = Guid.NewGuid().ToString(); + var correlationId = Guid.NewGuid().ToString(); + + JObject jsonEvent = new JObject(); + jsonEvent["callConnectionId"] = callConnectionId; + jsonEvent["serverCallId"] = serverCallId; + jsonEvent["correlationId"] = correlationId; + + var binaryEvent = BinaryData.FromString(jsonEvent.ToString()); + + var cloudEvent = new CloudEvent("foo/source", "Microsoft.Communication.CallConnected", binaryEvent, ""); + + // act + CallAutomationEventBase callConnected = CallAutomationEventParser.Parse(cloudEvent); + + // assert + Assert.AreEqual(callConnected.GetType(), typeof(CallConnected)); + Assert.AreEqual(callConnectionId, callConnected.CallConnectionId); + Assert.AreEqual(serverCallId, callConnected.ServerCallId); + Assert.AreEqual(correlationId, callConnected.CorrelationId); + } + + [Test] + public void EventParserShouldParseEventWithBinaryData() + { + // arrange + var callConnectionId = Guid.NewGuid().ToString(); + var serverCallId = Guid.NewGuid().ToString(); + var correlationId = Guid.NewGuid().ToString(); + + JObject jsonEvent = new JObject(); + jsonEvent["callConnectionId"] = callConnectionId; + jsonEvent["serverCallId"] = serverCallId; + jsonEvent["correlationId"] = correlationId; + + var binaryEvent = BinaryData.FromString(jsonEvent.ToString()); + + var cloudEvent = new CloudEvent("foo/source", "Microsoft.Communication.CallConnected", binaryEvent, ""); + + // act + CallAutomationEventBase callConnected = CallAutomationEventParser.Parse(new BinaryData(cloudEvent)); + + // assert + Assert.AreEqual(callConnected.GetType(), typeof(CallConnected)); + Assert.AreEqual(callConnectionId, callConnected.CallConnectionId); + Assert.AreEqual(serverCallId, callConnected.ServerCallId); + Assert.AreEqual(correlationId, callConnected.CorrelationId); + } + + [Test] + public void EventParserShouldParseEventsWithCloudEvents() + { + // arrange + var callConnectionId1 = Guid.NewGuid().ToString(); + var serverCallId1 = Guid.NewGuid().ToString(); + var correlationId1 = Guid.NewGuid().ToString(); + + JObject jsonEvent1 = new JObject(); + jsonEvent1["callConnectionId"] = callConnectionId1; + jsonEvent1["serverCallId"] = serverCallId1; + jsonEvent1["correlationId"] = correlationId1; + var binaryEvent1 = BinaryData.FromString(jsonEvent1.ToString()); + + var callConnectionId2 = Guid.NewGuid().ToString(); + var serverCallId2 = Guid.NewGuid().ToString(); + var correlationId2 = Guid.NewGuid().ToString(); + + JObject jsonEvent2 = new JObject(); + jsonEvent2["callConnectionId"] = callConnectionId2; + jsonEvent2["serverCallId"] = serverCallId2; + jsonEvent2["correlationId"] = correlationId2; + var binaryEvent2 = BinaryData.FromString(jsonEvent2.ToString()); + + var cloudEvents = new CloudEvent[] { + new CloudEvent("foo/source", "Microsoft.Communication.CallConnected", binaryEvent1, ""), + new CloudEvent("foo/source", "Microsoft.Communication.CallDisconnected", binaryEvent2, "") }; + + // act + CallAutomationEventBase[] callAutomationEvents = CallAutomationEventParser.ParseMany(cloudEvents); + + // assert + Assert.AreEqual(2, callAutomationEvents.Length); + Assert.AreEqual(callAutomationEvents[0].GetType(), typeof(CallConnected)); + Assert.AreEqual(callConnectionId1, callAutomationEvents[0].CallConnectionId); + Assert.AreEqual(serverCallId1, callAutomationEvents[0].ServerCallId); + Assert.AreEqual(correlationId1, callAutomationEvents[0].CorrelationId); + Assert.AreEqual(callAutomationEvents[1].GetType(), typeof(CallDisconnected)); + Assert.AreEqual(callConnectionId2, callAutomationEvents[1].CallConnectionId); + Assert.AreEqual(serverCallId2, callAutomationEvents[1].ServerCallId); + Assert.AreEqual(correlationId2, callAutomationEvents[1].CorrelationId); + } + + [Test] + public void EventParserShouldParseEventsWithBinaryData() + { + // arrange + var callConnectionId1 = Guid.NewGuid().ToString(); + var serverCallId1 = Guid.NewGuid().ToString(); + var correlationId1 = Guid.NewGuid().ToString(); + + JObject jsonEvent1 = new JObject(); + jsonEvent1["callConnectionId"] = callConnectionId1; + jsonEvent1["serverCallId"] = serverCallId1; + jsonEvent1["correlationId"] = correlationId1; + var binaryEvent1 = BinaryData.FromString(jsonEvent1.ToString()); + + var callConnectionId2 = Guid.NewGuid().ToString(); + var serverCallId2 = Guid.NewGuid().ToString(); + var correlationId2 = Guid.NewGuid().ToString(); + + JObject jsonEvent2 = new JObject(); + jsonEvent2["callConnectionId"] = callConnectionId2; + jsonEvent2["serverCallId"] = serverCallId2; + jsonEvent2["correlationId"] = correlationId2; + var binaryEvent2 = BinaryData.FromString(jsonEvent2.ToString()); + + var cloudEvents = new CloudEvent[] { + new CloudEvent("foo/source", "Microsoft.Communication.CallConnected", binaryEvent1, ""), + new CloudEvent("foo/source", "Microsoft.Communication.CallDisconnected", binaryEvent2, "") }; + + // act + CallAutomationEventBase[] callAutomationEvents = CallAutomationEventParser.ParseMany(new BinaryData(cloudEvents)); + + // assert + Assert.AreEqual(2, callAutomationEvents.Length); + Assert.AreEqual(callAutomationEvents[0].GetType(), typeof(CallConnected)); + Assert.AreEqual(callConnectionId1, callAutomationEvents[0].CallConnectionId); + Assert.AreEqual(serverCallId1, callAutomationEvents[0].ServerCallId); + Assert.AreEqual(correlationId1, callAutomationEvents[0].CorrelationId); + Assert.AreEqual(callAutomationEvents[1].GetType(), typeof(CallDisconnected)); + Assert.AreEqual(callConnectionId2, callAutomationEvents[1].CallConnectionId); + Assert.AreEqual(serverCallId2, callAutomationEvents[1].ServerCallId); + Assert.AreEqual(correlationId2, callAutomationEvents[1].CorrelationId); + } + } +} From fa7d7861911eba6cb2f9d6ef5caac8326a1b1eb4 Mon Sep 17 00:00:00 2001 From: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Date: Mon, 15 Aug 2022 10:49:36 -0700 Subject: [PATCH 05/15] Disable the test splitting as there is restore issue (#30514) --- sdk/core/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/core/ci.yml b/sdk/core/ci.yml index 36d7f4e6c0bba..a7c82836fdb54 100644 --- a/sdk/core/ci.yml +++ b/sdk/core/ci.yml @@ -55,5 +55,4 @@ extends: TestSetupSteps: - template: /sdk/storage/tests-install-azurite.yml - TestTimeoutInMinutes: 100 - TestDependsOnDependency: Azure.Core \ No newline at end of file + TestTimeoutInMinutes: 100 \ No newline at end of file From 387ce58e6d35f65fc3842b051d20f67beaaccdce Mon Sep 17 00:00:00 2001 From: williamzhao87 Date: Mon, 15 Aug 2022 14:19:15 -0400 Subject: [PATCH 06/15] [Azure.Communication.JobRouter] Fix several bugs (#30501) * Fix router bugs * Fix timespan bugs * Rerun export API * Tests --- ....Communication.JobRouter.netstandard2.0.cs | 62 +-- .../src/Models/CancelJobOptions.cs | 2 +- .../src/Models/CloseJobOptions.cs | 4 +- .../src/Models/CompleteJobOptions.cs | 4 +- .../CreateClassificationPolicyOptions.cs | 2 +- .../Models/CreateDistributionPolicyOptions.cs | 6 +- .../Models/CreateExceptionPolicyOptions.cs | 7 +- .../src/Models/CreateJobOptions.cs | 8 +- ...reateJobWithClassificationPolicyOptions.cs | 6 +- .../src/Models/CreateQueueOptions.cs | 5 +- .../src/Models/CreateWorkerOptions.cs | 5 +- .../PassThroughWorkerSelectorAttachment.cs | 2 +- .../UpdateClassificationPolicyOptions.cs | 3 +- .../Models/UpdateDistributionPolicyOptions.cs | 4 +- .../Models/UpdateExceptionPolicyOptions.cs | 2 +- .../src/Models/UpdateJobOptions.cs | 4 +- .../src/Models/UpdateQueueOptions.cs | 4 +- .../src/Models/UpdateWorkerOptions.cs | 6 +- .../src/Models/WaitTimeExceptionTrigger.cs | 5 +- .../RouterClients/RouterClientCrudTests.cs | 6 +- .../tests/Scenarios/QueueScenario.cs | 3 - ...tionPolicyWithCombiningLabelSelectors.json | 462 +++++++++++------- ...olicyWithCombiningLabelSelectorsAsync.json | 403 ++++++++------- ...ionPolicyWithConditionalLabelSelector.json | 253 ++++++---- ...licyWithConditionalLabelSelectorAsync.json | 239 +++++---- ...ClassificationPolicyWithFallbackQueue.json | 192 +++++--- ...ificationPolicyWithFallbackQueueAsync.json | 149 +++--- ...ionPolicyWithPassThroughLabelSelector.json | 259 ++++++---- ...licyWithPassThroughLabelSelectorAsync.json | 267 +++++----- ...ficationPolicyWithStaticLabelSelector.json | 192 +++++--- ...ionPolicyWithStaticLabelSelectorAsync.json | 179 ++++--- .../SimpleQueueingScenarioAsync.json | 112 ++--- ...ificationPolicy_w_StaticQueueSelector.json | 262 ++++------ ...tionPolicy_w_StaticQueueSelectorAsync.json | 219 ++++----- 34 files changed, 1785 insertions(+), 1553 deletions(-) diff --git a/sdk/communication/Azure.Communication.JobRouter/api/Azure.Communication.JobRouter.netstandard2.0.cs b/sdk/communication/Azure.Communication.JobRouter/api/Azure.Communication.JobRouter.netstandard2.0.cs index 2bb495d89efb4..c3f4bcef898af 100644 --- a/sdk/communication/Azure.Communication.JobRouter/api/Azure.Communication.JobRouter.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.JobRouter/api/Azure.Communication.JobRouter.netstandard2.0.cs @@ -18,7 +18,7 @@ public partial class CancelJobOptions { public CancelJobOptions(string jobId) { } public string DispositionCode { get { throw null; } set { } } - public string JobId { get { throw null; } set { } } + public string JobId { get { throw null; } } public string Note { get { throw null; } set { } } } public partial class ChannelConfiguration @@ -29,17 +29,17 @@ public ChannelConfiguration(int capacityCostPerJob) { } public partial class CloseJobOptions { public CloseJobOptions(string jobId, string assignmentId) { } - public string AssignmentId { get { throw null; } set { } } + public string AssignmentId { get { throw null; } } public System.DateTimeOffset CloseTime { get { throw null; } set { } } public string DispositionCode { get { throw null; } set { } } - public string JobId { get { throw null; } set { } } + public string JobId { get { throw null; } } public string Note { get { throw null; } set { } } } public partial class CompleteJobOptions { public CompleteJobOptions(string jobId, string assignmentId) { } - public string AssignmentId { get { throw null; } set { } } - public string JobId { get { throw null; } set { } } + public string AssignmentId { get { throw null; } } + public string JobId { get { throw null; } } public string Note { get { throw null; } set { } } } public partial class ConditionalQueueSelectorAttachment : Azure.Communication.JobRouter.QueueSelectorAttachment @@ -57,7 +57,7 @@ public ConditionalWorkerSelectorAttachment(Azure.Communication.JobRouter.RouterR public partial class CreateClassificationPolicyOptions { public CreateClassificationPolicyOptions(string classificationPolicyId) { } - public string ClassificationPolicyId { get { throw null; } set { } } + public string ClassificationPolicyId { get { throw null; } } public string FallbackQueueId { get { throw null; } set { } } public string Name { get { throw null; } set { } } public Azure.Communication.JobRouter.RouterRule PrioritizationRule { get { throw null; } set { } } @@ -67,41 +67,41 @@ public CreateClassificationPolicyOptions(string classificationPolicyId) { } public partial class CreateDistributionPolicyOptions { public CreateDistributionPolicyOptions(string distributionPolicyId, System.TimeSpan offerTtl, Azure.Communication.JobRouter.DistributionMode mode) { } - public string DistributionPolicyId { get { throw null; } set { } } - public Azure.Communication.JobRouter.DistributionMode Mode { get { throw null; } set { } } + public string DistributionPolicyId { get { throw null; } } + public Azure.Communication.JobRouter.DistributionMode Mode { get { throw null; } } public string Name { get { throw null; } set { } } - public System.TimeSpan OfferTtl { get { throw null; } set { } } + public System.TimeSpan OfferTtl { get { throw null; } } } public partial class CreateExceptionPolicyOptions { public CreateExceptionPolicyOptions(string exceptionPolicyId, System.Collections.Generic.IDictionary exceptionRules) { } - public string ExceptionPolicyId { get { throw null; } set { } } - public System.Collections.Generic.IDictionary ExceptionRules { get { throw null; } set { } } + public string ExceptionPolicyId { get { throw null; } } + public System.Collections.Generic.IDictionary ExceptionRules { get { throw null; } } public string Name { get { throw null; } set { } } } public partial class CreateJobOptions { public CreateJobOptions(string jobId, string channelId, string queueId) { } - public string ChannelId { get { throw null; } set { } } + public string ChannelId { get { throw null; } } public string ChannelReference { get { throw null; } set { } } - public string JobId { get { throw null; } set { } } + public string JobId { get { throw null; } } public System.Collections.Generic.IDictionary Labels { get { throw null; } set { } } public System.Collections.Generic.IDictionary Notes { get { throw null; } set { } } - public int Priority { get { throw null; } set { } } - public string QueueId { get { throw null; } set { } } + public int? Priority { get { throw null; } set { } } + public string QueueId { get { throw null; } } public System.Collections.Generic.IList RequestedWorkerSelectors { get { throw null; } set { } } public System.Collections.Generic.IDictionary Tags { get { throw null; } set { } } } public partial class CreateJobWithClassificationPolicyOptions { public CreateJobWithClassificationPolicyOptions(string jobId, string channelId, string classificationPolicyId) { } - public string ChannelId { get { throw null; } set { } } + public string ChannelId { get { throw null; } } public string ChannelReference { get { throw null; } set { } } public string ClassificationPolicyId { get { throw null; } set { } } - public string JobId { get { throw null; } set { } } + public string JobId { get { throw null; } } public System.Collections.Generic.IDictionary Labels { get { throw null; } set { } } public System.Collections.Generic.IDictionary Notes { get { throw null; } set { } } - public int Priority { get { throw null; } set { } } + public int? Priority { get { throw null; } set { } } public string QueueId { get { throw null; } set { } } public System.Collections.Generic.IList RequestedWorkerSelectors { get { throw null; } set { } } public System.Collections.Generic.IDictionary Tags { get { throw null; } set { } } @@ -109,11 +109,11 @@ public CreateJobWithClassificationPolicyOptions(string jobId, string channelId, public partial class CreateQueueOptions { public CreateQueueOptions(string queueId, string distributionPolicyId) { } - public string DistributionPolicyId { get { throw null; } set { } } + public string DistributionPolicyId { get { throw null; } } public string ExceptionPolicyId { get { throw null; } set { } } public System.Collections.Generic.IDictionary Labels { get { throw null; } set { } } public string Name { get { throw null; } set { } } - public string QueueId { get { throw null; } set { } } + public string QueueId { get { throw null; } } } public partial class CreateWorkerOptions { @@ -123,8 +123,8 @@ public CreateWorkerOptions(string workerId, int totalCapacity) { } public System.Collections.Generic.IDictionary Labels { get { throw null; } set { } } public System.Collections.Generic.IDictionary QueueIds { get { throw null; } set { } } public System.Collections.Generic.IDictionary Tags { get { throw null; } set { } } - public int TotalCapacity { get { throw null; } set { } } - public string WorkerId { get { throw null; } set { } } + public int TotalCapacity { get { throw null; } } + public string WorkerId { get { throw null; } } } public partial class DirectMapRule : Azure.Communication.JobRouter.RouterRule { @@ -447,7 +447,7 @@ public StaticWorkerSelectorAttachment(Azure.Communication.JobRouter.WorkerSelect public partial class UpdateClassificationPolicyOptions { public UpdateClassificationPolicyOptions(string classificationPolicyId) { } - public string ClassificationPolicyId { get { throw null; } set { } } + public string ClassificationPolicyId { get { throw null; } } public string FallbackQueueId { get { throw null; } set { } } public string Name { get { throw null; } set { } } public Azure.Communication.JobRouter.RouterRule PrioritizationRule { get { throw null; } set { } } @@ -457,7 +457,7 @@ public UpdateClassificationPolicyOptions(string classificationPolicyId) { } public partial class UpdateDistributionPolicyOptions { public UpdateDistributionPolicyOptions(string distributionPolicyId) { } - public string DistributionPolicyId { get { throw null; } set { } } + public string DistributionPolicyId { get { throw null; } } public Azure.Communication.JobRouter.DistributionMode Mode { get { throw null; } set { } } public string Name { get { throw null; } set { } } public System.TimeSpan OfferTtl { get { throw null; } set { } } @@ -465,7 +465,7 @@ public UpdateDistributionPolicyOptions(string distributionPolicyId) { } public partial class UpdateExceptionPolicyOptions { public UpdateExceptionPolicyOptions(string exceptionPolicyId) { } - public string ExceptionPolicyId { get { throw null; } set { } } + public string ExceptionPolicyId { get { throw null; } } public System.Collections.Generic.IDictionary ExceptionRules { get { throw null; } set { } } public string Name { get { throw null; } set { } } } @@ -476,10 +476,10 @@ public UpdateJobOptions(string jobId) { } public string ChannelReference { get { throw null; } set { } } public string ClassificationPolicyId { get { throw null; } set { } } public string DispositionCode { get { throw null; } set { } } - public string JobId { get { throw null; } set { } } + public string JobId { get { throw null; } } public System.Collections.Generic.IDictionary Labels { get { throw null; } set { } } public System.Collections.Generic.IDictionary Notes { get { throw null; } set { } } - public int Priority { get { throw null; } set { } } + public int? Priority { get { throw null; } set { } } public string QueueId { get { throw null; } set { } } public System.Collections.Generic.IList RequestedWorkerSelectors { get { throw null; } set { } } public System.Collections.Generic.IDictionary Tags { get { throw null; } set { } } @@ -491,18 +491,18 @@ public UpdateQueueOptions(string queueId) { } public string ExceptionPolicyId { get { throw null; } set { } } public System.Collections.Generic.IDictionary Labels { get { throw null; } set { } } public string Name { get { throw null; } set { } } - public string QueueId { get { throw null; } set { } } + public string QueueId { get { throw null; } } } public partial class UpdateWorkerOptions { public UpdateWorkerOptions(string workerId) { } - public bool AvailableForOffers { get { throw null; } set { } } + public bool? AvailableForOffers { get { throw null; } set { } } public System.Collections.Generic.IDictionary ChannelConfigurations { get { throw null; } set { } } public System.Collections.Generic.IDictionary Labels { get { throw null; } set { } } public System.Collections.Generic.IDictionary QueueIds { get { throw null; } set { } } public System.Collections.Generic.IDictionary Tags { get { throw null; } set { } } - public int TotalCapacity { get { throw null; } set { } } - public string WorkerId { get { throw null; } set { } } + public int? TotalCapacity { get { throw null; } set { } } + public string WorkerId { get { throw null; } } } public partial class WaitTimeExceptionTrigger : Azure.Communication.JobRouter.JobExceptionTrigger { diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/CancelJobOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/CancelJobOptions.cs index 4372ae28dccea..881328335562f 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/CancelJobOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/CancelJobOptions.cs @@ -28,7 +28,7 @@ public CancelJobOptions(string jobId) /// /// Id of the job. /// - public string JobId { get; set; } + public string JobId { get; } /// Reason code for cancelled or closed jobs. public string DispositionCode { get; set; } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/CloseJobOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/CloseJobOptions.cs index 337fa4a5f84ec..ec2e64e51c46a 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/CloseJobOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/CloseJobOptions.cs @@ -32,12 +32,12 @@ public CloseJobOptions(string jobId, string assignmentId) /// /// Id of the job. /// - public string JobId { get; set; } + public string JobId { get; } /// /// The id used to assign the job to a worker. /// - public string AssignmentId { get; set; } + public string AssignmentId { get; } /// Reason code for cancelled or closed jobs. public string DispositionCode { get; set; } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/CompleteJobOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/CompleteJobOptions.cs index fbf43beadbb31..a7e66eb3f2ea5 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/CompleteJobOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/CompleteJobOptions.cs @@ -32,12 +32,12 @@ public CompleteJobOptions(string jobId, string assignmentId) /// /// Id of the job. /// - public string JobId { get; set; } + public string JobId { get; } /// /// The id used to assign the job to a worker. /// - public string AssignmentId { get; set; } + public string AssignmentId { get; } /// /// Custom supplied note. diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateClassificationPolicyOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateClassificationPolicyOptions.cs index a5f4e18f67e83..c1c38396aa2c8 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateClassificationPolicyOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateClassificationPolicyOptions.cs @@ -28,7 +28,7 @@ public CreateClassificationPolicyOptions(string classificationPolicyId) /// /// Unique key that identifies this policy. /// - public string ClassificationPolicyId { get; set; } + public string ClassificationPolicyId { get; } /// Friendly name of this policy. public string Name { get; set; } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateDistributionPolicyOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateDistributionPolicyOptions.cs index 1b95b9f2aca19..340ec01084d83 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateDistributionPolicyOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateDistributionPolicyOptions.cs @@ -34,17 +34,17 @@ public CreateDistributionPolicyOptions(string distributionPolicyId, TimeSpan off /// /// The Id of this policy. /// - public string DistributionPolicyId { get; set; } + public string DistributionPolicyId { get; } /// /// The amount of time before an offer expires. /// - public TimeSpan OfferTtl { get; set; } + public TimeSpan OfferTtl { get; } /// /// The policy governing the specific distribution method. /// - public DistributionMode Mode { get; set; } + public DistributionMode Mode { get; } /// The human readable name of the policy. public string Name { get; set; } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateExceptionPolicyOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateExceptionPolicyOptions.cs index d33fb771e75bb..68ef1b57e83de 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateExceptionPolicyOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateExceptionPolicyOptions.cs @@ -31,15 +31,12 @@ public CreateExceptionPolicyOptions(string exceptionPolicyId, IDictionary /// The Id of this policy. /// - public string ExceptionPolicyId { get; set; } + public string ExceptionPolicyId { get; } /// /// A dictionary collection of exception rules on the exception policy. Key is the Id of each exception rule. /// -#pragma warning disable CA2227 // Collection properties should be read only - public IDictionary ExceptionRules { get; set; } = -#pragma warning restore CA2227 // Collection properties should be read only - new Dictionary(); + public IDictionary ExceptionRules { get; } /// (Optional) The name of the exception policy. public string Name { get; set; } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateJobOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateJobOptions.cs index 5485dd4de9de2..93dd7046ff50f 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateJobOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateJobOptions.cs @@ -36,23 +36,23 @@ public CreateJobOptions(string jobId, string channelId, string queueId) /// /// Id of the job. /// - public string JobId { get; set; } + public string JobId { get; } /// /// The channel or modality upon which this job will be executed. /// - public string ChannelId { get; set; } + public string ChannelId { get; } /// /// If classification policy does not specify a queue selector or a default queue id, then you must specify a queue. Otherwise, queue will be selected based on classification policy. /// - public string QueueId { get; set; } + public string QueueId { get; } /// Reference to an external parent context, eg. call ID. public string ChannelReference { get; set; } /// The priority of this job. - public int Priority { get; set; } + public int? Priority { get; set; } #pragma warning disable CA2227 // Collection properties should be read only /// A collection of manually specified label selectors, which a worker must satisfy in order to process this job. diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateJobWithClassificationPolicyOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateJobWithClassificationPolicyOptions.cs index 774001e1cf673..49f69c3f4b795 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateJobWithClassificationPolicyOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateJobWithClassificationPolicyOptions.cs @@ -36,12 +36,12 @@ public CreateJobWithClassificationPolicyOptions(string jobId, string channelId, /// /// Id of the job. /// - public string JobId { get; set; } + public string JobId { get; } /// /// The channel or modality upon which this job will be executed. /// - public string ChannelId { get; set; } + public string ChannelId { get; } /// /// The classification policy that will determine queue, priority and required abilities. @@ -55,7 +55,7 @@ public CreateJobWithClassificationPolicyOptions(string jobId, string channelId, public string QueueId { get; set; } /// The priority of this job. - public int Priority { get; set; } + public int? Priority { get; set; } #pragma warning disable CA2227 // Collection properties should be read only /// A collection of manually specified label selectors, which a worker must satisfy in order to process this job. diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateQueueOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateQueueOptions.cs index f8d7c46114e98..6a3294fcc5ffe 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateQueueOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateQueueOptions.cs @@ -23,6 +23,7 @@ public class CreateQueueOptions public CreateQueueOptions(string queueId, string distributionPolicyId) { Argument.AssertNotNullOrWhiteSpace(queueId, nameof(queueId)); + Argument.AssertNotNullOrWhiteSpace(distributionPolicyId, nameof(distributionPolicyId)); QueueId = queueId; DistributionPolicyId = distributionPolicyId; @@ -31,12 +32,12 @@ public CreateQueueOptions(string queueId, string distributionPolicyId) /// /// Unique key that identifies this queue. /// - public string QueueId { get; set; } + public string QueueId { get; } /// /// The ID of the distribution policy that will determine how a job is distributed to workers. /// - public string DistributionPolicyId { get; set; } + public string DistributionPolicyId { get; } /// The name of this queue. public string Name { get; set; } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateWorkerOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateWorkerOptions.cs index b22100fa5fd9a..e404a1b5f72cb 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateWorkerOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/CreateWorkerOptions.cs @@ -22,6 +22,7 @@ public class CreateWorkerOptions public CreateWorkerOptions(string workerId, int totalCapacity) { Argument.AssertNotNullOrWhiteSpace(workerId, nameof(workerId)); + Argument.AssertNotNull(totalCapacity, nameof(totalCapacity)); WorkerId = workerId; TotalCapacity = totalCapacity; @@ -30,12 +31,12 @@ public CreateWorkerOptions(string workerId, int totalCapacity) /// /// Unique key that identifies this worker. /// - public string WorkerId { get; set; } + public string WorkerId { get; } /// /// The total capacity score this worker has to manage multiple concurrent jobs. /// - public int TotalCapacity { get; set; } + public int TotalCapacity { get; } /// A flag indicating this worker is open to receive offers or not. public bool AvailableForOffers { get; set; } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/PassThroughWorkerSelectorAttachment.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/PassThroughWorkerSelectorAttachment.cs index c8768703fa441..17a3db2f06537 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/PassThroughWorkerSelectorAttachment.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/PassThroughWorkerSelectorAttachment.cs @@ -18,7 +18,7 @@ public partial class PassThroughWorkerSelectorAttachment /// Describes how long the attached label selector is valid. /// is null. public PassThroughWorkerSelectorAttachment(string key, LabelOperator labelOperator, TimeSpan? ttl = default) - : this(null, key, labelOperator, ttl?.Seconds) + : this(null, key, labelOperator, ttl?.TotalSeconds) { Argument.AssertNotNullOrWhiteSpace(key, nameof(key)); } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateClassificationPolicyOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateClassificationPolicyOptions.cs index ccfafb64ca12b..c418641f1093b 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateClassificationPolicyOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateClassificationPolicyOptions.cs @@ -28,10 +28,11 @@ public UpdateClassificationPolicyOptions(string classificationPolicyId) /// /// Unique key that identifies this policy. /// - public string ClassificationPolicyId { get; set; } + public string ClassificationPolicyId { get; } /// Friendly name of this policy. public string Name { get; set; } + /// The fallback queue to select if the queue selector does not find a match. public string FallbackQueueId { get; set; } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateDistributionPolicyOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateDistributionPolicyOptions.cs index 7d0ae653f65ca..b2bbabe1ba937 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateDistributionPolicyOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateDistributionPolicyOptions.cs @@ -28,14 +28,16 @@ public UpdateDistributionPolicyOptions(string distributionPolicyId) /// /// The Id of this policy. /// - public string DistributionPolicyId { get; set; } + public string DistributionPolicyId { get; } /// The human readable name of the policy. public string Name { get; set; } + /// /// The amount of time before an offer expires. /// public TimeSpan OfferTtl { get; set; } + /// Abstract base class for defining a distribution mode. public DistributionMode Mode { get; set; } } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateExceptionPolicyOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateExceptionPolicyOptions.cs index 6f4a5dc21ed70..aa5dca0325e14 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateExceptionPolicyOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateExceptionPolicyOptions.cs @@ -29,7 +29,7 @@ public UpdateExceptionPolicyOptions(string exceptionPolicyId) /// /// The Id of this policy. /// - public string ExceptionPolicyId { get; set; } + public string ExceptionPolicyId { get; } /// (Optional) The name of the exception policy. public string Name { get; set; } = default!; diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateJobOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateJobOptions.cs index c8183b0f2a3f6..a1ee2033fefd7 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateJobOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateJobOptions.cs @@ -28,7 +28,7 @@ public UpdateJobOptions(string jobId) /// /// Id of the job. /// - public string JobId { get; set; } + public string JobId { get; } /// /// A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. @@ -50,7 +50,7 @@ public UpdateJobOptions(string jobId) public string ChannelId { get; set; } /// The priority of this job. - public int Priority { get; set; } + public int? Priority { get; set; } /// Reason code for cancelled or closed jobs. public string DispositionCode { get; set; } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateQueueOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateQueueOptions.cs index fcc6af6118882..98a3050585303 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateQueueOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateQueueOptions.cs @@ -28,12 +28,14 @@ public UpdateQueueOptions(string queueId) /// /// Unique key that identifies this queue. /// - public string QueueId { get; set; } + public string QueueId { get; } /// The ID of the distribution policy that will determine how a job is distributed to workers. public string DistributionPolicyId { get; set; } + /// The name of this queue. public string Name { get; set; } + /// (Optional) The ID of the exception policy that determines various job escalation rules. public string ExceptionPolicyId { get; set; } diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateWorkerOptions.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateWorkerOptions.cs index a6596d5374ba5..78b0c65ff6b21 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateWorkerOptions.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/UpdateWorkerOptions.cs @@ -29,13 +29,13 @@ public UpdateWorkerOptions(string workerId) /// /// Unique key that identifies this worker. /// - public string WorkerId { get; set; } + public string WorkerId { get; } /// The total capacity score this worker has to manage multiple concurrent jobs. - public int TotalCapacity { get; set; } + public int? TotalCapacity { get; set; } /// A flag indicating this worker is open to receive offers or not. - public bool AvailableForOffers { get; set; } + public bool? AvailableForOffers { get; set; } /// /// A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. diff --git a/sdk/communication/Azure.Communication.JobRouter/src/Models/WaitTimeExceptionTrigger.cs b/sdk/communication/Azure.Communication.JobRouter/src/Models/WaitTimeExceptionTrigger.cs index 56d996d4e16e8..79d3ec72d7844 100644 --- a/sdk/communication/Azure.Communication.JobRouter/src/Models/WaitTimeExceptionTrigger.cs +++ b/sdk/communication/Azure.Communication.JobRouter/src/Models/WaitTimeExceptionTrigger.cs @@ -18,8 +18,7 @@ public partial class WaitTimeExceptionTrigger : JobExceptionTrigger { /// Initializes a new instance of WaitTimeExceptionTrigger. /// Threshold for wait time for this trigger. - public WaitTimeExceptionTrigger(TimeSpan threshold) - :this (null, threshold.Seconds) + public WaitTimeExceptionTrigger(TimeSpan threshold) : this(null, threshold.TotalSeconds) { } @@ -31,7 +30,7 @@ public WaitTimeExceptionTrigger(TimeSpan threshold) internal double _thresholdSeconds { get { - return Threshold.Seconds; + return Threshold.TotalSeconds; } set { diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/RouterClients/RouterClientCrudTests.cs b/sdk/communication/Azure.Communication.JobRouter/tests/RouterClients/RouterClientCrudTests.cs index f1870a715e619..7fbfb803c019c 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/RouterClients/RouterClientCrudTests.cs +++ b/sdk/communication/Azure.Communication.JobRouter/tests/RouterClients/RouterClientCrudTests.cs @@ -337,11 +337,11 @@ public async Task NullOrEmptyIdThrowsError_DeleteExceptionPolicyAsync(string? in [Test] [TestCase(new string?[] { null, null }, typeof(ArgumentNullException))] - [TestCase(new string?[]{null, ""}, typeof(ArgumentNullException))] + [TestCase(new string?[] { null, "" }, typeof(ArgumentNullException))] [TestCase(new string?[] { "", null }, typeof(ArgumentException))] [TestCase(new string?[] { "value", null }, typeof(ArgumentNullException))] [TestCase(new string?[] { null, "value" }, typeof(ArgumentNullException))] - [TestCase(new string?[] { "value", "" }, typeof(ArgumentNullException))] + [TestCase(new string?[] { "value", "" }, typeof(ArgumentException))] [TestCase(new string?[] { "", "value" }, typeof(ArgumentException))] public void NullOrEmptyIdThrowsError_SetQueue(string?[] input, Type exceptionType) { @@ -362,7 +362,7 @@ public void NullOrEmptyIdThrowsError_SetQueue(string?[] input, Type exceptionTyp [TestCase(new string?[] { "", null }, typeof(ArgumentException))] [TestCase(new string?[] { "value", null }, typeof(ArgumentNullException))] [TestCase(new string?[] { null, "value" }, typeof(ArgumentNullException))] - [TestCase(new string?[] { "value", "" }, typeof(ArgumentNullException))] + [TestCase(new string?[] { "value", "" }, typeof(ArgumentException))] [TestCase(new string?[] { "", "value" }, typeof(ArgumentException))] public async Task NullOrEmptyIdThrowsError_SetQueueAsync(string?[] input, Type exceptionType) { diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/Scenarios/QueueScenario.cs b/sdk/communication/Azure.Communication.JobRouter/tests/Scenarios/QueueScenario.cs index ef91bbdb616d5..5d9f20c5d4ac2 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/Scenarios/QueueScenario.cs +++ b/sdk/communication/Azure.Communication.JobRouter/tests/Scenarios/QueueScenario.cs @@ -3,12 +3,9 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; using Azure.Communication.JobRouter.Models; using Azure.Communication.JobRouter.Tests.Infrastructure; -using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Communication.JobRouter.Tests.Scenarios diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithCombiningLabelSelectors.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithCombiningLabelSelectors.json index d3e2b0ae94de4..8263034612e2f 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithCombiningLabelSelectors.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithCombiningLabelSelectors.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/4E-85-5F-A0-57-B2-CA-06-EA-1D-7A-CB-55-D9-93-E9-78?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/59-F1-09-55-9E-1B-88-35-61-52-94-A6-61-D8-D6-5B-32?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "161", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-73482e5947595245863f6bf464a879be-15cbfddf67c4aa4f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "09631c09e792756e4a3fe47cfc0b4ee3", + "traceparent": "00-5c267d4a8612c64a8da7e760576c2052-476182218793c64c-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "60a3c5d927d07ed7f3a3579056860e22", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:18:53 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:28 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -29,17 +29,17 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:18:54 GMT", - "ETag": "\u0022310760cb-0000-0700-0000-62db76af0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:18:55 GMT", + "Date": "Mon, 15 Aug 2022 17:44:33 GMT", + "ETag": "\u002207024c09-0000-0700-0000-62fa86010000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:33 GMT", "Request-Context": "appId=", - "trace-id": "73482e5947595245863f6bf464a879be", + "trace-id": "5c267d4a8612c64a8da7e760576c2052", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0rXbbYgAAAABXpMucYpaCQrl011qQcfJSWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0/YX6YgAAAACdMHSwYCaoS6JWwSX1hkYCQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "4E-85-5F-A0-57-B2-CA-06-EA-1D-7A-CB-55-D9-93-E9-78", + "id": "59-F1-09-55-9E-1B-88-35-61-52-94-A6-61-D8-D6-5B-32", "name": "Simple-Queue-Distribution", "offerTtlSeconds": 600, "mode": { @@ -51,165 +51,165 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/3E-11-A8-80-D4-B4-14-F3-5D-68-78-B7-C1-C0-C6-4B-48?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/F9-5C-B1-13-4D-C0-44-CF-1D-53-03-13-58-6A-CE-D2-3F?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "198", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-764eb9737c5440428fd99a00a22789e3-224cc04aabc6df45-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "2ee5fd383c924d9bd2fad331e4deffd5", + "traceparent": "00-722eebfcc9132049b6a6f5ea23e8fce5-41e30d6ebe186e4a-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "30ad1913cb48af3d0afeea42f0e124b2", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:18:54 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:34 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "4E-85-5F-A0-57-B2-CA-06-EA-1D-7A-CB-55-D9-93-E9-78", + "distributionPolicyId": "59-F1-09-55-9E-1B-88-35-61-52-94-A6-61-D8-D6-5B-32", "labels": { "Region": "NA", "Language": "en", "Product": "O365", - "UniqueIdentifier": "sdk-tjRewF6YH0GACEXR3B04WQ-" + "UniqueIdentifier": "sdk--PWBsA0wE0Sn8f-XSzUdfQ-" } }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:18:56 GMT", - "ETag": "\u00225f00e657-0000-0700-0000-62db76af0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:18:55 GMT", + "Date": "Mon, 15 Aug 2022 17:44:35 GMT", + "ETag": "\u00225e0069b8-0000-0700-0000-62fa86030000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:35 GMT", "Request-Context": "appId=", - "trace-id": "764eb9737c5440428fd99a00a22789e3", + "trace-id": "722eebfcc9132049b6a6f5ea23e8fce5", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0r3bbYgAAAABRB8lUSl/ORp1P\u002B57uCqtmWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Aob6YgAAAABTMJdKzKYRSJzagirFHH8iQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "3E-11-A8-80-D4-B4-14-F3-5D-68-78-B7-C1-C0-C6-4B-48", + "id": "F9-5C-B1-13-4D-C0-44-CF-1D-53-03-13-58-6A-CE-D2-3F", "name": "test", - "distributionPolicyId": "4E-85-5F-A0-57-B2-CA-06-EA-1D-7A-CB-55-D9-93-E9-78", + "distributionPolicyId": "59-F1-09-55-9E-1B-88-35-61-52-94-A6-61-D8-D6-5B-32", "labels": { "Region": "NA", "Language": "en", "Product": "O365", - "UniqueIdentifier": "sdk-tjRewF6YH0GACEXR3B04WQ-", - "Id": "3E-11-A8-80-D4-B4-14-F3-5D-68-78-B7-C1-C0-C6-4B-48" + "UniqueIdentifier": "sdk--PWBsA0wE0Sn8f-XSzUdfQ-", + "Id": "F9-5C-B1-13-4D-C0-44-CF-1D-53-03-13-58-6A-CE-D2-3F" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/2F-91-CC-09-85-47-97-4C-BF-06-E6-06-4A-3C-5F-CA-9C?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/43-C8-D3-52-28-89-FC-E8-C0-7C-93-EA-31-D6-1C-CB-CF?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "198", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-124e6315cb72914c8bc5021d6096177d-ad17a6dda5fdf044-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "b4fe7b95e0dd51f5447254abe944f732", + "traceparent": "00-22f6eeb22d694c49b5c467519f6ba3cc-890c130388baf841-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "62da97c7aa580e24a058578699ab3bb7", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:18:55 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:35 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "4E-85-5F-A0-57-B2-CA-06-EA-1D-7A-CB-55-D9-93-E9-78", + "distributionPolicyId": "59-F1-09-55-9E-1B-88-35-61-52-94-A6-61-D8-D6-5B-32", "labels": { "Region": "NA", "Language": "fr", "Product": "O365", - "UniqueIdentifier": "sdk-tjRewF6YH0GACEXR3B04WQ-" + "UniqueIdentifier": "sdk--PWBsA0wE0Sn8f-XSzUdfQ-" } }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:18:57 GMT", - "ETag": "\u00225f00e757-0000-0700-0000-62db76b10000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:18:57 GMT", + "Date": "Mon, 15 Aug 2022 17:44:36 GMT", + "ETag": "\u00225e006ab8-0000-0700-0000-62fa86050000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:37 GMT", "Request-Context": "appId=", - "trace-id": "124e6315cb72914c8bc5021d6096177d", + "trace-id": "22f6eeb22d694c49b5c467519f6ba3cc", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0sHbbYgAAAAD/uIR/YWogSY9QhhhIRAeMWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0BIb6YgAAAAA2bBExkCdzRplmjPGxnIpEQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "2F-91-CC-09-85-47-97-4C-BF-06-E6-06-4A-3C-5F-CA-9C", + "id": "43-C8-D3-52-28-89-FC-E8-C0-7C-93-EA-31-D6-1C-CB-CF", "name": "test", - "distributionPolicyId": "4E-85-5F-A0-57-B2-CA-06-EA-1D-7A-CB-55-D9-93-E9-78", + "distributionPolicyId": "59-F1-09-55-9E-1B-88-35-61-52-94-A6-61-D8-D6-5B-32", "labels": { "Region": "NA", "Language": "fr", "Product": "O365", - "UniqueIdentifier": "sdk-tjRewF6YH0GACEXR3B04WQ-", - "Id": "2F-91-CC-09-85-47-97-4C-BF-06-E6-06-4A-3C-5F-CA-9C" + "UniqueIdentifier": "sdk--PWBsA0wE0Sn8f-XSzUdfQ-", + "Id": "43-C8-D3-52-28-89-FC-E8-C0-7C-93-EA-31-D6-1C-CB-CF" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/8B-37-47-86-7F-EC-80-EE-A7-02-21-6F-CB-13-0D-0F-3F?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/EB-E5-BC-CB-07-B5-FF-DB-72-CE-F3-75-89-6F-4D-1C-1B?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-790214d44a772641abb2fe73b1cfaa7d-9698532b6ab5e544-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "e6280274a2d3cdde81153697143d906c", + "traceparent": "00-8330c1cb7e424341984d2f6f037894be-9e7a0bf3f1b6e14b-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "21c371a2960a0e2e87f356d13c948e12", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:18:57 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:37 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "4E-85-5F-A0-57-B2-CA-06-EA-1D-7A-CB-55-D9-93-E9-78" + "distributionPolicyId": "59-F1-09-55-9E-1B-88-35-61-52-94-A6-61-D8-D6-5B-32" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:00 GMT", - "ETag": "\u00225f00e857-0000-0700-0000-62db76b40000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:00 GMT", + "Date": "Mon, 15 Aug 2022 17:44:40 GMT", + "ETag": "\u00225e006cb8-0000-0700-0000-62fa86060000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:38 GMT", "Request-Context": "appId=", - "trace-id": "790214d44a772641abb2fe73b1cfaa7d", + "trace-id": "8330c1cb7e424341984d2f6f037894be", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0sXbbYgAAAACCAURlxeU6RJVq3GfkU9Z2WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0BYb6YgAAAAAfCJts/k5HT6nynmvDy/OHQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "8B-37-47-86-7F-EC-80-EE-A7-02-21-6F-CB-13-0D-0F-3F", + "id": "EB-E5-BC-CB-07-B5-FF-DB-72-CE-F3-75-89-6F-4D-1C-1B", "name": "test", - "distributionPolicyId": "4E-85-5F-A0-57-B2-CA-06-EA-1D-7A-CB-55-D9-93-E9-78", + "distributionPolicyId": "59-F1-09-55-9E-1B-88-35-61-52-94-A6-61-D8-D6-5B-32", "labels": { - "Id": "8B-37-47-86-7F-EC-80-EE-A7-02-21-6F-CB-13-0D-0F-3F" + "Id": "EB-E5-BC-CB-07-B5-FF-DB-72-CE-F3-75-89-6F-4D-1C-1B" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/A2-96-94-FA-F1-1A-DE-24-B5-A5-6E-68-C2-20-83-FB-22?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "794", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-689554d7c526ad438a0b58cb28fd71eb-2087cecc6f43d448-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "81e60e409a0d58050893e920e7ef648e", + "traceparent": "00-afa25b905981a749b458457be3c77287-6b1848269d30bb4e-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "bfc8a57eabab69c9f49f90f074b6155f", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:00 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:40 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "fallbackQueueId": "8B-37-47-86-7F-EC-80-EE-A7-02-21-6F-CB-13-0D-0F-3F", + "fallbackQueueId": "EB-E5-BC-CB-07-B5-FF-DB-72-CE-F3-75-89-6F-4D-1C-1B", "queueSelectors": [ { "key": "Region", @@ -255,7 +255,7 @@ "labelSelector": { "key": "UniqueIdentifier", "labelOperator": "equal", - "value": "sdk-tjRewF6YH0GACEXR3B04WQ-" + "value": "sdk--PWBsA0wE0Sn8f-XSzUdfQ-" }, "kind": "static" } @@ -266,18 +266,18 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:01 GMT", - "ETag": "\u00224a011367-0000-0700-0000-62db76b50000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:01 GMT", + "Date": "Mon, 15 Aug 2022 17:44:41 GMT", + "ETag": "\u002296009d94-0000-0700-0000-62fa86090000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:41 GMT", "Request-Context": "appId=", - "trace-id": "689554d7c526ad438a0b58cb28fd71eb", + "trace-id": "afa25b905981a749b458457be3c77287", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0tHbbYgAAAACnJ0BSTRAySbbv3Pq5SkJlWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0CIb6YgAAAADg/RckETOJSJYhG1WIbKq4Q0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "A2-96-94-FA-F1-1A-DE-24-B5-A5-6E-68-C2-20-83-FB-22", - "fallbackQueueId": "8B-37-47-86-7F-EC-80-EE-A7-02-21-6F-CB-13-0D-0F-3F", + "id": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", + "fallbackQueueId": "EB-E5-BC-CB-07-B5-FF-DB-72-CE-F3-75-89-6F-4D-1C-1B", "queueSelectors": [ { "kind": "pass-through", @@ -324,7 +324,7 @@ "labelSelector": { "key": "UniqueIdentifier", "labelOperator": "equal", - "value": "sdk-tjRewF6YH0GACEXR3B04WQ-" + "value": "sdk--PWBsA0wE0Sn8f-XSzUdfQ-" } } ], @@ -332,24 +332,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/AD-71-CA-4A-78-67-1E-A9-4F-F5-B9-0C-A0-1A-C0-54-28?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/FF-69-83-4E-18-3E-0E-49-F6-19-9E-C3-F0-20-61-57-F4?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "252", + "Content-Length": "239", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-e82830460c38f8469248aabfebd13948-cfdcecba2ef20244-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "e1bca00318b5f3019c3132c8a95e3d07", + "traceparent": "00-0f8075d4b44f744ab491d7703e6e1633-3eabbf6b5a6fa34f-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "7ea033c2021e31a769ccdb655353d10b", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:01 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:41 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "27-F2-B0-03-7D-E5-1B-E8-67-D4-91-84-C2-FA-ED-B5-6C", - "classificationPolicyId": "A2-96-94-FA-F1-1A-DE-24-B5-A5-6E-68-C2-20-83-FB-22", - "priority": 0, + "channelId": "50-A8-64-33-C7-25-C5-7C-F3-9D-C2-3C-79-BF-A5-A2-5C", + "classificationPolicyId": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", "requestedWorkerSelectors": [], "labels": { "Product": "O365", @@ -362,21 +361,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:03 GMT", - "ETag": "\u002200000000-0000-0000-4f3b-e779626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:03 GMT", + "Date": "Mon, 15 Aug 2022 17:44:42 GMT", + "ETag": "\u002200000000-0000-0000-4e6b-ccd5e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:42 GMT", "Request-Context": "appId=", - "trace-id": "e82830460c38f8469248aabfebd13948", + "trace-id": "0f8075d4b44f744ab491d7703e6e1633", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0tnbbYgAAAACVdN3GoeddQqJdjyiVEE9gWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Cob6YgAAAACwgKETJ\u002B3/S6LrWNagtf7QQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "AD-71-CA-4A-78-67-1E-A9-4F-F5-B9-0C-A0-1A-C0-54-28", + "id": "FF-69-83-4E-18-3E-0E-49-F6-19-9E-C3-F0-20-61-57-F4", "jobStatus": "pendingClassification", - "channelId": "27-F2-B0-03-7D-E5-1B-E8-67-D4-91-84-C2-FA-ED-B5-6C", - "classificationPolicyId": "A2-96-94-FA-F1-1A-DE-24-B5-A5-6E-68-C2-20-83-FB-22", - "priority": 0, + "channelId": "50-A8-64-33-C7-25-C5-7C-F3-9D-C2-3C-79-BF-A5-A2-5C", + "classificationPolicyId": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -390,16 +389,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/AD-71-CA-4A-78-67-1E-A9-4F-F5-B9-0C-A0-1A-C0-54-28?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/FF-69-83-4E-18-3E-0E-49-F6-19-9E-C3-F0-20-61-57-F4?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-15c4dac9c5217147a3b54426c025edcf-36fa9ec6bdda604e-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "da6be8e1765dd925fccfde3fb8bde591", + "traceparent": "00-834ea2eb17da674aa5d5e88c0cc6e242-c99b40377f46d44b-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "f40844ca7ce2f70ba8592c6a053e9ad0", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:03 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:42 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -407,21 +406,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:03 GMT", - "ETag": "\u002200000000-0000-0000-4f3b-e779626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:03 GMT", + "Date": "Mon, 15 Aug 2022 17:44:43 GMT", + "ETag": "\u002200000000-0000-0000-4e6b-ccd5e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:42 GMT", "Request-Context": "appId=", - "trace-id": "15c4dac9c5217147a3b54426c025edcf", + "trace-id": "834ea2eb17da674aa5d5e88c0cc6e242", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0t3bbYgAAAABnQ2M6O/WGQqglFFDyQkl\u002BWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0C4b6YgAAAACEy1JUj4sXTawaHbCx/6A4Q0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "AD-71-CA-4A-78-67-1E-A9-4F-F5-B9-0C-A0-1A-C0-54-28", + "id": "FF-69-83-4E-18-3E-0E-49-F6-19-9E-C3-F0-20-61-57-F4", "jobStatus": "pendingClassification", - "channelId": "27-F2-B0-03-7D-E5-1B-E8-67-D4-91-84-C2-FA-ED-B5-6C", - "classificationPolicyId": "A2-96-94-FA-F1-1A-DE-24-B5-A5-6E-68-C2-20-83-FB-22", - "priority": 0, + "channelId": "50-A8-64-33-C7-25-C5-7C-F3-9D-C2-3C-79-BF-A5-A2-5C", + "classificationPolicyId": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -435,16 +434,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/AD-71-CA-4A-78-67-1E-A9-4F-F5-B9-0C-A0-1A-C0-54-28?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/FF-69-83-4E-18-3E-0E-49-F6-19-9E-C3-F0-20-61-57-F4?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-743c592551632946be66135acffb9dd9-b5a3178217c81549-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "7494a7b1af8027b60cf3e4dc683dafa9", + "traceparent": "00-995b0a00c1072e4fa2caf594027db308-a1b0c14889790f43-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "090ef6dd0ff47cf4fd9755dfcf6415a1", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:04 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:44 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -452,22 +451,22 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:04 GMT", - "ETag": "\u002200000001-0000-0000-95f6-937a626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:04 GMT", + "Date": "Mon, 15 Aug 2022 17:44:44 GMT", + "ETag": "\u002200000001-0000-0000-be52-d4d6e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:44 GMT", "Request-Context": "appId=", - "trace-id": "743c592551632946be66135acffb9dd9", + "trace-id": "995b0a00c1072e4fa2caf594027db308", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0uXbbYgAAAAAyVU3en1CkRJf99FmXPcNWWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0DIb6YgAAAAD7whCrv09xTYSw3kCsOP\u002BLQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "AD-71-CA-4A-78-67-1E-A9-4F-F5-B9-0C-A0-1A-C0-54-28", + "id": "FF-69-83-4E-18-3E-0E-49-F6-19-9E-C3-F0-20-61-57-F4", "jobStatus": "pendingClassification", - "channelId": "27-F2-B0-03-7D-E5-1B-E8-67-D4-91-84-C2-FA-ED-B5-6C", - "classificationPolicyId": "A2-96-94-FA-F1-1A-DE-24-B5-A5-6E-68-C2-20-83-FB-22", - "queueId": "3E-11-A8-80-D4-B4-14-F3-5D-68-78-B7-C1-C0-C6-4B-48", - "priority": 0, + "channelId": "50-A8-64-33-C7-25-C5-7C-F3-9D-C2-3C-79-BF-A5-A2-5C", + "classificationPolicyId": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", + "queueId": "F9-5C-B1-13-4D-C0-44-CF-1D-53-03-13-58-6A-CE-D2-3F", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -481,16 +480,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/AD-71-CA-4A-78-67-1E-A9-4F-F5-B9-0C-A0-1A-C0-54-28?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/FF-69-83-4E-18-3E-0E-49-F6-19-9E-C3-F0-20-61-57-F4?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-788b42bff297bd4d854ec42d11153d77-09418afeadbcc747-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "fe3fe15689848c317ae2e4e63ac23adf", + "traceparent": "00-aac61d2d915ed94ba2ad301f3539faac-3f345d5a8c3d8f45-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "2f2585ce21ae467d27a8d6c4d53c2b2a", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:05 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:45 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -498,23 +497,69 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:06 GMT", - "ETag": "\u002200000002-0000-0000-3b79-f07a626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:05 GMT", + "Date": "Mon, 15 Aug 2022 17:44:45 GMT", + "ETag": "\u002200000001-0000-0000-be52-d4d6e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:44 GMT", "Request-Context": "appId=", - "trace-id": "788b42bff297bd4d854ec42d11153d77", + "trace-id": "aac61d2d915ed94ba2ad301f3539faac", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0unbbYgAAAAD9ngDxJkJUSL8oeT0jsNCHWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Dob6YgAAAAAVt9BrCLbWRbTTW289GyN2Q0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "AD-71-CA-4A-78-67-1E-A9-4F-F5-B9-0C-A0-1A-C0-54-28", + "id": "FF-69-83-4E-18-3E-0E-49-F6-19-9E-C3-F0-20-61-57-F4", + "jobStatus": "pendingClassification", + "channelId": "50-A8-64-33-C7-25-C5-7C-F3-9D-C2-3C-79-BF-A5-A2-5C", + "classificationPolicyId": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", + "queueId": "F9-5C-B1-13-4D-C0-44-CF-1D-53-03-13-58-6A-CE-D2-3F", + "priority": 1, + "requestedWorkerSelectors": [], + "attachedWorkerSelectors": [], + "labels": { + "Product": "O365", + "Region": "NA", + "Lang": "EN" + }, + "assignments": {}, + "tags": {}, + "notes": {} + } + }, + { + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/FF-69-83-4E-18-3E-0E-49-F6-19-9E-C3-F0-20-61-57-F4?api-version=2022-07-18-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-82e06212c3f5044d839cb02ed3dbdc40-bd8bc60ed8acf34a-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "5d870a31c744ba16508bf64a262b2743", + "x-ms-content-sha256": "Sanitized", + "x-ms-date": "Mon, 15 Aug 2022 17:44:46 GMT", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 Aug 2022 17:44:46 GMT", + "ETag": "\u002200000002-0000-0000-5858-e8d7e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:46 GMT", + "Request-Context": "appId=", + "trace-id": "82e06212c3f5044d839cb02ed3dbdc40", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0D4b6YgAAAAA/5QR97jedS6OmgSV2jmCfQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "FF-69-83-4E-18-3E-0E-49-F6-19-9E-C3-F0-20-61-57-F4", "jobStatus": "queued", - "enqueueTimeUtc": "2022-07-23T04:19:05.1521339\u002B00:00", - "channelId": "27-F2-B0-03-7D-E5-1B-E8-67-D4-91-84-C2-FA-ED-B5-6C", - "classificationPolicyId": "A2-96-94-FA-F1-1A-DE-24-B5-A5-6E-68-C2-20-83-FB-22", - "queueId": "3E-11-A8-80-D4-B4-14-F3-5D-68-78-B7-C1-C0-C6-4B-48", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T17:44:46.1285464\u002B00:00", + "channelId": "50-A8-64-33-C7-25-C5-7C-F3-9D-C2-3C-79-BF-A5-A2-5C", + "classificationPolicyId": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", + "queueId": "F9-5C-B1-13-4D-C0-44-CF-1D-53-03-13-58-6A-CE-D2-3F", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -528,24 +573,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/6B-5A-E9-13-1C-3A-92-C6-C2-6F-F4-FE-19-07-23-ED-61?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/EA-2B-1C-4C-6E-51-A8-9B-5D-DB-51-7A-3D-A8-5E-63-1E?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "252", + "Content-Length": "239", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-26d6c36488de6d439e42c237996b44fc-150bb0784a22ba45-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "0117a14bc9c932863243cd6a924971bf", + "traceparent": "00-9b331a927d75cd48b45354cb972003d3-d454667443f30e48-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "809c8b436b18bc2279c8e14b392fa6c0", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:06 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:47 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "27-F2-B0-03-7D-E5-1B-E8-67-D4-91-84-C2-FA-ED-B5-6C", - "classificationPolicyId": "A2-96-94-FA-F1-1A-DE-24-B5-A5-6E-68-C2-20-83-FB-22", - "priority": 0, + "channelId": "50-A8-64-33-C7-25-C5-7C-F3-9D-C2-3C-79-BF-A5-A2-5C", + "classificationPolicyId": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", "requestedWorkerSelectors": [], "labels": { "Product": "O365", @@ -558,21 +602,66 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:07 GMT", - "ETag": "\u002200000000-0000-0000-cfea-547c626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:07 GMT", + "Date": "Mon, 15 Aug 2022 17:44:48 GMT", + "ETag": "\u002200000000-0000-0000-26fb-fdd8e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:47 GMT", + "Request-Context": "appId=", + "trace-id": "9b331a927d75cd48b45354cb972003d3", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0D4b6YgAAAABZPS9uV/BGRYQIUSIDPQjoQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "EA-2B-1C-4C-6E-51-A8-9B-5D-DB-51-7A-3D-A8-5E-63-1E", + "jobStatus": "pendingClassification", + "channelId": "50-A8-64-33-C7-25-C5-7C-F3-9D-C2-3C-79-BF-A5-A2-5C", + "classificationPolicyId": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", + "priority": 1, + "requestedWorkerSelectors": [], + "attachedWorkerSelectors": [], + "labels": { + "Product": "O365", + "Region": "NA", + "Lang": "FR" + }, + "assignments": {}, + "tags": {}, + "notes": {} + } + }, + { + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/EA-2B-1C-4C-6E-51-A8-9B-5D-DB-51-7A-3D-A8-5E-63-1E?api-version=2022-07-18-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f0da3d9371471345ac5a06e2b7293cc4-412cb3b0bd8b4040-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "c5ae2a6bb8dc065d6e6bde232a321ffc", + "x-ms-content-sha256": "Sanitized", + "x-ms-date": "Mon, 15 Aug 2022 17:44:48 GMT", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 Aug 2022 17:44:49 GMT", + "ETag": "\u002200000000-0000-0000-26fb-fdd8e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:47 GMT", "Request-Context": "appId=", - "trace-id": "26d6c36488de6d439e42c237996b44fc", + "trace-id": "f0da3d9371471345ac5a06e2b7293cc4", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0unbbYgAAAABhFIEKGhHLRIKTZtyh\u002B07yWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0EYb6YgAAAABiPqhNQRwSSYbCQwetqWUkQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "6B-5A-E9-13-1C-3A-92-C6-C2-6F-F4-FE-19-07-23-ED-61", + "id": "EA-2B-1C-4C-6E-51-A8-9B-5D-DB-51-7A-3D-A8-5E-63-1E", "jobStatus": "pendingClassification", - "channelId": "27-F2-B0-03-7D-E5-1B-E8-67-D4-91-84-C2-FA-ED-B5-6C", - "classificationPolicyId": "A2-96-94-FA-F1-1A-DE-24-B5-A5-6E-68-C2-20-83-FB-22", - "priority": 0, + "channelId": "50-A8-64-33-C7-25-C5-7C-F3-9D-C2-3C-79-BF-A5-A2-5C", + "classificationPolicyId": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -586,16 +675,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/6B-5A-E9-13-1C-3A-92-C6-C2-6F-F4-FE-19-07-23-ED-61?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/EA-2B-1C-4C-6E-51-A8-9B-5D-DB-51-7A-3D-A8-5E-63-1E?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-bfdecb5a8ee7a14d8717ad44a81a3a97-e82698ef8581ea4a-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "d7e93420e77e270c7608f99dcad0ed4a", + "traceparent": "00-4c5085eb14d8f141bda569c81aeeb161-a50bb87616872945-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "4a819281aaa0c612e8cbe47be6ca8020", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:07 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:50 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -603,21 +692,22 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:07 GMT", - "ETag": "\u002200000000-0000-0000-cfea-547c626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:07 GMT", + "Date": "Mon, 15 Aug 2022 17:44:50 GMT", + "ETag": "\u002200000001-0000-0000-2990-08dae57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:49 GMT", "Request-Context": "appId=", - "trace-id": "bfdecb5a8ee7a14d8717ad44a81a3a97", + "trace-id": "4c5085eb14d8f141bda569c81aeeb161", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0u3bbYgAAAADK5O\u002BHZIVoRaGNCVqSMPmCWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Eob6YgAAAAADm9M3\u002Bu2FQK06H8ilkLotQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "6B-5A-E9-13-1C-3A-92-C6-C2-6F-F4-FE-19-07-23-ED-61", + "id": "EA-2B-1C-4C-6E-51-A8-9B-5D-DB-51-7A-3D-A8-5E-63-1E", "jobStatus": "pendingClassification", - "channelId": "27-F2-B0-03-7D-E5-1B-E8-67-D4-91-84-C2-FA-ED-B5-6C", - "classificationPolicyId": "A2-96-94-FA-F1-1A-DE-24-B5-A5-6E-68-C2-20-83-FB-22", - "priority": 0, + "channelId": "50-A8-64-33-C7-25-C5-7C-F3-9D-C2-3C-79-BF-A5-A2-5C", + "classificationPolicyId": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", + "queueId": "43-C8-D3-52-28-89-FC-E8-C0-7C-93-EA-31-D6-1C-CB-CF", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -631,16 +721,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/6B-5A-E9-13-1C-3A-92-C6-C2-6F-F4-FE-19-07-23-ED-61?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/EA-2B-1C-4C-6E-51-A8-9B-5D-DB-51-7A-3D-A8-5E-63-1E?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-fe677550656b674b8cf80c7d17741691-c0906532f2408f4a-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "c79004b8ad258de05a0ccc41bcc6f931", + "traceparent": "00-16c0325330c245429a53c357165978c5-e573f0eafa277944-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "fbdf35e5617d8a662e9512ac8cff9146", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:08 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:51 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -648,23 +738,23 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:08 GMT", - "ETag": "\u002200000002-0000-0000-aff0-137d626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:08 GMT", + "Date": "Mon, 15 Aug 2022 17:44:51 GMT", + "ETag": "\u002200000002-0000-0000-98cf-b9dae57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:50 GMT", "Request-Context": "appId=", - "trace-id": "fe677550656b674b8cf80c7d17741691", + "trace-id": "16c0325330c245429a53c357165978c5", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vXbbYgAAAABh592zzrHqSKPBHweHy90iWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0E4b6YgAAAAD4VWwcwT5nTI6K6BJfvnSsQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "6B-5A-E9-13-1C-3A-92-C6-C2-6F-F4-FE-19-07-23-ED-61", + "id": "EA-2B-1C-4C-6E-51-A8-9B-5D-DB-51-7A-3D-A8-5E-63-1E", "jobStatus": "queued", - "enqueueTimeUtc": "2022-07-23T04:19:08.7400111\u002B00:00", - "channelId": "27-F2-B0-03-7D-E5-1B-E8-67-D4-91-84-C2-FA-ED-B5-6C", - "classificationPolicyId": "A2-96-94-FA-F1-1A-DE-24-B5-A5-6E-68-C2-20-83-FB-22", - "queueId": "2F-91-CC-09-85-47-97-4C-BF-06-E6-06-4A-3C-5F-CA-9C", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T17:44:50.8567448\u002B00:00", + "channelId": "50-A8-64-33-C7-25-C5-7C-F3-9D-C2-3C-79-BF-A5-A2-5C", + "classificationPolicyId": "A4-5F-33-67-49-8D-A7-73-1B-EA-BF-C4-9E-3F-F8-41-50", + "queueId": "43-C8-D3-52-28-89-FC-E8-C0-7C-93-EA-31-D6-1C-CB-CF", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -679,8 +769,8 @@ } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-tjRewF6YH0GACEXR3B04WQ-", - "RandomSeed": "210659301" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk--PWBsA0wE0Sn8f-XSzUdfQ-", + "RandomSeed": "667301493" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithCombiningLabelSelectorsAsync.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithCombiningLabelSelectorsAsync.json index 6fd15998fe51f..0916fdf8a650f 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithCombiningLabelSelectorsAsync.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithCombiningLabelSelectorsAsync.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/25-B7-12-D7-88-44-FD-6C-92-1D-D7-C2-11-72-00-64-66?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/50-3D-E2-EE-AE-85-C8-14-02-46-89-E3-69-D5-1C-D9-05?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "161", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-e4855305028e5644bdea62bed88076a2-f028f98044dd164c-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "e5929cf86b1b7aec26f571a041807622", + "traceparent": "00-73fb32f65ea9274b906283b43a4a53ef-df643aafabf09f4d-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "aa2c39cdbe20b3c81e8b822b35193bc3", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:49 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:34 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -29,17 +29,17 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:51 GMT", - "ETag": "\u00223107d5d0-0000-0700-0000-62db76e70000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:51 GMT", + "Date": "Mon, 15 Aug 2022 17:45:36 GMT", + "ETag": "\u002207027c16-0000-0700-0000-62fa86400000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:36 GMT", "Request-Context": "appId=", - "trace-id": "e4855305028e5644bdea62bed88076a2", + "trace-id": "73fb32f65ea9274b906283b43a4a53ef", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "05XbbYgAAAABVYwziMNIOQrBkj0vSMO13WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Pob6YgAAAADjECvRzABcQIjddG7a0QbrQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "25-B7-12-D7-88-44-FD-6C-92-1D-D7-C2-11-72-00-64-66", + "id": "50-3D-E2-EE-AE-85-C8-14-02-46-89-E3-69-D5-1C-D9-05", "name": "Simple-Queue-Distribution", "offerTtlSeconds": 600, "mode": { @@ -51,165 +51,165 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/BC-E4-46-1C-70-D4-69-C3-D4-9B-92-FE-F3-79-63-26-19?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/7C-D0-B3-A8-D7-F3-B1-E7-3D-C1-B3-37-32-61-05-63-65?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "198", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-bf7e06de20e4c94fb2440c2e7698a599-9245434e4e2f414f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "0e065370dc6fbd40610b42b160e4aafa", + "traceparent": "00-563b3fa40686314fa072e2cf16539f5c-169089ca01060642-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "75dd38db31c1e490f3636fa8c1a493c6", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:51 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:36 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "25-B7-12-D7-88-44-FD-6C-92-1D-D7-C2-11-72-00-64-66", + "distributionPolicyId": "50-3D-E2-EE-AE-85-C8-14-02-46-89-E3-69-D5-1C-D9-05", "labels": { "Region": "NA", "Language": "en", "Product": "O365", - "UniqueIdentifier": "sdk-a_PTDnpOvkiPtf2NP1omoQ-" + "UniqueIdentifier": "sdk-NlPVZPpS5EmiqNOuHCrg3g-" } }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:52 GMT", - "ETag": "\u00225f002f58-0000-0700-0000-62db76e80000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:52 GMT", + "Date": "Mon, 15 Aug 2022 17:45:37 GMT", + "ETag": "\u00225e00a7bf-0000-0700-0000-62fa86420000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:38 GMT", "Request-Context": "appId=", - "trace-id": "bf7e06de20e4c94fb2440c2e7698a599", + "trace-id": "563b3fa40686314fa072e2cf16539f5c", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "06HbbYgAAAACPv1ySnKfpRYV7CpjLrxPKWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0QYb6YgAAAACy9SdWVP4VRpa14/PY\u002BpIyQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "BC-E4-46-1C-70-D4-69-C3-D4-9B-92-FE-F3-79-63-26-19", + "id": "7C-D0-B3-A8-D7-F3-B1-E7-3D-C1-B3-37-32-61-05-63-65", "name": "test", - "distributionPolicyId": "25-B7-12-D7-88-44-FD-6C-92-1D-D7-C2-11-72-00-64-66", + "distributionPolicyId": "50-3D-E2-EE-AE-85-C8-14-02-46-89-E3-69-D5-1C-D9-05", "labels": { "Region": "NA", "Language": "en", "Product": "O365", - "UniqueIdentifier": "sdk-a_PTDnpOvkiPtf2NP1omoQ-", - "Id": "BC-E4-46-1C-70-D4-69-C3-D4-9B-92-FE-F3-79-63-26-19" + "UniqueIdentifier": "sdk-NlPVZPpS5EmiqNOuHCrg3g-", + "Id": "7C-D0-B3-A8-D7-F3-B1-E7-3D-C1-B3-37-32-61-05-63-65" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/98-28-FC-08-E2-10-83-78-DB-39-95-8B-5E-6A-2B-BD-68?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/9A-CB-D9-44-5E-6F-E4-4F-1E-8E-14-65-24-26-6F-72-49?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "198", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-da899b4d40bb164e93ece5e3c39036f2-35aef7bafd8cda4a-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "a64b554fcf263f97e0f30d71062cc551", + "traceparent": "00-3b1c9d0419bb174d984a61f282a14af7-e5d12f3f68d8434f-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "eff50e74ea7593c57b61988a046ba203", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:52 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:38 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "25-B7-12-D7-88-44-FD-6C-92-1D-D7-C2-11-72-00-64-66", + "distributionPolicyId": "50-3D-E2-EE-AE-85-C8-14-02-46-89-E3-69-D5-1C-D9-05", "labels": { "Region": "NA", "Language": "fr", "Product": "O365", - "UniqueIdentifier": "sdk-a_PTDnpOvkiPtf2NP1omoQ-" + "UniqueIdentifier": "sdk-NlPVZPpS5EmiqNOuHCrg3g-" } }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:53 GMT", - "ETag": "\u00225f003158-0000-0700-0000-62db76e90000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:53 GMT", + "Date": "Mon, 15 Aug 2022 17:45:39 GMT", + "ETag": "\u00225e00a9bf-0000-0700-0000-62fa86440000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:40 GMT", "Request-Context": "appId=", - "trace-id": "da899b4d40bb164e93ece5e3c39036f2", + "trace-id": "3b1c9d0419bb174d984a61f282a14af7", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "06XbbYgAAAACJYP7kDzmnTK5C8BTg2nxBWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Qob6YgAAAACRZujUGK3bTK2dOpAqEIPxQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "98-28-FC-08-E2-10-83-78-DB-39-95-8B-5E-6A-2B-BD-68", + "id": "9A-CB-D9-44-5E-6F-E4-4F-1E-8E-14-65-24-26-6F-72-49", "name": "test", - "distributionPolicyId": "25-B7-12-D7-88-44-FD-6C-92-1D-D7-C2-11-72-00-64-66", + "distributionPolicyId": "50-3D-E2-EE-AE-85-C8-14-02-46-89-E3-69-D5-1C-D9-05", "labels": { "Region": "NA", "Language": "fr", "Product": "O365", - "UniqueIdentifier": "sdk-a_PTDnpOvkiPtf2NP1omoQ-", - "Id": "98-28-FC-08-E2-10-83-78-DB-39-95-8B-5E-6A-2B-BD-68" + "UniqueIdentifier": "sdk-NlPVZPpS5EmiqNOuHCrg3g-", + "Id": "9A-CB-D9-44-5E-6F-E4-4F-1E-8E-14-65-24-26-6F-72-49" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/B1-F0-29-2D-77-17-54-BD-2F-50-96-D2-66-54-46-99-0C?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/60-0E-89-76-3E-E9-D6-FA-CD-D5-A4-2F-8B-35-8B-C3-85?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-4bed5cacc67a6840b1f17d8147a965e1-40fef87252663546-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "73f36952422b1c295bd58310283b1941", + "traceparent": "00-ba34df8c6707974aa3f00762f41a6bd2-34066f1a5c500446-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "75d87468a6bf9b2aa947b7bc4f1ff179", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:54 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:39 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "25-B7-12-D7-88-44-FD-6C-92-1D-D7-C2-11-72-00-64-66" + "distributionPolicyId": "50-3D-E2-EE-AE-85-C8-14-02-46-89-E3-69-D5-1C-D9-05" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:54 GMT", - "ETag": "\u00225f003258-0000-0700-0000-62db76eb0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:55 GMT", + "Date": "Mon, 15 Aug 2022 17:45:41 GMT", + "ETag": "\u00225e00abbf-0000-0700-0000-62fa86460000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:42 GMT", "Request-Context": "appId=", - "trace-id": "4bed5cacc67a6840b1f17d8147a965e1", + "trace-id": "ba34df8c6707974aa3f00762f41a6bd2", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "06nbbYgAAAABtlVUpUVxKSrHchwCGHQpRWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0RIb6YgAAAAD\u002B5k603PSgQ4UoktAohJ8JQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "B1-F0-29-2D-77-17-54-BD-2F-50-96-D2-66-54-46-99-0C", + "id": "60-0E-89-76-3E-E9-D6-FA-CD-D5-A4-2F-8B-35-8B-C3-85", "name": "test", - "distributionPolicyId": "25-B7-12-D7-88-44-FD-6C-92-1D-D7-C2-11-72-00-64-66", + "distributionPolicyId": "50-3D-E2-EE-AE-85-C8-14-02-46-89-E3-69-D5-1C-D9-05", "labels": { - "Id": "B1-F0-29-2D-77-17-54-BD-2F-50-96-D2-66-54-46-99-0C" + "Id": "60-0E-89-76-3E-E9-D6-FA-CD-D5-A4-2F-8B-35-8B-C3-85" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/FA-A0-1A-56-13-24-01-D5-50-35-87-BB-55-D0-AE-5F-B2?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/A3-2F-C4-C8-48-FC-AA-76-B6-47-35-01-9C-77-6E-0C-53?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "794", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-df4cd58bfded4843ba3d027c417acc3d-716c6ceda206e040-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "ec51764bcf35a1fcbcc62d7ccecfb734", + "traceparent": "00-3bf5bb29eed3a0419264ce42f4e0bc14-1976a750c09a2243-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "27b7bcf84c24f04d7349f95f9805e088", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:55 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:42 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "fallbackQueueId": "B1-F0-29-2D-77-17-54-BD-2F-50-96-D2-66-54-46-99-0C", + "fallbackQueueId": "60-0E-89-76-3E-E9-D6-FA-CD-D5-A4-2F-8B-35-8B-C3-85", "queueSelectors": [ { "key": "Region", @@ -255,7 +255,7 @@ "labelSelector": { "key": "UniqueIdentifier", "labelOperator": "equal", - "value": "sdk-a_PTDnpOvkiPtf2NP1omoQ-" + "value": "sdk-NlPVZPpS5EmiqNOuHCrg3g-" }, "kind": "static" } @@ -266,18 +266,18 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:55 GMT", - "ETag": "\u00224a01ce67-0000-0700-0000-62db76ec0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:56 GMT", + "Date": "Mon, 15 Aug 2022 17:45:44 GMT", + "ETag": "\u00229600059b-0000-0700-0000-62fa86480000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:44 GMT", "Request-Context": "appId=", - "trace-id": "df4cd58bfded4843ba3d027c417acc3d", + "trace-id": "3bf5bb29eed3a0419264ce42f4e0bc14", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "063bbYgAAAADFZhsVcIWsRp/IrPt3dVsbWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Rob6YgAAAADAqTRMWBQsQp8cPueyjmw\u002BQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "FA-A0-1A-56-13-24-01-D5-50-35-87-BB-55-D0-AE-5F-B2", - "fallbackQueueId": "B1-F0-29-2D-77-17-54-BD-2F-50-96-D2-66-54-46-99-0C", + "id": "A3-2F-C4-C8-48-FC-AA-76-B6-47-35-01-9C-77-6E-0C-53", + "fallbackQueueId": "60-0E-89-76-3E-E9-D6-FA-CD-D5-A4-2F-8B-35-8B-C3-85", "queueSelectors": [ { "kind": "pass-through", @@ -324,7 +324,7 @@ "labelSelector": { "key": "UniqueIdentifier", "labelOperator": "equal", - "value": "sdk-a_PTDnpOvkiPtf2NP1omoQ-" + "value": "sdk-NlPVZPpS5EmiqNOuHCrg3g-" } } ], @@ -332,24 +332,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/E5-2D-33-10-79-CA-D2-01-CA-7A-D7-CC-59-04-08-9F-D8?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/EA-C3-19-BE-EB-0E-D6-FD-DA-84-54-09-02-D1-7A-64-68?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "252", + "Content-Length": "239", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-111231fb89ddfc43bcc501cf86ad06bd-dd891dceb4eb5e40-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "f65ff14637f00cce2c2e4b514b8617a5", + "traceparent": "00-f612d60126e8ce4eaabf4940d0dbf896-50bf99872919904e-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "4d3f6bc01dcbcd06e359452e3309445c", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:56 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:45 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "9D-38-BA-A1-54-D1-1D-77-CC-5D-75-09-0E-C9-AA-DB-06", - "classificationPolicyId": "FA-A0-1A-56-13-24-01-D5-50-35-87-BB-55-D0-AE-5F-B2", - "priority": 0, + "channelId": "84-B8-A2-A4-92-C6-15-DE-31-D8-21-ED-67-31-EA-2B-D1", + "classificationPolicyId": "A3-2F-C4-C8-48-FC-AA-76-B6-47-35-01-9C-77-6E-0C-53", "requestedWorkerSelectors": [], "labels": { "Product": "O365", @@ -362,21 +361,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:57 GMT", - "ETag": "\u002200000000-0000-0000-b033-699a626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:57 GMT", + "Date": "Mon, 15 Aug 2022 17:45:45 GMT", + "ETag": "\u002200000000-0000-0000-cfa2-acfbe57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:46 GMT", "Request-Context": "appId=", - "trace-id": "111231fb89ddfc43bcc501cf86ad06bd", + "trace-id": "f612d60126e8ce4eaabf4940d0dbf896", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "07HbbYgAAAACfLuBdugDsT6t5mfhHxFuRWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0SYb6YgAAAAA29EDplrBZQZd14HDjdzHuQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "E5-2D-33-10-79-CA-D2-01-CA-7A-D7-CC-59-04-08-9F-D8", + "id": "EA-C3-19-BE-EB-0E-D6-FD-DA-84-54-09-02-D1-7A-64-68", "jobStatus": "pendingClassification", - "channelId": "9D-38-BA-A1-54-D1-1D-77-CC-5D-75-09-0E-C9-AA-DB-06", - "classificationPolicyId": "FA-A0-1A-56-13-24-01-D5-50-35-87-BB-55-D0-AE-5F-B2", - "priority": 0, + "channelId": "84-B8-A2-A4-92-C6-15-DE-31-D8-21-ED-67-31-EA-2B-D1", + "classificationPolicyId": "A3-2F-C4-C8-48-FC-AA-76-B6-47-35-01-9C-77-6E-0C-53", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -390,16 +389,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/E5-2D-33-10-79-CA-D2-01-CA-7A-D7-CC-59-04-08-9F-D8?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/EA-C3-19-BE-EB-0E-D6-FD-DA-84-54-09-02-D1-7A-64-68?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1df2b80222423648937d71184511be41-9ed49f691314a04b-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "8f26cbd9d9db821c6d52b66514ad4e8b", + "traceparent": "00-e742ab63bfe6214da818eb1cc4565587-c4d5bb21d078b54f-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "47921f707bb31cdf26e70275adcb02a4", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:58 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:46 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -407,22 +406,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:58 GMT", - "ETag": "\u002200000001-0000-0000-7154-cd9a626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:58 GMT", + "Date": "Mon, 15 Aug 2022 17:45:46 GMT", + "ETag": "\u002200000000-0000-0000-cfa2-acfbe57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:46 GMT", "Request-Context": "appId=", - "trace-id": "1df2b80222423648937d71184511be41", + "trace-id": "e742ab63bfe6214da818eb1cc4565587", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "07nbbYgAAAAAUyoxvNIC9QbOpnDdx5ZhLWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Sob6YgAAAAD4xPL8T6YFSr7TezuZLLpXQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "E5-2D-33-10-79-CA-D2-01-CA-7A-D7-CC-59-04-08-9F-D8", + "id": "EA-C3-19-BE-EB-0E-D6-FD-DA-84-54-09-02-D1-7A-64-68", "jobStatus": "pendingClassification", - "channelId": "9D-38-BA-A1-54-D1-1D-77-CC-5D-75-09-0E-C9-AA-DB-06", - "classificationPolicyId": "FA-A0-1A-56-13-24-01-D5-50-35-87-BB-55-D0-AE-5F-B2", - "queueId": "BC-E4-46-1C-70-D4-69-C3-D4-9B-92-FE-F3-79-63-26-19", - "priority": 0, + "channelId": "84-B8-A2-A4-92-C6-15-DE-31-D8-21-ED-67-31-EA-2B-D1", + "classificationPolicyId": "A3-2F-C4-C8-48-FC-AA-76-B6-47-35-01-9C-77-6E-0C-53", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -436,16 +434,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/E5-2D-33-10-79-CA-D2-01-CA-7A-D7-CC-59-04-08-9F-D8?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/EA-C3-19-BE-EB-0E-D6-FD-DA-84-54-09-02-D1-7A-64-68?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-02e337b544d57b4db878d43cb09d2097-8e1622ff5be7094d-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "37ca4f1d23db1351a844bf0784aa5535", + "traceparent": "00-5ca6ffead18a28428557ac6f02dabfee-34b4eafdc482474a-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "e3fb2e66a4dfdbadb5ea43ca061fbd69", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:59 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:48 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -453,23 +451,22 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:00 GMT", - "ETag": "\u002200000002-0000-0000-7d68-789b626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:59 GMT", + "Date": "Mon, 15 Aug 2022 17:45:47 GMT", + "ETag": "\u002200000001-0000-0000-aff5-5bfce57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:47 GMT", "Request-Context": "appId=", - "trace-id": "02e337b544d57b4db878d43cb09d2097", + "trace-id": "5ca6ffead18a28428557ac6f02dabfee", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "08HbbYgAAAAA0v5eDSmAoRos8MWUEewh2WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0TIb6YgAAAACvLYwSYaAuSZQqeyg/9nhDQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "E5-2D-33-10-79-CA-D2-01-CA-7A-D7-CC-59-04-08-9F-D8", - "jobStatus": "queued", - "enqueueTimeUtc": "2022-07-23T04:19:59.7300861\u002B00:00", - "channelId": "9D-38-BA-A1-54-D1-1D-77-CC-5D-75-09-0E-C9-AA-DB-06", - "classificationPolicyId": "FA-A0-1A-56-13-24-01-D5-50-35-87-BB-55-D0-AE-5F-B2", - "queueId": "BC-E4-46-1C-70-D4-69-C3-D4-9B-92-FE-F3-79-63-26-19", - "priority": 0, + "id": "EA-C3-19-BE-EB-0E-D6-FD-DA-84-54-09-02-D1-7A-64-68", + "jobStatus": "pendingClassification", + "channelId": "84-B8-A2-A4-92-C6-15-DE-31-D8-21-ED-67-31-EA-2B-D1", + "classificationPolicyId": "A3-2F-C4-C8-48-FC-AA-76-B6-47-35-01-9C-77-6E-0C-53", + "queueId": "7C-D0-B3-A8-D7-F3-B1-E7-3D-C1-B3-37-32-61-05-63-65", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -483,57 +480,46 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/AD-3B-CC-97-39-E3-51-DD-25-31-63-40-54-61-30-B5-34?api-version=2022-07-18-preview", - "RequestMethod": "PATCH", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/EA-C3-19-BE-EB-0E-D6-FD-DA-84-54-09-02-D1-7A-64-68?api-version=2022-07-18-preview", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "252", - "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-599ce4806bc7684eafd6240c6f4dfca7-d5df604c6e7bac4f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "03a288af27a86c59d4dd899e8069f87f", + "traceparent": "00-7b30c2125d0933428964b40557a15f23-c8f8e0eb9402f248-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "79ef9c04997245d48c2326e41a901f17", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:00 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:49 GMT", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "channelId": "9D-38-BA-A1-54-D1-1D-77-CC-5D-75-09-0E-C9-AA-DB-06", - "classificationPolicyId": "FA-A0-1A-56-13-24-01-D5-50-35-87-BB-55-D0-AE-5F-B2", - "priority": 0, - "requestedWorkerSelectors": [], - "labels": { - "Product": "O365", - "Region": "NA", - "Lang": "FR" - }, - "notes": {} - }, + "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:02 GMT", - "ETag": "\u002200000000-0000-0000-d1e3-8d9c626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:01 GMT", + "Date": "Mon, 15 Aug 2022 17:45:48 GMT", + "ETag": "\u002200000002-0000-0000-3127-0efde57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:48 GMT", "Request-Context": "appId=", - "trace-id": "599ce4806bc7684eafd6240c6f4dfca7", + "trace-id": "7b30c2125d0933428964b40557a15f23", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "08HbbYgAAAAAa4FRs43tKTbInz6hK4T/xWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0TYb6YgAAAAAMf63l80dpQqy5aJ07LG/TQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "AD-3B-CC-97-39-E3-51-DD-25-31-63-40-54-61-30-B5-34", - "jobStatus": "pendingClassification", - "channelId": "9D-38-BA-A1-54-D1-1D-77-CC-5D-75-09-0E-C9-AA-DB-06", - "classificationPolicyId": "FA-A0-1A-56-13-24-01-D5-50-35-87-BB-55-D0-AE-5F-B2", - "priority": 0, + "id": "EA-C3-19-BE-EB-0E-D6-FD-DA-84-54-09-02-D1-7A-64-68", + "jobStatus": "queued", + "enqueueTimeUtc": "2022-08-15T17:45:48.4520241\u002B00:00", + "channelId": "84-B8-A2-A4-92-C6-15-DE-31-D8-21-ED-67-31-EA-2B-D1", + "classificationPolicyId": "A3-2F-C4-C8-48-FC-AA-76-B6-47-35-01-9C-77-6E-0C-53", + "queueId": "7C-D0-B3-A8-D7-F3-B1-E7-3D-C1-B3-37-32-61-05-63-65", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { "Product": "O365", "Region": "NA", - "Lang": "FR" + "Lang": "EN" }, "assignments": {}, "tags": {}, @@ -541,38 +527,50 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/AD-3B-CC-97-39-E3-51-DD-25-31-63-40-54-61-30-B5-34?api-version=2022-07-18-preview", - "RequestMethod": "GET", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/8B-48-59-25-1F-A0-03-BD-2D-B3-23-5A-DA-E2-39-EA-38?api-version=2022-07-18-preview", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-300fa07e9c358e47a914764f05f347ed-aba5ce5f4046f34a-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "fc33bfe0e0bcb6c97a13e7961915fec2", + "Content-Length": "239", + "Content-Type": "application/merge-patch\u002Bjson", + "traceparent": "00-3d8e8b6219bb1543835d8318f06c6b4f-8e9c0e0428656c49-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "04c8a156600ecc7c71b791c938141607", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:01 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:49 GMT", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "channelId": "84-B8-A2-A4-92-C6-15-DE-31-D8-21-ED-67-31-EA-2B-D1", + "classificationPolicyId": "A3-2F-C4-C8-48-FC-AA-76-B6-47-35-01-9C-77-6E-0C-53", + "requestedWorkerSelectors": [], + "labels": { + "Product": "O365", + "Region": "NA", + "Lang": "FR" + }, + "notes": {} + }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:02 GMT", - "ETag": "\u002200000000-0000-0000-d1e3-8d9c626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:01 GMT", + "Date": "Mon, 15 Aug 2022 17:45:51 GMT", + "ETag": "\u002200000000-0000-0000-0db0-75fee57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:50 GMT", "Request-Context": "appId=", - "trace-id": "300fa07e9c358e47a914764f05f347ed", + "trace-id": "3d8e8b6219bb1543835d8318f06c6b4f", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "08nbbYgAAAAAc3uzii4CITYTaHEaYLHVmWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0TYb6YgAAAABDLeVvQG9ZQpvITgp/9sIwQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "AD-3B-CC-97-39-E3-51-DD-25-31-63-40-54-61-30-B5-34", + "id": "8B-48-59-25-1F-A0-03-BD-2D-B3-23-5A-DA-E2-39-EA-38", "jobStatus": "pendingClassification", - "channelId": "9D-38-BA-A1-54-D1-1D-77-CC-5D-75-09-0E-C9-AA-DB-06", - "classificationPolicyId": "FA-A0-1A-56-13-24-01-D5-50-35-87-BB-55-D0-AE-5F-B2", - "priority": 0, + "channelId": "84-B8-A2-A4-92-C6-15-DE-31-D8-21-ED-67-31-EA-2B-D1", + "classificationPolicyId": "A3-2F-C4-C8-48-FC-AA-76-B6-47-35-01-9C-77-6E-0C-53", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -586,16 +584,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/AD-3B-CC-97-39-E3-51-DD-25-31-63-40-54-61-30-B5-34?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/8B-48-59-25-1F-A0-03-BD-2D-B3-23-5A-DA-E2-39-EA-38?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-9cb8ad69254b6a46aa2284976b1ea335-431d8937352d9a41-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "8cb580fc4a0af6e3f55d62fe99b2923e", + "traceparent": "00-1b86c824410b834e93c96ed044f76435-0c21b922c5683f44-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "1171992a89dccd315ab657bc7dc9c024", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:03 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:51 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -603,22 +601,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:03 GMT", - "ETag": "\u002200000001-0000-0000-8980-449d626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:02 GMT", + "Date": "Mon, 15 Aug 2022 17:45:52 GMT", + "ETag": "\u002200000000-0000-0000-0db0-75fee57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:50 GMT", "Request-Context": "appId=", - "trace-id": "9cb8ad69254b6a46aa2284976b1ea335", + "trace-id": "1b86c824410b834e93c96ed044f76435", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "083bbYgAAAABbadmyjk7/T6c6jRBqkvIyWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0UIb6YgAAAACzq539uyAdSZTFrkKQtsYYQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "AD-3B-CC-97-39-E3-51-DD-25-31-63-40-54-61-30-B5-34", + "id": "8B-48-59-25-1F-A0-03-BD-2D-B3-23-5A-DA-E2-39-EA-38", "jobStatus": "pendingClassification", - "channelId": "9D-38-BA-A1-54-D1-1D-77-CC-5D-75-09-0E-C9-AA-DB-06", - "classificationPolicyId": "FA-A0-1A-56-13-24-01-D5-50-35-87-BB-55-D0-AE-5F-B2", - "queueId": "98-28-FC-08-E2-10-83-78-DB-39-95-8B-5E-6A-2B-BD-68", - "priority": 0, + "channelId": "84-B8-A2-A4-92-C6-15-DE-31-D8-21-ED-67-31-EA-2B-D1", + "classificationPolicyId": "A3-2F-C4-C8-48-FC-AA-76-B6-47-35-01-9C-77-6E-0C-53", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -632,16 +629,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/AD-3B-CC-97-39-E3-51-DD-25-31-63-40-54-61-30-B5-34?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/8B-48-59-25-1F-A0-03-BD-2D-B3-23-5A-DA-E2-39-EA-38?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-c68dbc680708f24480b869465f5263f8-2aae63e4a4bbe64b-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "c426404c5977cf78beec89953fc353bf", + "traceparent": "00-1c94d61ceb96a94fb98461f47e34cdd7-bc5d39b4f248324a-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "65742bcab856a35b1f2308bb070b0d77", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:04 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:53 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -649,23 +646,23 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:05 GMT", - "ETag": "\u002200000002-0000-0000-fe3a-f59d626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:03 GMT", + "Date": "Mon, 15 Aug 2022 17:45:53 GMT", + "ETag": "\u002200000002-0000-0000-ccbc-4200e67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:53 GMT", "Request-Context": "appId=", - "trace-id": "c68dbc680708f24480b869465f5263f8", + "trace-id": "1c94d61ceb96a94fb98461f47e34cdd7", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "09HbbYgAAAAB\u002BoDmVVRajRYY7LXDkKoKfWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Uob6YgAAAAAHp\u002B2cGHV1TaNhj9nrWS6kQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "AD-3B-CC-97-39-E3-51-DD-25-31-63-40-54-61-30-B5-34", + "id": "8B-48-59-25-1F-A0-03-BD-2D-B3-23-5A-DA-E2-39-EA-38", "jobStatus": "queued", - "enqueueTimeUtc": "2022-07-23T04:20:03.9035646\u002B00:00", - "channelId": "9D-38-BA-A1-54-D1-1D-77-CC-5D-75-09-0E-C9-AA-DB-06", - "classificationPolicyId": "FA-A0-1A-56-13-24-01-D5-50-35-87-BB-55-D0-AE-5F-B2", - "queueId": "98-28-FC-08-E2-10-83-78-DB-39-95-8B-5E-6A-2B-BD-68", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T17:45:53.829806\u002B00:00", + "channelId": "84-B8-A2-A4-92-C6-15-DE-31-D8-21-ED-67-31-EA-2B-D1", + "classificationPolicyId": "A3-2F-C4-C8-48-FC-AA-76-B6-47-35-01-9C-77-6E-0C-53", + "queueId": "9A-CB-D9-44-5E-6F-E4-4F-1E-8E-14-65-24-26-6F-72-49", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -680,8 +677,8 @@ } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-a_PTDnpOvkiPtf2NP1omoQ-", - "RandomSeed": "1921817787" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-NlPVZPpS5EmiqNOuHCrg3g-", + "RandomSeed": "104315926" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithConditionalLabelSelector.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithConditionalLabelSelector.json index 1271e1a25b817..94a257a611b7b 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithConditionalLabelSelector.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithConditionalLabelSelector.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "161", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-77110d505b757e44ae7bad9ed88376ad-fa7891ab1ef25945-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "8884aa2051345384d9ceafd418de9340", + "traceparent": "00-c48bfdc76957f24e90f7512a271895f0-807b9a03c7fca341-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "5a6007da5528a1a4aaf816304f298dd5", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:09 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:51 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -29,17 +29,17 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:11 GMT", - "ETag": "\u00223107e6cc-0000-0700-0000-62db76bf0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:11 GMT", + "Date": "Mon, 15 Aug 2022 17:44:53 GMT", + "ETag": "\u002207027b0d-0000-0700-0000-62fa86150000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:53 GMT", "Request-Context": "appId=", - "trace-id": "77110d505b757e44ae7bad9ed88376ad", + "trace-id": "c48bfdc76957f24e90f7512a271895f0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vXbbYgAAAADdWO7nRq\u002BbQKSGbA8vFNLaWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0FIb6YgAAAAB2cco/fOWLQ7WQ8zu6X\u002B1QQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A", + "id": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6", "name": "Simple-Queue-Distribution", "offerTtlSeconds": 600, "mode": { @@ -51,104 +51,104 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-4dea0819ad173b4aa603a85f02ad1015-a4613e775d162b46-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "a82714fc546b9fa5ab30218052baf14e", + "traceparent": "00-7a7c9978c00e484b8b6750c5be65b2ba-e74bdefc76773d41-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "e5dd5a5b21cbd77f0dfd131ad1b87bea", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:12 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:53 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A" + "distributionPolicyId": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:13 GMT", - "ETag": "\u00225f00f657-0000-0700-0000-62db76c00000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:12 GMT", + "Date": "Mon, 15 Aug 2022 17:44:54 GMT", + "ETag": "\u00225e0053b9-0000-0700-0000-62fa86160000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:54 GMT", "Request-Context": "appId=", - "trace-id": "4dea0819ad173b4aa603a85f02ad1015", + "trace-id": "7a7c9978c00e484b8b6750c5be65b2ba", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0wHbbYgAAAAA1AaaHMWLGTYxz6noW2/4/WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0FYb6YgAAAAALdZ53xA9qS5tA5tdcAP2IQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A", + "id": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6", "name": "test", - "distributionPolicyId": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A", + "distributionPolicyId": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6", "labels": { - "Id": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A" + "Id": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/D3-CB-FA-35-2E-B1-D6-2B-DE-2E-25-A5-B1-A4-A6-76-C8?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/9C-F8-46-DF-7F-09-23-63-9B-6F-D9-74-F2-F3-6B-70-89?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-b97b2ce350105f45bc2bc6bc76652c7b-d43a404a4f1e0d48-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "2ef3f0b9289596a2e951e541565e9eb9", + "traceparent": "00-ebbcaf995d1f414eb35c1f5df75c303c-2d29fa6b8afb9342-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "476f7cd85e19c3f1801de8b09a833e50", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:13 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:54 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A" + "distributionPolicyId": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:14 GMT", - "ETag": "\u00225f00fd57-0000-0700-0000-62db76c30000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:15 GMT", + "Date": "Mon, 15 Aug 2022 17:44:55 GMT", + "ETag": "\u00225e0055b9-0000-0700-0000-62fa86180000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:56 GMT", "Request-Context": "appId=", - "trace-id": "b97b2ce350105f45bc2bc6bc76652c7b", + "trace-id": "ebbcaf995d1f414eb35c1f5df75c303c", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0wnbbYgAAAAC2F7hZWXNfTYUrbburcLuPWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0F4b6YgAAAAC2uku8n2/YQLR1/f8Zm584Q0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "D3-CB-FA-35-2E-B1-D6-2B-DE-2E-25-A5-B1-A4-A6-76-C8", + "id": "9C-F8-46-DF-7F-09-23-63-9B-6F-D9-74-F2-F3-6B-70-89", "name": "test", - "distributionPolicyId": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A", + "distributionPolicyId": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6", "labels": { - "Id": "D3-CB-FA-35-2E-B1-D6-2B-DE-2E-25-A5-B1-A4-A6-76-C8" + "Id": "9C-F8-46-DF-7F-09-23-63-9B-6F-D9-74-F2-F3-6B-70-89" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/B5-66-1F-AB-7B-03-D6-21-28-61-C6-74-E9-D6-E0-B5-0D?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/BA-D9-6E-1F-47-82-D1-BA-12-98-13-6F-54-7B-5C-C8-11?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "375", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-b8fb113c3d53b94582533648af8b21f0-a46f9c3ed543444c-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "8a7f1556c73ccb5704e5dd032f03011f", + "traceparent": "00-8a8f930a9416d145bd97bd304f297135-41a0080fae18fb4b-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "95e59f0526a9b8f187894c2a428ad0f2", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:15 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:56 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "fallbackQueueId": "D3-CB-FA-35-2E-B1-D6-2B-DE-2E-25-A5-B1-A4-A6-76-C8", + "fallbackQueueId": "9C-F8-46-DF-7F-09-23-63-9B-6F-D9-74-F2-F3-6B-70-89", "queueSelectors": [ { "condition": { @@ -160,7 +160,7 @@ { "key": "Id", "labelOperator": "equal", - "value": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A" + "value": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6" } ], "kind": "conditional" @@ -172,18 +172,18 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:15 GMT", - "ETag": "\u00224a013867-0000-0700-0000-62db76c30000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:15 GMT", + "Date": "Mon, 15 Aug 2022 17:44:56 GMT", + "ETag": "\u00229600ae95-0000-0700-0000-62fa86190000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:57 GMT", "Request-Context": "appId=", - "trace-id": "b8fb113c3d53b94582533648af8b21f0", + "trace-id": "8a8f930a9416d145bd97bd304f297135", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0w3bbYgAAAABCVgo1/5OWTpQxlYLzng8NWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0GIb6YgAAAACsG2QUL3OjRb9XSPycK99FQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "B5-66-1F-AB-7B-03-D6-21-28-61-C6-74-E9-D6-E0-B5-0D", - "fallbackQueueId": "D3-CB-FA-35-2E-B1-D6-2B-DE-2E-25-A5-B1-A4-A6-76-C8", + "id": "BA-D9-6E-1F-47-82-D1-BA-12-98-13-6F-54-7B-5C-C8-11", + "fallbackQueueId": "9C-F8-46-DF-7F-09-23-63-9B-6F-D9-74-F2-F3-6B-70-89", "queueSelectors": [ { "kind": "conditional", @@ -196,7 +196,7 @@ { "key": "Id", "labelOperator": "equal", - "value": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A" + "value": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6" } ] } @@ -205,24 +205,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "226", + "Content-Length": "213", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-85160176b0983d4da0ed7bed3cad0781-e6d3b3c53e500940-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "271a60dc65ebd4aa7191be1a6f64484c", + "traceparent": "00-fe13b8d0aa0cd94088399e9f7c9f4505-839015f263d6e540-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "d3572b7d46bafcbb691a64ad39cf3c89", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:16 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:57 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "84-02-AB-9F-88-88-C5-70-D4-9F-86-83-F0-C8-7F-6A-F5", - "classificationPolicyId": "B5-66-1F-AB-7B-03-D6-21-28-61-C6-74-E9-D6-E0-B5-0D", - "priority": 0, + "channelId": "32-CC-76-45-BF-A2-87-8C-11-4A-AA-96-72-F3-CD-6F-FE", + "classificationPolicyId": "BA-D9-6E-1F-47-82-D1-BA-12-98-13-6F-54-7B-5C-C8-11", "requestedWorkerSelectors": [], "labels": { "Product": "O365" @@ -233,21 +232,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:17 GMT", - "ETag": "\u002200000000-0000-0000-c4e8-5b82626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:17 GMT", + "Date": "Mon, 15 Aug 2022 17:44:58 GMT", + "ETag": "\u002200000000-0000-0000-e05b-5adfe57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:58 GMT", "Request-Context": "appId=", - "trace-id": "85160176b0983d4da0ed7bed3cad0781", + "trace-id": "fe13b8d0aa0cd94088399e9f7c9f4505", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0xHbbYgAAAAAxOgG83v\u002BqQ6iLRpXXFqW0WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0GYb6YgAAAACjWXl2btUUT6msVm0UDDzjQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A", + "id": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6", "jobStatus": "pendingClassification", - "channelId": "84-02-AB-9F-88-88-C5-70-D4-9F-86-83-F0-C8-7F-6A-F5", - "classificationPolicyId": "B5-66-1F-AB-7B-03-D6-21-28-61-C6-74-E9-D6-E0-B5-0D", - "priority": 0, + "channelId": "32-CC-76-45-BF-A2-87-8C-11-4A-AA-96-72-F3-CD-6F-FE", + "classificationPolicyId": "BA-D9-6E-1F-47-82-D1-BA-12-98-13-6F-54-7B-5C-C8-11", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -259,16 +258,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-27258c6b7d01c7469d539b13cbdf5d08-b9e82960dff6644a-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "3c296892663bf112992829b04a9e66e5", + "traceparent": "00-8c2326b7d661a245af0460952d98f942-b701b70ab615dd49-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "3215c2bee5d2b1418bb7bf9011c681f6", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:17 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:44:58 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -276,21 +275,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:18 GMT", - "ETag": "\u002200000000-0000-0000-c4e8-5b82626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:17 GMT", + "Date": "Mon, 15 Aug 2022 17:44:59 GMT", + "ETag": "\u002200000000-0000-0000-e05b-5adfe57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:58 GMT", "Request-Context": "appId=", - "trace-id": "27258c6b7d01c7469d539b13cbdf5d08", + "trace-id": "8c2326b7d661a245af0460952d98f942", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0xnbbYgAAAADrq83k2x0ASaSrnBaoXFH8WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0G4b6YgAAAAD9jUOQ9idOQacys\u002BBk6USZQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A", + "id": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6", "jobStatus": "pendingClassification", - "channelId": "84-02-AB-9F-88-88-C5-70-D4-9F-86-83-F0-C8-7F-6A-F5", - "classificationPolicyId": "B5-66-1F-AB-7B-03-D6-21-28-61-C6-74-E9-D6-E0-B5-0D", - "priority": 0, + "channelId": "32-CC-76-45-BF-A2-87-8C-11-4A-AA-96-72-F3-CD-6F-FE", + "classificationPolicyId": "BA-D9-6E-1F-47-82-D1-BA-12-98-13-6F-54-7B-5C-C8-11", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -302,16 +301,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-f422a8fd958c5b4eb92f409856ccb4a7-98ddf8e16ca58741-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "f664c54f7644f1ce6baa18ab093c5ba0", + "traceparent": "00-926116588fbe9d4387a60d1f38f985f6-b919a74872d7974b-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "6f33f54d6b2cbe96e3e82c8fc1437eb7", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:19 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:00 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -319,23 +318,67 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:20 GMT", - "ETag": "\u002200000002-0000-0000-1248-c183626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:19 GMT", + "Date": "Mon, 15 Aug 2022 17:45:00 GMT", + "ETag": "\u002200000001-0000-0000-012c-0de0e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:44:59 GMT", "Request-Context": "appId=", - "trace-id": "f422a8fd958c5b4eb92f409856ccb4a7", + "trace-id": "926116588fbe9d4387a60d1f38f985f6", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0yHbbYgAAAADlOiiZHFkNRr6Gk57lMjRCWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0HIb6YgAAAADUzM9wZIjtQKKiwX3\u002B1u/jQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A", + "id": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6", + "jobStatus": "pendingClassification", + "channelId": "32-CC-76-45-BF-A2-87-8C-11-4A-AA-96-72-F3-CD-6F-FE", + "classificationPolicyId": "BA-D9-6E-1F-47-82-D1-BA-12-98-13-6F-54-7B-5C-C8-11", + "queueId": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6", + "priority": 1, + "requestedWorkerSelectors": [], + "attachedWorkerSelectors": [], + "labels": { + "Product": "O365" + }, + "assignments": {}, + "tags": {}, + "notes": {} + } + }, + { + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6?api-version=2022-07-18-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-503e4108acd0714c82c4a7a8b55900bd-0b9cdd730cf54149-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "806cc24c9e75971feaa64702862beba3", + "x-ms-content-sha256": "Sanitized", + "x-ms-date": "Mon, 15 Aug 2022 17:45:01 GMT", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 Aug 2022 17:45:01 GMT", + "ETag": "\u002200000002-0000-0000-154c-bce0e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:00 GMT", + "Request-Context": "appId=", + "trace-id": "503e4108acd0714c82c4a7a8b55900bd", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0Hob6YgAAAAD8s1l9kGOARIl8tvX/kXIvQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6", "jobStatus": "queued", - "enqueueTimeUtc": "2022-07-23T04:19:19.9423506\u002B00:00", - "channelId": "84-02-AB-9F-88-88-C5-70-D4-9F-86-83-F0-C8-7F-6A-F5", - "classificationPolicyId": "B5-66-1F-AB-7B-03-D6-21-28-61-C6-74-E9-D6-E0-B5-0D", - "queueId": "00-83-49-AE-C5-A8-63-51-2A-36-FA-37-56-73-62-2A-6A", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T17:45:00.9393685\u002B00:00", + "channelId": "32-CC-76-45-BF-A2-87-8C-11-4A-AA-96-72-F3-CD-6F-FE", + "classificationPolicyId": "BA-D9-6E-1F-47-82-D1-BA-12-98-13-6F-54-7B-5C-C8-11", + "queueId": "AD-FD-53-E6-F7-1A-4A-B0-C8-9D-FB-41-CF-86-82-EA-B6", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -348,8 +391,8 @@ } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-FDdkyeDW1kW6x61dtLPy3Q-", - "RandomSeed": "712236114" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-hIeLq3-2f0ucGuHNmVOrHA-", + "RandomSeed": "1471777490" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithConditionalLabelSelectorAsync.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithConditionalLabelSelectorAsync.json index dbbfcfd49a04d..cd561d4e6e515 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithConditionalLabelSelectorAsync.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithConditionalLabelSelectorAsync.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "161", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-751b8ab1b6291349b117bad2ada68608-da754d0d30c50243-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "f29c637cea06a89f10aa55e832545800", + "traceparent": "00-8f2852a5b5288840b41f486f564b0033-ec77abafd385ac44-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "0f285b0e96ca666aa4a1e4d1cad43573", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:05 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:54 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -29,17 +29,17 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:07 GMT", - "ETag": "\u002231074dd2-0000-0700-0000-62db76f70000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:07 GMT", + "Date": "Mon, 15 Aug 2022 17:45:54 GMT", + "ETag": "\u00220702281a-0000-0700-0000-62fa86530000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:55 GMT", "Request-Context": "appId=", - "trace-id": "751b8ab1b6291349b117bad2ada68608", + "trace-id": "8f2852a5b5288840b41f486f564b0033", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "09XbbYgAAAAA7E32QCWDtR4hpD6bDag4OWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Uob6YgAAAADYTPSpHmANTKrhiW66QRrXQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5", + "id": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC", "name": "Simple-Queue-Distribution", "offerTtlSeconds": 600, "mode": { @@ -51,104 +51,104 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-8dd82f874b01a748897577356b493b75-d7b173b5041e1545-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "9a1e44850f18caecfc65bcac2a36590c", + "traceparent": "00-e1e12c5052689e48a0602aa0e6028ddc-928688d53494ee42-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "22baa39e23a5c722b8295bc4069584ea", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:07 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:55 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5" + "distributionPolicyId": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:10 GMT", - "ETag": "\u00225f004958-0000-0700-0000-62db76f90000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:09 GMT", + "Date": "Mon, 15 Aug 2022 17:45:56 GMT", + "ETag": "\u00225e008ac1-0000-0700-0000-62fa86540000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:56 GMT", "Request-Context": "appId=", - "trace-id": "8dd82f874b01a748897577356b493b75", + "trace-id": "e1e12c5052689e48a0602aa0e6028ddc", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "093bbYgAAAACUBSAi\u002BzE/SroVajHezorgWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0U4b6YgAAAADMopju2lGmR7AFcEtOBnuGQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5", + "id": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC", "name": "test", - "distributionPolicyId": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5", + "distributionPolicyId": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC", "labels": { - "Id": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5" + "Id": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/2E-22-BE-06-2A-94-E1-9F-9D-2C-D1-92-E1-74-1E-45-26?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/D5-48-6A-B0-60-52-35-61-E5-E7-0F-7E-27-72-BF-7B-DB?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-084b32b1686e544e9dd872be942335c3-b85aeefdee224844-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "32de88e7ea554d9f62d619b48cd14590", + "traceparent": "00-39c71f3eb0c5f849a9cc0d2f89af265f-34621426b62f7947-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "a02d279ae004707221c31bb1127b339d", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:10 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:57 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5" + "distributionPolicyId": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:12 GMT", - "ETag": "\u00225f004a58-0000-0700-0000-62db76fb0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:11 GMT", + "Date": "Mon, 15 Aug 2022 17:45:57 GMT", + "ETag": "\u00225e008dc1-0000-0700-0000-62fa86560000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:58 GMT", "Request-Context": "appId=", - "trace-id": "084b32b1686e544e9dd872be942335c3", + "trace-id": "39c71f3eb0c5f849a9cc0d2f89af265f", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0\u002BnbbYgAAAABhF0okJ7Y/QqbQ6tQSL\u002BP\u002BWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0VYb6YgAAAABCXIFQJOSSQ6jkGeszBu4\u002BQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "2E-22-BE-06-2A-94-E1-9F-9D-2C-D1-92-E1-74-1E-45-26", + "id": "D5-48-6A-B0-60-52-35-61-E5-E7-0F-7E-27-72-BF-7B-DB", "name": "test", - "distributionPolicyId": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5", + "distributionPolicyId": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC", "labels": { - "Id": "2E-22-BE-06-2A-94-E1-9F-9D-2C-D1-92-E1-74-1E-45-26" + "Id": "D5-48-6A-B0-60-52-35-61-E5-E7-0F-7E-27-72-BF-7B-DB" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/24-D0-75-39-B7-06-1D-B9-AF-E4-04-9F-30-BD-B0-B6-58?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/F4-9A-1D-BD-9A-07-11-A8-70-D3-BD-90-D3-11-5D-18-20?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "375", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-91ed7784c5373b489a70ccb81906a74f-f4059e743252894a-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "156d626afe266d5477d1f5a02ef27dd9", + "traceparent": "00-87842d065c06984c8b4bd8501c27b11b-ba32000b057f3e4d-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "a80b207e57aaeb17396057a13aa55f0f", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:11 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:58 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "fallbackQueueId": "2E-22-BE-06-2A-94-E1-9F-9D-2C-D1-92-E1-74-1E-45-26", + "fallbackQueueId": "D5-48-6A-B0-60-52-35-61-E5-E7-0F-7E-27-72-BF-7B-DB", "queueSelectors": [ { "condition": { @@ -160,7 +160,7 @@ { "key": "Id", "labelOperator": "equal", - "value": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5" + "value": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC" } ], "kind": "conditional" @@ -172,18 +172,18 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:14 GMT", - "ETag": "\u00224a01ec67-0000-0700-0000-62db76fd0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:13 GMT", + "Date": "Mon, 15 Aug 2022 17:46:00 GMT", + "ETag": "\u00229600409d-0000-0700-0000-62fa86570000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:59 GMT", "Request-Context": "appId=", - "trace-id": "91ed7784c5373b489a70ccb81906a74f", + "trace-id": "87842d065c06984c8b4bd8501c27b11b", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0/HbbYgAAAAD3I21X8rbpSKxWSQErtfisWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Vob6YgAAAADIEkjVkf/DSp7GwWsqJ9MkQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "24-D0-75-39-B7-06-1D-B9-AF-E4-04-9F-30-BD-B0-B6-58", - "fallbackQueueId": "2E-22-BE-06-2A-94-E1-9F-9D-2C-D1-92-E1-74-1E-45-26", + "id": "F4-9A-1D-BD-9A-07-11-A8-70-D3-BD-90-D3-11-5D-18-20", + "fallbackQueueId": "D5-48-6A-B0-60-52-35-61-E5-E7-0F-7E-27-72-BF-7B-DB", "queueSelectors": [ { "kind": "conditional", @@ -196,7 +196,7 @@ { "key": "Id", "labelOperator": "equal", - "value": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5" + "value": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC" } ] } @@ -205,24 +205,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "226", + "Content-Length": "213", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-153c230fb188bc448e6d09e0029bafc5-953969ec3716df4a-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "a900485125769baba5d03741f6373d2b", + "traceparent": "00-481fb5f2dc07994094b9f0c941634f22-84b9e97deca4844f-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "a336fa1c95a7bd6f304a00e10770b53c", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:14 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:00 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "04-9D-5A-B8-E2-7D-25-6D-61-4B-72-70-58-A0-B8-45-2D", - "classificationPolicyId": "24-D0-75-39-B7-06-1D-B9-AF-E4-04-9F-30-BD-B0-B6-58", - "priority": 0, + "channelId": "12-CB-4F-0F-84-48-DB-C7-07-96-B9-EB-E1-87-38-AC-BC", + "classificationPolicyId": "F4-9A-1D-BD-9A-07-11-A8-70-D3-BD-90-D3-11-5D-18-20", "requestedWorkerSelectors": [], "labels": { "Product": "O365" @@ -233,21 +232,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:15 GMT", - "ETag": "\u002200000000-0000-0000-2056-b7a4626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:15 GMT", + "Date": "Mon, 15 Aug 2022 17:46:01 GMT", + "ETag": "\u002200000000-0000-0000-d1ff-e204e67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:01 GMT", "Request-Context": "appId=", - "trace-id": "153c230fb188bc448e6d09e0029bafc5", + "trace-id": "481fb5f2dc07994094b9f0c941634f22", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0/nbbYgAAAABegb29AhdBQbRrnBmrGvS4WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0WIb6YgAAAAAjmNoaIaZES7U3SYKuS9ggQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5", + "id": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC", "jobStatus": "pendingClassification", - "channelId": "04-9D-5A-B8-E2-7D-25-6D-61-4B-72-70-58-A0-B8-45-2D", - "classificationPolicyId": "24-D0-75-39-B7-06-1D-B9-AF-E4-04-9F-30-BD-B0-B6-58", - "priority": 0, + "channelId": "12-CB-4F-0F-84-48-DB-C7-07-96-B9-EB-E1-87-38-AC-BC", + "classificationPolicyId": "F4-9A-1D-BD-9A-07-11-A8-70-D3-BD-90-D3-11-5D-18-20", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -259,16 +258,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-fc1b16ed9fac17469d844a6ee3523b3f-a4d2d1c5fa8b294a-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "c8422c2044c8e8e63471ba83f4fe1f6f", + "traceparent": "00-8ff7942f686ad14e8929b704611af9c3-82c31eba2332d944-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "e546bef5db8943400f4266a388d0367b", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:15 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:01 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -276,21 +275,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:16 GMT", - "ETag": "\u002200000000-0000-0000-2056-b7a4626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:15 GMT", + "Date": "Mon, 15 Aug 2022 17:46:01 GMT", + "ETag": "\u002200000000-0000-0000-d1ff-e204e67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:01 GMT", "Request-Context": "appId=", - "trace-id": "fc1b16ed9fac17469d844a6ee3523b3f", + "trace-id": "8ff7942f686ad14e8929b704611af9c3", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0/3bbYgAAAAAkiR1IW\u002BtfSaxmjNguuVC5WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Wob6YgAAAAAiACef9sN\u002BQ4DvVRWy\u002BnhjQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5", + "id": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC", "jobStatus": "pendingClassification", - "channelId": "04-9D-5A-B8-E2-7D-25-6D-61-4B-72-70-58-A0-B8-45-2D", - "classificationPolicyId": "24-D0-75-39-B7-06-1D-B9-AF-E4-04-9F-30-BD-B0-B6-58", - "priority": 0, + "channelId": "12-CB-4F-0F-84-48-DB-C7-07-96-B9-EB-E1-87-38-AC-BC", + "classificationPolicyId": "F4-9A-1D-BD-9A-07-11-A8-70-D3-BD-90-D3-11-5D-18-20", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -302,16 +301,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-ff3524231e2ac346b04b1176daefc04c-8f7da2279e32eb4f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "44633f599bd04419b6d26f55c613763f", + "traceparent": "00-e1d3424b0063cc4c9acc9b9dd4f4d3e7-26929cc3de959841-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "17940c639044e8f6b14e775f5636e4c9", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:17 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:03 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -319,22 +318,22 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:17 GMT", - "ETag": "\u002200000001-0000-0000-98d1-17a5626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:15 GMT", + "Date": "Mon, 15 Aug 2022 17:46:03 GMT", + "ETag": "\u002200000001-0000-0000-865e-8f05e67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:02 GMT", "Request-Context": "appId=", - "trace-id": "ff3524231e2ac346b04b1176daefc04c", + "trace-id": "e1d3424b0063cc4c9acc9b9dd4f4d3e7", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0AXfbYgAAAAB\u002B9MV9N0qzQqL6/1UhE12zWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0W4b6YgAAAAAwDHOUeu5xR77WeBaoLV2zQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5", + "id": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC", "jobStatus": "pendingClassification", - "channelId": "04-9D-5A-B8-E2-7D-25-6D-61-4B-72-70-58-A0-B8-45-2D", - "classificationPolicyId": "24-D0-75-39-B7-06-1D-B9-AF-E4-04-9F-30-BD-B0-B6-58", - "queueId": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5", - "priority": 0, + "channelId": "12-CB-4F-0F-84-48-DB-C7-07-96-B9-EB-E1-87-38-AC-BC", + "classificationPolicyId": "F4-9A-1D-BD-9A-07-11-A8-70-D3-BD-90-D3-11-5D-18-20", + "queueId": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -346,16 +345,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-3b8f88b4ec8ef94e8c5bf1fed2671ca7-ec00e26736a86347-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "0280ca93b5b00d11621875056a28a7a6", + "traceparent": "00-ad9638817882cd4fbb01846142e098d9-f2159316b0c42347-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "7bab1bab7a5f4185b9f393642fcb345f", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:18 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:04 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -363,23 +362,23 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:18 GMT", - "ETag": "\u002200000002-0000-0000-ba88-1aa6626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:17 GMT", + "Date": "Mon, 15 Aug 2022 17:46:04 GMT", + "ETag": "\u002200000002-0000-0000-ff47-4606e67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:03 GMT", "Request-Context": "appId=", - "trace-id": "3b8f88b4ec8ef94e8c5bf1fed2671ca7", + "trace-id": "ad9638817882cd4fbb01846142e098d9", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0AnfbYgAAAABluaVEUV0aQolAGVsKpSNoWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0XIb6YgAAAABVSY3Wyx98TIrlUz/edJDbQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5", + "id": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC", "jobStatus": "queued", - "enqueueTimeUtc": "2022-07-23T04:20:17.5698106\u002B00:00", - "channelId": "04-9D-5A-B8-E2-7D-25-6D-61-4B-72-70-58-A0-B8-45-2D", - "classificationPolicyId": "24-D0-75-39-B7-06-1D-B9-AF-E4-04-9F-30-BD-B0-B6-58", - "queueId": "A9-93-D6-81-6C-9C-4C-87-6C-AA-27-8F-C2-C2-28-7D-E5", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T17:46:03.9193599\u002B00:00", + "channelId": "12-CB-4F-0F-84-48-DB-C7-07-96-B9-EB-E1-87-38-AC-BC", + "classificationPolicyId": "F4-9A-1D-BD-9A-07-11-A8-70-D3-BD-90-D3-11-5D-18-20", + "queueId": "A9-10-2E-CD-67-E9-67-1C-65-25-70-2B-A1-A8-91-C9-BC", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -392,8 +391,8 @@ } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-9z6QKmqoNEWq-AZ8MzMfuw-", - "RandomSeed": "126160795" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-spZ-tvf34kyk7GdNLl_nFg-", + "RandomSeed": "1184554586" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithFallbackQueue.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithFallbackQueue.json index 67ebbb9851f08..25a30c95c2333 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithFallbackQueue.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithFallbackQueue.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/9D-00-D7-A2-27-BE-C0-80-B9-A5-95-34-B6-63-4D-38-95?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/6D-8B-1D-DB-82-ED-2E-D3-E5-79-A1-0C-B4-E6-B4-DF-0A?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "161", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-f50f1742c3282a4299aade18398d5fc0-3fb74d18ff0c7241-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "57872bf83edb79ae04ce4b2017e4251b", + "traceparent": "00-872bc5f910f7854ab01a0e254a779980-9e34001dd1c40d45-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "20efca735823b000a67a3001c0467c76", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:20 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:01 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -29,17 +29,17 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:21 GMT", - "ETag": "\u00223107dccd-0000-0700-0000-62db76c90000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:21 GMT", + "Date": "Mon, 15 Aug 2022 17:45:03 GMT", + "ETag": "\u00220702c20f-0000-0700-0000-62fa861f0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:03 GMT", "Request-Context": "appId=", - "trace-id": "f50f1742c3282a4299aade18398d5fc0", + "trace-id": "872bc5f910f7854ab01a0e254a779980", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0yHbbYgAAAABvop0\u002Bigw4RqPr5UKfrf\u002BxWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Hob6YgAAAAA2/EFk529eQKmgPBv1zrtwQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "9D-00-D7-A2-27-BE-C0-80-B9-A5-95-34-B6-63-4D-38-95", + "id": "6D-8B-1D-DB-82-ED-2E-D3-E5-79-A1-0C-B4-E6-B4-DF-0A", "name": "Simple-Queue-Distribution", "offerTtlSeconds": 600, "mode": { @@ -51,63 +51,63 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/EB-07-CE-16-F4-1E-5B-25-C5-DC-01-D7-8E-8E-00-A5-F3?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/36-CE-24-17-3A-B1-BC-6F-F6-40-89-82-C0-F4-22-79-AD?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-7baadce569a03a409557f54b053b96ff-bfd02accab4a5e4a-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "2ba9640462d3c89762e9e8f08bf1f295", + "traceparent": "00-79dc59a6d1fae84eae1ffd23adc44c6e-17c2c42053f5f843-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "6f428c96d95f3a5b064275056dacf91d", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:21 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:03 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "9D-00-D7-A2-27-BE-C0-80-B9-A5-95-34-B6-63-4D-38-95" + "distributionPolicyId": "6D-8B-1D-DB-82-ED-2E-D3-E5-79-A1-0C-B4-E6-B4-DF-0A" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:22 GMT", - "ETag": "\u00225f000558-0000-0700-0000-62db76ca0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:22 GMT", + "Date": "Mon, 15 Aug 2022 17:45:05 GMT", + "ETag": "\u00225e005fb9-0000-0700-0000-62fa86210000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:05 GMT", "Request-Context": "appId=", - "trace-id": "7baadce569a03a409557f54b053b96ff", + "trace-id": "79dc59a6d1fae84eae1ffd23adc44c6e", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0yXbbYgAAAACGTHlZiwIES7XY7gglTiBwWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0IIb6YgAAAADAzSfYDm7QQr8FesyGsZMyQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "EB-07-CE-16-F4-1E-5B-25-C5-DC-01-D7-8E-8E-00-A5-F3", + "id": "36-CE-24-17-3A-B1-BC-6F-F6-40-89-82-C0-F4-22-79-AD", "name": "test", - "distributionPolicyId": "9D-00-D7-A2-27-BE-C0-80-B9-A5-95-34-B6-63-4D-38-95", + "distributionPolicyId": "6D-8B-1D-DB-82-ED-2E-D3-E5-79-A1-0C-B4-E6-B4-DF-0A", "labels": { - "Id": "EB-07-CE-16-F4-1E-5B-25-C5-DC-01-D7-8E-8E-00-A5-F3" + "Id": "36-CE-24-17-3A-B1-BC-6F-F6-40-89-82-C0-F4-22-79-AD" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/AE-9B-52-26-19-8D-7E-B3-DE-35-87-67-E4-FD-A8-B7-D0?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/65-EB-B2-E3-0C-9F-39-7A-1B-B9-B1-61-98-25-01-33-41?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "213", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-53c114d8e7d08d4eaed9337d14ee3c3b-b70275a99bdab44a-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "9364a87e89f0be19d1983adcc974e8b3", + "traceparent": "00-2d0d14d3349c1944ace3a0f2972a7c98-3b23ada9893dcb45-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "5160e016fbce61add0f04a376f5b9c55", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:22 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:05 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "fallbackQueueId": "EB-07-CE-16-F4-1E-5B-25-C5-DC-01-D7-8E-8E-00-A5-F3", + "fallbackQueueId": "36-CE-24-17-3A-B1-BC-6F-F6-40-89-82-C0-F4-22-79-AD", "queueSelectors": [ { "labelSelector": { @@ -124,18 +124,18 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:23 GMT", - "ETag": "\u00224a014c67-0000-0700-0000-62db76cc0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:24 GMT", + "Date": "Mon, 15 Aug 2022 17:45:06 GMT", + "ETag": "\u002296001b96-0000-0700-0000-62fa86220000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:06 GMT", "Request-Context": "appId=", - "trace-id": "53c114d8e7d08d4eaed9337d14ee3c3b", + "trace-id": "2d0d14d3349c1944ace3a0f2972a7c98", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0y3bbYgAAAAAQsISQ0aGERKohHOhLpkjtWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0IYb6YgAAAABdnMOVhkUjRZSlTJndfnLpQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "AE-9B-52-26-19-8D-7E-B3-DE-35-87-67-E4-FD-A8-B7-D0", - "fallbackQueueId": "EB-07-CE-16-F4-1E-5B-25-C5-DC-01-D7-8E-8E-00-A5-F3", + "id": "65-EB-B2-E3-0C-9F-39-7A-1B-B9-B1-61-98-25-01-33-41", + "fallbackQueueId": "36-CE-24-17-3A-B1-BC-6F-F6-40-89-82-C0-F4-22-79-AD", "queueSelectors": [ { "kind": "static", @@ -150,24 +150,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "198", + "Content-Length": "185", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-8e77dd11b833054988866a3852742ff1-fbe6e8c3f46fbf49-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "f3543c278049969594bff4f255bded13", + "traceparent": "00-c5059b8301e0b348b3583e2274604ba9-1a6c2c9494416547-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "60bfe5322343999f6eb51ae0e2fb43fa", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:23 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:06 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "FA-32-93-0B-44-2B-DA-F6-B7-7F-22-D7-F1-83-68-3B-8C", - "classificationPolicyId": "AE-9B-52-26-19-8D-7E-B3-DE-35-87-67-E4-FD-A8-B7-D0", - "priority": 0, + "channelId": "AA-80-8B-4D-ED-2C-E8-3D-22-6F-21-FC-1A-83-82-92-D5", + "classificationPolicyId": "65-EB-B2-E3-0C-9F-39-7A-1B-B9-B1-61-98-25-01-33-41", "requestedWorkerSelectors": [], "notes": {} }, @@ -175,23 +174,23 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:27 GMT", - "ETag": "\u002200000012-0000-0000-2250-5387626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:25 GMT", + "Date": "Mon, 15 Aug 2022 17:45:08 GMT", + "ETag": "\u00220000000c-0000-0000-f19d-a8e4e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:07 GMT", "Request-Context": "appId=", - "trace-id": "8e77dd11b833054988866a3852742ff1", + "trace-id": "c5059b8301e0b348b3583e2274604ba9", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0zHbbYgAAAAAF07GeC\u002BdZTK36nteg4C6nWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0I4b6YgAAAADy1pBE8SRJQIqU4kZECOrZQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { "id": "63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B", "jobStatus": "pendingClassification", - "enqueueTimeUtc": "2022-06-16T01:21:24.4234924\u002B00:00", - "channelId": "FA-32-93-0B-44-2B-DA-F6-B7-7F-22-D7-F1-83-68-3B-8C", - "classificationPolicyId": "AE-9B-52-26-19-8D-7E-B3-DE-35-87-67-E4-FD-A8-B7-D0", - "queueId": "99-AD-7C-B8-C0-71-AD-87-52-1E-69-29-1E-35-3D-E7-97", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T16:16:51.349664\u002B00:00", + "channelId": "AA-80-8B-4D-ED-2C-E8-3D-22-6F-21-FC-1A-83-82-92-D5", + "classificationPolicyId": "65-EB-B2-E3-0C-9F-39-7A-1B-B9-B1-61-98-25-01-33-41", + "queueId": "7D-91-21-D1-D7-B4-B4-36-EC-BD-03-39-F8-24-D1-5D-3C", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -201,16 +200,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-a4998e39bfdadd4e942a91459e91285a-f43ac40745e8dc40-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "6fa1b5db927f7a2b4aeb593b28bafeee", + "traceparent": "00-de2739240e07d747a671beacf0b1fdf0-de2f2d564f876c48-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "dfeb12802ae69ba8dee19f6f8f23caaa", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:27 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:09 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -218,23 +217,66 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:28 GMT", - "ETag": "\u002200000014-0000-0000-5b9a-b688626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:28 GMT", + "Date": "Mon, 15 Aug 2022 17:45:09 GMT", + "ETag": "\u00220000000d-0000-0000-e65b-59e5e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:08 GMT", "Request-Context": "appId=", - "trace-id": "a4998e39bfdadd4e942a91459e91285a", + "trace-id": "de2739240e07d747a671beacf0b1fdf0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0z3bbYgAAAABvy1hGr1aJTboM34JrR2RyWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0JYb6YgAAAABmNnbqr\u002BsWQJ6XV2Pm1gToQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B", + "jobStatus": "pendingClassification", + "enqueueTimeUtc": "2022-08-15T16:16:51.349664\u002B00:00", + "channelId": "AA-80-8B-4D-ED-2C-E8-3D-22-6F-21-FC-1A-83-82-92-D5", + "classificationPolicyId": "65-EB-B2-E3-0C-9F-39-7A-1B-B9-B1-61-98-25-01-33-41", + "queueId": "36-CE-24-17-3A-B1-BC-6F-F6-40-89-82-C0-F4-22-79-AD", + "priority": 1, + "requestedWorkerSelectors": [], + "attachedWorkerSelectors": [], + "labels": {}, + "assignments": {}, + "tags": {}, + "notes": {} + } + }, + { + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B?api-version=2022-07-18-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a661037e9e911d4bac9e48186ebc9038-0972fc87c7318b41-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "88d220a698ecf2da40c6e319e0cc7ed4", + "x-ms-content-sha256": "Sanitized", + "x-ms-date": "Mon, 15 Aug 2022 17:45:10 GMT", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 Aug 2022 17:45:10 GMT", + "ETag": "\u00220000000e-0000-0000-ddb2-07e6e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:09 GMT", + "Request-Context": "appId=", + "trace-id": "a661037e9e911d4bac9e48186ebc9038", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0Job6YgAAAACXpi0qL22WRKl741wl8f1hQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { "id": "63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B", "jobStatus": "queued", - "enqueueTimeUtc": "2022-06-16T01:21:24.4234924\u002B00:00", - "channelId": "FA-32-93-0B-44-2B-DA-F6-B7-7F-22-D7-F1-83-68-3B-8C", - "classificationPolicyId": "AE-9B-52-26-19-8D-7E-B3-DE-35-87-67-E4-FD-A8-B7-D0", - "queueId": "EB-07-CE-16-F4-1E-5B-25-C5-DC-01-D7-8E-8E-00-A5-F3", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T16:16:51.349664\u002B00:00", + "channelId": "AA-80-8B-4D-ED-2C-E8-3D-22-6F-21-FC-1A-83-82-92-D5", + "classificationPolicyId": "65-EB-B2-E3-0C-9F-39-7A-1B-B9-B1-61-98-25-01-33-41", + "queueId": "36-CE-24-17-3A-B1-BC-6F-F6-40-89-82-C0-F4-22-79-AD", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -245,8 +287,8 @@ } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-t4al7G58SE6GdHECV7_WtQ-", - "RandomSeed": "1136534691" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-GevKhPTxsECwFmgi6eKkTQ-", + "RandomSeed": "62267679" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithFallbackQueueAsync.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithFallbackQueueAsync.json index 55e94c4df14dd..5c2cc663c0eea 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithFallbackQueueAsync.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithFallbackQueueAsync.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/DD-4B-A7-B4-75-A5-7C-1B-34-73-5B-6A-83-5E-F2-BF-BD?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/E8-00-7A-8E-87-E4-B8-3C-46-39-82-7B-44-0D-6A-FA-77?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "161", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-89aca2852139914891217e6225b0b4a8-b5eda77b8870d647-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "429ef2e7a095ae079840c9d5716fd2ee", + "traceparent": "00-49446ad9aa6be54cba319ef050f9445c-b59051695a96de4e-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "cce658590a57eddafece9de383208dba", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:18 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:04 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -29,17 +29,17 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:20 GMT", - "ETag": "\u002231078cd3-0000-0700-0000-62db77030000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:19 GMT", + "Date": "Mon, 15 Aug 2022 17:46:05 GMT", + "ETag": "\u00220702a71c-0000-0700-0000-62fa865e0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:06 GMT", "Request-Context": "appId=", - "trace-id": "89aca2852139914891217e6225b0b4a8", + "trace-id": "49446ad9aa6be54cba319ef050f9445c", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0AnfbYgAAAAB\u002BXt33FcJ1RIz2YM2PoOUQWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0XYb6YgAAAAAzS0MAlpNaSqab4LL/Hb1BQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "DD-4B-A7-B4-75-A5-7C-1B-34-73-5B-6A-83-5E-F2-BF-BD", + "id": "E8-00-7A-8E-87-E4-B8-3C-46-39-82-7B-44-0D-6A-FA-77", "name": "Simple-Queue-Distribution", "offerTtlSeconds": 600, "mode": { @@ -51,63 +51,63 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/00-DE-88-BF-DE-DA-94-AF-0D-33-39-E8-8B-2B-F9-AC-B8?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/11-75-EA-8B-03-B8-94-FA-E6-53-55-CF-82-54-E5-B3-F2?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-70fae182252bb342999cec735dfd7307-7c2b1e128bd0f447-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "5f2e723d1a3980228161c1f5d71fb131", + "traceparent": "00-a2228d3533d9924e93030cdbd2bf9658-861ca8cf2eb86749-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "7f7ff9310e8ce287d30c99e78eaf0e92", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:20 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:06 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "DD-4B-A7-B4-75-A5-7C-1B-34-73-5B-6A-83-5E-F2-BF-BD" + "distributionPolicyId": "E8-00-7A-8E-87-E4-B8-3C-46-39-82-7B-44-0D-6A-FA-77" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:22 GMT", - "ETag": "\u00225f005a58-0000-0700-0000-62db77050000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:21 GMT", + "Date": "Mon, 15 Aug 2022 17:46:06 GMT", + "ETag": "\u00225e008fc1-0000-0700-0000-62fa865e0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:06 GMT", "Request-Context": "appId=", - "trace-id": "70fae182252bb342999cec735dfd7307", + "trace-id": "a2228d3533d9924e93030cdbd2bf9658", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0BHfbYgAAAAB9ni6tTusBS4HZSsMyaFlxWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Xob6YgAAAAA4b8coSWybR78saHmMFhosQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "00-DE-88-BF-DE-DA-94-AF-0D-33-39-E8-8B-2B-F9-AC-B8", + "id": "11-75-EA-8B-03-B8-94-FA-E6-53-55-CF-82-54-E5-B3-F2", "name": "test", - "distributionPolicyId": "DD-4B-A7-B4-75-A5-7C-1B-34-73-5B-6A-83-5E-F2-BF-BD", + "distributionPolicyId": "E8-00-7A-8E-87-E4-B8-3C-46-39-82-7B-44-0D-6A-FA-77", "labels": { - "Id": "00-DE-88-BF-DE-DA-94-AF-0D-33-39-E8-8B-2B-F9-AC-B8" + "Id": "11-75-EA-8B-03-B8-94-FA-E6-53-55-CF-82-54-E5-B3-F2" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/90-69-86-1E-4E-C3-2C-76-B0-D5-ED-FA-56-6A-D6-0B-0C?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/5E-7E-F3-DB-15-C8-0E-62-67-78-70-C0-8A-6C-62-23-85?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "213", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-33a107371cd5b14fa324ab882103ff8c-d0abe29fa03c1145-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "b4d7e9f5a859c6c059bd1abf47e1f171", + "traceparent": "00-833239abd0286948a3defa6b530bfab7-7d685925dd2a0f47-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "c6949686a67679e92868ee48d5ad8595", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:22 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:07 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "fallbackQueueId": "00-DE-88-BF-DE-DA-94-AF-0D-33-39-E8-8B-2B-F9-AC-B8", + "fallbackQueueId": "11-75-EA-8B-03-B8-94-FA-E6-53-55-CF-82-54-E5-B3-F2", "queueSelectors": [ { "labelSelector": { @@ -124,18 +124,18 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:23 GMT", - "ETag": "\u00224a01fa67-0000-0700-0000-62db77070000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:23 GMT", + "Date": "Mon, 15 Aug 2022 17:46:08 GMT", + "ETag": "\u002296003f9f-0000-0700-0000-62fa86600000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:08 GMT", "Request-Context": "appId=", - "trace-id": "33a107371cd5b14fa324ab882103ff8c", + "trace-id": "833239abd0286948a3defa6b530bfab7", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0BnfbYgAAAAB91GRm2hM9SruknF2NXAK2WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0X4b6YgAAAAAZLTXjQvfwRKUeR7rJf478Q0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "90-69-86-1E-4E-C3-2C-76-B0-D5-ED-FA-56-6A-D6-0B-0C", - "fallbackQueueId": "00-DE-88-BF-DE-DA-94-AF-0D-33-39-E8-8B-2B-F9-AC-B8", + "id": "5E-7E-F3-DB-15-C8-0E-62-67-78-70-C0-8A-6C-62-23-85", + "fallbackQueueId": "11-75-EA-8B-03-B8-94-FA-E6-53-55-CF-82-54-E5-B3-F2", "queueSelectors": [ { "kind": "static", @@ -150,24 +150,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "198", + "Content-Length": "185", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-21c8a5076581a54e9298502dc851fe7c-d64f0ba38d87ff43-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "32a6d1fd19bacddbcf1ec034df11d678", + "traceparent": "00-bfd632a16042bb4ab6ea56e41d86cf50-bf8a4e2bb4df114f-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "2c47c2e59df44b7fd103f94a71f25f4f", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:23 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:09 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "C0-35-5B-76-29-2D-74-A5-19-C2-47-E3-B2-1E-11-F4-C0", - "classificationPolicyId": "90-69-86-1E-4E-C3-2C-76-B0-D5-ED-FA-56-6A-D6-0B-0C", - "priority": 0, + "channelId": "B3-EC-99-DB-8A-2F-7F-F1-7C-D5-F6-BE-54-09-C2-AF-F6", + "classificationPolicyId": "5E-7E-F3-DB-15-C8-0E-62-67-78-70-C0-8A-6C-62-23-85", "requestedWorkerSelectors": [], "notes": {} }, @@ -175,23 +174,23 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:26 GMT", - "ETag": "\u002200000015-0000-0000-5bc3-62aa626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:24 GMT", + "Date": "Mon, 15 Aug 2022 17:46:12 GMT", + "ETag": "\u00220000000f-0000-0000-084b-8c0ae67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:11 GMT", "Request-Context": "appId=", - "trace-id": "21c8a5076581a54e9298502dc851fe7c", + "trace-id": "bfd632a16042bb4ab6ea56e41d86cf50", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0CHfbYgAAAABzHxfsuLT1Q4hXV37yXqq2WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0YYb6YgAAAADN48YEJ5wAToYv1XvO9qw2Q0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { "id": "63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B", "jobStatus": "pendingClassification", - "enqueueTimeUtc": "2022-06-16T01:21:24.4234924\u002B00:00", - "channelId": "C0-35-5B-76-29-2D-74-A5-19-C2-47-E3-B2-1E-11-F4-C0", - "classificationPolicyId": "90-69-86-1E-4E-C3-2C-76-B0-D5-ED-FA-56-6A-D6-0B-0C", - "queueId": "EB-07-CE-16-F4-1E-5B-25-C5-DC-01-D7-8E-8E-00-A5-F3", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T16:16:51.349664\u002B00:00", + "channelId": "B3-EC-99-DB-8A-2F-7F-F1-7C-D5-F6-BE-54-09-C2-AF-F6", + "classificationPolicyId": "5E-7E-F3-DB-15-C8-0E-62-67-78-70-C0-8A-6C-62-23-85", + "queueId": "36-CE-24-17-3A-B1-BC-6F-F6-40-89-82-C0-F4-22-79-AD", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -201,16 +200,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-f019d82a47188d4a82c3a352802650bc-b2fc2a0bcf64204f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "87df978e1d989494b267057cff6339a0", + "traceparent": "00-6c2d93770e0e564eafa4f8c1af1c08f8-56420e34e9962a49-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "ec5d0abfc68c8a4410065624203f0d26", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:26 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:13 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -218,23 +217,23 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:27 GMT", - "ETag": "\u002200000017-0000-0000-eb4f-c5ab626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:27 GMT", + "Date": "Mon, 15 Aug 2022 17:46:13 GMT", + "ETag": "\u002200000011-0000-0000-6480-ef0be67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:13 GMT", "Request-Context": "appId=", - "trace-id": "f019d82a47188d4a82c3a352802650bc", + "trace-id": "6c2d93770e0e564eafa4f8c1af1c08f8", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0C3fbYgAAAAC0m3DT4s6GS54W3axaWksjWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0ZYb6YgAAAABI5i3qn\u002BUjQ5ngaIzrEJXgQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { "id": "63-86-FC-91-8E-D8-DA-F2-4B-34-2B-08-83-8A-0A-1D-7B", "jobStatus": "queued", - "enqueueTimeUtc": "2022-06-16T01:21:24.4234924\u002B00:00", - "channelId": "C0-35-5B-76-29-2D-74-A5-19-C2-47-E3-B2-1E-11-F4-C0", - "classificationPolicyId": "90-69-86-1E-4E-C3-2C-76-B0-D5-ED-FA-56-6A-D6-0B-0C", - "queueId": "00-DE-88-BF-DE-DA-94-AF-0D-33-39-E8-8B-2B-F9-AC-B8", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T16:16:51.349664\u002B00:00", + "channelId": "B3-EC-99-DB-8A-2F-7F-F1-7C-D5-F6-BE-54-09-C2-AF-F6", + "classificationPolicyId": "5E-7E-F3-DB-15-C8-0E-62-67-78-70-C0-8A-6C-62-23-85", + "queueId": "11-75-EA-8B-03-B8-94-FA-E6-53-55-CF-82-54-E5-B3-F2", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -245,8 +244,8 @@ } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-dm9I9lGmskSErurBjN0LqQ-", - "RandomSeed": "1913401338" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-5kHIVoDqWUaNh6E0k0emIg-", + "RandomSeed": "1876971012" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithPassThroughLabelSelector.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithPassThroughLabelSelector.json index 1d0fa17e90dc7..a8c48551f613b 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithPassThroughLabelSelector.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithPassThroughLabelSelector.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/02-65-CF-00-B9-8A-1B-95-5C-D1-83-82-72-40-D8-D9-25?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/75-CF-64-34-97-95-BD-33-05-8F-02-F8-2E-AB-17-68-53?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "161", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-3b7a3490dc14b242b925758c206d3b0c-1a6ceb94d601f942-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "11e83d236bd5b871436b59536cee6dfa", + "traceparent": "00-781a9decc13e67489a0102c68924fdbe-dcc1be0229947644-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "98f936ce617e94c667ddfbe113d09bc1", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:28 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:10 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -29,17 +29,17 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:29 GMT", - "ETag": "\u00223107d1ce-0000-0700-0000-62db76d10000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:29 GMT", + "Date": "Mon, 15 Aug 2022 17:45:12 GMT", + "ETag": "\u00220702a711-0000-0700-0000-62fa86280000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:12 GMT", "Request-Context": "appId=", - "trace-id": "3b7a3490dc14b242b925758c206d3b0c", + "trace-id": "781a9decc13e67489a0102c68924fdbe", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "00HbbYgAAAABdXSCwRHVJSoguVruQIK0DWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0J4b6YgAAAADmSbGCNXBIRq9SEYbiw5AeQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "02-65-CF-00-B9-8A-1B-95-5C-D1-83-82-72-40-D8-D9-25", + "id": "75-CF-64-34-97-95-BD-33-05-8F-02-F8-2E-AB-17-68-53", "name": "Simple-Queue-Distribution", "offerTtlSeconds": 600, "mode": { @@ -51,114 +51,114 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/9C-E6-11-0F-1F-AC-5B-26-D5-68-5F-5B-44-38-71-B7-09?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/B6-87-41-5F-CE-23-38-40-D3-77-2D-C7-3C-8A-95-DD-5F?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "198", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-3424c46978ad7f49a2b3530b79962818-0b2d7527423ba04d-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "908ac7de428d3bae37aacb90dadff1ff", + "traceparent": "00-a25a98fb063ecf4f9125166156322534-2d11d97f28d0654b-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "d7cb17f60716057bcd344f8d67dfda39", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:29 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:12 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "02-65-CF-00-B9-8A-1B-95-5C-D1-83-82-72-40-D8-D9-25", + "distributionPolicyId": "75-CF-64-34-97-95-BD-33-05-8F-02-F8-2E-AB-17-68-53", "labels": { "Region": "NA", "Language": "EN", "Product": "O365", - "UniqueIdentifier": "sdk-u5Qn_qTnyUqY42mNJh8Ptw-" + "UniqueIdentifier": "sdk-qAj-NjOI_keTpFJjbv1DqA-" } }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:30 GMT", - "ETag": "\u00225f001858-0000-0700-0000-62db76d20000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:30 GMT", + "Date": "Mon, 15 Aug 2022 17:45:13 GMT", + "ETag": "\u00225e0067b9-0000-0700-0000-62fa862a0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:14 GMT", "Request-Context": "appId=", - "trace-id": "3424c46978ad7f49a2b3530b79962818", + "trace-id": "a25a98fb063ecf4f9125166156322534", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "00nbbYgAAAAArywkJEaUQTrPArHVHLPstWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0KIb6YgAAAAD9s38OVzxzQqpK0WZ6Mu1yQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "9C-E6-11-0F-1F-AC-5B-26-D5-68-5F-5B-44-38-71-B7-09", + "id": "B6-87-41-5F-CE-23-38-40-D3-77-2D-C7-3C-8A-95-DD-5F", "name": "test", - "distributionPolicyId": "02-65-CF-00-B9-8A-1B-95-5C-D1-83-82-72-40-D8-D9-25", + "distributionPolicyId": "75-CF-64-34-97-95-BD-33-05-8F-02-F8-2E-AB-17-68-53", "labels": { "Region": "NA", "Language": "EN", "Product": "O365", - "UniqueIdentifier": "sdk-u5Qn_qTnyUqY42mNJh8Ptw-", - "Id": "9C-E6-11-0F-1F-AC-5B-26-D5-68-5F-5B-44-38-71-B7-09" + "UniqueIdentifier": "sdk-qAj-NjOI_keTpFJjbv1DqA-", + "Id": "B6-87-41-5F-CE-23-38-40-D3-77-2D-C7-3C-8A-95-DD-5F" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/D2-6B-C3-5D-A3-BB-3B-0B-B1-13-FA-9E-27-FB-B0-1F-70?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/07-51-95-B0-A9-C2-9D-59-3C-82-5C-F5-96-1E-1D-2D-04?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-8309be1ce05e084abb39d9ba8ac0936c-40dcb6b1daf00344-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "82957fcf9615c27aef25263f4e88d230", + "traceparent": "00-1a37d91605b52c43ad49efe14253a4de-c62ef0a9d658f045-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "339a1550a705068f27c48c9b6491ed16", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:31 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:13 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "02-65-CF-00-B9-8A-1B-95-5C-D1-83-82-72-40-D8-D9-25" + "distributionPolicyId": "75-CF-64-34-97-95-BD-33-05-8F-02-F8-2E-AB-17-68-53" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:32 GMT", - "ETag": "\u00225f001a58-0000-0700-0000-62db76d40000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:32 GMT", + "Date": "Mon, 15 Aug 2022 17:45:15 GMT", + "ETag": "\u00225e0069b9-0000-0700-0000-62fa862b0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:15 GMT", "Request-Context": "appId=", - "trace-id": "8309be1ce05e084abb39d9ba8ac0936c", + "trace-id": "1a37d91605b52c43ad49efe14253a4de", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "003bbYgAAAABPpgfwNRPpTZAbsvBnrdBMWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Kob6YgAAAAC8bALCQXyzS7c6NMXHtz7NQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "D2-6B-C3-5D-A3-BB-3B-0B-B1-13-FA-9E-27-FB-B0-1F-70", + "id": "07-51-95-B0-A9-C2-9D-59-3C-82-5C-F5-96-1E-1D-2D-04", "name": "test", - "distributionPolicyId": "02-65-CF-00-B9-8A-1B-95-5C-D1-83-82-72-40-D8-D9-25", + "distributionPolicyId": "75-CF-64-34-97-95-BD-33-05-8F-02-F8-2E-AB-17-68-53", "labels": { - "Id": "D2-6B-C3-5D-A3-BB-3B-0B-B1-13-FA-9E-27-FB-B0-1F-70" + "Id": "07-51-95-B0-A9-C2-9D-59-3C-82-5C-F5-96-1E-1D-2D-04" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/AB-18-1C-19-8A-9A-EE-B8-41-E3-B0-97-44-7C-DD-69-08?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/EF-84-97-01-FF-C0-57-1D-DC-8B-BB-4B-66-40-5E-DB-39?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "427", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-0fffd5aec7e4ef4b916ae1e1b7219aba-f72e4bc4da1f5a40-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "907d65cd81d1e0a58fadda2aa0e0dd64", + "traceparent": "00-d19d396fc0a29849af9dd96e2d0c766d-95f622e2ae1baa4d-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "ebddfc74793ac6edbbf4cb4912392d88", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:32 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:15 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "fallbackQueueId": "D2-6B-C3-5D-A3-BB-3B-0B-B1-13-FA-9E-27-FB-B0-1F-70", + "fallbackQueueId": "07-51-95-B0-A9-C2-9D-59-3C-82-5C-F5-96-1E-1D-2D-04", "queueSelectors": [ { "key": "Region", @@ -179,7 +179,7 @@ "labelSelector": { "key": "UniqueIdentifier", "labelOperator": "equal", - "value": "sdk-u5Qn_qTnyUqY42mNJh8Ptw-" + "value": "sdk-qAj-NjOI_keTpFJjbv1DqA-" }, "kind": "static" } @@ -190,18 +190,18 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:34 GMT", - "ETag": "\u00224a016a67-0000-0700-0000-62db76d60000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:34 GMT", + "Date": "Mon, 15 Aug 2022 17:45:18 GMT", + "ETag": "\u00229600a996-0000-0700-0000-62fa862e0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:18 GMT", "Request-Context": "appId=", - "trace-id": "0fffd5aec7e4ef4b916ae1e1b7219aba", + "trace-id": "d19d396fc0a29849af9dd96e2d0c766d", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "01XbbYgAAAACD3xKRserbSZw3E58RorDoWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0K4b6YgAAAAAOxXLI9ur\u002BRbGn3HQv2eP5Q0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "AB-18-1C-19-8A-9A-EE-B8-41-E3-B0-97-44-7C-DD-69-08", - "fallbackQueueId": "D2-6B-C3-5D-A3-BB-3B-0B-B1-13-FA-9E-27-FB-B0-1F-70", + "id": "EF-84-97-01-FF-C0-57-1D-DC-8B-BB-4B-66-40-5E-DB-39", + "fallbackQueueId": "07-51-95-B0-A9-C2-9D-59-3C-82-5C-F5-96-1E-1D-2D-04", "queueSelectors": [ { "kind": "pass-through", @@ -223,7 +223,7 @@ "labelSelector": { "key": "UniqueIdentifier", "labelOperator": "equal", - "value": "sdk-u5Qn_qTnyUqY42mNJh8Ptw-" + "value": "sdk-qAj-NjOI_keTpFJjbv1DqA-" } } ], @@ -231,24 +231,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/A2-61-73-2C-17-CD-CA-D8-13-90-E4-9C-1B-22-42-69-A9?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "256", + "Content-Length": "243", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-b43811f9999d3643a96543e9c7d6a7ca-44a8632ca7e9c644-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "ec835979eb5847e54cc8a1671c6fecae", + "traceparent": "00-143bbd5197a95f4cae7fe8608847521d-f765ba4f73ad2645-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "fd91c10268364fbb87c4af517bdfa03b", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:34 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:19 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "A2-61-73-2C-17-CD-CA-D8-13-90-E4-9C-1B-22-42-69-A9", - "classificationPolicyId": "AB-18-1C-19-8A-9A-EE-B8-41-E3-B0-97-44-7C-DD-69-08", - "priority": 0, + "channelId": "60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2", + "classificationPolicyId": "EF-84-97-01-FF-C0-57-1D-DC-8B-BB-4B-66-40-5E-DB-39", "requestedWorkerSelectors": [], "labels": { "Product": "O365", @@ -261,21 +260,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:35 GMT", - "ETag": "\u002200000000-0000-0000-894c-4f8d626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:35 GMT", + "Date": "Mon, 15 Aug 2022 17:45:20 GMT", + "ETag": "\u002200000000-0000-0000-e582-c4ece57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:21 GMT", "Request-Context": "appId=", - "trace-id": "b43811f9999d3643a96543e9c7d6a7ca", + "trace-id": "143bbd5197a95f4cae7fe8608847521d", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "01nbbYgAAAAApsQXB7pkdSY82tKIwODS9WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0L4b6YgAAAAABhDiNj0XgTLVQn2\u002BnP97IQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "A2-61-73-2C-17-CD-CA-D8-13-90-E4-9C-1B-22-42-69-A9", + "id": "60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2", "jobStatus": "pendingClassification", - "channelId": "A2-61-73-2C-17-CD-CA-D8-13-90-E4-9C-1B-22-42-69-A9", - "classificationPolicyId": "AB-18-1C-19-8A-9A-EE-B8-41-E3-B0-97-44-7C-DD-69-08", - "priority": 0, + "channelId": "60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2", + "classificationPolicyId": "EF-84-97-01-FF-C0-57-1D-DC-8B-BB-4B-66-40-5E-DB-39", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -289,16 +288,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/A2-61-73-2C-17-CD-CA-D8-13-90-E4-9C-1B-22-42-69-A9?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-5b8dd0afcc1d99498e23190f0a0766f0-126929c056fd8c4a-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "75c39ad761614e2ed9b5f368bc50210e", + "traceparent": "00-d468f9e01c1c7b4a8ee6b66f7877d3ce-850d025bc0774e4e-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "6a193847ee01d6ff28d37711db46f4ee", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:35 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:20 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -306,21 +305,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:35 GMT", - "ETag": "\u002200000000-0000-0000-894c-4f8d626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:35 GMT", + "Date": "Mon, 15 Aug 2022 17:45:21 GMT", + "ETag": "\u002200000000-0000-0000-e582-c4ece57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:21 GMT", "Request-Context": "appId=", - "trace-id": "5b8dd0afcc1d99498e23190f0a0766f0", + "trace-id": "d468f9e01c1c7b4a8ee6b66f7877d3ce", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "02HbbYgAAAADWVulx\u002Ba7GSaKpSn9qW8ERWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0MYb6YgAAAAB5T4Sg\u002BG\u002B3T6kDDhg0w1SIQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "A2-61-73-2C-17-CD-CA-D8-13-90-E4-9C-1B-22-42-69-A9", + "id": "60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2", "jobStatus": "pendingClassification", - "channelId": "A2-61-73-2C-17-CD-CA-D8-13-90-E4-9C-1B-22-42-69-A9", - "classificationPolicyId": "AB-18-1C-19-8A-9A-EE-B8-41-E3-B0-97-44-7C-DD-69-08", - "priority": 0, + "channelId": "60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2", + "classificationPolicyId": "EF-84-97-01-FF-C0-57-1D-DC-8B-BB-4B-66-40-5E-DB-39", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -334,16 +333,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/A2-61-73-2C-17-CD-CA-D8-13-90-E4-9C-1B-22-42-69-A9?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-9eba4ca31a1d5344a5a9b1b35f965a28-a19358ed1792504c-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "f5c5c148e504e1d880364309df3ec41f", + "traceparent": "00-0a54da6fa9f36249b599267699b67d36-c39c06f6019ee040-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "a3980396f0000be0418e6476ca9b4adb", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:37 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:22 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -351,23 +350,69 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:37 GMT", - "ETag": "\u002200000002-0000-0000-89d3-0e8e626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:37 GMT", + "Date": "Mon, 15 Aug 2022 17:45:22 GMT", + "ETag": "\u002200000001-0000-0000-4f58-7bede57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:22 GMT", "Request-Context": "appId=", - "trace-id": "9eba4ca31a1d5344a5a9b1b35f965a28", + "trace-id": "0a54da6fa9f36249b599267699b67d36", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "02XbbYgAAAAAjYpd0cFtJT4Yhby593GI/WVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Mob6YgAAAAC8tOaeo10tSoT/GknmsghFQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "A2-61-73-2C-17-CD-CA-D8-13-90-E4-9C-1B-22-42-69-A9", + "id": "60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2", + "jobStatus": "pendingClassification", + "channelId": "60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2", + "classificationPolicyId": "EF-84-97-01-FF-C0-57-1D-DC-8B-BB-4B-66-40-5E-DB-39", + "queueId": "B6-87-41-5F-CE-23-38-40-D3-77-2D-C7-3C-8A-95-DD-5F", + "priority": 1, + "requestedWorkerSelectors": [], + "attachedWorkerSelectors": [], + "labels": { + "Product": "O365", + "Region": "NA", + "Language": "EN" + }, + "assignments": {}, + "tags": {}, + "notes": {} + } + }, + { + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2?api-version=2022-07-18-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a220001549f4e14f96c6115e787a0db8-bda868b5625bff4e-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "d9028f53c3201486c2bbd462f0a97341", + "x-ms-content-sha256": "Sanitized", + "x-ms-date": "Mon, 15 Aug 2022 17:45:24 GMT", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 Aug 2022 17:45:24 GMT", + "ETag": "\u002200000002-0000-0000-1ccd-fdede57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:23 GMT", + "Request-Context": "appId=", + "trace-id": "a220001549f4e14f96c6115e787a0db8", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0NIb6YgAAAAAOAwdBZB4fSLqkMtBJL/o6Q0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2", "jobStatus": "queued", - "enqueueTimeUtc": "2022-07-23T04:19:37.2277641\u002B00:00", - "channelId": "A2-61-73-2C-17-CD-CA-D8-13-90-E4-9C-1B-22-42-69-A9", - "classificationPolicyId": "AB-18-1C-19-8A-9A-EE-B8-41-E3-B0-97-44-7C-DD-69-08", - "queueId": "9C-E6-11-0F-1F-AC-5B-26-D5-68-5F-5B-44-38-71-B7-09", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T17:45:23.1790364\u002B00:00", + "channelId": "60-DD-C4-17-50-54-33-4A-AF-90-1E-55-28-7B-57-C1-E2", + "classificationPolicyId": "EF-84-97-01-FF-C0-57-1D-DC-8B-BB-4B-66-40-5E-DB-39", + "queueId": "B6-87-41-5F-CE-23-38-40-D3-77-2D-C7-3C-8A-95-DD-5F", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -382,8 +427,8 @@ } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-u5Qn_qTnyUqY42mNJh8Ptw-", - "RandomSeed": "804150980" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-qAj-NjOI_keTpFJjbv1DqA-", + "RandomSeed": "1190911942" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithPassThroughLabelSelectorAsync.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithPassThroughLabelSelectorAsync.json index 9ce2cdd99b9e0..e21fd36f40ba9 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithPassThroughLabelSelectorAsync.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithPassThroughLabelSelectorAsync.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/23-9C-76-F1-55-0C-64-04-6D-DA-3D-18-71-CD-6E-56-CE?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/3C-BB-29-7C-F5-20-A6-2B-35-A4-33-96-71-C8-84-0E-31?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "161", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-6e8c6d4430ca8649a9de44b100bd86a5-c45c515b87f6de49-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "117b8d25d5f1c7a86b3adb03a66a9096", + "traceparent": "00-3260e1fe15cdf345860ca4c1353dd0a6-2d7ce3ee8950c445-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "c5cfe9877eed52ce43e6b893001623e5", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:27 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:13 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -29,17 +29,17 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:30 GMT", - "ETag": "\u002231078dd4-0000-0700-0000-62db770d0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:29 GMT", + "Date": "Mon, 15 Aug 2022 17:46:16 GMT", + "ETag": "\u00220702f21e-0000-0700-0000-62fa86680000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:16 GMT", "Request-Context": "appId=", - "trace-id": "6e8c6d4430ca8649a9de44b100bd86a5", + "trace-id": "3260e1fe15cdf345860ca4c1353dd0a6", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0C3fbYgAAAACTrUZ3wPyfSIicQK\u002BAu2liWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Zob6YgAAAAAJuQWCedxzQaLYQxt2gxphQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "23-9C-76-F1-55-0C-64-04-6D-DA-3D-18-71-CD-6E-56-CE", + "id": "3C-BB-29-7C-F5-20-A6-2B-35-A4-33-96-71-C8-84-0E-31", "name": "Simple-Queue-Distribution", "offerTtlSeconds": 600, "mode": { @@ -51,117 +51,114 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/B7-74-98-3D-11-9F-DA-25-C0-1C-D3-D7-93-59-F9-C2-EA?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/EB-19-FC-33-F1-8A-33-6F-C6-87-76-C3-FF-CC-C3-95-6D?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Connection": "close", "Content-Length": "198", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-b56677dcbce1314cb8a0cf35a8deb9f3-fca14debf11d9a48-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "f2b3aaf954bb4a08c4ac32ddac17ca51", + "traceparent": "00-cdc84fb62f7bd94b89a16875dc682c87-2640c9c46ab89048-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "3dd1ff2211cf45f4a42a2da9b3f9ef27", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:30 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:16 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "23-9C-76-F1-55-0C-64-04-6D-DA-3D-18-71-CD-6E-56-CE", + "distributionPolicyId": "3C-BB-29-7C-F5-20-A6-2B-35-A4-33-96-71-C8-84-0E-31", "labels": { "Region": "NA", "Language": "EN", "Product": "O365", - "UniqueIdentifier": "sdk-coDGssiN8kGwJXv7RJY5PQ-" + "UniqueIdentifier": "sdk-WsoWTnURbUSjKiysfLt2QQ-" } }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "close", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:31 GMT", - "ETag": "\u00225f005e58-0000-0700-0000-62db770f0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:31 GMT", + "Date": "Mon, 15 Aug 2022 17:46:17 GMT", + "ETag": "\u00225e0098c1-0000-0700-0000-62fa866a0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:18 GMT", "Request-Context": "appId=", - "trace-id": "b56677dcbce1314cb8a0cf35a8deb9f3", + "trace-id": "cdc84fb62f7bd94b89a16875dc682c87", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0D3fbYgAAAACzPtINyMjsQo21r1LdgeUDWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0aYb6YgAAAADbM5At5TvvS73C2lqERboTQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "B7-74-98-3D-11-9F-DA-25-C0-1C-D3-D7-93-59-F9-C2-EA", + "id": "EB-19-FC-33-F1-8A-33-6F-C6-87-76-C3-FF-CC-C3-95-6D", "name": "test", - "distributionPolicyId": "23-9C-76-F1-55-0C-64-04-6D-DA-3D-18-71-CD-6E-56-CE", + "distributionPolicyId": "3C-BB-29-7C-F5-20-A6-2B-35-A4-33-96-71-C8-84-0E-31", "labels": { "Region": "NA", "Language": "EN", "Product": "O365", - "UniqueIdentifier": "sdk-coDGssiN8kGwJXv7RJY5PQ-", - "Id": "B7-74-98-3D-11-9F-DA-25-C0-1C-D3-D7-93-59-F9-C2-EA" + "UniqueIdentifier": "sdk-WsoWTnURbUSjKiysfLt2QQ-", + "Id": "EB-19-FC-33-F1-8A-33-6F-C6-87-76-C3-FF-CC-C3-95-6D" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/9E-F4-48-E3-D8-E5-A4-90-70-9D-43-05-E7-75-2F-8E-E3?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/23-5B-09-B7-5B-5E-16-D7-3B-A3-0B-B2-4B-DF-F5-47-B0?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-ab7178d335898b458b522fa25dd8afb7-8a67607fb681df41-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "27a68dd0ed0919fff89da50103eed728", + "traceparent": "00-ea104b4035e6db47b5cd26f24451bd54-d05d9bc124246340-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "9820abff5e1199d8fea7f8089de67a11", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:31 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:17 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "23-9C-76-F1-55-0C-64-04-6D-DA-3D-18-71-CD-6E-56-CE" + "distributionPolicyId": "3C-BB-29-7C-F5-20-A6-2B-35-A4-33-96-71-C8-84-0E-31" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:33 GMT", - "ETag": "\u00225f006458-0000-0700-0000-62db77110000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:33 GMT", + "Date": "Mon, 15 Aug 2022 17:46:19 GMT", + "ETag": "\u00225e0099c1-0000-0700-0000-62fa866b0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:19 GMT", "Request-Context": "appId=", - "trace-id": "ab7178d335898b458b522fa25dd8afb7", + "trace-id": "ea104b4035e6db47b5cd26f24451bd54", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220723T042032Z-hvec2v0ypt3758xfetr110y3g800000005b000000001vzc7", + "X-Azure-Ref": "0aob6YgAAAADjSR/q8g/mRbt41ZUhkrXuQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "9E-F4-48-E3-D8-E5-A4-90-70-9D-43-05-E7-75-2F-8E-E3", + "id": "23-5B-09-B7-5B-5E-16-D7-3B-A3-0B-B2-4B-DF-F5-47-B0", "name": "test", - "distributionPolicyId": "23-9C-76-F1-55-0C-64-04-6D-DA-3D-18-71-CD-6E-56-CE", + "distributionPolicyId": "3C-BB-29-7C-F5-20-A6-2B-35-A4-33-96-71-C8-84-0E-31", "labels": { - "Id": "9E-F4-48-E3-D8-E5-A4-90-70-9D-43-05-E7-75-2F-8E-E3" + "Id": "23-5B-09-B7-5B-5E-16-D7-3B-A3-0B-B2-4B-DF-F5-47-B0" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/6F-DD-69-FE-CB-F0-60-0A-AB-F4-D8-4D-50-F7-A5-8E-9A?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/A7-58-2F-02-89-83-DB-77-85-91-D9-13-46-A2-9D-D2-80?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "427", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-7db6496a2ec79c46a6c1f81afaf7c58a-66040129dd772146-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "d42e1afe8146d00685314d44a2cb1a53", + "traceparent": "00-8be31aa305015f40b558c96af615329f-f4c2ffabbc9fd043-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "0b186beaaf787634f58920c250249f49", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:33 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:19 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "fallbackQueueId": "9E-F4-48-E3-D8-E5-A4-90-70-9D-43-05-E7-75-2F-8E-E3", + "fallbackQueueId": "23-5B-09-B7-5B-5E-16-D7-3B-A3-0B-B2-4B-DF-F5-47-B0", "queueSelectors": [ { "key": "Region", @@ -182,7 +179,7 @@ "labelSelector": { "key": "UniqueIdentifier", "labelOperator": "equal", - "value": "sdk-coDGssiN8kGwJXv7RJY5PQ-" + "value": "sdk-WsoWTnURbUSjKiysfLt2QQ-" }, "kind": "static" } @@ -192,20 +189,19 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:35 GMT", - "ETag": "\u00224a010b68-0000-0700-0000-62db77130000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:35 GMT", + "Date": "Mon, 15 Aug 2022 17:46:22 GMT", + "ETag": "\u00229600d6a1-0000-0700-0000-62fa866e0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:22 GMT", "Request-Context": "appId=", - "trace-id": "7db6496a2ec79c46a6c1f81afaf7c58a", + "trace-id": "8be31aa305015f40b558c96af615329f", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220723T042033Z-hvec2v0ypt3758xfetr110y3g800000005b000000001vzqv", + "X-Azure-Ref": "0bIb6YgAAAADzQYo11RShQYSOYeaSisGrQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "6F-DD-69-FE-CB-F0-60-0A-AB-F4-D8-4D-50-F7-A5-8E-9A", - "fallbackQueueId": "9E-F4-48-E3-D8-E5-A4-90-70-9D-43-05-E7-75-2F-8E-E3", + "id": "A7-58-2F-02-89-83-DB-77-85-91-D9-13-46-A2-9D-D2-80", + "fallbackQueueId": "23-5B-09-B7-5B-5E-16-D7-3B-A3-0B-B2-4B-DF-F5-47-B0", "queueSelectors": [ { "kind": "pass-through", @@ -227,7 +223,7 @@ "labelSelector": { "key": "UniqueIdentifier", "labelOperator": "equal", - "value": "sdk-coDGssiN8kGwJXv7RJY5PQ-" + "value": "sdk-WsoWTnURbUSjKiysfLt2QQ-" } } ], @@ -235,25 +231,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/FC-65-98-4F-2C-96-9D-BD-F0-C6-BD-75-77-EC-F6-84-18?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Connection": "close", - "Content-Length": "256", + "Content-Length": "243", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-da8a14395fd7ae4383877e2e48d5c8a6-43447726a2fa9243-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "1932897068c40b8caa9af91eae0646d5", + "traceparent": "00-fdb0a25f02ccfa44b8497ea2d52010e5-5f06ad025f3e574b-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "549391f68bf6c4d426383f2818eca8bd", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:35 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:23 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "FC-65-98-4F-2C-96-9D-BD-F0-C6-BD-75-77-EC-F6-84-18", - "classificationPolicyId": "6F-DD-69-FE-CB-F0-60-0A-AB-F4-D8-4D-50-F7-A5-8E-9A", - "priority": 0, + "channelId": "FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA", + "classificationPolicyId": "A7-58-2F-02-89-83-DB-77-85-91-D9-13-46-A2-9D-D2-80", "requestedWorkerSelectors": [], "labels": { "Product": "O365", @@ -265,23 +259,22 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "close", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:37 GMT", - "ETag": "\u002200000000-0000-0000-228d-7ab1626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:36 GMT", + "Date": "Mon, 15 Aug 2022 17:46:25 GMT", + "ETag": "\u002200000000-0000-0000-25d7-ae12e67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:24 GMT", "Request-Context": "appId=", - "trace-id": "da8a14395fd7ae4383877e2e48d5c8a6", + "trace-id": "fdb0a25f02ccfa44b8497ea2d52010e5", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220723T042036Z-hvec2v0ypt3758xfetr110y3g800000005b000000001w0by", + "X-Azure-Ref": "0b4b6YgAAAACvnffVp5ONTJcNUbisKiQFQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "FC-65-98-4F-2C-96-9D-BD-F0-C6-BD-75-77-EC-F6-84-18", + "id": "FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA", "jobStatus": "pendingClassification", - "channelId": "FC-65-98-4F-2C-96-9D-BD-F0-C6-BD-75-77-EC-F6-84-18", - "classificationPolicyId": "6F-DD-69-FE-CB-F0-60-0A-AB-F4-D8-4D-50-F7-A5-8E-9A", - "priority": 0, + "channelId": "FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA", + "classificationPolicyId": "A7-58-2F-02-89-83-DB-77-85-91-D9-13-46-A2-9D-D2-80", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -295,40 +288,38 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/FC-65-98-4F-2C-96-9D-BD-F0-C6-BD-75-77-EC-F6-84-18?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Connection": "close", - "traceparent": "00-315d69824b8f24429755c7e452ac1b9a-f54e1f8a5376734f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "92df09d4f5e94e0b86d5a2d89fba762d", + "traceparent": "00-8b48962ebad6eb449929315eec516dbc-7743625f062e4c43-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "48bf1cb0e3e150ae77a9a3873d1548d9", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:36 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:25 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "close", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:38 GMT", - "ETag": "\u002200000000-0000-0000-228d-7ab1626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:36 GMT", + "Date": "Mon, 15 Aug 2022 17:46:25 GMT", + "ETag": "\u002200000000-0000-0000-25d7-ae12e67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:24 GMT", "Request-Context": "appId=", - "trace-id": "315d69824b8f24429755c7e452ac1b9a", + "trace-id": "8b48962ebad6eb449929315eec516dbc", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220723T042037Z-hvec2v0ypt3758xfetr110y3g800000005b000000001446h", + "X-Azure-Ref": "0cYb6YgAAAAA9tVo\u002BwOHbTpxKvdOAo2uxQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "FC-65-98-4F-2C-96-9D-BD-F0-C6-BD-75-77-EC-F6-84-18", + "id": "FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA", "jobStatus": "pendingClassification", - "channelId": "FC-65-98-4F-2C-96-9D-BD-F0-C6-BD-75-77-EC-F6-84-18", - "classificationPolicyId": "6F-DD-69-FE-CB-F0-60-0A-AB-F4-D8-4D-50-F7-A5-8E-9A", - "priority": 0, + "channelId": "FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA", + "classificationPolicyId": "A7-58-2F-02-89-83-DB-77-85-91-D9-13-46-A2-9D-D2-80", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -342,16 +333,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/FC-65-98-4F-2C-96-9D-BD-F0-C6-BD-75-77-EC-F6-84-18?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-05df600aca011041a0df523a11be048f-86348cf85e44404d-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "7a905282bebb95648d2229ac87e8217e", + "traceparent": "00-a2507585f0f7b4448a930ab9a66709bb-53489415ae3dc44c-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "0c11ae0725535f1b9653e53f700b5d09", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:39 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:27 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -359,23 +350,69 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:40 GMT", - "ETag": "\u002200000002-0000-0000-80cc-d8b2626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:38 GMT", + "Date": "Mon, 15 Aug 2022 17:46:26 GMT", + "ETag": "\u002200000001-0000-0000-bc03-ba13e67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:26 GMT", "Request-Context": "appId=", - "trace-id": "05df600aca011041a0df523a11be048f", + "trace-id": "a2507585f0f7b4448a930ab9a66709bb", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0F3fbYgAAAACmWHaZNjN7Q4TLxQn25JgxWVZSMzExMDAwMTE1MDMxAGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0c4b6YgAAAADeB8fpoknsR5Cfj66JD7OBQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "FC-65-98-4F-2C-96-9D-BD-F0-C6-BD-75-77-EC-F6-84-18", + "id": "FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA", + "jobStatus": "pendingClassification", + "channelId": "FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA", + "classificationPolicyId": "A7-58-2F-02-89-83-DB-77-85-91-D9-13-46-A2-9D-D2-80", + "queueId": "EB-19-FC-33-F1-8A-33-6F-C6-87-76-C3-FF-CC-C3-95-6D", + "priority": 1, + "requestedWorkerSelectors": [], + "attachedWorkerSelectors": [], + "labels": { + "Product": "O365", + "Region": "NA", + "Language": "EN" + }, + "assignments": {}, + "tags": {}, + "notes": {} + } + }, + { + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA?api-version=2022-07-18-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-cf446a05d3b5d24f9ae8d2c8e8685571-0276f5fa027c314d-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "341262e156651268e242dd4ce84d8610", + "x-ms-content-sha256": "Sanitized", + "x-ms-date": "Mon, 15 Aug 2022 17:46:28 GMT", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 Aug 2022 17:46:28 GMT", + "ETag": "\u002200000002-0000-0000-c868-6414e67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:27 GMT", + "Request-Context": "appId=", + "trace-id": "cf446a05d3b5d24f9ae8d2c8e8685571", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0dIb6YgAAAACbdek4XPomRoDe4NER2kaUQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA", "jobStatus": "queued", - "enqueueTimeUtc": "2022-07-23T04:20:38.9493888\u002B00:00", - "channelId": "FC-65-98-4F-2C-96-9D-BD-F0-C6-BD-75-77-EC-F6-84-18", - "classificationPolicyId": "6F-DD-69-FE-CB-F0-60-0A-AB-F4-D8-4D-50-F7-A5-8E-9A", - "queueId": "B7-74-98-3D-11-9F-DA-25-C0-1C-D3-D7-93-59-F9-C2-EA", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T17:46:27.6049096\u002B00:00", + "channelId": "FE-30-AC-E7-43-55-4B-E3-54-D1-8A-B8-3A-BD-2C-41-AA", + "classificationPolicyId": "A7-58-2F-02-89-83-DB-77-85-91-D9-13-46-A2-9D-D2-80", + "queueId": "EB-19-FC-33-F1-8A-33-6F-C6-87-76-C3-FF-CC-C3-95-6D", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": { @@ -390,8 +427,8 @@ } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-coDGssiN8kGwJXv7RJY5PQ-", - "RandomSeed": "122095896" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-WsoWTnURbUSjKiysfLt2QQ-", + "RandomSeed": "1354397706" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithStaticLabelSelector.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithStaticLabelSelector.json index 73de912058870..42c004b4d8b38 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithStaticLabelSelector.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithStaticLabelSelector.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/94-78-08-36-DD-F9-EE-9F-AC-71-06-E1-64-BE-8A-76-A7?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "161", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-28b084d37158c4418f352ce00392dff0-cf21b49e4d0a9943-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "8d484fa8ffbfe91f9a0a0e0945e40d9f", + "traceparent": "00-386f6f27ecf26b45825a52e0e34ff612-0f1abb345b369c41-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "4c8b0d1545d87113985bd694e0e5e5ea", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:37 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:25 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -29,17 +29,17 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:38 GMT", - "ETag": "\u00223107c7cf-0000-0700-0000-62db76da0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:38 GMT", + "Date": "Mon, 15 Aug 2022 17:45:26 GMT", + "ETag": "\u002207026e14-0000-0700-0000-62fa86360000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:26 GMT", "Request-Context": "appId=", - "trace-id": "28b084d37158c4418f352ce00392dff0", + "trace-id": "386f6f27ecf26b45825a52e0e34ff612", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "02XbbYgAAAAB6IyyDhUqSSKqrfRBaxLYYWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0NYb6YgAAAACVvjrD4YNBSo05xQgB9BjAQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "94-78-08-36-DD-F9-EE-9F-AC-71-06-E1-64-BE-8A-76-A7", + "id": "53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13", "name": "Simple-Queue-Distribution", "offerTtlSeconds": 600, "mode": { @@ -51,59 +51,59 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/94-78-08-36-DD-F9-EE-9F-AC-71-06-E1-64-BE-8A-76-A7?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-9a1fe57500394542889bd7f236a9c88d-40240f714c7c484f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "1041628318703d238849552e2fa531c0", + "traceparent": "00-4637311cd3bd164ebeed7cd8ce1d1875-7f2654ef5f95734c-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "36d51a725290f0fbc90c1ef8b9b30056", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:39 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:26 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "94-78-08-36-DD-F9-EE-9F-AC-71-06-E1-64-BE-8A-76-A7" + "distributionPolicyId": "53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:39 GMT", - "ETag": "\u00225f002458-0000-0700-0000-62db76dc0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:40 GMT", + "Date": "Mon, 15 Aug 2022 17:45:28 GMT", + "ETag": "\u00225e003dbc-0000-0700-0000-62fa86380000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:28 GMT", "Request-Context": "appId=", - "trace-id": "9a1fe57500394542889bd7f236a9c88d", + "trace-id": "4637311cd3bd164ebeed7cd8ce1d1875", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "023bbYgAAAABaaqTDRPG\u002BQKCuYnUEg4BcWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0N4b6YgAAAAD5HamzNBLeSZL\u002B7wcmMEsDQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "94-78-08-36-DD-F9-EE-9F-AC-71-06-E1-64-BE-8A-76-A7", + "id": "53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13", "name": "test", - "distributionPolicyId": "94-78-08-36-DD-F9-EE-9F-AC-71-06-E1-64-BE-8A-76-A7", + "distributionPolicyId": "53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13", "labels": { - "Id": "94-78-08-36-DD-F9-EE-9F-AC-71-06-E1-64-BE-8A-76-A7" + "Id": "53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/21-64-9A-2D-21-89-B0-30-C0-14-41-6B-C0-C7-3F-01-B8?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/37-37-64-5E-3A-7B-83-E9-96-77-91-70-59-23-7A-AC-BC?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "173", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-ee1c729f965f2a42a7117090569a6649-9d432bf8346c7c48-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "7fe14fcc96360e2bbca2c2af52e2daeb", + "traceparent": "00-455786af6876dd41aa86802538dc5c20-3a0fad8e1cd96345-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "f7745991299ba65a130e7ca8232c6d1e", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:40 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:28 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -112,7 +112,7 @@ "labelSelector": { "key": "Id", "labelOperator": "equal", - "value": "94-78-08-36-DD-F9-EE-9F-AC-71-06-E1-64-BE-8A-76-A7" + "value": "53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13" }, "kind": "static" } @@ -123,24 +123,24 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:41 GMT", - "ETag": "\u00224a01a067-0000-0700-0000-62db76dd0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:41 GMT", + "Date": "Mon, 15 Aug 2022 17:45:29 GMT", + "ETag": "\u002296003a98-0000-0700-0000-62fa86390000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:29 GMT", "Request-Context": "appId=", - "trace-id": "ee1c729f965f2a42a7117090569a6649", + "trace-id": "455786af6876dd41aa86802538dc5c20", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "03HbbYgAAAABUz3OLxHoZTZQ45\u002BWGjdlcWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0OIb6YgAAAAA4hqJ8QM7ISpiYnZxGyJUiQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "21-64-9A-2D-21-89-B0-30-C0-14-41-6B-C0-C7-3F-01-B8", + "id": "37-37-64-5E-3A-7B-83-E9-96-77-91-70-59-23-7A-AC-BC", "queueSelectors": [ { "kind": "static", "labelSelector": { "key": "Id", "labelOperator": "equal", - "value": "94-78-08-36-DD-F9-EE-9F-AC-71-06-E1-64-BE-8A-76-A7" + "value": "53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13" } } ], @@ -148,24 +148,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "198", + "Content-Length": "185", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-a692a1f1e53a5a4cbe69c2f514c30def-8af56da7824b1946-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "c2c9c1137c0d8fba2b0a0476a9f1b9f5", + "traceparent": "00-969542af8f48d84f92a01c2e8ab35ca9-4df7ff9316780c46-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "2e5579dfc291c2c6129b83cc271bb7e5", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:41 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:29 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "61-B2-26-FC-55-EB-53-49-7B-BE-41-90-29-AC-B0-88-3D", - "classificationPolicyId": "21-64-9A-2D-21-89-B0-30-C0-14-41-6B-C0-C7-3F-01-B8", - "priority": 0, + "channelId": "B7-92-20-69-A2-0A-B5-3D-82-C2-C0-0F-83-6A-CD-89-47", + "classificationPolicyId": "37-37-64-5E-3A-7B-83-E9-96-77-91-70-59-23-7A-AC-BC", "requestedWorkerSelectors": [], "notes": {} }, @@ -173,23 +172,23 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:43 GMT", - "ETag": "\u002200000048-0000-0000-3dda-3b91626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:42 GMT", + "Date": "Mon, 15 Aug 2022 17:45:31 GMT", + "ETag": "\u00220000000c-0000-0000-a0da-72f2e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:30 GMT", "Request-Context": "appId=", - "trace-id": "a692a1f1e53a5a4cbe69c2f514c30def", + "trace-id": "969542af8f48d84f92a01c2e8ab35ca9", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "03nbbYgAAAACX5OeoHfSBTbsbKV01MU0zWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0Oob6YgAAAAAFKRC43a87QIw25ooz1bwoQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { "id": "0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91", "jobStatus": "pendingClassification", - "enqueueTimeUtc": "2022-06-15T17:39:26.8197457\u002B00:00", - "channelId": "61-B2-26-FC-55-EB-53-49-7B-BE-41-90-29-AC-B0-88-3D", - "classificationPolicyId": "21-64-9A-2D-21-89-B0-30-C0-14-41-6B-C0-C7-3F-01-B8", - "queueId": "3B-71-66-22-1C-99-A5-F9-25-E0-AF-13-E7-10-33-BE-80", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T16:17:18.0585245\u002B00:00", + "channelId": "B7-92-20-69-A2-0A-B5-3D-82-C2-C0-0F-83-6A-CD-89-47", + "classificationPolicyId": "37-37-64-5E-3A-7B-83-E9-96-77-91-70-59-23-7A-AC-BC", + "queueId": "C2-61-FB-8D-83-16-AD-51-B9-F9-21-DD-8A-2D-BD-38-4E", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -199,16 +198,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-756616703297894ea6837d5a26bb4422-a709b65d174b2343-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "f63c4dd88e03ec68363353ce5674eba6", + "traceparent": "00-45057a9c4d1ead4d819904f1a4b872d0-51538fbbbdfc0c45-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "8603805aed70484ec02f2382d653cc9c", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:19:44 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:45:32 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -216,23 +215,66 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:19:43 GMT", - "ETag": "\u00220000004a-0000-0000-0f81-4a92626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:19:44 GMT", + "Date": "Mon, 15 Aug 2022 17:45:32 GMT", + "ETag": "\u00220000000d-0000-0000-0ff2-d4f2e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:31 GMT", "Request-Context": "appId=", - "trace-id": "756616703297894ea6837d5a26bb4422", + "trace-id": "45057a9c4d1ead4d819904f1a4b872d0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "04HbbYgAAAAAA3pksfjgvSp7WuF2zERLGWVZSMzExMDAwMTE1MDA5AGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0PIb6YgAAAAAO9\u002BaAHkBPTJhiAvgwFo1TQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91", + "jobStatus": "pendingClassification", + "enqueueTimeUtc": "2022-08-15T16:17:18.0585245\u002B00:00", + "channelId": "B7-92-20-69-A2-0A-B5-3D-82-C2-C0-0F-83-6A-CD-89-47", + "classificationPolicyId": "37-37-64-5E-3A-7B-83-E9-96-77-91-70-59-23-7A-AC-BC", + "queueId": "53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13", + "priority": 1, + "requestedWorkerSelectors": [], + "attachedWorkerSelectors": [], + "labels": {}, + "assignments": {}, + "tags": {}, + "notes": {} + } + }, + { + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91?api-version=2022-07-18-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f3fdcca2b1b5d94fbb6a5583ebc44cbf-78bc189364eea84d-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "4019ff9fd15ecec593b2e400a58e7ef7", + "x-ms-content-sha256": "Sanitized", + "x-ms-date": "Mon, 15 Aug 2022 17:45:34 GMT", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 Aug 2022 17:45:34 GMT", + "ETag": "\u00220000000e-0000-0000-a110-43f4e57eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:45:33 GMT", + "Request-Context": "appId=", + "trace-id": "f3fdcca2b1b5d94fbb6a5583ebc44cbf", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0Pob6YgAAAABzcI1EA7CSRITpiUjAstV9Q0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { "id": "0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91", "jobStatus": "queued", - "enqueueTimeUtc": "2022-06-15T17:39:26.8197457\u002B00:00", - "channelId": "61-B2-26-FC-55-EB-53-49-7B-BE-41-90-29-AC-B0-88-3D", - "classificationPolicyId": "21-64-9A-2D-21-89-B0-30-C0-14-41-6B-C0-C7-3F-01-B8", - "queueId": "94-78-08-36-DD-F9-EE-9F-AC-71-06-E1-64-BE-8A-76-A7", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T16:17:18.0585245\u002B00:00", + "channelId": "B7-92-20-69-A2-0A-B5-3D-82-C2-C0-0F-83-6A-CD-89-47", + "classificationPolicyId": "37-37-64-5E-3A-7B-83-E9-96-77-91-70-59-23-7A-AC-BC", + "queueId": "53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -243,8 +285,8 @@ } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-so4HfTI-6UGSL351dS-sng-", - "RandomSeed": "1743585359" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-MXQArzF-D02MvEqWoNmQMg-", + "RandomSeed": "811278606" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithStaticLabelSelectorAsync.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithStaticLabelSelectorAsync.json index d08705016cae2..1a7569e88b081 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithStaticLabelSelectorAsync.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/QueueingWithClassificationPolicyWithStaticLabelSelectorAsync.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/38-B9-41-3B-AE-E3-C4-8A-B4-D0-46-0C-88-03-95-E4-F1?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/49-3F-42-94-D3-68-38-4C-EA-C3-F3-2A-72-81-9F-CD-96?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "161", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-be928904fa6380429106e3abb6b61808-697db187f1e36c48-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "9523a49619db7d2f9ce66ee1b59dc598", + "traceparent": "00-1ccc6864b4c925469d3bc8bf1e81f55b-044c50e8ae9e5e4f-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "3b2450ca1ee6dbbd81142eb4652af3fc", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:40 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:28 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -29,17 +29,17 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:42 GMT", - "ETag": "\u00223107b1d5-0000-0700-0000-62db77190000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:41 GMT", + "Date": "Mon, 15 Aug 2022 17:46:29 GMT", + "ETag": "\u00220702ae21-0000-0700-0000-62fa86760000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:30 GMT", "Request-Context": "appId=", - "trace-id": "be928904fa6380429106e3abb6b61808", + "trace-id": "1ccc6864b4c925469d3bc8bf1e81f55b", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GHfbYgAAAABRE7wW\u002BqKwTZbXYmfWea6ZWVZSMzExMDAwMTE1MDMxAGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0dIb6YgAAAABZZoHGTz1xQ57oH5SWyU5vQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "38-B9-41-3B-AE-E3-C4-8A-B4-D0-46-0C-88-03-95-E4-F1", + "id": "49-3F-42-94-D3-68-38-4C-EA-C3-F3-2A-72-81-9F-CD-96", "name": "Simple-Queue-Distribution", "offerTtlSeconds": 600, "mode": { @@ -51,59 +51,59 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/38-B9-41-3B-AE-E3-C4-8A-B4-D0-46-0C-88-03-95-E4-F1?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/49-3F-42-94-D3-68-38-4C-EA-C3-F3-2A-72-81-9F-CD-96?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-55b83e7e93ef714586d81eff0870945f-136bc36011e9bc42-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "d68ce1b4ffe7907bc9900c3d1b26184a", + "traceparent": "00-bf830df665f8da458dd3c3e7c6ddb89d-46312f2fb1f56f4d-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "e19113dfabe44751e57939503e77ed0b", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:42 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:30 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "38-B9-41-3B-AE-E3-C4-8A-B4-D0-46-0C-88-03-95-E4-F1" + "distributionPolicyId": "49-3F-42-94-D3-68-38-4C-EA-C3-F3-2A-72-81-9F-CD-96" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:42 GMT", - "ETag": "\u00225f006e58-0000-0700-0000-62db771b0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:43 GMT", + "Date": "Mon, 15 Aug 2022 17:46:31 GMT", + "ETag": "\u00225e00c3c7-0000-0700-0000-62fa86780000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:32 GMT", "Request-Context": "appId=", - "trace-id": "55b83e7e93ef714586d81eff0870945f", + "trace-id": "bf830df665f8da458dd3c3e7c6ddb89d", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GnfbYgAAAADLZ0mYuxi3SqbkMq6JQBDNWVZSMzExMDAwMTE1MDMxAGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0dob6YgAAAACma7H3w6oXRr0yhuJdX6s\u002BQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "38-B9-41-3B-AE-E3-C4-8A-B4-D0-46-0C-88-03-95-E4-F1", + "id": "49-3F-42-94-D3-68-38-4C-EA-C3-F3-2A-72-81-9F-CD-96", "name": "test", - "distributionPolicyId": "38-B9-41-3B-AE-E3-C4-8A-B4-D0-46-0C-88-03-95-E4-F1", + "distributionPolicyId": "49-3F-42-94-D3-68-38-4C-EA-C3-F3-2A-72-81-9F-CD-96", "labels": { - "Id": "38-B9-41-3B-AE-E3-C4-8A-B4-D0-46-0C-88-03-95-E4-F1" + "Id": "49-3F-42-94-D3-68-38-4C-EA-C3-F3-2A-72-81-9F-CD-96" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/B6-63-50-00-95-49-97-9F-F5-C6-2C-F9-AB-F2-35-4F-E8?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/22-05-2E-26-35-90-05-6E-3D-6A-73-1D-68-82-03-81-09?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "173", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-3bec596b10a63f4ab781cd112dc05ebe-279daaf3f1928045-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "fe9f76bf13ec4ddb300ff1db92576fe0", + "traceparent": "00-5d56194cb03ac941a4130130b05f348b-ff6a0a3d4395f64f-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "4947a5a289baee3835fa182b73efe0cb", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:43 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:32 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -112,7 +112,7 @@ "labelSelector": { "key": "Id", "labelOperator": "equal", - "value": "38-B9-41-3B-AE-E3-C4-8A-B4-D0-46-0C-88-03-95-E4-F1" + "value": "49-3F-42-94-D3-68-38-4C-EA-C3-F3-2A-72-81-9F-CD-96" }, "kind": "static" } @@ -123,24 +123,24 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:45 GMT", - "ETag": "\u00224a014d68-0000-0700-0000-62db771c0000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:44 GMT", + "Date": "Mon, 15 Aug 2022 17:46:34 GMT", + "ETag": "\u0022960004a3-0000-0700-0000-62fa867a0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:34 GMT", "Request-Context": "appId=", - "trace-id": "3bec596b10a63f4ab781cd112dc05ebe", + "trace-id": "5d56194cb03ac941a4130130b05f348b", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0G3fbYgAAAADyZBbwypTgR7LofRnDFdgpWVZSMzExMDAwMTE1MDMxAGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0eIb6YgAAAADhURTq/cD7QbWH/swK/o3KQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "B6-63-50-00-95-49-97-9F-F5-C6-2C-F9-AB-F2-35-4F-E8", + "id": "22-05-2E-26-35-90-05-6E-3D-6A-73-1D-68-82-03-81-09", "queueSelectors": [ { "kind": "static", "labelSelector": { "key": "Id", "labelOperator": "equal", - "value": "38-B9-41-3B-AE-E3-C4-8A-B4-D0-46-0C-88-03-95-E4-F1" + "value": "49-3F-42-94-D3-68-38-4C-EA-C3-F3-2A-72-81-9F-CD-96" } } ], @@ -148,24 +148,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "198", + "Content-Length": "185", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-721a02f2ff3ced4694b035626e095bdd-6027e9133129074f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "6829b3d81aad97f12893cc4b0df16175", + "traceparent": "00-d50079497fc1194386af3170a6d7d8cb-613314aa755d4649-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "4e37a8fc16e61f76ffdc556ce56d9c09", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:45 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:34 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "A6-6D-56-0C-C8-19-96-F6-7B-AB-34-5A-D7-70-4F-17-AD", - "classificationPolicyId": "B6-63-50-00-95-49-97-9F-F5-C6-2C-F9-AB-F2-35-4F-E8", - "priority": 0, + "channelId": "47-2C-33-04-0E-7C-8B-9F-89-4F-19-76-03-2F-D1-CA-13", + "classificationPolicyId": "22-05-2E-26-35-90-05-6E-3D-6A-73-1D-68-82-03-81-09", "requestedWorkerSelectors": [], "notes": {} }, @@ -173,23 +172,23 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:47 GMT", - "ETag": "\u00220000004b-0000-0000-2ad2-1cb7626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:46 GMT", + "Date": "Mon, 15 Aug 2022 17:46:36 GMT", + "ETag": "\u00220000000f-0000-0000-18e5-5e19e67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:35 GMT", "Request-Context": "appId=", - "trace-id": "721a02f2ff3ced4694b035626e095bdd", + "trace-id": "d50079497fc1194386af3170a6d7d8cb", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HXfbYgAAAACJfQxL3Pu0T40\u002BOH97havFWVZSMzExMDAwMTE1MDMxAGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0eob6YgAAAABjXVN2xrEER5BPr0sR2yOaQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { "id": "0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91", "jobStatus": "pendingClassification", - "enqueueTimeUtc": "2022-06-15T17:39:26.8197457\u002B00:00", - "channelId": "A6-6D-56-0C-C8-19-96-F6-7B-AB-34-5A-D7-70-4F-17-AD", - "classificationPolicyId": "B6-63-50-00-95-49-97-9F-F5-C6-2C-F9-AB-F2-35-4F-E8", - "queueId": "94-78-08-36-DD-F9-EE-9F-AC-71-06-E1-64-BE-8A-76-A7", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T16:17:18.0585245\u002B00:00", + "channelId": "47-2C-33-04-0E-7C-8B-9F-89-4F-19-76-03-2F-D1-CA-13", + "classificationPolicyId": "22-05-2E-26-35-90-05-6E-3D-6A-73-1D-68-82-03-81-09", + "queueId": "53-A1-13-56-C0-CB-98-7D-04-1C-4C-42-7D-88-DF-21-13", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -199,16 +198,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-2481d968224a0d4f84ec55d6a0359ebc-82b27d21f839054f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "3f2124cec7fea0ac053ea5d80da0fe71", + "traceparent": "00-4626ef1937d18d41a8c15e833c54acb7-55149b8828b4134b-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "bf112226a9e25542daa3ace99326d4f6", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:47 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:37 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -216,23 +215,23 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:48 GMT", - "ETag": "\u00220000004c-0000-0000-be30-c7b7626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:47 GMT", + "Date": "Mon, 15 Aug 2022 17:46:37 GMT", + "ETag": "\u002200000010-0000-0000-80cb-0d1ae67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:37 GMT", "Request-Context": "appId=", - "trace-id": "2481d968224a0d4f84ec55d6a0359ebc", + "trace-id": "4626ef1937d18d41a8c15e833c54acb7", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0H3fbYgAAAADbUGiU1Tk1RI2\u002BEo\u002BX8vioWVZSMzExMDAwMTE1MDMxAGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0fYb6YgAAAABGaszjilKeQ71Ne2MR1ZGxQ0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { "id": "0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91", "jobStatus": "pendingClassification", - "enqueueTimeUtc": "2022-06-15T17:39:26.8197457\u002B00:00", - "channelId": "A6-6D-56-0C-C8-19-96-F6-7B-AB-34-5A-D7-70-4F-17-AD", - "classificationPolicyId": "B6-63-50-00-95-49-97-9F-F5-C6-2C-F9-AB-F2-35-4F-E8", - "queueId": "38-B9-41-3B-AE-E3-C4-8A-B4-D0-46-0C-88-03-95-E4-F1", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T16:17:18.0585245\u002B00:00", + "channelId": "47-2C-33-04-0E-7C-8B-9F-89-4F-19-76-03-2F-D1-CA-13", + "classificationPolicyId": "22-05-2E-26-35-90-05-6E-3D-6A-73-1D-68-82-03-81-09", + "queueId": "49-3F-42-94-D3-68-38-4C-EA-C3-F3-2A-72-81-9F-CD-96", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -242,16 +241,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-7a735c1fae3b8b4781ea1b5824bed9df-d6a9da78a7566d47-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "68652c20b0fda49c8408d5594690403f", + "traceparent": "00-c8b5f9cdc335de4a9c18434cf580729b-9f3af4e26bedee43-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "96536d989e408b252f284add33cc09c7", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:49 GMT", + "x-ms-date": "Mon, 15 Aug 2022 17:46:39 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -259,23 +258,23 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:49 GMT", - "ETag": "\u00220000004d-0000-0000-659b-2bb8626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:47 GMT", + "Date": "Mon, 15 Aug 2022 17:46:38 GMT", + "ETag": "\u002200000011-0000-0000-eb7d-761ae67eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 17:46:37 GMT", "Request-Context": "appId=", - "trace-id": "7a735c1fae3b8b4781ea1b5824bed9df", + "trace-id": "c8b5f9cdc335de4a9c18434cf580729b", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0IXfbYgAAAAAdXgY3xSzkSKEQxw7rMvyhWVZSMzExMDAwMTE1MDMxAGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "0f4b6YgAAAADK389EjaLVToNqS2MWpzS/Q0hHRURHRTE2MDcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { "id": "0B-F6-50-F5-1C-BA-1C-55-8A-AB-58-39-05-C4-E0-07-91", "jobStatus": "queued", - "enqueueTimeUtc": "2022-06-15T17:39:26.8197457\u002B00:00", - "channelId": "A6-6D-56-0C-C8-19-96-F6-7B-AB-34-5A-D7-70-4F-17-AD", - "classificationPolicyId": "B6-63-50-00-95-49-97-9F-F5-C6-2C-F9-AB-F2-35-4F-E8", - "queueId": "38-B9-41-3B-AE-E3-C4-8A-B4-D0-46-0C-88-03-95-E4-F1", - "priority": 0, + "enqueueTimeUtc": "2022-08-15T16:17:18.0585245\u002B00:00", + "channelId": "47-2C-33-04-0E-7C-8B-9F-89-4F-19-76-03-2F-D1-CA-13", + "classificationPolicyId": "22-05-2E-26-35-90-05-6E-3D-6A-73-1D-68-82-03-81-09", + "queueId": "49-3F-42-94-D3-68-38-4C-EA-C3-F3-2A-72-81-9F-CD-96", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -286,8 +285,8 @@ } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-ouj8rD8AkUOKy1MLu6GUFA-", - "RandomSeed": "651868328" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-53EzfvfV1EWv_2F1t_-jew-", + "RandomSeed": "650636639" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/SimpleQueueingScenarioAsync.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/SimpleQueueingScenarioAsync.json index e366c1cb3fbaa..c4d2b29a7c100 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/SimpleQueueingScenarioAsync.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/QueueScenario/SimpleQueueingScenarioAsync.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/D2-E5-52-E7-5B-1F-B2-37-0F-D3-0A-74-55-12-13-78-B7?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/40-E3-3C-FE-BB-D5-2E-E1-8E-9F-6A-01-80-5D-D9-55-83?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "161", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-d2ecda850c177d40add7dc13db383839-a4ef0b47ad43f949-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "53eb2775628701819326f04952d7eff4", + "traceparent": "00-2acf432328f1c91deab51537803e5d41-6a5b195d34f1f0bb-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET 6.0.8; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "0b6f442ec59ccc39f64c86108512fe87", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:49 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:39:45 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -29,17 +29,17 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:51 GMT", - "ETag": "\u0022310776d6-0000-0700-0000-62db77220000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:50 GMT", + "Date": "Mon, 15 Aug 2022 16:39:46 GMT", + "ETag": "\u00220302078b-0000-0700-0000-62fa76d30000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:39:47 GMT", "Request-Context": "appId=", - "trace-id": "d2ecda850c177d40add7dc13db383839", + "trace-id": "2acf432328f1c91deab51537803e5d41", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0IXfbYgAAAAC09D4AeuIkTYCpAUrCSji\u002BWVZSMzExMDAwMTE1MDMxAGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "00Xb6YgAAAABmx9kky3KDQ7NJsYowTtqSQ0hHRURHRTE1MjEAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "D2-E5-52-E7-5B-1F-B2-37-0F-D3-0A-74-55-12-13-78-B7", + "id": "40-E3-3C-FE-BB-D5-2E-E1-8E-9F-6A-01-80-5D-D9-55-83", "name": "Simple-Queue-Distribution", "offerTtlSeconds": 600, "mode": { @@ -51,64 +51,64 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/D2-E5-52-E7-5B-1F-B2-37-0F-D3-0A-74-55-12-13-78-B7?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/40-E3-3C-FE-BB-D5-2E-E1-8E-9F-6A-01-80-5D-D9-55-83?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "91", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-e26809a53f797a499b4172603b7f19ae-11003f40810dad4d-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "72e2dca8c32a46cc9fd37cdc527a63c7", + "traceparent": "00-12f5a32381dfe5c1e15a067d86d8d329-05a3eae04c313405-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET 6.0.8; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "3f473b80119e9c108c825ebe18b296c6", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:51 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:39:47 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "name": "test", - "distributionPolicyId": "D2-E5-52-E7-5B-1F-B2-37-0F-D3-0A-74-55-12-13-78-B7" + "distributionPolicyId": "40-E3-3C-FE-BB-D5-2E-E1-8E-9F-6A-01-80-5D-D9-55-83" }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:52 GMT", - "ETag": "\u00225f007258-0000-0700-0000-62db77240000\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:52 GMT", + "Date": "Mon, 15 Aug 2022 16:39:47 GMT", + "ETag": "\u00225c00c46d-0000-0700-0000-62fa76d40000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:39:48 GMT", "Request-Context": "appId=", - "trace-id": "e26809a53f797a499b4172603b7f19ae", + "trace-id": "12f5a32381dfe5c1e15a067d86d8d329", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0I3fbYgAAAAD6M6JeWUujQogLA8/m9SdoWVZSMzExMDAwMTE1MDMxAGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "003b6YgAAAAAVnQB7kJQeTYNBNJdUQ3B\u002BQ0hHRURHRTE1MjEAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "D2-E5-52-E7-5B-1F-B2-37-0F-D3-0A-74-55-12-13-78-B7", + "id": "40-E3-3C-FE-BB-D5-2E-E1-8E-9F-6A-01-80-5D-D9-55-83", "name": "test", - "distributionPolicyId": "D2-E5-52-E7-5B-1F-B2-37-0F-D3-0A-74-55-12-13-78-B7", + "distributionPolicyId": "40-E3-3C-FE-BB-D5-2E-E1-8E-9F-6A-01-80-5D-D9-55-83", "labels": { - "Id": "D2-E5-52-E7-5B-1F-B2-37-0F-D3-0A-74-55-12-13-78-B7" + "Id": "40-E3-3C-FE-BB-D5-2E-E1-8E-9F-6A-01-80-5D-D9-55-83" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/86-F7-69-C8-DD-D4-46-DB-03-CA-C5-BD-62-4F-B3-6E-D1?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/86-F7-69-C8-DD-D4-46-DB-03-CA-C5-BD-62-4F-B3-6E-D1?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "183", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-7c01f2f2d1c5b64dadeb21cdebbd863d-b68b5b3b94c80c48-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "8d98716bc839f79a25355cfd38bdc27b", + "traceparent": "00-a49123472f06355ab2584f158ece590f-2f6547a865b79c3a-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET 6.0.8; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "5a1f1f459c5a7fbe2b24c855996b118c", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:52 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:39:48 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "channelId": "D6-96-6A-43-75-20-49-73-72-A2-56-FE-18-E5-3D-54-51", - "queueId": "D2-E5-52-E7-5B-1F-B2-37-0F-D3-0A-74-55-12-13-78-B7", + "channelId": "33-41-A8-E8-46-45-94-1B-73-79-24-AC-53-8C-2B-C3-1D", + "queueId": "40-E3-3C-FE-BB-D5-2E-E1-8E-9F-6A-01-80-5D-D9-55-83", "priority": 1, "requestedWorkerSelectors": [], "notes": {} @@ -117,21 +117,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:54 GMT", - "ETag": "\u002200000033-0000-0000-e941-54bb626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:53 GMT", + "Date": "Mon, 15 Aug 2022 16:39:50 GMT", + "ETag": "\u002200000007-0000-0000-54e4-afc5dc7eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:39:50 GMT", "Request-Context": "appId=", - "trace-id": "7c01f2f2d1c5b64dadeb21cdebbd863d", + "trace-id": "a49123472f06355ab2584f158ece590f", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JHfbYgAAAADwPOL30lLsRLcrorUMPTcOWVZSMzExMDAwMTE1MDMxAGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "01Hb6YgAAAACGfCE9NtnyQbllA7EgQE8VQ0hHRURHRTE1MjEAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { "id": "86-F7-69-C8-DD-D4-46-DB-03-CA-C5-BD-62-4F-B3-6E-D1", "jobStatus": "queued", - "enqueueTimeUtc": "2022-06-15T17:39:28.3649941\u002B00:00", - "channelId": "D6-96-6A-43-75-20-49-73-72-A2-56-FE-18-E5-3D-54-51", - "queueId": "D2-E5-52-E7-5B-1F-B2-37-0F-D3-0A-74-55-12-13-78-B7", + "enqueueTimeUtc": "2022-08-15T16:17:26.3974228\u002B00:00", + "channelId": "33-41-A8-E8-46-45-94-1B-73-79-24-AC-53-8C-2B-C3-1D", + "queueId": "40-E3-3C-FE-BB-D5-2E-E1-8E-9F-6A-01-80-5D-D9-55-83", "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], @@ -142,16 +142,16 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/86-F7-69-C8-DD-D4-46-DB-03-CA-C5-BD-62-4F-B3-6E-D1?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/86-F7-69-C8-DD-D4-46-DB-03-CA-C5-BD-62-4F-B3-6E-D1?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-8c0f8601329f4b44b6b2215bc02ab790-d3ab7eeb1a309640-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220722.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "4275f9cddf62b2f35aa5b4b3e5a5ae19", + "traceparent": "00-fc9fdd894461cd7b717cde1f23e24261-185a7227c6290e90-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET 6.0.8; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "c0795c1a26771c0433d37e1a677ab444", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Sat, 23 Jul 2022 04:20:54 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:39:51 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -159,21 +159,21 @@ "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", "Content-Type": "application/json; charset=utf-8", - "Date": "Sat, 23 Jul 2022 04:20:54 GMT", - "ETag": "\u002200000033-0000-0000-e941-54bb626cda08\u0022", - "Last-Modified": "Sat, 23 Jul 2022 04:20:53 GMT", + "Date": "Mon, 15 Aug 2022 16:39:50 GMT", + "ETag": "\u002200000007-0000-0000-54e4-afc5dc7eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:39:50 GMT", "Request-Context": "appId=", - "trace-id": "8c0f8601329f4b44b6b2215bc02ab790", + "trace-id": "fc9fdd894461cd7b717cde1f23e24261", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JnfbYgAAAABKohYJX/BrQqwe5cWfugezWVZSMzExMDAwMTE1MDMxAGNjOTI3NThkLTA1ZjctNGFkNi1hYTVlLTBmYTk3MThkODk4NQ==", + "X-Azure-Ref": "013b6YgAAAADJYLtWYbkTT7dfUYBoDGHEQ0hHRURHRTE1MjEAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { "id": "86-F7-69-C8-DD-D4-46-DB-03-CA-C5-BD-62-4F-B3-6E-D1", "jobStatus": "queued", - "enqueueTimeUtc": "2022-06-15T17:39:28.3649941\u002B00:00", - "channelId": "D6-96-6A-43-75-20-49-73-72-A2-56-FE-18-E5-3D-54-51", - "queueId": "D2-E5-52-E7-5B-1F-B2-37-0F-D3-0A-74-55-12-13-78-B7", + "enqueueTimeUtc": "2022-08-15T16:17:26.3974228\u002B00:00", + "channelId": "33-41-A8-E8-46-45-94-1B-73-79-24-AC-53-8C-2B-C3-1D", + "queueId": "40-E3-3C-FE-BB-D5-2E-E1-8E-9F-6A-01-80-5D-D9-55-83", "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], @@ -185,8 +185,8 @@ } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-3-AMq-4ndEKbVrm9GQT_Hg-", - "RandomSeed": "888558925" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-dZuq5KaMskODZ0rNhBpopA-", + "RandomSeed": "1702524168" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/RouterJobLiveTests/CreateJobWithClassificationPolicy_w_StaticQueueSelector.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/RouterJobLiveTests/CreateJobWithClassificationPolicy_w_StaticQueueSelector.json index 891d1248a1b1e..097dd374caa35 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/RouterJobLiveTests/CreateJobWithClassificationPolicy_w_StaticQueueSelector.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/RouterJobLiveTests/CreateJobWithClassificationPolicy_w_StaticQueueSelector.json @@ -1,23 +1,22 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/A9-4F-E1-11-F0-4D-15-74-55-76-CA-58-02-75-6F-B8-DA?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/3D-3F-20-83-FA-73-6C-5C-A9-79-02-7C-A8-F0-2B-E2-81?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-31f6d40dd46f6445934d36110b91a5b7-cc23e890f81af24d-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "fc2a6f24094989152d30b24451297969", + "traceparent": "00-46f77904fa011d49be06ca18e3091036-cbc0723226bd1d40-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "492e71d24b058e58ee4b9aec335ca188", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:02 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:12 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "LongestIdleDistributionPolicyA9-4F-E1-11-F0-4D-15-74-55-76-CA-58-02-75-6F-B8-DA", + "name": "LongestIdleDistributionPolicy3D-3F-20-83-FA-73-6C-5C-A9-79-02-7C-A8-F0-2B-E2-81", "offerTtlSeconds": 30, "mode": { "kind": "longest-idle", @@ -29,20 +28,19 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:07 GMT", - "ETag": "\u002232002875-0000-0700-0000-62eae4a60000\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:06 GMT", + "Date": "Mon, 15 Aug 2022 16:40:15 GMT", + "ETag": "\u002203029a90-0000-0700-0000-62fa76ee0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:14 GMT", "Request-Context": "appId=", - "trace-id": "31f6d40dd46f6445934d36110b91a5b7", + "trace-id": "46f77904fa011d49be06ca18e3091036", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211203Z-tm7vmh1bsd3kxfvqbrpytcwbkg00000001h0000000001e63", + "X-Azure-Ref": "07Xb6YgAAAACQ1coOyifESKySOT6XMqMYQ0hHRURHRTE1MTYAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "A9-4F-E1-11-F0-4D-15-74-55-76-CA-58-02-75-6F-B8-DA", - "name": "LongestIdleDistributionPolicyA9-4F-E1-11-F0-4D-15-74-55-76-CA-58-02-75-6F-B8-DA", + "id": "3D-3F-20-83-FA-73-6C-5C-A9-79-02-7C-A8-F0-2B-E2-81", + "name": "LongestIdleDistributionPolicy3D-3F-20-83-FA-73-6C-5C-A9-79-02-7C-A8-F0-2B-E2-81", "offerTtlSeconds": 30, "mode": { "kind": "longest-idle", @@ -53,23 +51,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/45-F7-44-7D-09-66-70-D3-E9-F2-1B-4A-F1-06-DD-1E-94?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/AA-05-7B-F7-CF-94-A3-BB-28-BE-75-5C-7E-03-AA-6D-AD?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "189", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-7497012211eff44c8693aa427024dfe7-5cf987fc3f102749-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "d897cac3f72162066a4c268c80d281ea", + "traceparent": "00-f0194b83679cca4b8be64a34d81b7e06-c4f654e68d46db42-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "a4c1aec71a87885fdaddf92d6d5ade47", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:06 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:15 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "DefaultQueue-Sdk-Test45-F7-44-7D-09-66-70-D3-E9-F2-1B-4A-F1-06-DD-1E-94", - "distributionPolicyId": "A9-4F-E1-11-F0-4D-15-74-55-76-CA-58-02-75-6F-B8-DA", + "name": "DefaultQueue-Sdk-TestAA-05-7B-F7-CF-94-A3-BB-28-BE-75-5C-7E-03-AA-6D-AD", + "distributionPolicyId": "3D-3F-20-83-FA-73-6C-5C-A9-79-02-7C-A8-F0-2B-E2-81", "labels": { "Label_1": "Value_1" } @@ -77,40 +75,39 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:09 GMT", - "ETag": "\u00220300cce2-0000-0700-0000-62eae4a80000\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:08 GMT", + "Date": "Mon, 15 Aug 2022 16:40:16 GMT", + "ETag": "\u00225c00ef6f-0000-0700-0000-62fa76f00000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:16 GMT", "Request-Context": "appId=", - "trace-id": "7497012211eff44c8693aa427024dfe7", + "trace-id": "f0194b83679cca4b8be64a34d81b7e06", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211207Z-tm7vmh1bsd3kxfvqbrpytcwbkg00000001h0000000001e91", + "X-Azure-Ref": "073b6YgAAAAAcu1A9CnRNQLLVDbl2socfQ0hHRURHRTE1MTYAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "45-F7-44-7D-09-66-70-D3-E9-F2-1B-4A-F1-06-DD-1E-94", - "name": "DefaultQueue-Sdk-Test45-F7-44-7D-09-66-70-D3-E9-F2-1B-4A-F1-06-DD-1E-94", - "distributionPolicyId": "A9-4F-E1-11-F0-4D-15-74-55-76-CA-58-02-75-6F-B8-DA", + "id": "AA-05-7B-F7-CF-94-A3-BB-28-BE-75-5C-7E-03-AA-6D-AD", + "name": "DefaultQueue-Sdk-TestAA-05-7B-F7-CF-94-A3-BB-28-BE-75-5C-7E-03-AA-6D-AD", + "distributionPolicyId": "3D-3F-20-83-FA-73-6C-5C-A9-79-02-7C-A8-F0-2B-E2-81", "labels": { "Label_1": "Value_1", - "Id": "45-F7-44-7D-09-66-70-D3-E9-F2-1B-4A-F1-06-DD-1E-94" + "Id": "AA-05-7B-F7-CF-94-A3-BB-28-BE-75-5C-7E-03-AA-6D-AD" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/9F-6F-D1-7D-DD-21-58-33-CD-B8-8F-B3-FE-8E-78-7F-BC?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/36-7D-BE-43-C8-19-4D-92-F0-74-D7-20-67-C3-7D-01-02?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "223", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-75656b01b49789409c6e5e88f12c9fca-2e14d314a37cc94f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "a25053b2ff34a5c298bddc92df32bce8", + "traceparent": "00-b2eb261c0b231c4cb03dcb9a4197713a-d43177a848e8ca49-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "05513590071764bcab13154471bbc1d4", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:08 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:17 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -120,7 +117,7 @@ "labelSelector": { "key": "Id", "labelOperator": "equal", - "value": "45-F7-44-7D-09-66-70-D3-E9-F2-1B-4A-F1-06-DD-1E-94" + "value": "AA-05-7B-F7-CF-94-A3-BB-28-BE-75-5C-7E-03-AA-6D-AD" }, "kind": "static" } @@ -130,19 +127,18 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:09 GMT", - "ETag": "\u00220700ef92-0000-0700-0000-62eae4a90000\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:09 GMT", + "Date": "Mon, 15 Aug 2022 16:40:19 GMT", + "ETag": "\u00229500921a-0000-0700-0000-62fa76f20000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:18 GMT", "Request-Context": "appId=", - "trace-id": "75656b01b49789409c6e5e88f12c9fca", + "trace-id": "b2eb261c0b231c4cb03dcb9a4197713a", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211209Z-tm7vmh1bsd3kxfvqbrpytcwbkg00000001h0000000001ec3", + "X-Azure-Ref": "08Xb6YgAAAAALmsSiRO9ER79INWEnUPy\u002BQ0hHRURHRTE1MTYAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "9F-6F-D1-7D-DD-21-58-33-CD-B8-8F-B3-FE-8E-78-7F-BC", + "id": "36-7D-BE-43-C8-19-4D-92-F0-74-D7-20-67-C3-7D-01-02", "name": "StaticQueueSelector-ClassificationPolicy", "queueSelectors": [ { @@ -150,7 +146,7 @@ "labelSelector": { "key": "Id", "labelOperator": "equal", - "value": "45-F7-44-7D-09-66-70-D3-E9-F2-1B-4A-F1-06-DD-1E-94" + "value": "AA-05-7B-F7-CF-94-A3-BB-28-BE-75-5C-7E-03-AA-6D-AD" } } ], @@ -158,92 +154,47 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/8B-13-64-30-EA-BB-AA-B2-A3-F3-33-25-FD-D1-CA-40-63?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/73-3A-12-E2-58-93-9E-15-71-FA-92-98-AE-88-4C-DE-64?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "223", + "Content-Length": "210", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-2b9c11fd6dfe8743bd4a308693b0a860-c01b8a94a69e994e-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "ce87158cde5d2d3c69c792fde389085a", + "traceparent": "00-d72e12f65a428145ad3978311b123c94-e5d5b09d65903d4c-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "e7ba6e01eccbb88711a66e27512b2193", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:09 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:19 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "channelReference": "123", "channelId": "11-EA-67-7C-2C-9C-73-0E-D9-E5-AE-CB-F8-4D-B0-1B-65", - "classificationPolicyId": "9F-6F-D1-7D-DD-21-58-33-CD-B8-8F-B3-FE-8E-78-7F-BC", - "priority": 0, - "requestedWorkerSelectors": [], - "notes": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:12 GMT", - "ETag": "\u002200000000-0000-0000-5347-ccd49475da08\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:11 GMT", - "Request-Context": "appId=", - "trace-id": "2b9c11fd6dfe8743bd4a308693b0a860", - "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211210Z-tm7vmh1bsd3kxfvqbrpytcwbkg00000001h0000000001eca", - "X-Cache": "CONFIG_NOCACHE" - }, - "ResponseBody": { - "id": "8B-13-64-30-EA-BB-AA-B2-A3-F3-33-25-FD-D1-CA-40-63", - "channelReference": "123", - "jobStatus": "pendingClassification", - "channelId": "11-EA-67-7C-2C-9C-73-0E-D9-E5-AE-CB-F8-4D-B0-1B-65", - "classificationPolicyId": "9F-6F-D1-7D-DD-21-58-33-CD-B8-8F-B3-FE-8E-78-7F-BC", - "priority": 0, + "classificationPolicyId": "36-7D-BE-43-C8-19-4D-92-F0-74-D7-20-67-C3-7D-01-02", "requestedWorkerSelectors": [], - "attachedWorkerSelectors": [], - "labels": {}, - "assignments": {}, - "tags": {}, "notes": {} - } - }, - { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/8B-13-64-30-EA-BB-AA-B2-A3-F3-33-25-FD-D1-CA-40-63?api-version=2022-07-18-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-90ae009fb551f74e8b1efa7fb0de3e3e-07663fa997354a46-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "fe92c8aed7d9c33508f23f641a738338", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:11 GMT", - "x-ms-return-client-request-id": "true" }, - "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:12 GMT", - "ETag": "\u002200000000-0000-0000-5347-ccd49475da08\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:11 GMT", + "Date": "Mon, 15 Aug 2022 16:40:20 GMT", + "ETag": "\u002200000000-0000-0000-f210-bad7dc7eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:20 GMT", "Request-Context": "appId=", - "trace-id": "90ae009fb551f74e8b1efa7fb0de3e3e", + "trace-id": "d72e12f65a428145ad3978311b123c94", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211212Z-tm7vmh1bsd3kxfvqbrpytcwbkg00000001h0000000001efq", + "X-Azure-Ref": "083b6YgAAAABNOYIY0YFFSpC8gU15uKZ9Q0hHRURHRTE1MTYAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "8B-13-64-30-EA-BB-AA-B2-A3-F3-33-25-FD-D1-CA-40-63", + "id": "73-3A-12-E2-58-93-9E-15-71-FA-92-98-AE-88-4C-DE-64", "channelReference": "123", "jobStatus": "pendingClassification", "channelId": "11-EA-67-7C-2C-9C-73-0E-D9-E5-AE-CB-F8-4D-B0-1B-65", - "classificationPolicyId": "9F-6F-D1-7D-DD-21-58-33-CD-B8-8F-B3-FE-8E-78-7F-BC", - "priority": 0, + "classificationPolicyId": "36-7D-BE-43-C8-19-4D-92-F0-74-D7-20-67-C3-7D-01-02", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -253,40 +204,40 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/8B-13-64-30-EA-BB-AA-B2-A3-F3-33-25-FD-D1-CA-40-63?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/73-3A-12-E2-58-93-9E-15-71-FA-92-98-AE-88-4C-DE-64?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-db2d2b6932437248a673afc07b08d690-6f3b46c5e7dac04f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "6b003e90b34bd48c1622386c6dc5c20f", + "traceparent": "00-6d7448112019734cb455ae0395ab7e53-e0e7fd53e4f0434d-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "fe5b536d9c0bc070f25cf973041b161f", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:12 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:20 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:13 GMT", - "ETag": "\u002200000000-0000-0000-5347-ccd49475da08\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:11 GMT", + "Date": "Mon, 15 Aug 2022 16:40:20 GMT", + "ETag": "\u002200000001-0000-0000-7cfc-12d8dc7eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:20 GMT", "Request-Context": "appId=", - "trace-id": "db2d2b6932437248a673afc07b08d690", + "trace-id": "6d7448112019734cb455ae0395ab7e53", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211213Z-tm7vmh1bsd3kxfvqbrpytcwbkg00000001h0000000001eh0", + "X-Azure-Ref": "09Hb6YgAAAABTPNGahVJ1TZ\u002B5jObwcECjQ0hHRURHRTE1MTYAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "8B-13-64-30-EA-BB-AA-B2-A3-F3-33-25-FD-D1-CA-40-63", + "id": "73-3A-12-E2-58-93-9E-15-71-FA-92-98-AE-88-4C-DE-64", "channelReference": "123", "jobStatus": "pendingClassification", "channelId": "11-EA-67-7C-2C-9C-73-0E-D9-E5-AE-CB-F8-4D-B0-1B-65", - "classificationPolicyId": "9F-6F-D1-7D-DD-21-58-33-CD-B8-8F-B3-FE-8E-78-7F-BC", - "priority": 0, + "classificationPolicyId": "36-7D-BE-43-C8-19-4D-92-F0-74-D7-20-67-C3-7D-01-02", + "queueId": "AA-05-7B-F7-CF-94-A3-BB-28-BE-75-5C-7E-03-AA-6D-AD", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -296,42 +247,41 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/8B-13-64-30-EA-BB-AA-B2-A3-F3-33-25-FD-D1-CA-40-63?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/73-3A-12-E2-58-93-9E-15-71-FA-92-98-AE-88-4C-DE-64?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-268648fe6bed9d4496d4f743e7b563da-7d8f2403ccb01640-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "16e381b4bda0b40edfc3c66a9fd812f5", + "traceparent": "00-b4079219bce69547a6f76d76606b6953-f7ec0225e37a0f4d-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "fe2b251cf7a0a47bad99f37198951280", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:14 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:22 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:15 GMT", - "ETag": "\u002200000002-0000-0000-0f86-96d69475da08\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:14 GMT", + "Date": "Mon, 15 Aug 2022 16:40:22 GMT", + "ETag": "\u002200000002-0000-0000-439e-bed8dc7eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:22 GMT", "Request-Context": "appId=", - "trace-id": "268648fe6bed9d4496d4f743e7b563da", + "trace-id": "b4079219bce69547a6f76d76606b6953", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211214Z-tm7vmh1bsd3kxfvqbrpytcwbkg00000001h0000000001ehx", + "X-Azure-Ref": "09nb6YgAAAAB7Luj2/ZzMTrZR2jRz6icDQ0hHRURHRTE1MTYAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "8B-13-64-30-EA-BB-AA-B2-A3-F3-33-25-FD-D1-CA-40-63", + "id": "73-3A-12-E2-58-93-9E-15-71-FA-92-98-AE-88-4C-DE-64", "channelReference": "123", "jobStatus": "queued", - "enqueueTimeUtc": "2022-08-03T21:12:14.2145039\u002B00:00", + "enqueueTimeUtc": "2022-08-15T16:40:22.0622403\u002B00:00", "channelId": "11-EA-67-7C-2C-9C-73-0E-D9-E5-AE-CB-F8-4D-B0-1B-65", - "classificationPolicyId": "9F-6F-D1-7D-DD-21-58-33-CD-B8-8F-B3-FE-8E-78-7F-BC", - "queueId": "45-F7-44-7D-09-66-70-D3-E9-F2-1B-4A-F1-06-DD-1E-94", - "priority": 0, + "classificationPolicyId": "36-7D-BE-43-C8-19-4D-92-F0-74-D7-20-67-C3-7D-01-02", + "queueId": "AA-05-7B-F7-CF-94-A3-BB-28-BE-75-5C-7E-03-AA-6D-AD", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -341,65 +291,63 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/8B-13-64-30-EA-BB-AA-B2-A3-F3-33-25-FD-D1-CA-40-63:cancel?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/73-3A-12-E2-58-93-9E-15-71-FA-92-98-AE-88-4C-DE-64:cancel?api-version=2022-07-18-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-494e9fed80b2a3439ca26f6b636a5c83-1f5b443977e6fd42-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "a46c59449c89fb0f3bbde8b69ec85642", + "traceparent": "00-c16ecbac492dec4ebe3c760dd1976e61-0770ddabe9081b4b-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "1ed682f2c26065c9fef9f46ff313b3f6", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:14 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:22 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:16 GMT", + "Date": "Mon, 15 Aug 2022 16:40:23 GMT", "Request-Context": "appId=", - "trace-id": "494e9fed80b2a3439ca26f6b636a5c83", + "trace-id": "c16ecbac492dec4ebe3c760dd1976e61", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211215Z-tm7vmh1bsd3kxfvqbrpytcwbkg00000001h0000000001ekb", + "X-Azure-Ref": "09nb6YgAAAAAJIwDmEL/VTJl3swpjM4AYQ0hHRURHRTE1MTYAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": {} }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/9F-6F-D1-7D-DD-21-58-33-CD-B8-8F-B3-FE-8E-78-7F-BC?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/36-7D-BE-43-C8-19-4D-92-F0-74-D7-20-67-C3-7D-01-02?api-version=2022-07-18-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-2dd4ede3f3de0149be8445cf30592955-32815e361eb8694f-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "98af30306c8fd2982f4b8b87ec22353e", + "traceparent": "00-e2aabb60a7495946b82d889854712ead-5e3148e7d98c6a49-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "2c0b4f8f22ff76f3d7b65071a8ff285c", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:16 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:23 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", - "Date": "Wed, 03 Aug 2022 21:12:17 GMT", + "Date": "Mon, 15 Aug 2022 16:40:25 GMT", "Request-Context": "appId=", - "trace-id": "2dd4ede3f3de0149be8445cf30592955", - "x-azure-ref": "20220803T211216Z-tm7vmh1bsd3kxfvqbrpytcwbkg00000001h0000000001emw", + "trace-id": "e2aabb60a7495946b82d889854712ead", + "X-Azure-Ref": "093b6YgAAAAA4gCscUnuGTZwWc16WIaVNQ0hHRURHRTE1MTYAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": null } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-KCrP7JvBAE-GlCLTUmsZag-", - "RandomSeed": "819780809" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-I_kq-8vKnEy2vgdFmLC5sQ-", + "RandomSeed": "647022770" } } diff --git a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/RouterJobLiveTests/CreateJobWithClassificationPolicy_w_StaticQueueSelectorAsync.json b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/RouterJobLiveTests/CreateJobWithClassificationPolicy_w_StaticQueueSelectorAsync.json index 2d12fe91ba256..57b0598d1b6ad 100644 --- a/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/RouterJobLiveTests/CreateJobWithClassificationPolicy_w_StaticQueueSelectorAsync.json +++ b/sdk/communication/Azure.Communication.JobRouter/tests/SessionRecords/RouterJobLiveTests/CreateJobWithClassificationPolicy_w_StaticQueueSelectorAsync.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/distributionPolicies/22-A3-09-8B-A4-9E-5E-32-65-91-42-FF-76-ED-04-A3-54?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/distributionPolicies/E2-13-B0-A4-65-3E-0A-62-80-36-BF-28-ED-07-A6-5A-0A?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "214", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-7cea002173a7604ea9c41fa822e70a5b-fd99a8d179617e4e-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "bf34a6138e302ba30c57665756b285b4", + "traceparent": "00-15002cde7b9f564f90a94c1107742b55-3b198e97f89cda41-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "63f0c9a0231041cf4b6787ee9762cb4c", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:31 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:25 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "LongestIdleDistributionPolicy22-A3-09-8B-A4-9E-5E-32-65-91-42-FF-76-ED-04-A3-54", + "name": "LongestIdleDistributionPolicyE2-13-B0-A4-65-3E-0A-62-80-36-BF-28-ED-07-A6-5A-0A", "offerTtlSeconds": 30, "mode": { "kind": "longest-idle", @@ -28,20 +28,19 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:33 GMT", - "ETag": "\u002232005f7a-0000-0700-0000-62eae4c10000\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:33 GMT", + "Date": "Mon, 15 Aug 2022 16:40:26 GMT", + "ETag": "\u002203023193-0000-0700-0000-62fa76fa0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:26 GMT", "Request-Context": "appId=", - "trace-id": "7cea002173a7604ea9c41fa822e70a5b", + "trace-id": "15002cde7b9f564f90a94c1107742b55", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211232Z-hk9fc1hqnx3xh6y9eh1b1ua6zw00000001ag000000025snh", + "X-Azure-Ref": "0\u002BXb6YgAAAABM9QJBcNQhTZI4NKw4LmIqQ0hHRURHRTE2MTAAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "22-A3-09-8B-A4-9E-5E-32-65-91-42-FF-76-ED-04-A3-54", - "name": "LongestIdleDistributionPolicy22-A3-09-8B-A4-9E-5E-32-65-91-42-FF-76-ED-04-A3-54", + "id": "E2-13-B0-A4-65-3E-0A-62-80-36-BF-28-ED-07-A6-5A-0A", + "name": "LongestIdleDistributionPolicyE2-13-B0-A4-65-3E-0A-62-80-36-BF-28-ED-07-A6-5A-0A", "offerTtlSeconds": 30, "mode": { "kind": "longest-idle", @@ -52,23 +51,23 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/queues/64-C2-F4-F8-44-1C-BD-9E-0B-F5-88-0E-95-48-80-07-8C?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/queues/B6-37-AC-53-8C-50-5B-FC-22-70-DE-0B-BD-76-BA-F9-95?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "189", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-b36d146744265b4db2d9cc07c91a8f2a-c28cd481cf87aa48-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "27f617ee4b16496c2327409efe22bd0d", + "traceparent": "00-f473e05f7837824b879f1a4627b13e92-a276b50318b3284a-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "126db896a3ecb75b1120b1d00aa652de", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:33 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:26 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "name": "DefaultQueue-Sdk-Test64-C2-F4-F8-44-1C-BD-9E-0B-F5-88-0E-95-48-80-07-8C", - "distributionPolicyId": "22-A3-09-8B-A4-9E-5E-32-65-91-42-FF-76-ED-04-A3-54", + "name": "DefaultQueue-Sdk-TestB6-37-AC-53-8C-50-5B-FC-22-70-DE-0B-BD-76-BA-F9-95", + "distributionPolicyId": "E2-13-B0-A4-65-3E-0A-62-80-36-BF-28-ED-07-A6-5A-0A", "labels": { "Label_1": "Value_1" } @@ -76,40 +75,39 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:35 GMT", - "ETag": "\u00220300e7e2-0000-0700-0000-62eae4c20000\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:34 GMT", + "Date": "Mon, 15 Aug 2022 16:40:27 GMT", + "ETag": "\u00225c003671-0000-0700-0000-62fa76fb0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:27 GMT", "Request-Context": "appId=", - "trace-id": "b36d146744265b4db2d9cc07c91a8f2a", + "trace-id": "f473e05f7837824b879f1a4627b13e92", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211233Z-hk9fc1hqnx3xh6y9eh1b1ua6zw00000001ag000000025t4y", + "X-Azure-Ref": "0\u002Bnb6YgAAAADpTP8UqXDdTajif\u002Bad1AALQ0hHRURHRTE1MTcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "64-C2-F4-F8-44-1C-BD-9E-0B-F5-88-0E-95-48-80-07-8C", - "name": "DefaultQueue-Sdk-Test64-C2-F4-F8-44-1C-BD-9E-0B-F5-88-0E-95-48-80-07-8C", - "distributionPolicyId": "22-A3-09-8B-A4-9E-5E-32-65-91-42-FF-76-ED-04-A3-54", + "id": "B6-37-AC-53-8C-50-5B-FC-22-70-DE-0B-BD-76-BA-F9-95", + "name": "DefaultQueue-Sdk-TestB6-37-AC-53-8C-50-5B-FC-22-70-DE-0B-BD-76-BA-F9-95", + "distributionPolicyId": "E2-13-B0-A4-65-3E-0A-62-80-36-BF-28-ED-07-A6-5A-0A", "labels": { "Label_1": "Value_1", - "Id": "64-C2-F4-F8-44-1C-BD-9E-0B-F5-88-0E-95-48-80-07-8C" + "Id": "B6-37-AC-53-8C-50-5B-FC-22-70-DE-0B-BD-76-BA-F9-95" } } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/42-1C-80-E7-FE-5A-B0-B8-4E-BB-F6-4F-F3-B5-E4-D5-BF?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/50-38-18-56-3C-4B-64-38-55-98-A7-7C-4B-92-1A-31-16?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "223", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-842a5074cd604e4d970af19a58f9347c-e1a963e688896a4c-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "b2b216ba6607a0341602e36180a5b1c5", + "traceparent": "00-3018dcd1d85f3d4a85c1cb4d69b1b8ca-b93c8ddadee23a48-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "7ab95348810279fd44cd5ec9b3838f0e", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:35 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:27 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,7 +117,7 @@ "labelSelector": { "key": "Id", "labelOperator": "equal", - "value": "64-C2-F4-F8-44-1C-BD-9E-0B-F5-88-0E-95-48-80-07-8C" + "value": "B6-37-AC-53-8C-50-5B-FC-22-70-DE-0B-BD-76-BA-F9-95" }, "kind": "static" } @@ -129,19 +127,18 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:37 GMT", - "ETag": "\u00220700b193-0000-0700-0000-62eae4c40000\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:36 GMT", + "Date": "Mon, 15 Aug 2022 16:40:28 GMT", + "ETag": "\u00229500b01a-0000-0700-0000-62fa76fc0000\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:28 GMT", "Request-Context": "appId=", - "trace-id": "842a5074cd604e4d970af19a58f9347c", + "trace-id": "3018dcd1d85f3d4a85c1cb4d69b1b8ca", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211235Z-hk9fc1hqnx3xh6y9eh1b1ua6zw00000001ag000000025tr2", + "X-Azure-Ref": "0\u002B3b6YgAAAAClVvQo1b7jQLg0E3QkheQ9Q0hHRURHRTE1MTcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "42-1C-80-E7-FE-5A-B0-B8-4E-BB-F6-4F-F3-B5-E4-D5-BF", + "id": "50-38-18-56-3C-4B-64-38-55-98-A7-7C-4B-92-1A-31-16", "name": "StaticQueueSelector-ClassificationPolicy", "queueSelectors": [ { @@ -149,7 +146,7 @@ "labelSelector": { "key": "Id", "labelOperator": "equal", - "value": "64-C2-F4-F8-44-1C-BD-9E-0B-F5-88-0E-95-48-80-07-8C" + "value": "B6-37-AC-53-8C-50-5B-FC-22-70-DE-0B-BD-76-BA-F9-95" } } ], @@ -157,49 +154,47 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/50-93-E0-E5-15-60-06-97-3C-6F-0F-C6-0F-FE-EC-46-25?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/C9-56-24-A0-7A-1E-42-4A-34-7D-9D-F3-51-2F-3E-29-1F?api-version=2022-07-18-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "223", + "Content-Length": "210", "Content-Type": "application/merge-patch\u002Bjson", - "traceparent": "00-c8b33eb07dba5943b29395bf7f0da818-81c62ee03399954d-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "e5e78f219f62c71939ea9b094e042dea", + "traceparent": "00-81bd3e121647a04d8bdbc8a507127998-924822e741c0ae4a-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "2cbe5d508deffc1a6d3852f071ff36a5", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:36 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:28 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": { "channelReference": "123", "channelId": "11-EA-67-7C-2C-9C-73-0E-D9-E5-AE-CB-F8-4D-B0-1B-65", - "classificationPolicyId": "42-1C-80-E7-FE-5A-B0-B8-4E-BB-F6-4F-F3-B5-E4-D5-BF", - "priority": 0, + "classificationPolicyId": "50-38-18-56-3C-4B-64-38-55-98-A7-7C-4B-92-1A-31-16", "requestedWorkerSelectors": [], "notes": {} }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:39 GMT", - "ETag": "\u002200000000-0000-0000-9358-0ee59475da08\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:38 GMT", + "Date": "Mon, 15 Aug 2022 16:40:30 GMT", + "ETag": "\u002200000000-0000-0000-db45-5adddc7eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:29 GMT", "Request-Context": "appId=", - "trace-id": "c8b33eb07dba5943b29395bf7f0da818", + "trace-id": "81bd3e121647a04d8bdbc8a507127998", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211237Z-hk9fc1hqnx3xh6y9eh1b1ua6zw00000001ag000000025u76", + "X-Azure-Ref": "0/Hb6YgAAAAD52SXDgyHkQK0DrBSQZsMtQ0hHRURHRTE1MTcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "50-93-E0-E5-15-60-06-97-3C-6F-0F-C6-0F-FE-EC-46-25", + "id": "C9-56-24-A0-7A-1E-42-4A-34-7D-9D-F3-51-2F-3E-29-1F", "channelReference": "123", "jobStatus": "pendingClassification", "channelId": "11-EA-67-7C-2C-9C-73-0E-D9-E5-AE-CB-F8-4D-B0-1B-65", - "classificationPolicyId": "42-1C-80-E7-FE-5A-B0-B8-4E-BB-F6-4F-F3-B5-E4-D5-BF", - "priority": 0, + "classificationPolicyId": "50-38-18-56-3C-4B-64-38-55-98-A7-7C-4B-92-1A-31-16", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -209,41 +204,40 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/50-93-E0-E5-15-60-06-97-3C-6F-0F-C6-0F-FE-EC-46-25?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/C9-56-24-A0-7A-1E-42-4A-34-7D-9D-F3-51-2F-3E-29-1F?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-2cd6e1385c560144953b064e6464d909-ebd1f16bdbe8534d-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "409c589ad3ff88ace2561114680ac87e", + "traceparent": "00-04e5ee185c1de24da9a9615e240cdcf1-c3f748b00c334548-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "44a6a81451a8154abbf4cd1f4592048d", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:38 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:30 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:39 GMT", - "ETag": "\u002200000001-0000-0000-3e31-6de59475da08\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:39 GMT", + "Date": "Mon, 15 Aug 2022 16:40:31 GMT", + "ETag": "\u002200000001-0000-0000-a0d8-11dedc7eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:30 GMT", "Request-Context": "appId=", - "trace-id": "2cd6e1385c560144953b064e6464d909", + "trace-id": "04e5ee185c1de24da9a9615e240cdcf1", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211239Z-hk9fc1hqnx3xh6y9eh1b1ua6zw00000001ag000000025umd", + "X-Azure-Ref": "0/3b6YgAAAACF08S4rA6uSpFf3cSvjl1dQ0hHRURHRTE1MTcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "50-93-E0-E5-15-60-06-97-3C-6F-0F-C6-0F-FE-EC-46-25", + "id": "C9-56-24-A0-7A-1E-42-4A-34-7D-9D-F3-51-2F-3E-29-1F", "channelReference": "123", "jobStatus": "pendingClassification", "channelId": "11-EA-67-7C-2C-9C-73-0E-D9-E5-AE-CB-F8-4D-B0-1B-65", - "classificationPolicyId": "42-1C-80-E7-FE-5A-B0-B8-4E-BB-F6-4F-F3-B5-E4-D5-BF", - "queueId": "64-C2-F4-F8-44-1C-BD-9E-0B-F5-88-0E-95-48-80-07-8C", - "priority": 0, + "classificationPolicyId": "50-38-18-56-3C-4B-64-38-55-98-A7-7C-4B-92-1A-31-16", + "queueId": "B6-37-AC-53-8C-50-5B-FC-22-70-DE-0B-BD-76-BA-F9-95", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -253,42 +247,41 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/50-93-E0-E5-15-60-06-97-3C-6F-0F-C6-0F-FE-EC-46-25?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/C9-56-24-A0-7A-1E-42-4A-34-7D-9D-F3-51-2F-3E-29-1F?api-version=2022-07-18-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b1719a07672d064bbcf2beb830d9ae6d-72d02b246ea7d84b-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "6e7d7a76d73b1aabfceb781dca2a5111", + "traceparent": "00-4cb02bb4e84a324f846fbe1f574d3b57-e693d6731bab8942-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "ad7fa39126e8baef38bd0cc92e0d0845", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:40 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:32 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:40 GMT", - "ETag": "\u002200000002-0000-0000-d38e-24e69475da08\u0022", - "Last-Modified": "Wed, 03 Aug 2022 21:12:40 GMT", + "Date": "Mon, 15 Aug 2022 16:40:32 GMT", + "ETag": "\u002200000002-0000-0000-90a5-72dedc7eda08\u0022", + "Last-Modified": "Mon, 15 Aug 2022 16:40:31 GMT", "Request-Context": "appId=", - "trace-id": "b1719a07672d064bbcf2beb830d9ae6d", + "trace-id": "4cb02bb4e84a324f846fbe1f574d3b57", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211240Z-hk9fc1hqnx3xh6y9eh1b1ua6zw00000001ag000000025v0r", + "X-Azure-Ref": "0AHf6YgAAAACS2RzGZH6MSIJ5X7S4hfD\u002BQ0hHRURHRTE1MTcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": { - "id": "50-93-E0-E5-15-60-06-97-3C-6F-0F-C6-0F-FE-EC-46-25", + "id": "C9-56-24-A0-7A-1E-42-4A-34-7D-9D-F3-51-2F-3E-29-1F", "channelReference": "123", "jobStatus": "queued", - "enqueueTimeUtc": "2022-08-03T21:12:40.3111635\u002B00:00", + "enqueueTimeUtc": "2022-08-15T16:40:31.6306832\u002B00:00", "channelId": "11-EA-67-7C-2C-9C-73-0E-D9-E5-AE-CB-F8-4D-B0-1B-65", - "classificationPolicyId": "42-1C-80-E7-FE-5A-B0-B8-4E-BB-F6-4F-F3-B5-E4-D5-BF", - "queueId": "64-C2-F4-F8-44-1C-BD-9E-0B-F5-88-0E-95-48-80-07-8C", - "priority": 0, + "classificationPolicyId": "50-38-18-56-3C-4B-64-38-55-98-A7-7C-4B-92-1A-31-16", + "queueId": "B6-37-AC-53-8C-50-5B-FC-22-70-DE-0B-BD-76-BA-F9-95", + "priority": 1, "requestedWorkerSelectors": [], "attachedWorkerSelectors": [], "labels": {}, @@ -298,65 +291,63 @@ } }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/jobs/50-93-E0-E5-15-60-06-97-3C-6F-0F-C6-0F-FE-EC-46-25:cancel?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/jobs/C9-56-24-A0-7A-1E-42-4A-34-7D-9D-F3-51-2F-3E-29-1F:cancel?api-version=2022-07-18-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "traceparent": "00-1677c48f261b564ca5e47d4fbc13d949-3bd70aaa0aefa54b-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "28c6f9d570084ec6e25e020b8e045e2e", + "traceparent": "00-87842fe49930f24a9a9f10048fa7534f-21180cb7f2c82146-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "0ab5b8974adcff6613a871fbbffbb6db", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:40 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:32 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": {}, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 03 Aug 2022 21:12:42 GMT", + "Date": "Mon, 15 Aug 2022 16:40:34 GMT", "Request-Context": "appId=", - "trace-id": "1677c48f261b564ca5e47d4fbc13d949", + "trace-id": "87842fe49930f24a9a9f10048fa7534f", "Transfer-Encoding": "chunked", - "x-azure-ref": "20220803T211240Z-hk9fc1hqnx3xh6y9eh1b1ua6zw00000001ag000000025v29", + "X-Azure-Ref": "0AHf6YgAAAABHwCahfr\u002B5Q7J3eOLKNxY7Q0hHRURHRTE1MTcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": {} }, { - "RequestUri": "https://rsarkar-sdktest.int.communication.azure.net/routing/classificationPolicies/42-1C-80-E7-FE-5A-B0-B8-4E-BB-F6-4F-F3-B5-E4-D5-BF?api-version=2022-07-18-preview", + "RequestUri": "https://wzhao-test.int.communication.azure.net/routing/classificationPolicies/50-38-18-56-3C-4B-64-38-55-98-A7-7C-4B-92-1A-31-16?api-version=2022-07-18-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-187f545dbb5f314a94848ab724b42381-2c4e0b675e2ecf41-00", - "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220803.1 (.NET Framework 4.8.4510.0; Microsoft Windows 10.0.22000 )", - "x-ms-client-request-id": "d3931d21be87c3afad8243135b8fbeb8", + "traceparent": "00-35f2ad5b22120e419895454ef62279c3-40f1c4437b9a0548-00", + "User-Agent": "azsdk-net-Communication.JobRouter/1.0.0-alpha.20220815.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", + "x-ms-client-request-id": "cd5ec433887fedbdb9ec0beb4580e7ad", "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 03 Aug 2022 21:12:41 GMT", + "x-ms-date": "Mon, 15 Aug 2022 16:40:34 GMT", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2021-04-07-preview1, 2021-10-20-preview2, 2022-07-18-preview", - "Connection": "keep-alive", - "Date": "Wed, 03 Aug 2022 21:12:43 GMT", + "Date": "Mon, 15 Aug 2022 16:40:35 GMT", "Request-Context": "appId=", - "trace-id": "187f545dbb5f314a94848ab724b42381", - "x-azure-ref": "20220803T211242Z-hk9fc1hqnx3xh6y9eh1b1ua6zw00000001ag000000025vby", + "trace-id": "35f2ad5b22120e419895454ef62279c3", + "X-Azure-Ref": "0Anf6YgAAAACAvu458b68TL2FDTJXt6MSQ0hHRURHRTE1MTcAY2M5Mjc1OGQtMDVmNy00YWQ2LWFhNWUtMGZhOTcxOGQ4OTg1", "X-Cache": "CONFIG_NOCACHE" }, "ResponseBody": null } ], "Variables": { - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://rsarkar-sdktest.int.communication.azure.net/;accesskey=Kg==", - "id-prefix": "sdk-mmVjox1-oEyDTWmb3r8nMQ-", - "RandomSeed": "879148506" + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://wzhao-test.int.communication.azure.net/;accesskey=Kg==", + "id-prefix": "sdk-lHGPygenfEq6eihGG2v8Ig-", + "RandomSeed": "1509213373" } } From 4f9cb54bf04f5c40de4173f0d0e21f8c5fa004e2 Mon Sep 17 00:00:00 2001 From: minwoolee-msft <77083090+minwoolee-msft@users.noreply.github.com> Date: Mon, 15 Aug 2022 11:39:15 -0700 Subject: [PATCH 07/15] Changing names to callconnectionproperties for all names to avoid confusion (#30515) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Min Woo Lee 🧊 <77083090+minwoolee-ms@users.noreply.github.com> --- .../Azure.Communication.CallingServer/README.md | 2 +- ...ure.Communication.CallingServer.netstandard2.0.cs | 12 ++++++------ .../samples/Sample1_CreateCall.md | 2 +- .../samples/Sample1_CreateCallAsync.md | 2 +- .../src/CallConnection.cs | 8 ++++---- .../src/Models/AnswerCallResult.cs | 6 +++--- .../src/Models/CallAutomationModelFactory.cs | 12 ++++++------ .../src/Models/CreateCallResult.cs | 6 +++--- 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/sdk/communication/Azure.Communication.CallingServer/README.md b/sdk/communication/Azure.Communication.CallingServer/README.md index 838c5208b8eea..1aed82d2af62e 100644 --- a/sdk/communication/Azure.Communication.CallingServer/README.md +++ b/sdk/communication/Azure.Communication.CallingServer/README.md @@ -57,7 +57,7 @@ CreateCallResult createCallResult = await callAutomationClient.CreateCallAsync( targets: new List() { new PhoneNumberIdentifier("") }, // E.164 formatted recipient phone number callbackEndpoint: new Uri(TestEnvironment.AppCallbackUrl) ); -Console.WriteLine($"Call connection id: {createCallResult.CallProperties.CallConnectionId}"); +Console.WriteLine($"Call connection id: {createCallResult.CallConnectionProperties.CallConnectionId}"); ``` ### Handle Mid-Connection call back events diff --git a/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs b/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs index e23c0069f3a43..33f43703c0980 100644 --- a/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs @@ -33,7 +33,7 @@ public partial class AnswerCallResult { internal AnswerCallResult() { } public Azure.Communication.CallingServer.CallConnection CallConnection { get { throw null; } } - public Azure.Communication.CallingServer.CallConnectionProperties CallProperties { get { throw null; } } + public Azure.Communication.CallingServer.CallConnectionProperties CallConnectionProperties { get { throw null; } } } public partial class CallAutomationClient { @@ -81,14 +81,14 @@ public static partial class CallAutomationModelFactory public static Azure.Communication.CallingServer.AddParticipantsFailed AddParticipantsFailed(string operationContext = null, Azure.Communication.CallingServer.ResultInformation resultInformation = null, System.Collections.Generic.IEnumerable participants = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallingServer.AddParticipantsResult AddParticipantsResult(System.Collections.Generic.IEnumerable participants = null, string operationContext = null) { throw null; } public static Azure.Communication.CallingServer.AddParticipantsSucceeded AddParticipantsSucceeded(string operationContext = null, Azure.Communication.CallingServer.ResultInformation resultInformation = null, System.Collections.Generic.IEnumerable participants = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } - public static Azure.Communication.CallingServer.AnswerCallResult AnswerCallResult(Azure.Communication.CallingServer.CallConnection callConnection = null, Azure.Communication.CallingServer.CallConnectionProperties callProperties = null) { throw null; } + public static Azure.Communication.CallingServer.AnswerCallResult AnswerCallResult(Azure.Communication.CallingServer.CallConnection callConnection = null, Azure.Communication.CallingServer.CallConnectionProperties callConnectionProperties = null) { throw null; } public static Azure.Communication.CallingServer.CallConnected CallConnected(string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallingServer.CallConnectionProperties CallConnectionProperties(string callConnectionId = null, string serverCallId = null, Azure.Communication.CallingServer.CallSource callSource = null, System.Collections.Generic.IEnumerable targets = null, Azure.Communication.CallingServer.CallConnectionState callConnectionState = default(Azure.Communication.CallingServer.CallConnectionState), string subject = null, System.Uri callbackEndpoint = null) { throw null; } public static Azure.Communication.CallingServer.CallDisconnected CallDisconnected(string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallingServer.CallParticipant CallParticipant(Azure.Communication.CommunicationIdentifier identifier = null, bool isMuted = false) { throw null; } public static Azure.Communication.CallingServer.CallTransferAccepted CallTransferAccepted(string operationContext = null, Azure.Communication.CallingServer.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallingServer.CallTransferFailed CallTransferFailed(string operationContext = null, Azure.Communication.CallingServer.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } - public static Azure.Communication.CallingServer.CreateCallResult CreateCallResult(Azure.Communication.CallingServer.CallConnection callConnection = null, Azure.Communication.CallingServer.CallConnectionProperties callProperties = null) { throw null; } + public static Azure.Communication.CallingServer.CreateCallResult CreateCallResult(Azure.Communication.CallingServer.CallConnection callConnection = null, Azure.Communication.CallingServer.CallConnectionProperties callConnectionProperties = null) { throw null; } public static Azure.Communication.CallingServer.ParticipantsUpdated ParticipantsUpdated(System.Collections.Generic.IEnumerable participants = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallingServer.RecordingStatusResult RecordingStatusResult(string recordingId = null, Azure.Communication.CallingServer.RecordingStatus? recordingStatus = default(Azure.Communication.CallingServer.RecordingStatus?)) { throw null; } public static Azure.Communication.CallingServer.RemoveParticipantsResult RemoveParticipantsResult(string operationContext = null) { throw null; } @@ -106,13 +106,13 @@ protected CallConnection() { } public virtual string CallConnectionId { get { throw null; } } public virtual Azure.Response AddParticipants(System.Collections.Generic.IEnumerable participantsToAdd, Azure.Communication.CallingServer.AddParticipantsOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> AddParticipantsAsync(System.Collections.Generic.IEnumerable participantsToAdd, Azure.Communication.CallingServer.AddParticipantsOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetCallConnectionProperties(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetCallConnectionPropertiesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Communication.CallingServer.CallMedia GetCallMedia() { throw null; } public virtual Azure.Response GetParticipant(string participantMri, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetParticipantAsync(string participantMri, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response> GetParticipants(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task>> GetParticipantsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetProperties(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetPropertiesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response HangUp(bool forEveryone, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task HangUpAsync(bool forEveryone, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response RemoveParticipants(System.Collections.Generic.IEnumerable participantsToRemove, Azure.Communication.CallingServer.RemoveParticipantsOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -279,7 +279,7 @@ public partial class CreateCallResult { internal CreateCallResult() { } public Azure.Communication.CallingServer.CallConnection CallConnection { get { throw null; } } - public Azure.Communication.CallingServer.CallConnectionProperties CallProperties { get { throw null; } } + public Azure.Communication.CallingServer.CallConnectionProperties CallConnectionProperties { get { throw null; } } } public partial class FileSource : Azure.Communication.CallingServer.PlaySource { diff --git a/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCall.md b/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCall.md index f58c0daa3cb4f..f990c36ee21f9 100644 --- a/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCall.md +++ b/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCall.md @@ -28,7 +28,7 @@ CreateCallResult createCallResult = callAutomationClient.CreateCall( targets: new List() { new PhoneNumberIdentifier("") }, // E.164 formatted recipient phone number callbackEndpoint: new Uri(TestEnvironment.AppCallbackUrl) ); -Console.WriteLine($"Call connection id: {createCallResult.CallProperties.CallConnectionId}"); +Console.WriteLine($"Call connection id: {createCallResult.CallConnectionProperties.CallConnectionId}"); ``` To see the full example source files, see: diff --git a/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCallAsync.md b/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCallAsync.md index 45385f13fc6a7..a02bfc462c3ed 100644 --- a/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCallAsync.md +++ b/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCallAsync.md @@ -28,7 +28,7 @@ CreateCallResult createCallResult = await callAutomationClient.CreateCallAsync( targets: new List() { new PhoneNumberIdentifier("") }, // E.164 formatted recipient phone number callbackEndpoint: new Uri(TestEnvironment.AppCallbackUrl) ); -Console.WriteLine($"Call connection id: {createCallResult.CallProperties.CallConnectionId}"); +Console.WriteLine($"Call connection id: {createCallResult.CallConnectionProperties.CallConnectionId}"); ``` To see the full example source files, see: diff --git a/sdk/communication/Azure.Communication.CallingServer/src/CallConnection.cs b/sdk/communication/Azure.Communication.CallingServer/src/CallConnection.cs index 2ab1cc851075a..f978368df18bf 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/CallConnection.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/CallConnection.cs @@ -43,9 +43,9 @@ protected CallConnection() /// Get various properties of the call. . /// The cancellation token. - public virtual async Task> GetPropertiesAsync(CancellationToken cancellationToken = default) + public virtual async Task> GetCallConnectionPropertiesAsync(CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallAutomationClient)}.{nameof(GetProperties)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallAutomationClient)}.{nameof(GetCallConnectionProperties)}"); scope.Start(); try { @@ -64,9 +64,9 @@ public virtual async Task> GetPropertiesAsync /// Get various properties of a ongoing call. . /// The cancellation token. - public virtual Response GetProperties(CancellationToken cancellationToken = default) + public virtual Response GetCallConnectionProperties(CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallAutomationClient)}.{nameof(GetProperties)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallAutomationClient)}.{nameof(GetCallConnectionProperties)}"); scope.Start(); try { diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/AnswerCallResult.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/AnswerCallResult.cs index 47a0da9e24ff0..0cda1f2eca8bd 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/AnswerCallResult.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/AnswerCallResult.cs @@ -6,16 +6,16 @@ namespace Azure.Communication.CallingServer /// The result from creating a call. public class AnswerCallResult { - internal AnswerCallResult(CallConnection callConnection, CallConnectionProperties callProperties) + internal AnswerCallResult(CallConnection callConnection, CallConnectionProperties callConnectionProperties) { CallConnection = callConnection; - CallProperties = callProperties; + CallConnectionProperties = callConnectionProperties; } /// CallConnection instance. public CallConnection CallConnection { get; } /// Properties of the call. - public CallConnectionProperties CallProperties { get; } + public CallConnectionProperties CallConnectionProperties { get; } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/CallAutomationModelFactory.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/CallAutomationModelFactory.cs index eee908bf038d1..1bdafe8b8219a 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/CallAutomationModelFactory.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/CallAutomationModelFactory.cs @@ -24,11 +24,11 @@ public static AddParticipantsResult AddParticipantsResult(IEnumerable Initializes a new instance of AnswerCallResult. /// CallConnection Client. - /// Properties of the call. + /// Properties of the call. /// A new instance for mocking. - public static AnswerCallResult AnswerCallResult(CallConnection callConnection = default, CallConnectionProperties callProperties = default) + public static AnswerCallResult AnswerCallResult(CallConnection callConnection = default, CallConnectionProperties callConnectionProperties = default) { - return new AnswerCallResult(callConnection, callProperties); + return new AnswerCallResult(callConnection, callConnectionProperties); } /// Initializes a new instance of CallConnectionProperties. @@ -56,11 +56,11 @@ public static CallParticipant CallParticipant(CommunicationIdentifier identifier /// Initializes a new instance of CallParticipant. /// The instance of callConnection. - /// The properties of the call. + /// The properties of the call. /// A new instance for mocking. - public static CreateCallResult CreateCallResult(CallConnection callConnection = default, CallConnectionProperties callProperties = default) + public static CreateCallResult CreateCallResult(CallConnection callConnection = default, CallConnectionProperties callConnectionProperties = default) { - return new CreateCallResult(callConnection, callProperties); + return new CreateCallResult(callConnection, callConnectionProperties); } /// diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallResult.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallResult.cs index b29d1dab5e2e3..8139ac7653f9d 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallResult.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallResult.cs @@ -6,16 +6,16 @@ namespace Azure.Communication.CallingServer /// The result from creating a call. public class CreateCallResult { - internal CreateCallResult(CallConnection callConnection, CallConnectionProperties callProperties) + internal CreateCallResult(CallConnection callConnection, CallConnectionProperties callConnectionProperties) { CallConnection = callConnection; - CallProperties = callProperties; + CallConnectionProperties = callConnectionProperties; } /// CallConnection instance. public CallConnection CallConnection { get; } /// Properties of the call. - public CallConnectionProperties CallProperties { get; } + public CallConnectionProperties CallConnectionProperties { get; } } } From 503e50dde23ce1ae3455e503760717498524c13b Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 15 Aug 2022 12:28:58 -0700 Subject: [PATCH 08/15] Update AutoRest C# version (#30472) * Update AutoRest C# version to 3.0.0-beta.20220813.1 * Remove duplicates * Update AutoRest C# version to 3.0.0-beta.20220815.1 * Fix merge issue Co-authored-by: Alexander Sher --- eng/Packages.Data.props | 2 +- .../Generated/ApiManagementServiceResource.cs | 396 +- .../Generated/ApiManagementTagCollection.cs | 12 +- .../ApiManagementServiceRestOperations.cs | 12 +- .../RestOperations/ApiRestOperations.cs | 6 +- .../RestOperations/GatewayRestOperations.cs | 6 +- .../RestOperations/GroupRestOperations.cs | 6 +- .../IdentityProviderRestOperations.cs | 6 +- .../NamedValueRestOperations.cs | 6 +- .../SubscriptionRestOperations.cs | 6 +- .../TenantAccessRestOperations.cs | 6 +- .../RestOperations/UserRestOperations.cs | 6 +- .../VirtualMachinesRestOperations.cs | 18 +- .../src/Generated/RoleAssignmentResource.cs | 36 +- .../RoleAssignmentScheduleInstanceResource.cs | 12 +- .../RoleAssignmentScheduleRequestResource.cs | 48 +- .../RoleAssignmentScheduleResource.cs | 12 +- .../src/Generated/RoleDefinitionResource.cs | 36 +- ...RoleEligibilityScheduleInstanceResource.cs | 12 +- .../RoleEligibilityScheduleRequestResource.cs | 48 +- .../RoleEligibilityScheduleResource.cs | 12 +- .../RoleManagementPolicyAssignmentResource.cs | 24 +- .../Generated/RoleManagementPolicyResource.cs | 24 +- .../ApplicationPackageRestOperations.cs | 6 +- .../BatchAccountRestOperations.cs | 6 +- .../Authoring/ConversationAuthoringClient.cs | 4 +- .../src/ConversationAnalysisClient.cs | 4 +- .../Generated/ConversationAnalysisClient.cs | 2 - .../Generated/ConversationAuthoringClient.cs | 2 - .../src/autorest.md | 11 +- .../CommunicationServicesRestOperations.cs | 12 +- ...VirtualMachineScaleSetVMsRestOperations.cs | 12 +- .../VirtualMachineScaleSetsRestOperations.cs | 6 +- .../VirtualMachinesRestOperations.cs | 18 +- .../RegistriesRestOperations.cs | 12 +- .../RestOperations/WebhooksRestOperations.cs | 6 +- .../CassandraResourcesRestOperations.cs | 12 +- .../DatabaseAccountsRestOperations.cs | 18 +- .../GremlinResourcesRestOperations.cs | 12 +- .../MongoDBResourcesRestOperations.cs | 18 +- .../SqlResourcesRestOperations.cs | 18 +- .../TableResourcesRestOperations.cs | 6 +- .../RestOperations/FactoriesRestOperations.cs | 6 +- .../RestOperations/TriggersRestOperations.cs | 6 +- .../EdgeOrderManagementRestOperations.cs | 36 +- .../DisasterRecoveryConfigsRestOperations.cs | 6 +- .../RestOperations/ClustersRestOperations.cs | 6 +- .../src/Generated/EndpointResource.cs | 48 +- .../RestOperations/VaultsRestOperations.cs | 12 +- .../RestOperations/WorkflowsRestOperations.cs | 24 +- .../SystemAssignedIdentityResource.cs | 48 +- .../RestOperations/ServersRestOperations.cs | 6 +- .../ConnectionMonitorsRestOperations.cs | 6 +- .../NetworkWatchersRestOperations.cs | 6 +- .../P2SVpnGatewaysRestOperations.cs | 22 +- .../VirtualNetworkGatewaysRestOperations.cs | 34 +- .../NamespacesRestOperations.cs | 12 +- .../NotificationHubsRestOperations.cs | 20 +- .../RestOperations/ServersRestOperations.cs | 6 +- .../RestOperations/RedisRestOperations.cs | 6 +- .../ReservationRestOperations.cs | 6 +- .../ManagementGroupsRestOperations.cs | 6 +- .../Generated/ManagementLockResource.cs | 36 +- .../Generated/PolicyAssignmentResource.cs | 36 +- .../src/Resources/Generated/TagResource.cs | 48 +- .../src/Generated/ArmDeploymentResource.cs | 168 +- .../DeploymentsRestOperations.cs | 8 +- .../ManagedServerDnsAliasesRestOperations.cs | 6 +- .../StorageAccountsRestOperations.cs | 6 +- .../RestOperations/DiskPoolsRestOperations.cs | 6 +- .../IscsiTargetsRestOperations.cs | 6 +- .../SubscriptionsRestOperations.cs | 6 +- .../src/Generated/RoleAssignmentsClient.cs | 24 +- .../src/Generated/RoleDefinitionsClient.cs | 24 +- .../RestOperations/ProfilesRestOperations.cs | 12 +- .../RestOperations/WebPubSubRestOperations.cs | 12 +- ...pServiceCertificateOrdersRestOperations.cs | 6 +- .../RestOperations/DomainsRestOperations.cs | 24 +- .../StaticSitesRestOperations.cs | 72 +- .../RestOperations/WebAppsRestOperations.cs | 4194 ++++++++--------- .../WebSiteManagementRestOperations.cs | 6 +- 81 files changed, 2980 insertions(+), 2979 deletions(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index d719db358cd7b..ea77215bb5970 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -160,7 +160,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/ApiManagementServiceResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/ApiManagementServiceResource.cs index 52610fc8fc913..3177f900b0421 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/ApiManagementServiceResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/ApiManagementServiceResource.cs @@ -2018,8 +2018,8 @@ public virtual AsyncPageable GetPortalSettingsAsync( { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _apiManagementServicePortalSettingsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetPortalSettings"); - scope0.Start(); + using var scope = _apiManagementServicePortalSettingsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetPortalSettings"); + scope.Start(); try { var response = await _apiManagementServicePortalSettingsRestClient.ListByServiceAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2027,7 +2027,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2045,8 +2045,8 @@ public virtual Pageable GetPortalSettings(Cancellati { Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _apiManagementServicePortalSettingsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetPortalSettings"); - scope0.Start(); + using var scope = _apiManagementServicePortalSettingsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetPortalSettings"); + scope.Start(); try { var response = _apiManagementServicePortalSettingsRestClient.ListByService(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken: cancellationToken); @@ -2054,7 +2054,7 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2076,8 +2076,8 @@ public virtual AsyncPageable GetProductsByTagsAsync( { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _apiManagementProductProductClientDiagnostics.CreateScope("ApiManagementServiceResource.GetProductsByTags"); - scope0.Start(); + using var scope = _apiManagementProductProductClientDiagnostics.CreateScope("ApiManagementServiceResource.GetProductsByTags"); + scope.Start(); try { var response = await _apiManagementProductProductRestClient.ListByTagsAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, includeNotTaggedProducts, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2085,14 +2085,14 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _apiManagementProductProductClientDiagnostics.CreateScope("ApiManagementServiceResource.GetProductsByTags"); - scope0.Start(); + using var scope = _apiManagementProductProductClientDiagnostics.CreateScope("ApiManagementServiceResource.GetProductsByTags"); + scope.Start(); try { var response = await _apiManagementProductProductRestClient.ListByTagsNextPageAsync(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, includeNotTaggedProducts, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2100,7 +2100,7 @@ async Task> NextPageFunc(string nextLink, int? } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2122,8 +2122,8 @@ public virtual Pageable GetProductsByTags(string fil { Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _apiManagementProductProductClientDiagnostics.CreateScope("ApiManagementServiceResource.GetProductsByTags"); - scope0.Start(); + using var scope = _apiManagementProductProductClientDiagnostics.CreateScope("ApiManagementServiceResource.GetProductsByTags"); + scope.Start(); try { var response = _apiManagementProductProductRestClient.ListByTags(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, includeNotTaggedProducts, cancellationToken: cancellationToken); @@ -2131,14 +2131,14 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _apiManagementProductProductClientDiagnostics.CreateScope("ApiManagementServiceResource.GetProductsByTags"); - scope0.Start(); + using var scope = _apiManagementProductProductClientDiagnostics.CreateScope("ApiManagementServiceResource.GetProductsByTags"); + scope.Start(); try { var response = _apiManagementProductProductRestClient.ListByTagsNextPage(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, includeNotTaggedProducts, cancellationToken: cancellationToken); @@ -2146,7 +2146,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2169,8 +2169,8 @@ public virtual AsyncPageable GetQuotaByCounterKeysAsync(st async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _quotaByCounterKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.GetQuotaByCounterKeys"); - scope0.Start(); + using var scope = _quotaByCounterKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.GetQuotaByCounterKeys"); + scope.Start(); try { var response = await _quotaByCounterKeysRestClient.ListByServiceAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, quotaCounterKey, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2178,7 +2178,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2201,8 +2201,8 @@ public virtual Pageable GetQuotaByCounterKeys(string quota Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _quotaByCounterKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.GetQuotaByCounterKeys"); - scope0.Start(); + using var scope = _quotaByCounterKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.GetQuotaByCounterKeys"); + scope.Start(); try { var response = _quotaByCounterKeysRestClient.ListByService(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, quotaCounterKey, cancellationToken: cancellationToken); @@ -2210,7 +2210,7 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2235,8 +2235,8 @@ public virtual AsyncPageable UpdateQuotaByCounterKeysAsync async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _quotaByCounterKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.UpdateQuotaByCounterKeys"); - scope0.Start(); + using var scope = _quotaByCounterKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.UpdateQuotaByCounterKeys"); + scope.Start(); try { var response = await _quotaByCounterKeysRestClient.UpdateAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, quotaCounterKey, content, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2244,7 +2244,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2269,8 +2269,8 @@ public virtual Pageable UpdateQuotaByCounterKeys(string qu Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _quotaByCounterKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.UpdateQuotaByCounterKeys"); - scope0.Start(); + using var scope = _quotaByCounterKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.UpdateQuotaByCounterKeys"); + scope.Start(); try { var response = _quotaByCounterKeysRestClient.Update(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, quotaCounterKey, content, cancellationToken: cancellationToken); @@ -2278,7 +2278,7 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2300,8 +2300,8 @@ public virtual async Task> GetQuotaByPeriodKeyAsy Argument.AssertNotNullOrEmpty(quotaCounterKey, nameof(quotaCounterKey)); Argument.AssertNotNullOrEmpty(quotaPeriodKey, nameof(quotaPeriodKey)); - using var scope0 = _quotaByPeriodKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.GetQuotaByPeriodKey"); - scope0.Start(); + using var scope = _quotaByPeriodKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.GetQuotaByPeriodKey"); + scope.Start(); try { var response = await _quotaByPeriodKeysRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, quotaCounterKey, quotaPeriodKey, cancellationToken).ConfigureAwait(false); @@ -2309,7 +2309,7 @@ public virtual async Task> GetQuotaByPeriodKeyAsy } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2329,8 +2329,8 @@ public virtual Response GetQuotaByPeriodKey(string quotaCo Argument.AssertNotNullOrEmpty(quotaCounterKey, nameof(quotaCounterKey)); Argument.AssertNotNullOrEmpty(quotaPeriodKey, nameof(quotaPeriodKey)); - using var scope0 = _quotaByPeriodKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.GetQuotaByPeriodKey"); - scope0.Start(); + using var scope = _quotaByPeriodKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.GetQuotaByPeriodKey"); + scope.Start(); try { var response = _quotaByPeriodKeysRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, quotaCounterKey, quotaPeriodKey, cancellationToken); @@ -2338,7 +2338,7 @@ public virtual Response GetQuotaByPeriodKey(string quotaCo } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2360,8 +2360,8 @@ public virtual async Task> UpdateQuotaByPeriodKey Argument.AssertNotNullOrEmpty(quotaPeriodKey, nameof(quotaPeriodKey)); Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _quotaByPeriodKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.UpdateQuotaByPeriodKey"); - scope0.Start(); + using var scope = _quotaByPeriodKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.UpdateQuotaByPeriodKey"); + scope.Start(); try { var response = await _quotaByPeriodKeysRestClient.UpdateAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, quotaCounterKey, quotaPeriodKey, content, cancellationToken).ConfigureAwait(false); @@ -2369,7 +2369,7 @@ public virtual async Task> UpdateQuotaByPeriodKey } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2391,8 +2391,8 @@ public virtual Response UpdateQuotaByPeriodKey(string quot Argument.AssertNotNullOrEmpty(quotaPeriodKey, nameof(quotaPeriodKey)); Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _quotaByPeriodKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.UpdateQuotaByPeriodKey"); - scope0.Start(); + using var scope = _quotaByPeriodKeysClientDiagnostics.CreateScope("ApiManagementServiceResource.UpdateQuotaByPeriodKey"); + scope.Start(); try { var response = _quotaByPeriodKeysRestClient.Update(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, quotaCounterKey, quotaPeriodKey, content, cancellationToken); @@ -2400,7 +2400,7 @@ public virtual Response UpdateQuotaByPeriodKey(string quot } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2416,8 +2416,8 @@ public virtual AsyncPageable GetRegionsAsync(CancellationToken c { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _regionClientDiagnostics.CreateScope("ApiManagementServiceResource.GetRegions"); - scope0.Start(); + using var scope = _regionClientDiagnostics.CreateScope("ApiManagementServiceResource.GetRegions"); + scope.Start(); try { var response = await _regionRestClient.ListByServiceAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2425,14 +2425,14 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _regionClientDiagnostics.CreateScope("ApiManagementServiceResource.GetRegions"); - scope0.Start(); + using var scope = _regionClientDiagnostics.CreateScope("ApiManagementServiceResource.GetRegions"); + scope.Start(); try { var response = await _regionRestClient.ListByServiceNextPageAsync(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2440,7 +2440,7 @@ async Task> NextPageFunc(string nextLink, int? pageSizeHint } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2458,8 +2458,8 @@ public virtual Pageable GetRegions(CancellationToken cancellatio { Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _regionClientDiagnostics.CreateScope("ApiManagementServiceResource.GetRegions"); - scope0.Start(); + using var scope = _regionClientDiagnostics.CreateScope("ApiManagementServiceResource.GetRegions"); + scope.Start(); try { var response = _regionRestClient.ListByService(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken: cancellationToken); @@ -2467,14 +2467,14 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _regionClientDiagnostics.CreateScope("ApiManagementServiceResource.GetRegions"); - scope0.Start(); + using var scope = _regionClientDiagnostics.CreateScope("ApiManagementServiceResource.GetRegions"); + scope.Start(); try { var response = _regionRestClient.ListByServiceNextPage(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken: cancellationToken); @@ -2482,7 +2482,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2507,8 +2507,8 @@ public virtual AsyncPageable GetReportsByApiAsync(string f async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByApi"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByApi"); + scope.Start(); try { var response = await _reportsRestClient.ListByApiAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2516,14 +2516,14 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByApi"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByApi"); + scope.Start(); try { var response = await _reportsRestClient.ListByApiNextPageAsync(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2531,7 +2531,7 @@ async Task> NextPageFunc(string nextLink, int? pageSi } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2556,8 +2556,8 @@ public virtual Pageable GetReportsByApi(string filter, int Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByApi"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByApi"); + scope.Start(); try { var response = _reportsRestClient.ListByApi(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken); @@ -2565,14 +2565,14 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByApi"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByApi"); + scope.Start(); try { var response = _reportsRestClient.ListByApiNextPage(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken); @@ -2580,7 +2580,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2605,8 +2605,8 @@ public virtual AsyncPageable GetReportsByUserAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByUser"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByUser"); + scope.Start(); try { var response = await _reportsRestClient.ListByUserAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2614,14 +2614,14 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByUser"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByUser"); + scope.Start(); try { var response = await _reportsRestClient.ListByUserNextPageAsync(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2629,7 +2629,7 @@ async Task> NextPageFunc(string nextLink, int? pageSi } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2654,8 +2654,8 @@ public virtual Pageable GetReportsByUser(string filter, in Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByUser"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByUser"); + scope.Start(); try { var response = _reportsRestClient.ListByUser(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken); @@ -2663,14 +2663,14 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByUser"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByUser"); + scope.Start(); try { var response = _reportsRestClient.ListByUserNextPage(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken); @@ -2678,7 +2678,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2703,8 +2703,8 @@ public virtual AsyncPageable GetReportsByOperationAsync(st async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByOperation"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByOperation"); + scope.Start(); try { var response = await _reportsRestClient.ListByOperationAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2712,14 +2712,14 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByOperation"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByOperation"); + scope.Start(); try { var response = await _reportsRestClient.ListByOperationNextPageAsync(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2727,7 +2727,7 @@ async Task> NextPageFunc(string nextLink, int? pageSi } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2752,8 +2752,8 @@ public virtual Pageable GetReportsByOperation(string filte Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByOperation"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByOperation"); + scope.Start(); try { var response = _reportsRestClient.ListByOperation(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken); @@ -2761,14 +2761,14 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByOperation"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByOperation"); + scope.Start(); try { var response = _reportsRestClient.ListByOperationNextPage(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken); @@ -2776,7 +2776,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2801,8 +2801,8 @@ public virtual AsyncPageable GetReportsByProductAsync(stri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByProduct"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByProduct"); + scope.Start(); try { var response = await _reportsRestClient.ListByProductAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2810,14 +2810,14 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByProduct"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByProduct"); + scope.Start(); try { var response = await _reportsRestClient.ListByProductNextPageAsync(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2825,7 +2825,7 @@ async Task> NextPageFunc(string nextLink, int? pageSi } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2850,8 +2850,8 @@ public virtual Pageable GetReportsByProduct(string filter, Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByProduct"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByProduct"); + scope.Start(); try { var response = _reportsRestClient.ListByProduct(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken); @@ -2859,14 +2859,14 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByProduct"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByProduct"); + scope.Start(); try { var response = _reportsRestClient.ListByProductNextPage(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken); @@ -2874,7 +2874,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2898,8 +2898,8 @@ public virtual AsyncPageable GetReportsByGeoAsync(string f async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByGeo"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByGeo"); + scope.Start(); try { var response = await _reportsRestClient.ListByGeoAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2907,14 +2907,14 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByGeo"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByGeo"); + scope.Start(); try { var response = await _reportsRestClient.ListByGeoNextPageAsync(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -2922,7 +2922,7 @@ async Task> NextPageFunc(string nextLink, int? pageSi } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2946,8 +2946,8 @@ public virtual Pageable GetReportsByGeo(string filter, int Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByGeo"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByGeo"); + scope.Start(); try { var response = _reportsRestClient.ListByGeo(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, cancellationToken: cancellationToken); @@ -2955,14 +2955,14 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByGeo"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByGeo"); + scope.Start(); try { var response = _reportsRestClient.ListByGeoNextPage(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, cancellationToken: cancellationToken); @@ -2970,7 +2970,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -2995,8 +2995,8 @@ public virtual AsyncPageable GetReportsBySubscriptionAsync async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsBySubscription"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsBySubscription"); + scope.Start(); try { var response = await _reportsRestClient.ListBySubscriptionAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -3004,14 +3004,14 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsBySubscription"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsBySubscription"); + scope.Start(); try { var response = await _reportsRestClient.ListBySubscriptionNextPageAsync(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -3019,7 +3019,7 @@ async Task> NextPageFunc(string nextLink, int? pageSi } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3044,8 +3044,8 @@ public virtual Pageable GetReportsBySubscription(string fi Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsBySubscription"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsBySubscription"); + scope.Start(); try { var response = _reportsRestClient.ListBySubscription(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken); @@ -3053,14 +3053,14 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsBySubscription"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsBySubscription"); + scope.Start(); try { var response = _reportsRestClient.ListBySubscriptionNextPage(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, orderBy, cancellationToken: cancellationToken); @@ -3068,7 +3068,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3094,8 +3094,8 @@ public virtual AsyncPageable GetReportsByTimeAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByTime"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByTime"); + scope.Start(); try { var response = await _reportsRestClient.ListByTimeAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, interval, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -3103,14 +3103,14 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByTime"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByTime"); + scope.Start(); try { var response = await _reportsRestClient.ListByTimeNextPageAsync(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, interval, top, skip, orderBy, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -3118,7 +3118,7 @@ async Task> NextPageFunc(string nextLink, int? pageSi } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3144,8 +3144,8 @@ public virtual Pageable GetReportsByTime(string filter, Ti Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByTime"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByTime"); + scope.Start(); try { var response = _reportsRestClient.ListByTime(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, interval, top, skip, orderBy, cancellationToken: cancellationToken); @@ -3153,14 +3153,14 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByTime"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByTime"); + scope.Start(); try { var response = _reportsRestClient.ListByTimeNextPage(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, interval, top, skip, orderBy, cancellationToken: cancellationToken); @@ -3168,7 +3168,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3192,8 +3192,8 @@ public virtual AsyncPageable GetReportsByRequestAsy async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByRequest"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByRequest"); + scope.Start(); try { var response = await _reportsRestClient.ListByRequestAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -3201,7 +3201,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3225,8 +3225,8 @@ public virtual Pageable GetReportsByRequest(string Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByRequest"); - scope0.Start(); + using var scope = _reportsClientDiagnostics.CreateScope("ApiManagementServiceResource.GetReportsByRequest"); + scope.Start(); try { var response = _reportsRestClient.ListByRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, cancellationToken: cancellationToken); @@ -3234,7 +3234,7 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3255,8 +3255,8 @@ public virtual AsyncPageable GetTagResourcesAsync(st { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _tagResourceClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTagResources"); - scope0.Start(); + using var scope = _tagResourceClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTagResources"); + scope.Start(); try { var response = await _tagResourceRestClient.ListByServiceAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -3264,14 +3264,14 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _tagResourceClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTagResources"); - scope0.Start(); + using var scope = _tagResourceClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTagResources"); + scope.Start(); try { var response = await _tagResourceRestClient.ListByServiceNextPageAsync(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -3279,7 +3279,7 @@ async Task> NextPageFunc(string nextLink, int? } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3300,8 +3300,8 @@ public virtual Pageable GetTagResources(string filte { Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _tagResourceClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTagResources"); - scope0.Start(); + using var scope = _tagResourceClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTagResources"); + scope.Start(); try { var response = _tagResourceRestClient.ListByService(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, cancellationToken: cancellationToken); @@ -3309,14 +3309,14 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _tagResourceClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTagResources"); - scope0.Start(); + using var scope = _tagResourceClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTagResources"); + scope.Start(); try { var response = _tagResourceRestClient.ListByServiceNextPage(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, top, skip, cancellationToken: cancellationToken); @@ -3324,7 +3324,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3345,8 +3345,8 @@ public virtual async Task> DeployTe { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.DeployTenantConfiguration"); - scope0.Start(); + using var scope = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.DeployTenantConfiguration"); + scope.Start(); try { var response = await _tenantConfigurationRestClient.DeployAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, configurationName, content, cancellationToken).ConfigureAwait(false); @@ -3357,7 +3357,7 @@ public virtual async Task> DeployTe } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3376,8 +3376,8 @@ public virtual ArmOperation DeployTenantConfigur { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.DeployTenantConfiguration"); - scope0.Start(); + using var scope = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.DeployTenantConfiguration"); + scope.Start(); try { var response = _tenantConfigurationRestClient.Deploy(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, configurationName, content, cancellationToken); @@ -3388,7 +3388,7 @@ public virtual ArmOperation DeployTenantConfigur } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3407,8 +3407,8 @@ public virtual async Task> SaveTena { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.SaveTenantConfiguration"); - scope0.Start(); + using var scope = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.SaveTenantConfiguration"); + scope.Start(); try { var response = await _tenantConfigurationRestClient.SaveAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, configurationName, content, cancellationToken).ConfigureAwait(false); @@ -3419,7 +3419,7 @@ public virtual async Task> SaveTena } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3438,8 +3438,8 @@ public virtual ArmOperation SaveTenantConfigurat { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.SaveTenantConfiguration"); - scope0.Start(); + using var scope = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.SaveTenantConfiguration"); + scope.Start(); try { var response = _tenantConfigurationRestClient.Save(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, configurationName, content, cancellationToken); @@ -3450,7 +3450,7 @@ public virtual ArmOperation SaveTenantConfigurat } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3469,8 +3469,8 @@ public virtual async Task> Validate { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.ValidateTenantConfiguration"); - scope0.Start(); + using var scope = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.ValidateTenantConfiguration"); + scope.Start(); try { var response = await _tenantConfigurationRestClient.ValidateAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, configurationName, content, cancellationToken).ConfigureAwait(false); @@ -3481,7 +3481,7 @@ public virtual async Task> Validate } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3500,8 +3500,8 @@ public virtual ArmOperation ValidateTenantConfig { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.ValidateTenantConfiguration"); - scope0.Start(); + using var scope = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.ValidateTenantConfiguration"); + scope.Start(); try { var response = _tenantConfigurationRestClient.Validate(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, configurationName, content, cancellationToken); @@ -3512,7 +3512,7 @@ public virtual ArmOperation ValidateTenantConfig } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3526,8 +3526,8 @@ public virtual ArmOperation ValidateTenantConfig /// The cancellation token to use. public virtual async Task> GetTenantConfigurationSyncStateAsync(ConfigurationName configurationName, CancellationToken cancellationToken = default) { - using var scope0 = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTenantConfigurationSyncState"); - scope0.Start(); + using var scope = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTenantConfigurationSyncState"); + scope.Start(); try { var response = await _tenantConfigurationRestClient.GetSyncStateAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, configurationName, cancellationToken).ConfigureAwait(false); @@ -3535,7 +3535,7 @@ public virtual async Task> GetTen } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3549,8 +3549,8 @@ public virtual async Task> GetTen /// The cancellation token to use. public virtual Response GetTenantConfigurationSyncState(ConfigurationName configurationName, CancellationToken cancellationToken = default) { - using var scope0 = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTenantConfigurationSyncState"); - scope0.Start(); + using var scope = _tenantConfigurationClientDiagnostics.CreateScope("ApiManagementServiceResource.GetTenantConfigurationSyncState"); + scope.Start(); try { var response = _tenantConfigurationRestClient.GetSyncState(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, configurationName, cancellationToken); @@ -3558,7 +3558,7 @@ public virtual Response GetTenantConfigura } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3577,8 +3577,8 @@ public virtual async Task> AddTagAsync(st Argument.AssertNotNull(key, nameof(key)); Argument.AssertNotNull(value, nameof(value)); - using var scope0 = _apiManagementServiceClientDiagnostics.CreateScope("ApiManagementServiceResource.AddTag"); - scope0.Start(); + using var scope = _apiManagementServiceClientDiagnostics.CreateScope("ApiManagementServiceResource.AddTag"); + scope.Start(); try { var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); @@ -3589,7 +3589,7 @@ public virtual async Task> AddTagAsync(st } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3608,8 +3608,8 @@ public virtual Response AddTag(string key, string Argument.AssertNotNull(key, nameof(key)); Argument.AssertNotNull(value, nameof(value)); - using var scope0 = _apiManagementServiceClientDiagnostics.CreateScope("ApiManagementServiceResource.AddTag"); - scope0.Start(); + using var scope = _apiManagementServiceClientDiagnostics.CreateScope("ApiManagementServiceResource.AddTag"); + scope.Start(); try { var originalTags = GetTagResource().Get(cancellationToken); @@ -3620,7 +3620,7 @@ public virtual Response AddTag(string key, string } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3637,8 +3637,8 @@ public virtual async Task> SetTagsAsync(I { Argument.AssertNotNull(tags, nameof(tags)); - using var scope0 = _apiManagementServiceClientDiagnostics.CreateScope("ApiManagementServiceResource.SetTags"); - scope0.Start(); + using var scope = _apiManagementServiceClientDiagnostics.CreateScope("ApiManagementServiceResource.SetTags"); + scope.Start(); try { await GetTagResource().DeleteAsync(WaitUntil.Completed, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -3650,7 +3650,7 @@ public virtual async Task> SetTagsAsync(I } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3667,8 +3667,8 @@ public virtual Response SetTags(IDictionary SetTags(IDictionary> RemoveTagAsync { Argument.AssertNotNull(key, nameof(key)); - using var scope0 = _apiManagementServiceClientDiagnostics.CreateScope("ApiManagementServiceResource.RemoveTag"); - scope0.Start(); + using var scope = _apiManagementServiceClientDiagnostics.CreateScope("ApiManagementServiceResource.RemoveTag"); + scope.Start(); try { var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); @@ -3709,7 +3709,7 @@ public virtual async Task> RemoveTagAsync } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -3726,8 +3726,8 @@ public virtual Response RemoveTag(string key, Canc { Argument.AssertNotNull(key, nameof(key)); - using var scope0 = _apiManagementServiceClientDiagnostics.CreateScope("ApiManagementServiceResource.RemoveTag"); - scope0.Start(); + using var scope = _apiManagementServiceClientDiagnostics.CreateScope("ApiManagementServiceResource.RemoveTag"); + scope.Start(); try { var originalTags = GetTagResource().Get(cancellationToken); @@ -3738,7 +3738,7 @@ public virtual Response RemoveTag(string key, Canc } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/ApiManagementTagCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/ApiManagementTagCollection.cs index 8c4911a6cb76b..bbb1740aedced 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/ApiManagementTagCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/ApiManagementTagCollection.cs @@ -285,8 +285,8 @@ public virtual async Task> ExistsAsync(string tagId, Cancellation { Argument.AssertNotNullOrEmpty(tagId, nameof(tagId)); - using var scope0 = _apiManagementTagTagClientDiagnostics.CreateScope("ApiManagementTagCollection.Exists"); - scope0.Start(); + using var scope = _apiManagementTagTagClientDiagnostics.CreateScope("ApiManagementTagCollection.Exists"); + scope.Start(); try { var response = await _apiManagementTagTagRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, tagId, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -294,7 +294,7 @@ public virtual async Task> ExistsAsync(string tagId, Cancellation } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -312,8 +312,8 @@ public virtual Response Exists(string tagId, CancellationToken cancellatio { Argument.AssertNotNullOrEmpty(tagId, nameof(tagId)); - using var scope0 = _apiManagementTagTagClientDiagnostics.CreateScope("ApiManagementTagCollection.Exists"); - scope0.Start(); + using var scope = _apiManagementTagTagClientDiagnostics.CreateScope("ApiManagementTagCollection.Exists"); + scope.Start(); try { var response = _apiManagementTagTagRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, tagId, cancellationToken: cancellationToken); @@ -321,7 +321,7 @@ public virtual Response Exists(string tagId, CancellationToken cancellatio } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/ApiManagementServiceRestOperations.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/ApiManagementServiceRestOperations.cs index e0fa5b833b6cb..c54b5fe7924dd 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/ApiManagementServiceRestOperations.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/ApiManagementServiceRestOperations.cs @@ -212,9 +212,9 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -292,9 +292,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/ApiRestOperations.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/ApiRestOperations.cs index b13244cc2c44c..bd057a62d2ff0 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/ApiRestOperations.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/ApiRestOperations.cs @@ -436,9 +436,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Headers.Add("If-Match", ifMatch); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/GatewayRestOperations.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/GatewayRestOperations.cs index 355d6f5699388..3f60c9df35b2c 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/GatewayRestOperations.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/GatewayRestOperations.cs @@ -778,9 +778,9 @@ internal HttpMessage CreateGenerateTokenRequest(string subscriptionId, string re request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(gatewayTokenRequestContract); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(gatewayTokenRequestContract); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/GroupRestOperations.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/GroupRestOperations.cs index b5832ac79159c..5070050e4a766 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/GroupRestOperations.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/GroupRestOperations.cs @@ -432,9 +432,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Headers.Add("If-Match", ifMatch); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/IdentityProviderRestOperations.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/IdentityProviderRestOperations.cs index 302507c785638..7647ce8b6833f 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/IdentityProviderRestOperations.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/IdentityProviderRestOperations.cs @@ -408,9 +408,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Headers.Add("If-Match", ifMatch); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/NamedValueRestOperations.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/NamedValueRestOperations.cs index ed3eceab7459a..8bb68dfb129f6 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/NamedValueRestOperations.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/NamedValueRestOperations.cs @@ -430,9 +430,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Headers.Add("If-Match", ifMatch); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/SubscriptionRestOperations.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/SubscriptionRestOperations.cs index 2c06883adb3f3..a446545729878 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/SubscriptionRestOperations.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/SubscriptionRestOperations.cs @@ -460,9 +460,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Headers.Add("If-Match", ifMatch); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/TenantAccessRestOperations.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/TenantAccessRestOperations.cs index 801b692fb6cf4..c179c8744ea94 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/TenantAccessRestOperations.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/TenantAccessRestOperations.cs @@ -411,9 +411,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Headers.Add("If-Match", ifMatch); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/UserRestOperations.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/UserRestOperations.cs index ea37c3c712b0f..a4aebe9f8a5e0 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/UserRestOperations.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/RestOperations/UserRestOperations.cs @@ -444,9 +444,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Headers.Add("If-Match", ifMatch); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/RestOperations/VirtualMachinesRestOperations.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/RestOperations/VirtualMachinesRestOperations.cs index b38728e52fbb4..55758abf267f7 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/RestOperations/VirtualMachinesRestOperations.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/RestOperations/VirtualMachinesRestOperations.cs @@ -603,9 +603,9 @@ internal HttpMessage CreateCreateCheckpointRequest(string subscriptionId, string if (body != null) { request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(body); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(body); + request.Content = content; } _userAgent.Apply(message); return message; @@ -683,9 +683,9 @@ internal HttpMessage CreateDeleteCheckpointRequest(string subscriptionId, string if (body != null) { request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(body); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(body); + request.Content = content; } _userAgent.Apply(message); return message; @@ -763,9 +763,9 @@ internal HttpMessage CreateRestoreCheckpointRequest(string subscriptionId, strin if (body != null) { request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(body); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(body); + request.Content = content; } _userAgent.Apply(message); return message; diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentResource.cs index 80dd30be18c92..c3f748f02dc6e 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentResource.cs @@ -95,8 +95,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Get"); - scope0.Start(); + using var scope = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Get"); + scope.Start(); try { var response = await _roleAssignmentRestClient.GetAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -106,7 +106,7 @@ public virtual async Task> GetAsync(Cancellatio } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -119,8 +119,8 @@ public virtual async Task> GetAsync(Cancellatio /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Get"); - scope0.Start(); + using var scope = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Get"); + scope.Start(); try { var response = _roleAssignmentRestClient.Get(Id.Parent, Id.Name, cancellationToken); @@ -130,7 +130,7 @@ public virtual Response Get(CancellationToken cancellati } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -144,8 +144,8 @@ public virtual Response Get(CancellationToken cancellati /// The cancellation token to use. public virtual async Task> DeleteAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Delete"); - scope0.Start(); + using var scope = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Delete"); + scope.Start(); try { var response = await _roleAssignmentRestClient.DeleteAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -156,7 +156,7 @@ public virtual async Task> DeleteAsync(Wait } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -170,8 +170,8 @@ public virtual async Task> DeleteAsync(Wait /// The cancellation token to use. public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Delete"); - scope0.Start(); + using var scope = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Delete"); + scope.Start(); try { var response = _roleAssignmentRestClient.Delete(Id.Parent, Id.Name, cancellationToken); @@ -182,7 +182,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -200,8 +200,8 @@ public virtual async Task> UpdateAsync(Wait { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Update"); - scope0.Start(); + using var scope = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Update"); + scope.Start(); try { var response = await _roleAssignmentRestClient.CreateAsync(Id.Parent, Id.Name, content, cancellationToken).ConfigureAwait(false); @@ -212,7 +212,7 @@ public virtual async Task> UpdateAsync(Wait } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -230,8 +230,8 @@ public virtual ArmOperation Update(WaitUntil waitUntil, { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Update"); - scope0.Start(); + using var scope = _roleAssignmentClientDiagnostics.CreateScope("RoleAssignmentResource.Update"); + scope.Start(); try { var response = _roleAssignmentRestClient.Create(Id.Parent, Id.Name, content, cancellationToken); @@ -242,7 +242,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleInstanceResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleInstanceResource.cs index 94cccafb14f5b..a6b3ce2bfdd31 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleInstanceResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleInstanceResource.cs @@ -94,8 +94,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentScheduleInstanceClientDiagnostics.CreateScope("RoleAssignmentScheduleInstanceResource.Get"); - scope0.Start(); + using var scope = _roleAssignmentScheduleInstanceClientDiagnostics.CreateScope("RoleAssignmentScheduleInstanceResource.Get"); + scope.Start(); try { var response = await _roleAssignmentScheduleInstanceRestClient.GetAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -105,7 +105,7 @@ public virtual async Task> GetA } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -118,8 +118,8 @@ public virtual async Task> GetA /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentScheduleInstanceClientDiagnostics.CreateScope("RoleAssignmentScheduleInstanceResource.Get"); - scope0.Start(); + using var scope = _roleAssignmentScheduleInstanceClientDiagnostics.CreateScope("RoleAssignmentScheduleInstanceResource.Get"); + scope.Start(); try { var response = _roleAssignmentScheduleInstanceRestClient.Get(Id.Parent, Id.Name, cancellationToken); @@ -129,7 +129,7 @@ public virtual Response Get(Cancellation } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleRequestResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleRequestResource.cs index 6054f053a3d14..8271634bac35b 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleRequestResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleRequestResource.cs @@ -94,8 +94,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Get"); - scope0.Start(); + using var scope = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Get"); + scope.Start(); try { var response = await _roleAssignmentScheduleRequestRestClient.GetAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -105,7 +105,7 @@ public virtual async Task> GetAs } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -118,8 +118,8 @@ public virtual async Task> GetAs /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Get"); - scope0.Start(); + using var scope = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Get"); + scope.Start(); try { var response = _roleAssignmentScheduleRequestRestClient.Get(Id.Parent, Id.Name, cancellationToken); @@ -129,7 +129,7 @@ public virtual Response Get(CancellationT } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -147,8 +147,8 @@ public virtual async Task> U { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Update"); - scope0.Start(); + using var scope = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Update"); + scope.Start(); try { var response = await _roleAssignmentScheduleRequestRestClient.CreateAsync(Id.Parent, Id.Name, data, cancellationToken).ConfigureAwait(false); @@ -159,7 +159,7 @@ public virtual async Task> U } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -177,8 +177,8 @@ public virtual ArmOperation Update(WaitUn { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Update"); - scope0.Start(); + using var scope = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Update"); + scope.Start(); try { var response = _roleAssignmentScheduleRequestRestClient.Create(Id.Parent, Id.Name, data, cancellationToken); @@ -189,7 +189,7 @@ public virtual ArmOperation Update(WaitUn } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -202,8 +202,8 @@ public virtual ArmOperation Update(WaitUn /// The cancellation token to use. public virtual async Task CancelAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Cancel"); - scope0.Start(); + using var scope = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Cancel"); + scope.Start(); try { var response = await _roleAssignmentScheduleRequestRestClient.CancelAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -211,7 +211,7 @@ public virtual async Task CancelAsync(CancellationToken cancellationTo } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -224,8 +224,8 @@ public virtual async Task CancelAsync(CancellationToken cancellationTo /// The cancellation token to use. public virtual Response Cancel(CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Cancel"); - scope0.Start(); + using var scope = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Cancel"); + scope.Start(); try { var response = _roleAssignmentScheduleRequestRestClient.Cancel(Id.Parent, Id.Name, cancellationToken); @@ -233,7 +233,7 @@ public virtual Response Cancel(CancellationToken cancellationToken = default) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -250,8 +250,8 @@ public virtual async Task> Valid { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Validate"); - scope0.Start(); + using var scope = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Validate"); + scope.Start(); try { var response = await _roleAssignmentScheduleRequestRestClient.ValidateAsync(Id.Parent, Id.Name, data, cancellationToken).ConfigureAwait(false); @@ -259,7 +259,7 @@ public virtual async Task> Valid } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -276,8 +276,8 @@ public virtual Response Validate(RoleAssi { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Validate"); - scope0.Start(); + using var scope = _roleAssignmentScheduleRequestClientDiagnostics.CreateScope("RoleAssignmentScheduleRequestResource.Validate"); + scope.Start(); try { var response = _roleAssignmentScheduleRequestRestClient.Validate(Id.Parent, Id.Name, data, cancellationToken); @@ -285,7 +285,7 @@ public virtual Response Validate(RoleAssi } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleResource.cs index 089a749f74468..0e69aa2e95459 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleAssignmentScheduleResource.cs @@ -94,8 +94,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentScheduleClientDiagnostics.CreateScope("RoleAssignmentScheduleResource.Get"); - scope0.Start(); + using var scope = _roleAssignmentScheduleClientDiagnostics.CreateScope("RoleAssignmentScheduleResource.Get"); + scope.Start(); try { var response = await _roleAssignmentScheduleRestClient.GetAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -105,7 +105,7 @@ public virtual async Task> GetAsync(Can } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -118,8 +118,8 @@ public virtual async Task> GetAsync(Can /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _roleAssignmentScheduleClientDiagnostics.CreateScope("RoleAssignmentScheduleResource.Get"); - scope0.Start(); + using var scope = _roleAssignmentScheduleClientDiagnostics.CreateScope("RoleAssignmentScheduleResource.Get"); + scope.Start(); try { var response = _roleAssignmentScheduleRestClient.Get(Id.Parent, Id.Name, cancellationToken); @@ -129,7 +129,7 @@ public virtual Response Get(CancellationToken ca } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleDefinitionResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleDefinitionResource.cs index d3fcd82ed3746..3fe8f28afd191 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleDefinitionResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleDefinitionResource.cs @@ -94,8 +94,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Get"); - scope0.Start(); + using var scope = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Get"); + scope.Start(); try { var response = await _roleDefinitionRestClient.GetAsync(Id.Parent, new ResourceIdentifier(Id.Name), cancellationToken).ConfigureAwait(false); @@ -105,7 +105,7 @@ public virtual async Task> GetAsync(Cancellatio } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -118,8 +118,8 @@ public virtual async Task> GetAsync(Cancellatio /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Get"); - scope0.Start(); + using var scope = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Get"); + scope.Start(); try { var response = _roleDefinitionRestClient.Get(Id.Parent, new ResourceIdentifier(Id.Name), cancellationToken); @@ -129,7 +129,7 @@ public virtual Response Get(CancellationToken cancellati } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -143,8 +143,8 @@ public virtual Response Get(CancellationToken cancellati /// The cancellation token to use. public virtual async Task> DeleteAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Delete"); - scope0.Start(); + using var scope = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Delete"); + scope.Start(); try { var response = await _roleDefinitionRestClient.DeleteAsync(Id.Parent, new ResourceIdentifier(Id.Name), cancellationToken).ConfigureAwait(false); @@ -155,7 +155,7 @@ public virtual async Task> DeleteAsync(Wait } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -169,8 +169,8 @@ public virtual async Task> DeleteAsync(Wait /// The cancellation token to use. public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Delete"); - scope0.Start(); + using var scope = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Delete"); + scope.Start(); try { var response = _roleDefinitionRestClient.Delete(Id.Parent, new ResourceIdentifier(Id.Name), cancellationToken); @@ -181,7 +181,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -199,8 +199,8 @@ public virtual async Task> UpdateAsync(Wait { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Update"); - scope0.Start(); + using var scope = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Update"); + scope.Start(); try { var response = await _roleDefinitionRestClient.CreateOrUpdateAsync(Id.Parent, new ResourceIdentifier(Id.Name), data, cancellationToken).ConfigureAwait(false); @@ -211,7 +211,7 @@ public virtual async Task> UpdateAsync(Wait } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -229,8 +229,8 @@ public virtual ArmOperation Update(WaitUntil waitUntil, { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Update"); - scope0.Start(); + using var scope = _roleDefinitionClientDiagnostics.CreateScope("RoleDefinitionResource.Update"); + scope.Start(); try { var response = _roleDefinitionRestClient.CreateOrUpdate(Id.Parent, new ResourceIdentifier(Id.Name), data, cancellationToken); @@ -241,7 +241,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleInstanceResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleInstanceResource.cs index 99017693d1f9a..bca39f245cf52 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleInstanceResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleInstanceResource.cs @@ -94,8 +94,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleEligibilityScheduleInstanceClientDiagnostics.CreateScope("RoleEligibilityScheduleInstanceResource.Get"); - scope0.Start(); + using var scope = _roleEligibilityScheduleInstanceClientDiagnostics.CreateScope("RoleEligibilityScheduleInstanceResource.Get"); + scope.Start(); try { var response = await _roleEligibilityScheduleInstanceRestClient.GetAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -105,7 +105,7 @@ public virtual async Task> Get } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -118,8 +118,8 @@ public virtual async Task> Get /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _roleEligibilityScheduleInstanceClientDiagnostics.CreateScope("RoleEligibilityScheduleInstanceResource.Get"); - scope0.Start(); + using var scope = _roleEligibilityScheduleInstanceClientDiagnostics.CreateScope("RoleEligibilityScheduleInstanceResource.Get"); + scope.Start(); try { var response = _roleEligibilityScheduleInstanceRestClient.Get(Id.Parent, Id.Name, cancellationToken); @@ -129,7 +129,7 @@ public virtual Response Get(Cancellatio } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleRequestResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleRequestResource.cs index 6cb788981aaf1..c9de0c3ad78a3 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleRequestResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleRequestResource.cs @@ -94,8 +94,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Get"); - scope0.Start(); + using var scope = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Get"); + scope.Start(); try { var response = await _roleEligibilityScheduleRequestRestClient.GetAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -105,7 +105,7 @@ public virtual async Task> GetA } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -118,8 +118,8 @@ public virtual async Task> GetA /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Get"); - scope0.Start(); + using var scope = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Get"); + scope.Start(); try { var response = _roleEligibilityScheduleRequestRestClient.Get(Id.Parent, Id.Name, cancellationToken); @@ -129,7 +129,7 @@ public virtual Response Get(Cancellation } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -147,8 +147,8 @@ public virtual async Task> { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Update"); - scope0.Start(); + using var scope = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Update"); + scope.Start(); try { var response = await _roleEligibilityScheduleRequestRestClient.CreateAsync(Id.Parent, Id.Name, data, cancellationToken).ConfigureAwait(false); @@ -159,7 +159,7 @@ public virtual async Task> } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -177,8 +177,8 @@ public virtual ArmOperation Update(WaitU { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Update"); - scope0.Start(); + using var scope = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Update"); + scope.Start(); try { var response = _roleEligibilityScheduleRequestRestClient.Create(Id.Parent, Id.Name, data, cancellationToken); @@ -189,7 +189,7 @@ public virtual ArmOperation Update(WaitU } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -202,8 +202,8 @@ public virtual ArmOperation Update(WaitU /// The cancellation token to use. public virtual async Task CancelAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Cancel"); - scope0.Start(); + using var scope = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Cancel"); + scope.Start(); try { var response = await _roleEligibilityScheduleRequestRestClient.CancelAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -211,7 +211,7 @@ public virtual async Task CancelAsync(CancellationToken cancellationTo } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -224,8 +224,8 @@ public virtual async Task CancelAsync(CancellationToken cancellationTo /// The cancellation token to use. public virtual Response Cancel(CancellationToken cancellationToken = default) { - using var scope0 = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Cancel"); - scope0.Start(); + using var scope = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Cancel"); + scope.Start(); try { var response = _roleEligibilityScheduleRequestRestClient.Cancel(Id.Parent, Id.Name, cancellationToken); @@ -233,7 +233,7 @@ public virtual Response Cancel(CancellationToken cancellationToken = default) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -250,8 +250,8 @@ public virtual async Task> Vali { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Validate"); - scope0.Start(); + using var scope = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Validate"); + scope.Start(); try { var response = await _roleEligibilityScheduleRequestRestClient.ValidateAsync(Id.Parent, Id.Name, data, cancellationToken).ConfigureAwait(false); @@ -259,7 +259,7 @@ public virtual async Task> Vali } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -276,8 +276,8 @@ public virtual Response Validate(RoleEli { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Validate"); - scope0.Start(); + using var scope = _roleEligibilityScheduleRequestClientDiagnostics.CreateScope("RoleEligibilityScheduleRequestResource.Validate"); + scope.Start(); try { var response = _roleEligibilityScheduleRequestRestClient.Validate(Id.Parent, Id.Name, data, cancellationToken); @@ -285,7 +285,7 @@ public virtual Response Validate(RoleEli } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleResource.cs index 3a7511c55d6d6..13fe9098f898b 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleEligibilityScheduleResource.cs @@ -94,8 +94,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleEligibilityScheduleClientDiagnostics.CreateScope("RoleEligibilityScheduleResource.Get"); - scope0.Start(); + using var scope = _roleEligibilityScheduleClientDiagnostics.CreateScope("RoleEligibilityScheduleResource.Get"); + scope.Start(); try { var response = await _roleEligibilityScheduleRestClient.GetAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -105,7 +105,7 @@ public virtual async Task> GetAsync(Ca } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -118,8 +118,8 @@ public virtual async Task> GetAsync(Ca /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _roleEligibilityScheduleClientDiagnostics.CreateScope("RoleEligibilityScheduleResource.Get"); - scope0.Start(); + using var scope = _roleEligibilityScheduleClientDiagnostics.CreateScope("RoleEligibilityScheduleResource.Get"); + scope.Start(); try { var response = _roleEligibilityScheduleRestClient.Get(Id.Parent, Id.Name, cancellationToken); @@ -129,7 +129,7 @@ public virtual Response Get(CancellationToken c } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleManagementPolicyAssignmentResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleManagementPolicyAssignmentResource.cs index 8c1d124fad468..9cce36e7d1472 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleManagementPolicyAssignmentResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleManagementPolicyAssignmentResource.cs @@ -94,8 +94,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleManagementPolicyAssignmentClientDiagnostics.CreateScope("RoleManagementPolicyAssignmentResource.Get"); - scope0.Start(); + using var scope = _roleManagementPolicyAssignmentClientDiagnostics.CreateScope("RoleManagementPolicyAssignmentResource.Get"); + scope.Start(); try { var response = await _roleManagementPolicyAssignmentRestClient.GetAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -105,7 +105,7 @@ public virtual async Task> GetA } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -118,8 +118,8 @@ public virtual async Task> GetA /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _roleManagementPolicyAssignmentClientDiagnostics.CreateScope("RoleManagementPolicyAssignmentResource.Get"); - scope0.Start(); + using var scope = _roleManagementPolicyAssignmentClientDiagnostics.CreateScope("RoleManagementPolicyAssignmentResource.Get"); + scope.Start(); try { var response = _roleManagementPolicyAssignmentRestClient.Get(Id.Parent, Id.Name, cancellationToken); @@ -129,7 +129,7 @@ public virtual Response Get(Cancellation } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -147,8 +147,8 @@ public virtual async Task> { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleManagementPolicyAssignmentClientDiagnostics.CreateScope("RoleManagementPolicyAssignmentResource.Update"); - scope0.Start(); + using var scope = _roleManagementPolicyAssignmentClientDiagnostics.CreateScope("RoleManagementPolicyAssignmentResource.Update"); + scope.Start(); try { var response = await _roleManagementPolicyAssignmentRestClient.CreateAsync(Id.Parent, Id.Name, data, cancellationToken).ConfigureAwait(false); @@ -159,7 +159,7 @@ public virtual async Task> } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -177,8 +177,8 @@ public virtual ArmOperation Update(WaitU { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleManagementPolicyAssignmentClientDiagnostics.CreateScope("RoleManagementPolicyAssignmentResource.Update"); - scope0.Start(); + using var scope = _roleManagementPolicyAssignmentClientDiagnostics.CreateScope("RoleManagementPolicyAssignmentResource.Update"); + scope.Start(); try { var response = _roleManagementPolicyAssignmentRestClient.Create(Id.Parent, Id.Name, data, cancellationToken); @@ -189,7 +189,7 @@ public virtual ArmOperation Update(WaitU } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleManagementPolicyResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleManagementPolicyResource.cs index 80f46abd1c530..5b64b13320b99 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleManagementPolicyResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/RoleManagementPolicyResource.cs @@ -94,8 +94,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _roleManagementPolicyClientDiagnostics.CreateScope("RoleManagementPolicyResource.Get"); - scope0.Start(); + using var scope = _roleManagementPolicyClientDiagnostics.CreateScope("RoleManagementPolicyResource.Get"); + scope.Start(); try { var response = await _roleManagementPolicyRestClient.GetAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -105,7 +105,7 @@ public virtual async Task> GetAsync(Cance } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -118,8 +118,8 @@ public virtual async Task> GetAsync(Cance /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _roleManagementPolicyClientDiagnostics.CreateScope("RoleManagementPolicyResource.Get"); - scope0.Start(); + using var scope = _roleManagementPolicyClientDiagnostics.CreateScope("RoleManagementPolicyResource.Get"); + scope.Start(); try { var response = _roleManagementPolicyRestClient.Get(Id.Parent, Id.Name, cancellationToken); @@ -129,7 +129,7 @@ public virtual Response Get(CancellationToken canc } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -146,8 +146,8 @@ public virtual async Task> UpdateAsync(Ro { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleManagementPolicyClientDiagnostics.CreateScope("RoleManagementPolicyResource.Update"); - scope0.Start(); + using var scope = _roleManagementPolicyClientDiagnostics.CreateScope("RoleManagementPolicyResource.Update"); + scope.Start(); try { var response = await _roleManagementPolicyRestClient.UpdateAsync(Id.Parent, Id.Name, data, cancellationToken).ConfigureAwait(false); @@ -155,7 +155,7 @@ public virtual async Task> UpdateAsync(Ro } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -172,8 +172,8 @@ public virtual Response Update(RoleManagementPolic { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _roleManagementPolicyClientDiagnostics.CreateScope("RoleManagementPolicyResource.Update"); - scope0.Start(); + using var scope = _roleManagementPolicyClientDiagnostics.CreateScope("RoleManagementPolicyResource.Update"); + scope.Start(); try { var response = _roleManagementPolicyRestClient.Update(Id.Parent, Id.Name, data, cancellationToken); @@ -181,7 +181,7 @@ public virtual Response Update(RoleManagementPolic } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/RestOperations/ApplicationPackageRestOperations.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/RestOperations/ApplicationPackageRestOperations.cs index 998d2f04fa72b..67ea1b81e08d1 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/RestOperations/ApplicationPackageRestOperations.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/RestOperations/ApplicationPackageRestOperations.cs @@ -157,9 +157,9 @@ internal HttpMessage CreateCreateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/RestOperations/BatchAccountRestOperations.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/RestOperations/BatchAccountRestOperations.cs index 147a3e11db5b1..71265919871a4 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/RestOperations/BatchAccountRestOperations.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/RestOperations/BatchAccountRestOperations.cs @@ -132,9 +132,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Authoring/ConversationAuthoringClient.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Authoring/ConversationAuthoringClient.cs index 3e5c88f87dd44..0f95f386cbd80 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Authoring/ConversationAuthoringClient.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Authoring/ConversationAuthoringClient.cs @@ -36,9 +36,9 @@ public ConversationAuthoringClient(Uri endpoint, AzureKeyCredential credential, ClientDiagnostics = new ClientDiagnostics(options, true); // BUGBUG: https://github.com/Azure/azure-sdk-for-net/issues/29506 - _keyCredential = _keyCredential0 = credential; + _keyCredential = credential; - _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new AzureKeyCredentialPolicy(_keyCredential0, AuthorizationHeader0) }, new ResponseClassifier()); + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new AzureKeyCredentialPolicy(_keyCredential, AuthorizationHeader) }, new ResponseClassifier()); _endpoint = endpoint; _apiVersion = options.Version; } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/ConversationAnalysisClient.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/ConversationAnalysisClient.cs index 167afa879048e..d209e69be528b 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/ConversationAnalysisClient.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/ConversationAnalysisClient.cs @@ -36,9 +36,9 @@ public ConversationAnalysisClient(Uri endpoint, AzureKeyCredential credential, C ClientDiagnostics = new ClientDiagnostics(options, suppressNestedClientActivities: true); // BUGBUG: https://github.com/Azure/azure-sdk-for-net/issues/29506 - _keyCredential = _keyCredential0 = credential; + _keyCredential = credential; - _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new AzureKeyCredentialPolicy(_keyCredential0, AuthorizationHeader0) }, new ResponseClassifier()); + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new AzureKeyCredentialPolicy(_keyCredential, AuthorizationHeader) }, new ResponseClassifier()); _endpoint = endpoint; _apiVersion = options.Version; } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Generated/ConversationAnalysisClient.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Generated/ConversationAnalysisClient.cs index e07eb7888c451..a4199a4d7d493 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Generated/ConversationAnalysisClient.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Generated/ConversationAnalysisClient.cs @@ -18,8 +18,6 @@ public partial class ConversationAnalysisClient { private const string AuthorizationHeader = "Ocp-Apim-Subscription-Key"; private readonly AzureKeyCredential _keyCredential; - private const string AuthorizationHeader0 = "Ocp-Apim-Subscription-Key"; - private readonly AzureKeyCredential _keyCredential0; private readonly HttpPipeline _pipeline; private readonly Uri _endpoint; private readonly string _apiVersion; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Generated/ConversationAuthoringClient.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Generated/ConversationAuthoringClient.cs index c57c742b8726f..1e527769ad6f8 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Generated/ConversationAuthoringClient.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Generated/ConversationAuthoringClient.cs @@ -22,8 +22,6 @@ public partial class ConversationAuthoringClient { private const string AuthorizationHeader = "Ocp-Apim-Subscription-Key"; private readonly AzureKeyCredential _keyCredential; - private const string AuthorizationHeader0 = "Ocp-Apim-Subscription-Key"; - private readonly AzureKeyCredential _keyCredential0; private readonly HttpPipeline _pipeline; private readonly Uri _endpoint; private readonly string _apiVersion; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/autorest.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/autorest.md index a864f313a0039..68a12f3c57864 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/autorest.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/autorest.md @@ -37,7 +37,7 @@ directive: $["AzureKey"] = $["apim_key"]; delete $["apim_key"]; -- from: swagger-document +- from: analyzeconversations.json where: $.security transform: | $ = [ @@ -46,6 +46,11 @@ directive: } ]; +- from: analyzeconversations-authoring.json + where: $.security + transform: | + $ = []; + # Fix Endpoint parameter description and format. - from: swagger-document where: $.parameters.Endpoint @@ -163,7 +168,7 @@ directive: var operationId = $.operationId.substring("ConversationAnalysis_".length); // BUGBUG: Will not work until https://github.com/Azure/autorest.csharp/issues/2384 is fixed. $["externalDocs"] = { - url: "https://docs.microsoft.com/rest/api/language/conversation-analysis-runtime/" + operationId.replace(/([a-z0–9])([A-Z])/g, "$1-$2").toLowerCase() + url: "https://docs.microsoft.com/rest/api/language/conversation-analysis-runtime/" + operationId.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase() }; - from: analyzeconversations-authoring.json @@ -172,7 +177,7 @@ directive: var operationId = $.operationId.substring("ConversationalAnalysisAuthoring_".length); // BUGBUG: Will not work until https://github.com/Azure/autorest.csharp/issues/2384 is fixed. $["externalDocs"] = { - url: "https://docs.microsoft.com/rest/api/language/conversational-analysis-authoring/" + operationId.replace(/([a-z0–9])([A-Z])/g, "$1-$2").toLowerCase() + url: "https://docs.microsoft.com/rest/api/language/conversational-analysis-authoring/" + operationId.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase() }; # Mark the LRO as internal so we can call it from an overload, which we can't do using transforms since that results in duplicate operationIds. diff --git a/sdk/communication/Azure.ResourceManager.Communication/src/Generated/RestOperations/CommunicationServicesRestOperations.cs b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/RestOperations/CommunicationServicesRestOperations.cs index d00f09b60a6a2..49c40853ed403 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/src/Generated/RestOperations/CommunicationServicesRestOperations.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/RestOperations/CommunicationServicesRestOperations.cs @@ -357,9 +357,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } @@ -517,9 +517,9 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetVMsRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetVMsRestOperations.cs index 1bf7c7c2a28c0..0ab5948883b7b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetVMsRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetVMsRestOperations.cs @@ -296,9 +296,9 @@ internal HttpMessage CreateUpdateRequest(string virtualMachineScaleSetName, stri request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1298,9 +1298,9 @@ internal HttpMessage CreateRunCommandRequest(string virtualMachineScaleSetName, request.Uri = uri; request.Headers.Add("Accept", "application/json, text/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(input); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(input); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetsRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetsRestOperations.cs index 783ed16b2d383..3f23b180e0762 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetsRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachineScaleSetsRestOperations.cs @@ -1555,9 +1555,9 @@ internal HttpMessage CreateReimageAllRequest(string virtualMachineScaleSetName, if (vmInstanceIds != null) { request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(vmInstanceIds); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(vmInstanceIds); + request.Content = content; } _userAgent.Apply(message); return message; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachinesRestOperations.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachinesRestOperations.cs index 3e609422d4e93..c1b30a510baee 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachinesRestOperations.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/VirtualMachinesRestOperations.cs @@ -204,9 +204,9 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -282,9 +282,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1874,9 +1874,9 @@ internal HttpMessage CreateRunCommandRequest(string subscriptionId, string resou request.Uri = uri; request.Headers.Add("Accept", "application/json, text/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(input); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(input); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/Generated/RestOperations/RegistriesRestOperations.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/Generated/RestOperations/RegistriesRestOperations.cs index 76beea57d3c9c..f7ea9463bb6dd 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/Generated/RestOperations/RegistriesRestOperations.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/Generated/RestOperations/RegistriesRestOperations.cs @@ -429,9 +429,9 @@ internal HttpMessage CreateCreateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -578,9 +578,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/Generated/RestOperations/WebhooksRestOperations.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/Generated/RestOperations/WebhooksRestOperations.cs index 44a846cff2cfd..a110302dfc0d6 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/Generated/RestOperations/WebhooksRestOperations.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/Generated/RestOperations/WebhooksRestOperations.cs @@ -384,9 +384,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/CassandraResourcesRestOperations.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/CassandraResourcesRestOperations.cs index 67923c1418ed2..27efc6d5a728c 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/CassandraResourcesRestOperations.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/CassandraResourcesRestOperations.cs @@ -472,9 +472,9 @@ internal HttpMessage CreateUpdateCassandraKeyspaceThroughputRequest(string subsc request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1158,9 +1158,9 @@ internal HttpMessage CreateUpdateCassandraTableThroughputRequest(string subscrip request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/DatabaseAccountsRestOperations.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/DatabaseAccountsRestOperations.cs index 8963d8e74b70a..b7a4ac2a0603e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/DatabaseAccountsRestOperations.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/DatabaseAccountsRestOperations.cs @@ -357,9 +357,9 @@ internal HttpMessage CreateFailoverPriorityChangeRequest(string subscriptionId, uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(failoverParameters); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(failoverParameters); + request.Content = content; _userAgent.Apply(message); return message; } @@ -734,9 +734,9 @@ internal HttpMessage CreateOfflineRegionRequest(string subscriptionId, string re request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(regionParameterForOffline); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(regionParameterForOffline); + request.Content = content; _userAgent.Apply(message); return message; } @@ -813,9 +813,9 @@ internal HttpMessage CreateOnlineRegionRequest(string subscriptionId, string res request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(regionParameterForOnline); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(regionParameterForOnline); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/GremlinResourcesRestOperations.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/GremlinResourcesRestOperations.cs index 675e4e63bdb9b..75300b4921bb5 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/GremlinResourcesRestOperations.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/GremlinResourcesRestOperations.cs @@ -472,9 +472,9 @@ internal HttpMessage CreateUpdateGremlinDatabaseThroughputRequest(string subscri request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1158,9 +1158,9 @@ internal HttpMessage CreateUpdateGremlinGraphThroughputRequest(string subscripti request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/MongoDBResourcesRestOperations.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/MongoDBResourcesRestOperations.cs index 84fa390bd0f38..75c9b7b387db5 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/MongoDBResourcesRestOperations.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/MongoDBResourcesRestOperations.cs @@ -472,9 +472,9 @@ internal HttpMessage CreateUpdateMongoDBDatabaseThroughputRequest(string subscri request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1158,9 +1158,9 @@ internal HttpMessage CreateUpdateMongoDBCollectionThroughputRequest(string subsc request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1415,9 +1415,9 @@ internal HttpMessage CreateRetrieveContinuousBackupInformationRequest(string sub request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(location); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(location); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/SqlResourcesRestOperations.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/SqlResourcesRestOperations.cs index 9d91eedc6459c..969900facc55e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/SqlResourcesRestOperations.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/SqlResourcesRestOperations.cs @@ -472,9 +472,9 @@ internal HttpMessage CreateUpdateSqlDatabaseThroughputRequest(string subscriptio request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1158,9 +1158,9 @@ internal HttpMessage CreateUpdateSqlContainerThroughputRequest(string subscripti request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -3195,9 +3195,9 @@ internal HttpMessage CreateRetrieveContinuousBackupInformationRequest(string sub request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(location); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(location); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/TableResourcesRestOperations.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/TableResourcesRestOperations.cs index 733e8bff66f93..dd22723db660d 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/TableResourcesRestOperations.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestOperations/TableResourcesRestOperations.cs @@ -472,9 +472,9 @@ internal HttpMessage CreateUpdateTableThroughputRequest(string subscriptionId, s request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/FactoriesRestOperations.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/FactoriesRestOperations.cs index 2e7bf8f618c8d..9a215994716c3 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/FactoriesRestOperations.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/FactoriesRestOperations.cs @@ -699,9 +699,9 @@ internal HttpMessage CreateGetDataPlaneAccessRequest(string subscriptionId, stri request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(policy); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(policy); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/TriggersRestOperations.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/TriggersRestOperations.cs index fa39a1d9e1b9b..69a96fd575ef2 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/TriggersRestOperations.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/TriggersRestOperations.cs @@ -226,9 +226,9 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/RestOperations/EdgeOrderManagementRestOperations.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/RestOperations/EdgeOrderManagementRestOperations.cs index 0c36d311cf3a0..c7f01b6eebc95 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/RestOperations/EdgeOrderManagementRestOperations.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/RestOperations/EdgeOrderManagementRestOperations.cs @@ -699,9 +699,9 @@ internal HttpMessage CreateCreateAddressRequest(string subscriptionId, string re request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -853,9 +853,9 @@ internal HttpMessage CreateUpdateAddressRequest(string subscriptionId, string re } request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1277,9 +1277,9 @@ internal HttpMessage CreateCreateOrderItemRequest(string subscriptionId, string request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1431,9 +1431,9 @@ internal HttpMessage CreateUpdateOrderItemRequest(string subscriptionId, string } request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1512,9 +1512,9 @@ internal HttpMessage CreateCancelOrderItemRequest(string subscriptionId, string request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(cancellationReason); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(cancellationReason); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1591,9 +1591,9 @@ internal HttpMessage CreateReturnOrderItemRequest(string subscriptionId, string request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(details); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(details); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RestOperations/DisasterRecoveryConfigsRestOperations.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RestOperations/DisasterRecoveryConfigsRestOperations.cs index 6fffd190d53a8..3e4cd7883ff95 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RestOperations/DisasterRecoveryConfigsRestOperations.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RestOperations/DisasterRecoveryConfigsRestOperations.cs @@ -222,9 +222,9 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ClustersRestOperations.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ClustersRestOperations.cs index 10ac4ec046be4..4af091611ccc1 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ClustersRestOperations.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ClustersRestOperations.cs @@ -130,9 +130,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/src/Generated/EndpointResource.cs b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/src/Generated/EndpointResource.cs index 73cd4a3b22550..3c1bacbfb7414 100644 --- a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/src/Generated/EndpointResource.cs +++ b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/src/Generated/EndpointResource.cs @@ -95,8 +95,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Get"); - scope0.Start(); + using var scope = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Get"); + scope.Start(); try { var response = await _endpointResourceEndpointsRestClient.GetAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -106,7 +106,7 @@ public virtual async Task> GetAsync(CancellationToken } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -119,8 +119,8 @@ public virtual async Task> GetAsync(CancellationToken /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Get"); - scope0.Start(); + using var scope = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Get"); + scope.Start(); try { var response = _endpointResourceEndpointsRestClient.Get(Id.Parent, Id.Name, cancellationToken); @@ -130,7 +130,7 @@ public virtual Response Get(CancellationToken cancellationToke } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -144,8 +144,8 @@ public virtual Response Get(CancellationToken cancellationToke /// The cancellation token to use. public virtual async Task DeleteAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Delete"); - scope0.Start(); + using var scope = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Delete"); + scope.Start(); try { var response = await _endpointResourceEndpointsRestClient.DeleteAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -156,7 +156,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -170,8 +170,8 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// The cancellation token to use. public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Delete"); - scope0.Start(); + using var scope = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Delete"); + scope.Start(); try { var response = _endpointResourceEndpointsRestClient.Delete(Id.Parent, Id.Name, cancellationToken); @@ -182,7 +182,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -199,8 +199,8 @@ public virtual async Task> UpdateAsync(EndpointResour { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Update"); - scope0.Start(); + using var scope = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Update"); + scope.Start(); try { var response = await _endpointResourceEndpointsRestClient.UpdateAsync(Id.Parent, Id.Name, data, cancellationToken).ConfigureAwait(false); @@ -208,7 +208,7 @@ public virtual async Task> UpdateAsync(EndpointResour } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -225,8 +225,8 @@ public virtual Response Update(EndpointResourceData data, Canc { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Update"); - scope0.Start(); + using var scope = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.Update"); + scope.Start(); try { var response = _endpointResourceEndpointsRestClient.Update(Id.Parent, Id.Name, data, cancellationToken); @@ -234,7 +234,7 @@ public virtual Response Update(EndpointResourceData data, Canc } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -248,8 +248,8 @@ public virtual Response Update(EndpointResourceData data, Canc /// The cancellation token to use. public virtual async Task> GetCredentialsAsync(long? expiresin = null, CancellationToken cancellationToken = default) { - using var scope0 = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.GetCredentials"); - scope0.Start(); + using var scope = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.GetCredentials"); + scope.Start(); try { var response = await _endpointResourceEndpointsRestClient.ListCredentialsAsync(Id.Parent, Id.Name, expiresin, cancellationToken).ConfigureAwait(false); @@ -257,7 +257,7 @@ public virtual async Task> GetCredentials } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -271,8 +271,8 @@ public virtual async Task> GetCredentials /// The cancellation token to use. public virtual Response GetCredentials(long? expiresin = null, CancellationToken cancellationToken = default) { - using var scope0 = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.GetCredentials"); - scope0.Start(); + using var scope = _endpointResourceEndpointsClientDiagnostics.CreateScope("EndpointResource.GetCredentials"); + scope.Start(); try { var response = _endpointResourceEndpointsRestClient.ListCredentials(Id.Parent, Id.Name, expiresin, cancellationToken); @@ -280,7 +280,7 @@ public virtual Response GetCredentials(long? expir } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/RestOperations/VaultsRestOperations.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/RestOperations/VaultsRestOperations.cs index 3a44bcdd3c7a5..a7fd6efb63104 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/RestOperations/VaultsRestOperations.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/RestOperations/VaultsRestOperations.cs @@ -132,9 +132,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } @@ -374,9 +374,9 @@ internal HttpMessage CreateUpdateAccessPolicyRequest(string subscriptionId, stri request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(keyVaultAccessPolicyParameters); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(keyVaultAccessPolicyParameters); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/logic/Azure.ResourceManager.Logic/src/Generated/RestOperations/WorkflowsRestOperations.cs b/sdk/logic/Azure.ResourceManager.Logic/src/Generated/RestOperations/WorkflowsRestOperations.cs index 2543473a8cf8b..335e38787a614 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/src/Generated/RestOperations/WorkflowsRestOperations.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/src/Generated/RestOperations/WorkflowsRestOperations.cs @@ -760,9 +760,9 @@ internal HttpMessage CreateListCallbackUrlRequest(string subscriptionId, string request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(info); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(info); + request.Content = content; _userAgent.Apply(message); return message; } @@ -924,9 +924,9 @@ internal HttpMessage CreateMoveRequest(string subscriptionId, string resourceGro request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(move); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(move); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1080,9 +1080,9 @@ internal HttpMessage CreateValidateByResourceGroupRequest(string subscriptionId, request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1159,9 +1159,9 @@ internal HttpMessage CreateValidateByLocationRequest(string subscriptionId, stri request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/SystemAssignedIdentityResource.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/SystemAssignedIdentityResource.cs index 4820109fc4b28..517e26ec0966a 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/SystemAssignedIdentityResource.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/SystemAssignedIdentityResource.cs @@ -95,8 +95,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.Get"); - scope0.Start(); + using var scope = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.Get"); + scope.Start(); try { var response = await _systemAssignedIdentityRestClient.GetByScopeAsync(Id.Parent, cancellationToken).ConfigureAwait(false); @@ -106,7 +106,7 @@ public virtual async Task> GetAsync(Can } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -119,8 +119,8 @@ public virtual async Task> GetAsync(Can /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.Get"); - scope0.Start(); + using var scope = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.Get"); + scope.Start(); try { var response = _systemAssignedIdentityRestClient.GetByScope(Id.Parent, cancellationToken); @@ -130,7 +130,7 @@ public virtual Response Get(CancellationToken ca } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -149,8 +149,8 @@ public virtual async Task> AddTagAsync( Argument.AssertNotNull(key, nameof(key)); Argument.AssertNotNull(value, nameof(value)); - using var scope0 = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.AddTag"); - scope0.Start(); + using var scope = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.AddTag"); + scope.Start(); try { var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); @@ -161,7 +161,7 @@ public virtual async Task> AddTagAsync( } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -180,8 +180,8 @@ public virtual Response AddTag(string key, strin Argument.AssertNotNull(key, nameof(key)); Argument.AssertNotNull(value, nameof(value)); - using var scope0 = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.AddTag"); - scope0.Start(); + using var scope = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.AddTag"); + scope.Start(); try { var originalTags = GetTagResource().Get(cancellationToken); @@ -192,7 +192,7 @@ public virtual Response AddTag(string key, strin } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -209,8 +209,8 @@ public virtual async Task> SetTagsAsync { Argument.AssertNotNull(tags, nameof(tags)); - using var scope0 = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.SetTags"); - scope0.Start(); + using var scope = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.SetTags"); + scope.Start(); try { await GetTagResource().DeleteAsync(WaitUntil.Completed, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -222,7 +222,7 @@ public virtual async Task> SetTagsAsync } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -239,8 +239,8 @@ public virtual Response SetTags(IDictionary SetTags(IDictionary> RemoveTagAsy { Argument.AssertNotNull(key, nameof(key)); - using var scope0 = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.RemoveTag"); - scope0.Start(); + using var scope = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.RemoveTag"); + scope.Start(); try { var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); @@ -281,7 +281,7 @@ public virtual async Task> RemoveTagAsy } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -298,8 +298,8 @@ public virtual Response RemoveTag(string key, Ca { Argument.AssertNotNull(key, nameof(key)); - using var scope0 = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.RemoveTag"); - scope0.Start(); + using var scope = _systemAssignedIdentityClientDiagnostics.CreateScope("SystemAssignedIdentityResource.RemoveTag"); + scope.Start(); try { var originalTags = GetTagResource().Get(cancellationToken); @@ -310,7 +310,7 @@ public virtual Response RemoveTag(string key, Ca } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/src/MySql/Generated/RestOperations/ServersRestOperations.cs b/sdk/mysql/Azure.ResourceManager.MySql/src/MySql/Generated/RestOperations/ServersRestOperations.cs index 05f53df075cb6..518dfcf926a64 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/src/MySql/Generated/RestOperations/ServersRestOperations.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/src/MySql/Generated/RestOperations/ServersRestOperations.cs @@ -134,9 +134,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/ConnectionMonitorsRestOperations.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/ConnectionMonitorsRestOperations.cs index 5d0067a1f3d10..79cf61ae30a0e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/ConnectionMonitorsRestOperations.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/ConnectionMonitorsRestOperations.cs @@ -310,9 +310,9 @@ internal HttpMessage CreateUpdateTagsRequest(string subscriptionId, string resou request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(networkTagsObject); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(networkTagsObject); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/NetworkWatchersRestOperations.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/NetworkWatchersRestOperations.cs index f87beac8a6d6c..47ec3f457fde0 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/NetworkWatchersRestOperations.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/NetworkWatchersRestOperations.cs @@ -1003,9 +1003,9 @@ internal HttpMessage CreateSetFlowLogConfigurationRequest(string subscriptionId, request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(flowLogInformation); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(flowLogInformation); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/P2SVpnGatewaysRestOperations.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/P2SVpnGatewaysRestOperations.cs index 6cf8a0bf6ea2f..d1cf82baafbf2 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/P2SVpnGatewaysRestOperations.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/P2SVpnGatewaysRestOperations.cs @@ -805,9 +805,9 @@ internal HttpMessage CreateDisconnectP2SVpnConnectionsRequest(string subscriptio request0.Uri = uri; request0.Headers.Add("Accept", "application/json"); request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(request); - request0.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(request); + request0.Content = content; _userAgent.Apply(message); return message; } @@ -869,13 +869,13 @@ public Response DisconnectP2SVpnConnections(string subscriptionId, string resour internal HttpMessage CreateListByResourceGroupNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -941,13 +941,13 @@ public Response ListByResourceGroupNextPage(string nex internal HttpMessage CreateListNextPageRequest(string nextLink, string subscriptionId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/VirtualNetworkGatewaysRestOperations.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/VirtualNetworkGatewaysRestOperations.cs index 9c91563687e9f..dcc5ea5f4f872 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/VirtualNetworkGatewaysRestOperations.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/VirtualNetworkGatewaysRestOperations.cs @@ -1434,9 +1434,9 @@ internal HttpMessage CreateStartPacketCaptureRequest(string subscriptionId, stri if (vpnPacketCaptureStartParameters != null) { request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(vpnPacketCaptureStartParameters); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(vpnPacketCaptureStartParameters); + request.Content = content; } _userAgent.Apply(message); return message; @@ -1512,9 +1512,9 @@ internal HttpMessage CreateStopPacketCaptureRequest(string subscriptionId, strin request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(vpnPacketCaptureStopParameters); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(vpnPacketCaptureStopParameters); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1662,9 +1662,9 @@ internal HttpMessage CreateDisconnectVirtualNetworkGatewayVpnConnectionsRequest( request0.Uri = uri; request0.Headers.Add("Accept", "application/json"); request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(request); - request0.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(request); + request0.Content = content; _userAgent.Apply(message); return message; } @@ -1726,13 +1726,13 @@ public Response DisconnectVirtualNetworkGatewayVpnConnections(string subscriptio internal HttpMessage CreateListNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -1798,13 +1798,13 @@ public Response ListNextPage(string nextLink, s internal HttpMessage CreateListConnectionsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string virtualNetworkGatewayName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/Generated/RestOperations/NamespacesRestOperations.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/Generated/RestOperations/NamespacesRestOperations.cs index 8229df52a7b02..eda2077bce544 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/Generated/RestOperations/NamespacesRestOperations.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/Generated/RestOperations/NamespacesRestOperations.cs @@ -217,9 +217,9 @@ internal HttpMessage CreatePatchRequest(string subscriptionId, string resourceGr request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1018,9 +1018,9 @@ internal HttpMessage CreateRegenerateKeysRequest(string subscriptionId, string r request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(notificationHubPolicyKey); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(notificationHubPolicyKey); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/Generated/RestOperations/NotificationHubsRestOperations.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/Generated/RestOperations/NotificationHubsRestOperations.cs index fcd38f621c1ce..a4fe4febcfecd 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/Generated/RestOperations/NotificationHubsRestOperations.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/Generated/RestOperations/NotificationHubsRestOperations.cs @@ -237,9 +237,9 @@ internal HttpMessage CreatePatchRequest(string subscriptionId, string resourceGr request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } @@ -493,13 +493,13 @@ internal HttpMessage CreateDebugSendRequest(string subscriptionId, string resour if (anyObject != null) { request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); + var content = new Utf8JsonRequestContent(); #if NET6_0_OR_GREATER - content0.JsonWriter.WriteRawValue(anyObject); + content.JsonWriter.WriteRawValue(anyObject); #else - JsonSerializer.Serialize(content0.JsonWriter, JsonDocument.Parse(anyObject.ToString()).RootElement); + JsonSerializer.Serialize(content.JsonWriter, JsonDocument.Parse(anyObject.ToString()).RootElement); #endif - request.Content = content0; + request.Content = content; } _userAgent.Apply(message); return message; @@ -1119,9 +1119,9 @@ internal HttpMessage CreateRegenerateKeysRequest(string subscriptionId, string r request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(notificationHubPolicyKey); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(notificationHubPolicyKey); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSql/Generated/RestOperations/ServersRestOperations.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSql/Generated/RestOperations/ServersRestOperations.cs index d1a70a6ac8d58..29ed6807cfbb4 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSql/Generated/RestOperations/ServersRestOperations.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSql/Generated/RestOperations/ServersRestOperations.cs @@ -134,9 +134,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/RedisRestOperations.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/RedisRestOperations.cs index 2ddb084d20a8a..49a95d01afd38 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/RedisRestOperations.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/RedisRestOperations.cs @@ -279,9 +279,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/RestOperations/ReservationRestOperations.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/RestOperations/ReservationRestOperations.cs index b920dcaad762e..9d9f0ca3a607f 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/RestOperations/ReservationRestOperations.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/RestOperations/ReservationRestOperations.cs @@ -380,9 +380,9 @@ internal HttpMessage CreateUpdateRequest(Guid reservationOrderId, Guid reservati request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/RestOperations/ManagementGroupsRestOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/RestOperations/ManagementGroupsRestOperations.cs index f71f29cf6cb04..00d4431c8b422 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/RestOperations/ManagementGroupsRestOperations.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/RestOperations/ManagementGroupsRestOperations.cs @@ -315,9 +315,9 @@ internal HttpMessage CreateUpdateRequest(string groupId, ManagementGroupPatch pa } request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockResource.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockResource.cs index 594e8a00a1478..6ad5af174a936 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockResource.cs @@ -94,8 +94,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Get"); - scope0.Start(); + using var scope = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Get"); + scope.Start(); try { var response = await _managementLockRestClient.GetByScopeAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -105,7 +105,7 @@ public virtual async Task> GetAsync(Cancellatio } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -118,8 +118,8 @@ public virtual async Task> GetAsync(Cancellatio /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Get"); - scope0.Start(); + using var scope = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Get"); + scope.Start(); try { var response = _managementLockRestClient.GetByScope(Id.Parent, Id.Name, cancellationToken); @@ -129,7 +129,7 @@ public virtual Response Get(CancellationToken cancellati } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -143,8 +143,8 @@ public virtual Response Get(CancellationToken cancellati /// The cancellation token to use. public virtual async Task DeleteAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Delete"); - scope0.Start(); + using var scope = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Delete"); + scope.Start(); try { var response = await _managementLockRestClient.DeleteByScopeAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -155,7 +155,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -169,8 +169,8 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// The cancellation token to use. public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Delete"); - scope0.Start(); + using var scope = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Delete"); + scope.Start(); try { var response = _managementLockRestClient.DeleteByScope(Id.Parent, Id.Name, cancellationToken); @@ -181,7 +181,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -199,8 +199,8 @@ public virtual async Task> UpdateAsync(Wait { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Update"); - scope0.Start(); + using var scope = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Update"); + scope.Start(); try { var response = await _managementLockRestClient.CreateOrUpdateByScopeAsync(Id.Parent, Id.Name, data, cancellationToken).ConfigureAwait(false); @@ -211,7 +211,7 @@ public virtual async Task> UpdateAsync(Wait } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -229,8 +229,8 @@ public virtual ArmOperation Update(WaitUntil waitUntil, { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Update"); - scope0.Start(); + using var scope = _managementLockClientDiagnostics.CreateScope("ManagementLockResource.Update"); + scope.Start(); try { var response = _managementLockRestClient.CreateOrUpdateByScope(Id.Parent, Id.Name, data, cancellationToken); @@ -241,7 +241,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentResource.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentResource.cs index 41d34581762e9..8ffae869fee09 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentResource.cs @@ -94,8 +94,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Get"); - scope0.Start(); + using var scope = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Get"); + scope.Start(); try { var response = await _policyAssignmentRestClient.GetAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -105,7 +105,7 @@ public virtual async Task> GetAsync(Cancellat } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -118,8 +118,8 @@ public virtual async Task> GetAsync(Cancellat /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Get"); - scope0.Start(); + using var scope = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Get"); + scope.Start(); try { var response = _policyAssignmentRestClient.Get(Id.Parent, Id.Name, cancellationToken); @@ -129,7 +129,7 @@ public virtual Response Get(CancellationToken cancella } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -143,8 +143,8 @@ public virtual Response Get(CancellationToken cancella /// The cancellation token to use. public virtual async Task> DeleteAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Delete"); - scope0.Start(); + using var scope = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Delete"); + scope.Start(); try { var response = await _policyAssignmentRestClient.DeleteAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -155,7 +155,7 @@ public virtual async Task> DeleteAsync(Wa } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -169,8 +169,8 @@ public virtual async Task> DeleteAsync(Wa /// The cancellation token to use. public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Delete"); - scope0.Start(); + using var scope = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Delete"); + scope.Start(); try { var response = _policyAssignmentRestClient.Delete(Id.Parent, Id.Name, cancellationToken); @@ -181,7 +181,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -199,8 +199,8 @@ public virtual async Task> UpdateAsync(Wa { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Update"); - scope0.Start(); + using var scope = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Update"); + scope.Start(); try { var response = await _policyAssignmentRestClient.CreateAsync(Id.Parent, Id.Name, data, cancellationToken).ConfigureAwait(false); @@ -211,7 +211,7 @@ public virtual async Task> UpdateAsync(Wa } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -229,8 +229,8 @@ public virtual ArmOperation Update(WaitUntil waitUntil { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Update"); - scope0.Start(); + using var scope = _policyAssignmentClientDiagnostics.CreateScope("PolicyAssignmentResource.Update"); + scope.Start(); try { var response = _policyAssignmentRestClient.Create(Id.Parent, Id.Name, data, cancellationToken); @@ -241,7 +241,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResource.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResource.cs index bc9da15430578..38965c952ebc0 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResource.cs @@ -95,8 +95,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Get"); - scope0.Start(); + using var scope = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Get"); + scope.Start(); try { var response = await _tagResourceTagsRestClient.GetAtScopeAsync(Id.Parent, cancellationToken).ConfigureAwait(false); @@ -106,7 +106,7 @@ public virtual async Task> GetAsync(CancellationToken canc } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -119,8 +119,8 @@ public virtual async Task> GetAsync(CancellationToken canc /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Get"); - scope0.Start(); + using var scope = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Get"); + scope.Start(); try { var response = _tagResourceTagsRestClient.GetAtScope(Id.Parent, cancellationToken); @@ -130,7 +130,7 @@ public virtual Response Get(CancellationToken cancellationToken = d } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -144,8 +144,8 @@ public virtual Response Get(CancellationToken cancellationToken = d /// The cancellation token to use. public virtual async Task DeleteAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Delete"); - scope0.Start(); + using var scope = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Delete"); + scope.Start(); try { var response = await _tagResourceTagsRestClient.DeleteAtScopeAsync(Id.Parent, cancellationToken).ConfigureAwait(false); @@ -156,7 +156,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -170,8 +170,8 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// The cancellation token to use. public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Delete"); - scope0.Start(); + using var scope = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Delete"); + scope.Start(); try { var response = _tagResourceTagsRestClient.DeleteAtScope(Id.Parent, cancellationToken); @@ -182,7 +182,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -199,8 +199,8 @@ public virtual async Task> UpdateAsync(TagResourcePatch pa { Argument.AssertNotNull(patch, nameof(patch)); - using var scope0 = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Update"); - scope0.Start(); + using var scope = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Update"); + scope.Start(); try { var response = await _tagResourceTagsRestClient.UpdateAtScopeAsync(Id.Parent, patch, cancellationToken).ConfigureAwait(false); @@ -208,7 +208,7 @@ public virtual async Task> UpdateAsync(TagResourcePatch pa } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -225,8 +225,8 @@ public virtual Response Update(TagResourcePatch patch, Cancellation { Argument.AssertNotNull(patch, nameof(patch)); - using var scope0 = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Update"); - scope0.Start(); + using var scope = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.Update"); + scope.Start(); try { var response = _tagResourceTagsRestClient.UpdateAtScope(Id.Parent, patch, cancellationToken); @@ -234,7 +234,7 @@ public virtual Response Update(TagResourcePatch patch, Cancellation } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -252,8 +252,8 @@ public virtual async Task> CreateOrUpdateAsync(WaitUnt { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.CreateOrUpdate"); - scope0.Start(); + using var scope = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.CreateOrUpdate"); + scope.Start(); try { var response = await _tagResourceTagsRestClient.CreateOrUpdateAtScopeAsync(Id.Parent, data, cancellationToken).ConfigureAwait(false); @@ -264,7 +264,7 @@ public virtual async Task> CreateOrUpdateAsync(WaitUnt } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -282,8 +282,8 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitUntil, Tag { Argument.AssertNotNull(data, nameof(data)); - using var scope0 = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.CreateOrUpdate"); - scope0.Start(); + using var scope = _tagResourceTagsClientDiagnostics.CreateScope("TagResource.CreateOrUpdate"); + scope.Start(); try { var response = _tagResourceTagsRestClient.CreateOrUpdateAtScope(Id.Parent, data, cancellationToken); @@ -294,7 +294,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitUntil, Tag } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentResource.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentResource.cs index 04345366465c3..35756736a868d 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentResource.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentResource.cs @@ -101,8 +101,8 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Get"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Get"); + scope.Start(); try { var response = await _armDeploymentDeploymentsRestClient.GetAtScopeAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -112,7 +112,7 @@ public virtual async Task> GetAsync(Cancellation } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -125,8 +125,8 @@ public virtual async Task> GetAsync(Cancellation /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Get"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Get"); + scope.Start(); try { var response = _armDeploymentDeploymentsRestClient.GetAtScope(Id.Parent, Id.Name, cancellationToken); @@ -136,7 +136,7 @@ public virtual Response Get(CancellationToken cancellatio } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -150,8 +150,8 @@ public virtual Response Get(CancellationToken cancellatio /// The cancellation token to use. public virtual async Task DeleteAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Delete"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Delete"); + scope.Start(); try { var response = await _armDeploymentDeploymentsRestClient.DeleteAtScopeAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -162,7 +162,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -176,8 +176,8 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// The cancellation token to use. public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancellationToken = default) { - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Delete"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Delete"); + scope.Start(); try { var response = _armDeploymentDeploymentsRestClient.DeleteAtScope(Id.Parent, Id.Name, cancellationToken); @@ -188,7 +188,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -206,8 +206,8 @@ public virtual async Task> UpdateAsync(WaitU { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Update"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Update"); + scope.Start(); try { var response = await _armDeploymentDeploymentsRestClient.CreateOrUpdateAtScopeAsync(Id.Parent, Id.Name, content, cancellationToken).ConfigureAwait(false); @@ -218,7 +218,7 @@ public virtual async Task> UpdateAsync(WaitU } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -236,8 +236,8 @@ public virtual ArmOperation Update(WaitUntil waitUntil, A { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Update"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Update"); + scope.Start(); try { var response = _armDeploymentDeploymentsRestClient.CreateOrUpdateAtScope(Id.Parent, Id.Name, content, cancellationToken); @@ -248,7 +248,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, A } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -261,8 +261,8 @@ public virtual ArmOperation Update(WaitUntil waitUntil, A /// The cancellation token to use. public virtual async Task CancelAsync(CancellationToken cancellationToken = default) { - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Cancel"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Cancel"); + scope.Start(); try { var response = await _armDeploymentDeploymentsRestClient.CancelAtScopeAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -270,7 +270,7 @@ public virtual async Task CancelAsync(CancellationToken cancellationTo } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -283,8 +283,8 @@ public virtual async Task CancelAsync(CancellationToken cancellationTo /// The cancellation token to use. public virtual Response Cancel(CancellationToken cancellationToken = default) { - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Cancel"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Cancel"); + scope.Start(); try { var response = _armDeploymentDeploymentsRestClient.CancelAtScope(Id.Parent, Id.Name, cancellationToken); @@ -292,7 +292,7 @@ public virtual Response Cancel(CancellationToken cancellationToken = default) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -310,8 +310,8 @@ public virtual async Task> ValidateAsy { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Validate"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Validate"); + scope.Start(); try { var response = await _armDeploymentDeploymentsRestClient.ValidateAtScopeAsync(Id.Parent, Id.Name, content, cancellationToken).ConfigureAwait(false); @@ -322,7 +322,7 @@ public virtual async Task> ValidateAsy } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -340,8 +340,8 @@ public virtual ArmOperation Validate(WaitUntil wait { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Validate"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.Validate"); + scope.Start(); try { var response = _armDeploymentDeploymentsRestClient.ValidateAtScope(Id.Parent, Id.Name, content, cancellationToken); @@ -352,7 +352,7 @@ public virtual ArmOperation Validate(WaitUntil wait } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -365,8 +365,8 @@ public virtual ArmOperation Validate(WaitUntil wait /// The cancellation token to use. public virtual async Task> ExportTemplateAsync(CancellationToken cancellationToken = default) { - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.ExportTemplate"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.ExportTemplate"); + scope.Start(); try { var response = await _armDeploymentDeploymentsRestClient.ExportTemplateAtScopeAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -374,7 +374,7 @@ public virtual async Task> ExportTemplateAsy } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -387,8 +387,8 @@ public virtual async Task> ExportTemplateAsy /// The cancellation token to use. public virtual Response ExportTemplate(CancellationToken cancellationToken = default) { - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.ExportTemplate"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.ExportTemplate"); + scope.Start(); try { var response = _armDeploymentDeploymentsRestClient.ExportTemplateAtScope(Id.Parent, Id.Name, cancellationToken); @@ -396,7 +396,7 @@ public virtual Response ExportTemplate(CancellationTo } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -420,8 +420,8 @@ public virtual async Task> WhatIfAsync(WaitU { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.WhatIf"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.WhatIf"); + scope.Start(); try { if (Id.Parent.ResourceType == TenantResource.ResourceType) @@ -463,7 +463,7 @@ public virtual async Task> WhatIfAsync(WaitU } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -487,8 +487,8 @@ public virtual ArmOperation WhatIf(WaitUntil waitUntil, A { Argument.AssertNotNull(content, nameof(content)); - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.WhatIf"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.WhatIf"); + scope.Start(); try { if (Id.Parent.ResourceType == TenantResource.ResourceType) @@ -530,7 +530,7 @@ public virtual ArmOperation WhatIf(WaitUntil waitUntil, A } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -548,8 +548,8 @@ public virtual async Task> GetDeploymentOperati { Argument.AssertNotNullOrEmpty(operationId, nameof(operationId)); - using var scope0 = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperation"); - scope0.Start(); + using var scope = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperation"); + scope.Start(); try { var response = await _deploymentOperationsRestClient.GetAtScopeAsync(Id.Parent, Id.Name, operationId, cancellationToken).ConfigureAwait(false); @@ -557,7 +557,7 @@ public virtual async Task> GetDeploymentOperati } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -575,8 +575,8 @@ public virtual Response GetDeploymentOperation(string op { Argument.AssertNotNullOrEmpty(operationId, nameof(operationId)); - using var scope0 = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperation"); - scope0.Start(); + using var scope = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperation"); + scope.Start(); try { var response = _deploymentOperationsRestClient.GetAtScope(Id.Parent, Id.Name, operationId, cancellationToken); @@ -584,7 +584,7 @@ public virtual Response GetDeploymentOperation(string op } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -601,8 +601,8 @@ public virtual AsyncPageable GetDeploymentOperationsAsyn { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperations"); - scope0.Start(); + using var scope = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperations"); + scope.Start(); try { var response = await _deploymentOperationsRestClient.ListAtScopeAsync(Id.Parent, Id.Name, top, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -610,14 +610,14 @@ async Task> FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperations"); - scope0.Start(); + using var scope = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperations"); + scope.Start(); try { var response = await _deploymentOperationsRestClient.ListAtScopeNextPageAsync(nextLink, Id.Parent, Id.Name, top, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -625,7 +625,7 @@ async Task> NextPageFunc(string nextLink, int? page } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -644,8 +644,8 @@ public virtual Pageable GetDeploymentOperations(int? top { Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperations"); - scope0.Start(); + using var scope = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperations"); + scope.Start(); try { var response = _deploymentOperationsRestClient.ListAtScope(Id.Parent, Id.Name, top, cancellationToken: cancellationToken); @@ -653,14 +653,14 @@ Page FirstPageFunc(int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperations"); - scope0.Start(); + using var scope = _deploymentOperationsClientDiagnostics.CreateScope("ArmDeploymentResource.GetDeploymentOperations"); + scope.Start(); try { var response = _deploymentOperationsRestClient.ListAtScopeNextPage(nextLink, Id.Parent, Id.Name, top, cancellationToken: cancellationToken); @@ -668,7 +668,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -683,8 +683,8 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) /// The cancellation token to use. public virtual async Task CheckExistenceAsync(CancellationToken cancellationToken = default) { - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.CheckExistence"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.CheckExistence"); + scope.Start(); try { var response = await _armDeploymentDeploymentsRestClient.CheckExistenceAtScopeAsync(Id.Parent, Id.Name, cancellationToken).ConfigureAwait(false); @@ -692,7 +692,7 @@ public virtual async Task CheckExistenceAsync(CancellationToken cancel } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -705,8 +705,8 @@ public virtual async Task CheckExistenceAsync(CancellationToken cancel /// The cancellation token to use. public virtual Response CheckExistence(CancellationToken cancellationToken = default) { - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.CheckExistence"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.CheckExistence"); + scope.Start(); try { var response = _armDeploymentDeploymentsRestClient.CheckExistenceAtScope(Id.Parent, Id.Name, cancellationToken); @@ -714,7 +714,7 @@ public virtual Response CheckExistence(CancellationToken cancellationToken = def } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -733,8 +733,8 @@ public virtual async Task> AddTagAsync(string ke Argument.AssertNotNull(key, nameof(key)); Argument.AssertNotNull(value, nameof(value)); - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.AddTag"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.AddTag"); + scope.Start(); try { var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); @@ -745,7 +745,7 @@ public virtual async Task> AddTagAsync(string ke } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -764,8 +764,8 @@ public virtual Response AddTag(string key, string value, Argument.AssertNotNull(key, nameof(key)); Argument.AssertNotNull(value, nameof(value)); - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.AddTag"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.AddTag"); + scope.Start(); try { var originalTags = GetTagResource().Get(cancellationToken); @@ -776,7 +776,7 @@ public virtual Response AddTag(string key, string value, } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -793,8 +793,8 @@ public virtual async Task> SetTagsAsync(IDiction { Argument.AssertNotNull(tags, nameof(tags)); - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.SetTags"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.SetTags"); + scope.Start(); try { await GetTagResource().DeleteAsync(WaitUntil.Completed, cancellationToken: cancellationToken).ConfigureAwait(false); @@ -806,7 +806,7 @@ public virtual async Task> SetTagsAsync(IDiction } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -823,8 +823,8 @@ public virtual Response SetTags(IDictionary SetTags(IDictionary> RemoveTagAsync(string { Argument.AssertNotNull(key, nameof(key)); - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.RemoveTag"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.RemoveTag"); + scope.Start(); try { var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); @@ -865,7 +865,7 @@ public virtual async Task> RemoveTagAsync(string } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -882,8 +882,8 @@ public virtual Response RemoveTag(string key, Cancellatio { Argument.AssertNotNull(key, nameof(key)); - using var scope0 = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.RemoveTag"); - scope0.Start(); + using var scope = _armDeploymentDeploymentsClientDiagnostics.CreateScope("ArmDeploymentResource.RemoveTag"); + scope.Start(); try { var originalTags = GetTagResource().Get(cancellationToken); @@ -894,7 +894,7 @@ public virtual Response RemoveTag(string key, Cancellatio } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/RestOperations/DeploymentsRestOperations.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/RestOperations/DeploymentsRestOperations.cs index 1273b0b9a3e5e..aa4fd3287268a 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/RestOperations/DeploymentsRestOperations.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/RestOperations/DeploymentsRestOperations.cs @@ -905,13 +905,13 @@ internal Core.HttpMessage CreateCalculateTemplateHashRequest(BinaryData template request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); + var content = new Utf8JsonRequestContent(); #if NET6_0_OR_GREATER - content0.JsonWriter.WriteRawValue(template); + content.JsonWriter.WriteRawValue(template); #else - JsonSerializer.Serialize(content0.JsonWriter, JsonDocument.Parse(template.ToString()).RootElement); + JsonSerializer.Serialize(content.JsonWriter, JsonDocument.Parse(template.ToString()).RootElement); #endif - request.Content = content0; + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestOperations/ManagedServerDnsAliasesRestOperations.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestOperations/ManagedServerDnsAliasesRestOperations.cs index 6fdf5d720d848..21800ea0f68ae 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestOperations/ManagedServerDnsAliasesRestOperations.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestOperations/ManagedServerDnsAliasesRestOperations.cs @@ -387,9 +387,9 @@ internal HttpMessage CreateAcquireRequest(string subscriptionId, string resource request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(managedServerDnsAliasAcquisition); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(managedServerDnsAliasAcquisition); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/RestOperations/StorageAccountsRestOperations.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/RestOperations/StorageAccountsRestOperations.cs index 2530f23c23657..eb56e687ecf97 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/RestOperations/StorageAccountsRestOperations.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/RestOperations/StorageAccountsRestOperations.cs @@ -364,9 +364,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/RestOperations/DiskPoolsRestOperations.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/RestOperations/DiskPoolsRestOperations.cs index 5f1b4e730f288..603a4671aab55 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/RestOperations/DiskPoolsRestOperations.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/RestOperations/DiskPoolsRestOperations.cs @@ -272,9 +272,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/RestOperations/IscsiTargetsRestOperations.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/RestOperations/IscsiTargetsRestOperations.cs index f78b081ea7fb7..422d3d44fd41f 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/RestOperations/IscsiTargetsRestOperations.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/RestOperations/IscsiTargetsRestOperations.cs @@ -219,9 +219,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/src/Generated/RestOperations/SubscriptionsRestOperations.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/src/Generated/RestOperations/SubscriptionsRestOperations.cs index 2685d86724b01..801b3200942cd 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/src/Generated/RestOperations/SubscriptionsRestOperations.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/src/Generated/RestOperations/SubscriptionsRestOperations.cs @@ -412,9 +412,9 @@ internal HttpMessage CreateTestOutputRequest(string subscriptionId, AzureLocatio request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(testOutput); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(testOutput); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/Generated/RoleAssignmentsClient.cs b/sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/Generated/RoleAssignmentsClient.cs index 8c59b1fe76578..c5bfa8557119b 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/Generated/RoleAssignmentsClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/Generated/RoleAssignmentsClient.cs @@ -541,8 +541,8 @@ public virtual async Task CreateRoleAssignmentAsync(string roleAssignm Argument.AssertNotNullOrEmpty(roleAssignmentId, nameof(roleAssignmentId)); Argument.AssertNotNull(content, nameof(content)); - using var scope0 = ClientDiagnostics.CreateScope("RoleAssignmentsClient.CreateRoleAssignment"); - scope0.Start(); + using var scope = ClientDiagnostics.CreateScope("RoleAssignmentsClient.CreateRoleAssignment"); + scope.Start(); try { using HttpMessage message = CreateCreateRoleAssignmentRequest(roleAssignmentId, content, contentType, context); @@ -550,7 +550,7 @@ public virtual async Task CreateRoleAssignmentAsync(string roleAssignm } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -637,8 +637,8 @@ public virtual Response CreateRoleAssignment(string roleAssignmentId, RequestCon Argument.AssertNotNullOrEmpty(roleAssignmentId, nameof(roleAssignmentId)); Argument.AssertNotNull(content, nameof(content)); - using var scope0 = ClientDiagnostics.CreateScope("RoleAssignmentsClient.CreateRoleAssignment"); - scope0.Start(); + using var scope = ClientDiagnostics.CreateScope("RoleAssignmentsClient.CreateRoleAssignment"); + scope.Start(); try { using HttpMessage message = CreateCreateRoleAssignmentRequest(roleAssignmentId, content, contentType, context); @@ -646,7 +646,7 @@ public virtual Response CreateRoleAssignment(string roleAssignmentId, RequestCon } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -695,8 +695,8 @@ public virtual async Task GetRoleAssignmentByIdAsync(string roleAssign { Argument.AssertNotNullOrEmpty(roleAssignmentId, nameof(roleAssignmentId)); - using var scope0 = ClientDiagnostics.CreateScope("RoleAssignmentsClient.GetRoleAssignmentById"); - scope0.Start(); + using var scope = ClientDiagnostics.CreateScope("RoleAssignmentsClient.GetRoleAssignmentById"); + scope.Start(); try { using HttpMessage message = CreateGetRoleAssignmentByIdRequest(roleAssignmentId, context); @@ -704,7 +704,7 @@ public virtual async Task GetRoleAssignmentByIdAsync(string roleAssign } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -753,8 +753,8 @@ public virtual Response GetRoleAssignmentById(string roleAssignmentId, RequestCo { Argument.AssertNotNullOrEmpty(roleAssignmentId, nameof(roleAssignmentId)); - using var scope0 = ClientDiagnostics.CreateScope("RoleAssignmentsClient.GetRoleAssignmentById"); - scope0.Start(); + using var scope = ClientDiagnostics.CreateScope("RoleAssignmentsClient.GetRoleAssignmentById"); + scope.Start(); try { using HttpMessage message = CreateGetRoleAssignmentByIdRequest(roleAssignmentId, context); @@ -762,7 +762,7 @@ public virtual Response GetRoleAssignmentById(string roleAssignmentId, RequestCo } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/Generated/RoleDefinitionsClient.cs b/sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/Generated/RoleDefinitionsClient.cs index 6a5e94646203f..39d94a8ac3332 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/Generated/RoleDefinitionsClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/Generated/RoleDefinitionsClient.cs @@ -277,8 +277,8 @@ public virtual async Task GetRoleDefinitionByIdAsync(string roleDefini { Argument.AssertNotNullOrEmpty(roleDefinitionId, nameof(roleDefinitionId)); - using var scope0 = ClientDiagnostics.CreateScope("RoleDefinitionsClient.GetRoleDefinitionById"); - scope0.Start(); + using var scope = ClientDiagnostics.CreateScope("RoleDefinitionsClient.GetRoleDefinitionById"); + scope.Start(); try { using HttpMessage message = CreateGetRoleDefinitionByIdRequest(roleDefinitionId, context); @@ -286,7 +286,7 @@ public virtual async Task GetRoleDefinitionByIdAsync(string roleDefini } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -349,8 +349,8 @@ public virtual Response GetRoleDefinitionById(string roleDefinitionId, RequestCo { Argument.AssertNotNullOrEmpty(roleDefinitionId, nameof(roleDefinitionId)); - using var scope0 = ClientDiagnostics.CreateScope("RoleDefinitionsClient.GetRoleDefinitionById"); - scope0.Start(); + using var scope = ClientDiagnostics.CreateScope("RoleDefinitionsClient.GetRoleDefinitionById"); + scope.Start(); try { using HttpMessage message = CreateGetRoleDefinitionByIdRequest(roleDefinitionId, context); @@ -358,7 +358,7 @@ public virtual Response GetRoleDefinitionById(string roleDefinitionId, RequestCo } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -382,8 +382,8 @@ public virtual Response GetRoleDefinitionById(string roleDefinitionId, RequestCo /// public virtual async Task GetScopesAsync(RequestContext context = null) { - using var scope0 = ClientDiagnostics.CreateScope("RoleDefinitionsClient.GetScopes"); - scope0.Start(); + using var scope = ClientDiagnostics.CreateScope("RoleDefinitionsClient.GetScopes"); + scope.Start(); try { using HttpMessage message = CreateGetScopesRequest(context); @@ -391,7 +391,7 @@ public virtual async Task GetScopesAsync(RequestContext context = null } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } @@ -415,8 +415,8 @@ public virtual async Task GetScopesAsync(RequestContext context = null /// public virtual Response GetScopes(RequestContext context = null) { - using var scope0 = ClientDiagnostics.CreateScope("RoleDefinitionsClient.GetScopes"); - scope0.Start(); + using var scope = ClientDiagnostics.CreateScope("RoleDefinitionsClient.GetScopes"); + scope.Start(); try { using HttpMessage message = CreateGetScopesRequest(context); @@ -424,7 +424,7 @@ public virtual Response GetScopes(RequestContext context = null) } catch (Exception e) { - scope0.Failed(e); + scope.Failed(e); throw; } } diff --git a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/src/Generated/RestOperations/ProfilesRestOperations.cs b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/src/Generated/RestOperations/ProfilesRestOperations.cs index d0d23ecb9a1ed..8f2a53129faf3 100644 --- a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/src/Generated/RestOperations/ProfilesRestOperations.cs +++ b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/src/Generated/RestOperations/ProfilesRestOperations.cs @@ -343,9 +343,9 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -501,9 +501,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/RestOperations/WebPubSubRestOperations.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/RestOperations/WebPubSubRestOperations.cs index 623a4ddd4141d..ffa3569364708 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/RestOperations/WebPubSubRestOperations.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/RestOperations/WebPubSubRestOperations.cs @@ -355,9 +355,9 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -507,9 +507,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/AppServiceCertificateOrdersRestOperations.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/AppServiceCertificateOrdersRestOperations.cs index 720f0b1f3ff96..3b5341b489b25 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/AppServiceCertificateOrdersRestOperations.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/AppServiceCertificateOrdersRestOperations.cs @@ -1219,9 +1219,9 @@ internal HttpMessage CreateResendRequestEmailsRequest(string subscriptionId, str request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(nameIdentifier); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(nameIdentifier); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/DomainsRestOperations.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/DomainsRestOperations.cs index e0a105acc67ca..1e78630c19ed6 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/DomainsRestOperations.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/DomainsRestOperations.cs @@ -493,9 +493,9 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -647,9 +647,9 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } @@ -904,9 +904,9 @@ internal HttpMessage CreateCreateOrUpdateOwnershipIdentifierRequest(string subsc request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1072,9 +1072,9 @@ internal HttpMessage CreateUpdateOwnershipIdentifierRequest(string subscriptionI request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/StaticSitesRestOperations.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/StaticSitesRestOperations.cs index e639aa2ebef27..c1cba54228222 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/StaticSitesRestOperations.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/StaticSitesRestOperations.cs @@ -355,9 +355,9 @@ internal HttpMessage CreateCreateOrUpdateStaticSiteRequest(string subscriptionId request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -503,9 +503,9 @@ internal HttpMessage CreateUpdateStaticSiteRequest(string subscriptionId, string request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(patch); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch); + request.Content = content; _userAgent.Apply(message); return message; } @@ -760,9 +760,9 @@ internal HttpMessage CreateUpdateStaticSiteUserRequest(string subscriptionId, st request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(staticSiteUserEnvelope); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(staticSiteUserEnvelope); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1102,9 +1102,9 @@ internal HttpMessage CreateCreateOrUpdateStaticSiteBuildAppSettingsRequest(strin request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(appSettings); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(appSettings); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1195,9 +1195,9 @@ internal HttpMessage CreateCreateOrUpdateStaticSiteBuildFunctionAppSettingsReque request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(appSettings); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(appSettings); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1727,9 +1727,9 @@ internal HttpMessage CreateRegisterUserProvidedFunctionAppWithStaticSiteBuildReq request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1900,9 +1900,9 @@ internal HttpMessage CreateCreateZipDeploymentForStaticSiteBuildRequest(string s request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(staticSiteZipDeploymentEnvelope); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(staticSiteZipDeploymentEnvelope); + request.Content = content; _userAgent.Apply(message); return message; } @@ -1983,9 +1983,9 @@ internal HttpMessage CreateCreateOrUpdateStaticSiteAppSettingsRequest(string sub request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(appSettings); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(appSettings); + request.Content = content; _userAgent.Apply(message); return message; } @@ -2070,9 +2070,9 @@ internal HttpMessage CreateCreateOrUpdateStaticSiteFunctionAppSettingsRequest(st request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(appSettings); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(appSettings); + request.Content = content; _userAgent.Apply(message); return message; } @@ -3290,9 +3290,9 @@ internal HttpMessage CreateApproveOrRejectPrivateEndpointConnectionRequest(strin request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(info); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(info); + request.Content = content; _userAgent.Apply(message); return message; } @@ -3779,9 +3779,9 @@ internal HttpMessage CreateRegisterUserProvidedFunctionAppWithStaticSiteRequest( request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -3940,9 +3940,9 @@ internal HttpMessage CreateCreateZipDeploymentForStaticSiteRequest(string subscr request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(staticSiteZipDeploymentEnvelope); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(staticSiteZipDeploymentEnvelope); + request.Content = content; _userAgent.Apply(message); return message; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/WebAppsRestOperations.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/WebAppsRestOperations.cs index 637006f24edcf..c6eb10cccd266 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/WebAppsRestOperations.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/WebAppsRestOperations.cs @@ -767,8 +767,8 @@ public Response Backup(string subscriptionId, string resourceGro internal HttpMessage CreateListBackupsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -779,8 +779,8 @@ internal HttpMessage CreateListBackupsRequest(string subscriptionId, string reso uri.AppendPath(name, true); uri.AppendPath("/backups", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -846,8 +846,8 @@ public Response ListBackups(string subscriptionId, string internal HttpMessage CreateGetBackupStatusRequest(string subscriptionId, string resourceGroupName, string name, string backupId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -859,8 +859,8 @@ internal HttpMessage CreateGetBackupStatusRequest(string subscriptionId, string uri.AppendPath("/backups/", false); uri.AppendPath(backupId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -934,8 +934,8 @@ public Response GetBackupStatus(string subscriptionId, string re internal HttpMessage CreateDeleteBackupRequest(string subscriptionId, string resourceGroupName, string name, string backupId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -947,8 +947,8 @@ internal HttpMessage CreateDeleteBackupRequest(string subscriptionId, string res uri.AppendPath("/backups/", false); uri.AppendPath(backupId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -1101,8 +1101,8 @@ public Response ListBackupStatusSecrets(string subscriptionId, s internal HttpMessage CreateRestoreRequest(string subscriptionId, string resourceGroupName, string name, string backupId, RestoreRequestInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -1115,12 +1115,12 @@ internal HttpMessage CreateRestoreRequest(string subscriptionId, string resource uri.AppendPath(backupId, true); uri.AppendPath("/restore", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(info); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -1186,8 +1186,8 @@ public Response Restore(string subscriptionId, string resourceGroupName, string internal HttpMessage CreateListBasicPublishingCredentialsPoliciesRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -1198,8 +1198,8 @@ internal HttpMessage CreateListBasicPublishingCredentialsPoliciesRequest(string uri.AppendPath(name, true); uri.AppendPath("/basicPublishingCredentialsPolicies", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -1265,8 +1265,8 @@ public Response ListBasicPublishingCred internal HttpMessage CreateGetFtpAllowedRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -1277,8 +1277,8 @@ internal HttpMessage CreateGetFtpAllowedRequest(string subscriptionId, string re uri.AppendPath(name, true); uri.AppendPath("/basicPublishingCredentialsPolicies/ftp", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -1348,8 +1348,8 @@ public Response GetFtpAllowed(string internal HttpMessage CreateUpdateFtpAllowedRequest(string subscriptionId, string resourceGroupName, string name, CsmPublishingCredentialsPoliciesEntityData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -1360,12 +1360,12 @@ internal HttpMessage CreateUpdateFtpAllowedRequest(string subscriptionId, string uri.AppendPath(name, true); uri.AppendPath("/basicPublishingCredentialsPolicies/ftp", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -1435,8 +1435,8 @@ public Response UpdateFtpAllowed(str internal HttpMessage CreateGetScmAllowedRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -1447,8 +1447,8 @@ internal HttpMessage CreateGetScmAllowedRequest(string subscriptionId, string re uri.AppendPath(name, true); uri.AppendPath("/basicPublishingCredentialsPolicies/scm", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -1518,8 +1518,8 @@ public Response GetScmAllowed(string internal HttpMessage CreateUpdateScmAllowedRequest(string subscriptionId, string resourceGroupName, string name, CsmPublishingCredentialsPoliciesEntityData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -1530,12 +1530,12 @@ internal HttpMessage CreateUpdateScmAllowedRequest(string subscriptionId, string uri.AppendPath(name, true); uri.AppendPath("/basicPublishingCredentialsPolicies/scm", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -1605,8 +1605,8 @@ public Response UpdateScmAllowed(str internal HttpMessage CreateListConfigurationsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -1617,8 +1617,8 @@ internal HttpMessage CreateListConfigurationsRequest(string subscriptionId, stri uri.AppendPath(name, true); uri.AppendPath("/config", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -1684,8 +1684,8 @@ public Response ListConfigurations(string subscrip internal HttpMessage CreateUpdateApplicationSettingsRequest(string subscriptionId, string resourceGroupName, string name, AppServiceConfigurationDictionary appSettings) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -1696,12 +1696,12 @@ internal HttpMessage CreateUpdateApplicationSettingsRequest(string subscriptionI uri.AppendPath(name, true); uri.AppendPath("/config/appsettings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(appSettings); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -1771,8 +1771,8 @@ public Response UpdateApplicationSettings(str internal HttpMessage CreateListApplicationSettingsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -1783,8 +1783,8 @@ internal HttpMessage CreateListApplicationSettingsRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/config/appsettings/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -1850,8 +1850,8 @@ public Response ListApplicationSettings(strin internal HttpMessage CreateUpdateAuthSettingsRequest(string subscriptionId, string resourceGroupName, string name, SiteAuthSettings siteAuthSettings) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -1862,12 +1862,12 @@ internal HttpMessage CreateUpdateAuthSettingsRequest(string subscriptionId, stri uri.AppendPath(name, true); uri.AppendPath("/config/authsettings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(siteAuthSettings); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -1937,8 +1937,8 @@ public Response UpdateAuthSettings(string subscriptionId, stri internal HttpMessage CreateGetAuthSettingsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -1949,8 +1949,8 @@ internal HttpMessage CreateGetAuthSettingsRequest(string subscriptionId, string uri.AppendPath(name, true); uri.AppendPath("/config/authsettings/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -2016,8 +2016,8 @@ public Response GetAuthSettings(string subscriptionId, string internal HttpMessage CreateUpdateAuthSettingsV2Request(string subscriptionId, string resourceGroupName, string name, SiteAuthSettingsV2 siteAuthSettingsV2) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -2028,12 +2028,12 @@ internal HttpMessage CreateUpdateAuthSettingsV2Request(string subscriptionId, st uri.AppendPath(name, true); uri.AppendPath("/config/authsettingsV2", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(siteAuthSettingsV2); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -2103,8 +2103,8 @@ public Response UpdateAuthSettingsV2(string subscriptionId, internal HttpMessage CreateGetAuthSettingsV2Request(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -2115,8 +2115,8 @@ internal HttpMessage CreateGetAuthSettingsV2Request(string subscriptionId, strin uri.AppendPath(name, true); uri.AppendPath("/config/authsettingsV2/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -2182,8 +2182,8 @@ public Response GetAuthSettingsV2(string subscriptionId, str internal HttpMessage CreateUpdateAzureStorageAccountsRequest(string subscriptionId, string resourceGroupName, string name, AzureStoragePropertyDictionary azureStorageAccounts) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -2194,12 +2194,12 @@ internal HttpMessage CreateUpdateAzureStorageAccountsRequest(string subscription uri.AppendPath(name, true); uri.AppendPath("/config/azurestorageaccounts", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(azureStorageAccounts); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -2269,8 +2269,8 @@ public Response UpdateAzureStorageAccounts(strin internal HttpMessage CreateListAzureStorageAccountsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -2281,8 +2281,8 @@ internal HttpMessage CreateListAzureStorageAccountsRequest(string subscriptionId uri.AppendPath(name, true); uri.AppendPath("/config/azurestorageaccounts/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -2435,8 +2435,8 @@ public Response UpdateBackupConfiguration(string subscriptionId, internal HttpMessage CreateDeleteBackupConfigurationRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -2447,8 +2447,8 @@ internal HttpMessage CreateDeleteBackupConfigurationRequest(string subscriptionI uri.AppendPath(name, true); uri.AppendPath("/config/backup", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -2504,8 +2504,8 @@ public Response DeleteBackupConfiguration(string subscriptionId, string resource internal HttpMessage CreateGetBackupConfigurationRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -2516,8 +2516,8 @@ internal HttpMessage CreateGetBackupConfigurationRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/config/backup/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -2583,8 +2583,8 @@ public Response GetBackupConfiguration(string subscriptionId, str internal HttpMessage CreateGetAppSettingsKeyVaultReferencesRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -2595,8 +2595,8 @@ internal HttpMessage CreateGetAppSettingsKeyVaultReferencesRequest(string subscr uri.AppendPath(name, true); uri.AppendPath("/config/configreferences/appsettings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -2662,8 +2662,8 @@ public Response GetAppSettingsKeyVaultReferences(strin internal HttpMessage CreateGetAppSettingKeyVaultReferenceRequest(string subscriptionId, string resourceGroupName, string name, string appSettingKey) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -2675,8 +2675,8 @@ internal HttpMessage CreateGetAppSettingKeyVaultReferenceRequest(string subscrip uri.AppendPath("/config/configreferences/appsettings/", false); uri.AppendPath(appSettingKey, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -2750,8 +2750,8 @@ public Response GetAppSettingKeyVaultReference(string internal HttpMessage CreateGetSiteConnectionStringKeyVaultReferencesRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -2762,8 +2762,8 @@ internal HttpMessage CreateGetSiteConnectionStringKeyVaultReferencesRequest(stri uri.AppendPath(name, true); uri.AppendPath("/config/configreferences/connectionstrings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -2829,8 +2829,8 @@ public Response GetSiteConnectionStringKeyVaultReferen internal HttpMessage CreateGetSiteConnectionStringKeyVaultReferenceRequest(string subscriptionId, string resourceGroupName, string name, string connectionStringKey) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -2842,8 +2842,8 @@ internal HttpMessage CreateGetSiteConnectionStringKeyVaultReferenceRequest(strin uri.AppendPath("/config/configreferences/connectionstrings/", false); uri.AppendPath(connectionStringKey, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -2917,8 +2917,8 @@ public Response GetSiteConnectionStringKeyVaultReferen internal HttpMessage CreateUpdateConnectionStringsRequest(string subscriptionId, string resourceGroupName, string name, ConnectionStringDictionary connectionStrings) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -2929,12 +2929,12 @@ internal HttpMessage CreateUpdateConnectionStringsRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/config/connectionstrings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(connectionStrings); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -3004,8 +3004,8 @@ public Response UpdateConnectionStrings(string subsc internal HttpMessage CreateListConnectionStringsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3016,8 +3016,8 @@ internal HttpMessage CreateListConnectionStringsRequest(string subscriptionId, s uri.AppendPath(name, true); uri.AppendPath("/config/connectionstrings/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -3083,8 +3083,8 @@ public Response ListConnectionStrings(string subscri internal HttpMessage CreateGetDiagnosticLogsConfigurationRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3095,8 +3095,8 @@ internal HttpMessage CreateGetDiagnosticLogsConfigurationRequest(string subscrip uri.AppendPath(name, true); uri.AppendPath("/config/logs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -3166,8 +3166,8 @@ public Response GetDiagnosticLogsConfiguration(string subscr internal HttpMessage CreateUpdateDiagnosticLogsConfigRequest(string subscriptionId, string resourceGroupName, string name, SiteLogsConfigData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3178,12 +3178,12 @@ internal HttpMessage CreateUpdateDiagnosticLogsConfigRequest(string subscription uri.AppendPath(name, true); uri.AppendPath("/config/logs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -3253,8 +3253,8 @@ public Response UpdateDiagnosticLogsConfig(string subscripti internal HttpMessage CreateUpdateMetadataRequest(string subscriptionId, string resourceGroupName, string name, AppServiceConfigurationDictionary metadata) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3265,12 +3265,12 @@ internal HttpMessage CreateUpdateMetadataRequest(string subscriptionId, string r uri.AppendPath(name, true); uri.AppendPath("/config/metadata", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(metadata); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -3340,8 +3340,8 @@ public Response UpdateMetadata(string subscri internal HttpMessage CreateListMetadataRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3352,8 +3352,8 @@ internal HttpMessage CreateListMetadataRequest(string subscriptionId, string res uri.AppendPath(name, true); uri.AppendPath("/config/metadata/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -3419,8 +3419,8 @@ public Response ListMetadata(string subscript internal HttpMessage CreateListPublishingCredentialsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3431,8 +3431,8 @@ internal HttpMessage CreateListPublishingCredentialsRequest(string subscriptionI uri.AppendPath(name, true); uri.AppendPath("/config/publishingcredentials/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -3488,8 +3488,8 @@ public Response ListPublishingCredentials(string subscriptionId, string resource internal HttpMessage CreateUpdateSitePushSettingsRequest(string subscriptionId, string resourceGroupName, string name, PushSettings pushSettings) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3500,12 +3500,12 @@ internal HttpMessage CreateUpdateSitePushSettingsRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/config/pushsettings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(pushSettings); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -3575,8 +3575,8 @@ public Response UpdateSitePushSettings(string subscriptionId, stri internal HttpMessage CreateListSitePushSettingsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3587,8 +3587,8 @@ internal HttpMessage CreateListSitePushSettingsRequest(string subscriptionId, st uri.AppendPath(name, true); uri.AppendPath("/config/pushsettings/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -3654,8 +3654,8 @@ public Response ListSitePushSettings(string subscriptionId, string internal HttpMessage CreateListSlotConfigurationNamesRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3666,8 +3666,8 @@ internal HttpMessage CreateListSlotConfigurationNamesRequest(string subscription uri.AppendPath(name, true); uri.AppendPath("/config/slotConfigNames", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -3737,8 +3737,8 @@ public Response ListSlotConfigurationNames(string s internal HttpMessage CreateUpdateSlotConfigurationNamesRequest(string subscriptionId, string resourceGroupName, string name, SlotConfigNamesResourceData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3749,12 +3749,12 @@ internal HttpMessage CreateUpdateSlotConfigurationNamesRequest(string subscripti uri.AppendPath(name, true); uri.AppendPath("/config/slotConfigNames", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -3824,8 +3824,8 @@ public Response UpdateSlotConfigurationNames(string internal HttpMessage CreateGetConfigurationRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3836,8 +3836,8 @@ internal HttpMessage CreateGetConfigurationRequest(string subscriptionId, string uri.AppendPath(name, true); uri.AppendPath("/config/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -3907,8 +3907,8 @@ public Response GetConfiguration(string subscriptionId, string r internal HttpMessage CreateCreateOrUpdateConfigurationRequest(string subscriptionId, string resourceGroupName, string name, SiteConfigData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -3919,12 +3919,12 @@ internal HttpMessage CreateCreateOrUpdateConfigurationRequest(string subscriptio uri.AppendPath(name, true); uri.AppendPath("/config/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -3994,8 +3994,8 @@ public Response CreateOrUpdateConfiguration(string subscriptionI internal HttpMessage CreateUpdateConfigurationRequest(string subscriptionId, string resourceGroupName, string name, SiteConfigData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4006,12 +4006,12 @@ internal HttpMessage CreateUpdateConfigurationRequest(string subscriptionId, str uri.AppendPath(name, true); uri.AppendPath("/config/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -4081,8 +4081,8 @@ public Response UpdateConfiguration(string subscriptionId, strin internal HttpMessage CreateListConfigurationSnapshotInfoRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4093,8 +4093,8 @@ internal HttpMessage CreateListConfigurationSnapshotInfoRequest(string subscript uri.AppendPath(name, true); uri.AppendPath("/config/web/snapshots", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -4160,8 +4160,8 @@ public Response ListConfigurationSnapsh internal HttpMessage CreateGetConfigurationSnapshotRequest(string subscriptionId, string resourceGroupName, string name, string snapshotId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4173,8 +4173,8 @@ internal HttpMessage CreateGetConfigurationSnapshotRequest(string subscriptionId uri.AppendPath("/config/web/snapshots/", false); uri.AppendPath(snapshotId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -4248,8 +4248,8 @@ public Response GetConfigurationSnapshot(string subscriptionId, internal HttpMessage CreateRecoverSiteConfigurationSnapshotRequest(string subscriptionId, string resourceGroupName, string name, string snapshotId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4262,8 +4262,8 @@ internal HttpMessage CreateRecoverSiteConfigurationSnapshotRequest(string subscr uri.AppendPath(snapshotId, true); uri.AppendPath("/recover", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -4323,8 +4323,8 @@ public Response RecoverSiteConfigurationSnapshot(string subscriptionId, string r internal HttpMessage CreateGetWebSiteContainerLogsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4335,8 +4335,8 @@ internal HttpMessage CreateGetWebSiteContainerLogsRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/containerlogs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/octet-stream"); + request.Uri = uri; + request.Headers.Add("Accept", "application/octet-stream"); _userAgent.Apply(message); return message; } @@ -4402,8 +4402,8 @@ public Response GetWebSiteContainerLogs(string subscriptionId, string re internal HttpMessage CreateGetContainerLogsZipRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4414,8 +4414,8 @@ internal HttpMessage CreateGetContainerLogsZipRequest(string subscriptionId, str uri.AppendPath(name, true); uri.AppendPath("/containerlogs/zip/download", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/zip"); + request.Uri = uri; + request.Headers.Add("Accept", "application/zip"); _userAgent.Apply(message); return message; } @@ -4481,8 +4481,8 @@ public Response GetContainerLogsZip(string subscriptionId, string resour internal HttpMessage CreateListContinuousWebJobsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4493,8 +4493,8 @@ internal HttpMessage CreateListContinuousWebJobsRequest(string subscriptionId, s uri.AppendPath(name, true); uri.AppendPath("/continuouswebjobs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -4560,8 +4560,8 @@ public Response ListContinuousWebJobs(string subscri internal HttpMessage CreateGetContinuousWebJobRequest(string subscriptionId, string resourceGroupName, string name, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4573,8 +4573,8 @@ internal HttpMessage CreateGetContinuousWebJobRequest(string subscriptionId, str uri.AppendPath("/continuouswebjobs/", false); uri.AppendPath(webJobName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -4648,8 +4648,8 @@ public Response GetContinuousWebJob(string subscriptionId, internal HttpMessage CreateDeleteContinuousWebJobRequest(string subscriptionId, string resourceGroupName, string name, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4661,8 +4661,8 @@ internal HttpMessage CreateDeleteContinuousWebJobRequest(string subscriptionId, uri.AppendPath("/continuouswebjobs/", false); uri.AppendPath(webJobName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -4724,8 +4724,8 @@ public Response DeleteContinuousWebJob(string subscriptionId, string resourceGro internal HttpMessage CreateStartContinuousWebJobRequest(string subscriptionId, string resourceGroupName, string name, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4738,8 +4738,8 @@ internal HttpMessage CreateStartContinuousWebJobRequest(string subscriptionId, s uri.AppendPath(webJobName, true); uri.AppendPath("/start", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -4799,8 +4799,8 @@ public Response StartContinuousWebJob(string subscriptionId, string resourceGrou internal HttpMessage CreateStopContinuousWebJobRequest(string subscriptionId, string resourceGroupName, string name, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4813,8 +4813,8 @@ internal HttpMessage CreateStopContinuousWebJobRequest(string subscriptionId, st uri.AppendPath(webJobName, true); uri.AppendPath("/stop", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -4874,8 +4874,8 @@ public Response StopContinuousWebJob(string subscriptionId, string resourceGroup internal HttpMessage CreateListDeploymentsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4886,8 +4886,8 @@ internal HttpMessage CreateListDeploymentsRequest(string subscriptionId, string uri.AppendPath(name, true); uri.AppendPath("/deployments", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -4953,8 +4953,8 @@ public Response ListDeployments(string subscriptionId, str internal HttpMessage CreateGetDeploymentRequest(string subscriptionId, string resourceGroupName, string name, string id) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -4966,8 +4966,8 @@ internal HttpMessage CreateGetDeploymentRequest(string subscriptionId, string re uri.AppendPath("/deployments/", false); uri.AppendPath(id, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -5041,8 +5041,8 @@ public Response GetDeployment(string subscriptionId, string reso internal HttpMessage CreateCreateDeploymentRequest(string subscriptionId, string resourceGroupName, string name, string id, DeploymentData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5054,12 +5054,12 @@ internal HttpMessage CreateCreateDeploymentRequest(string subscriptionId, string uri.AppendPath("/deployments/", false); uri.AppendPath(id, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -5133,8 +5133,8 @@ public Response CreateDeployment(string subscriptionId, string r internal HttpMessage CreateDeleteDeploymentRequest(string subscriptionId, string resourceGroupName, string name, string id) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5146,8 +5146,8 @@ internal HttpMessage CreateDeleteDeploymentRequest(string subscriptionId, string uri.AppendPath("/deployments/", false); uri.AppendPath(id, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -5209,8 +5209,8 @@ public Response DeleteDeployment(string subscriptionId, string resourceGroupName internal HttpMessage CreateListDeploymentLogRequest(string subscriptionId, string resourceGroupName, string name, string id) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5223,8 +5223,8 @@ internal HttpMessage CreateListDeploymentLogRequest(string subscriptionId, strin uri.AppendPath(id, true); uri.AppendPath("/log", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -5294,8 +5294,8 @@ public Response ListDeploymentLog(string subscriptionId, string internal HttpMessage CreateDiscoverBackupRequest(string subscriptionId, string resourceGroupName, string name, RestoreRequestInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5306,12 +5306,12 @@ internal HttpMessage CreateDiscoverBackupRequest(string subscriptionId, string r uri.AppendPath(name, true); uri.AppendPath("/discoverbackup", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(info); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -5381,8 +5381,8 @@ public Response DiscoverBackup(string subscriptionId, string internal HttpMessage CreateListDomainOwnershipIdentifiersRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5393,8 +5393,8 @@ internal HttpMessage CreateListDomainOwnershipIdentifiersRequest(string subscrip uri.AppendPath(name, true); uri.AppendPath("/domainOwnershipIdentifiers", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -5460,8 +5460,8 @@ public Response ListDomainOwnershipIdentifiers(string subs internal HttpMessage CreateGetDomainOwnershipIdentifierRequest(string subscriptionId, string resourceGroupName, string name, string domainOwnershipIdentifierName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5473,8 +5473,8 @@ internal HttpMessage CreateGetDomainOwnershipIdentifierRequest(string subscripti uri.AppendPath("/domainOwnershipIdentifiers/", false); uri.AppendPath(domainOwnershipIdentifierName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -5548,8 +5548,8 @@ public Response GetDomainOwnershipIdentifier(string subscription internal HttpMessage CreateCreateOrUpdateDomainOwnershipIdentifierRequest(string subscriptionId, string resourceGroupName, string name, string domainOwnershipIdentifierName, IdentifierData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5561,12 +5561,12 @@ internal HttpMessage CreateCreateOrUpdateDomainOwnershipIdentifierRequest(string uri.AppendPath("/domainOwnershipIdentifiers/", false); uri.AppendPath(domainOwnershipIdentifierName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -5640,8 +5640,8 @@ public Response CreateOrUpdateDomainOwnershipIdentifier(string s internal HttpMessage CreateDeleteDomainOwnershipIdentifierRequest(string subscriptionId, string resourceGroupName, string name, string domainOwnershipIdentifierName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5653,8 +5653,8 @@ internal HttpMessage CreateDeleteDomainOwnershipIdentifierRequest(string subscri uri.AppendPath("/domainOwnershipIdentifiers/", false); uri.AppendPath(domainOwnershipIdentifierName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -5716,8 +5716,8 @@ public Response DeleteDomainOwnershipIdentifier(string subscriptionId, string re internal HttpMessage CreateUpdateDomainOwnershipIdentifierRequest(string subscriptionId, string resourceGroupName, string name, string domainOwnershipIdentifierName, IdentifierData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5729,12 +5729,12 @@ internal HttpMessage CreateUpdateDomainOwnershipIdentifierRequest(string subscri uri.AppendPath("/domainOwnershipIdentifiers/", false); uri.AppendPath(domainOwnershipIdentifierName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -5808,8 +5808,8 @@ public Response UpdateDomainOwnershipIdentifier(string subscript internal HttpMessage CreateGetMSDeployStatusRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5820,8 +5820,8 @@ internal HttpMessage CreateGetMSDeployStatusRequest(string subscriptionId, strin uri.AppendPath(name, true); uri.AppendPath("/extensions/MSDeploy", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -5891,8 +5891,8 @@ public Response GetMSDeployStatus(string subscriptionId, str internal HttpMessage CreateCreateMSDeployOperationRequest(string subscriptionId, string resourceGroupName, string name, MSDeploy msDeploy) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5903,12 +5903,12 @@ internal HttpMessage CreateCreateMSDeployOperationRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/extensions/MSDeploy", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(msDeploy); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -5968,8 +5968,8 @@ public Response CreateMSDeployOperation(string subscriptionId, string resourceGr internal HttpMessage CreateGetMSDeployLogRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -5980,8 +5980,8 @@ internal HttpMessage CreateGetMSDeployLogRequest(string subscriptionId, string r uri.AppendPath(name, true); uri.AppendPath("/extensions/MSDeploy/log", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -6047,8 +6047,8 @@ public Response GetMSDeployLog(string subscriptionId, string resour internal HttpMessage CreateListFunctionsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6059,8 +6059,8 @@ internal HttpMessage CreateListFunctionsRequest(string subscriptionId, string re uri.AppendPath(name, true); uri.AppendPath("/functions", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -6126,8 +6126,8 @@ public Response ListFunctions(string subscriptionId, internal HttpMessage CreateGetFunctionsAdminTokenRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6138,8 +6138,8 @@ internal HttpMessage CreateGetFunctionsAdminTokenRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/functions/admin/token", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -6205,8 +6205,8 @@ public Response GetFunctionsAdminToken(string subscriptionId, string res internal HttpMessage CreateGetFunctionRequest(string subscriptionId, string resourceGroupName, string name, string functionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6218,8 +6218,8 @@ internal HttpMessage CreateGetFunctionRequest(string subscriptionId, string reso uri.AppendPath("/functions/", false); uri.AppendPath(functionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -6293,8 +6293,8 @@ public Response GetFunction(string subscriptionId, string internal HttpMessage CreateCreateFunctionRequest(string subscriptionId, string resourceGroupName, string name, string functionName, FunctionEnvelopeData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6306,12 +6306,12 @@ internal HttpMessage CreateCreateFunctionRequest(string subscriptionId, string r uri.AppendPath("/functions/", false); uri.AppendPath(functionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -6375,8 +6375,8 @@ public Response CreateFunction(string subscriptionId, string resourceGroupName, internal HttpMessage CreateDeleteFunctionRequest(string subscriptionId, string resourceGroupName, string name, string functionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6388,8 +6388,8 @@ internal HttpMessage CreateDeleteFunctionRequest(string subscriptionId, string r uri.AppendPath("/functions/", false); uri.AppendPath(functionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -6449,8 +6449,8 @@ public Response DeleteFunction(string subscriptionId, string resourceGroupName, internal HttpMessage CreateCreateOrUpdateFunctionSecretRequest(string subscriptionId, string resourceGroupName, string name, string functionName, string keyName, KeyInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6464,12 +6464,12 @@ internal HttpMessage CreateCreateOrUpdateFunctionSecretRequest(string subscripti uri.AppendPath("/keys/", false); uri.AppendPath(keyName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(info); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -6549,8 +6549,8 @@ public Response CreateOrUpdateFunctionSecret(string subscriptionId, str internal HttpMessage CreateDeleteFunctionSecretRequest(string subscriptionId, string resourceGroupName, string name, string functionName, string keyName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6564,8 +6564,8 @@ internal HttpMessage CreateDeleteFunctionSecretRequest(string subscriptionId, st uri.AppendPath("/keys/", false); uri.AppendPath(keyName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -6629,8 +6629,8 @@ public Response DeleteFunctionSecret(string subscriptionId, string resourceGroup internal HttpMessage CreateListFunctionKeysRequest(string subscriptionId, string resourceGroupName, string name, string functionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6643,8 +6643,8 @@ internal HttpMessage CreateListFunctionKeysRequest(string subscriptionId, string uri.AppendPath(functionName, true); uri.AppendPath("/listkeys", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -6714,8 +6714,8 @@ public Response ListFunctionKeys(string subsc internal HttpMessage CreateListFunctionSecretsRequest(string subscriptionId, string resourceGroupName, string name, string functionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6728,8 +6728,8 @@ internal HttpMessage CreateListFunctionSecretsRequest(string subscriptionId, str uri.AppendPath(functionName, true); uri.AppendPath("/listsecrets", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -6799,8 +6799,8 @@ public Response ListFunctionSecrets(string subscriptionId, stri internal HttpMessage CreateListHostKeysRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6811,8 +6811,8 @@ internal HttpMessage CreateListHostKeysRequest(string subscriptionId, string res uri.AppendPath(name, true); uri.AppendPath("/host/default/listkeys", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -6878,8 +6878,8 @@ public Response ListHostKeys(string subscriptionId, string resourceGro internal HttpMessage CreateListSyncStatusRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6890,8 +6890,8 @@ internal HttpMessage CreateListSyncStatusRequest(string subscriptionId, string r uri.AppendPath(name, true); uri.AppendPath("/host/default/listsyncstatus", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -6947,8 +6947,8 @@ public Response ListSyncStatus(string subscriptionId, string resourceGroupName, internal HttpMessage CreateSyncFunctionsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -6959,8 +6959,8 @@ internal HttpMessage CreateSyncFunctionsRequest(string subscriptionId, string re uri.AppendPath(name, true); uri.AppendPath("/host/default/sync", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -7016,8 +7016,8 @@ public Response SyncFunctions(string subscriptionId, string resourceGroupName, s internal HttpMessage CreateCreateOrUpdateHostSecretRequest(string subscriptionId, string resourceGroupName, string name, string keyType, string keyName, KeyInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7031,12 +7031,12 @@ internal HttpMessage CreateCreateOrUpdateHostSecretRequest(string subscriptionId uri.AppendPath("/", false); uri.AppendPath(keyName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(info); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -7116,8 +7116,8 @@ public Response CreateOrUpdateHostSecret(string subscriptionId, string internal HttpMessage CreateDeleteHostSecretRequest(string subscriptionId, string resourceGroupName, string name, string keyType, string keyName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7131,8 +7131,8 @@ internal HttpMessage CreateDeleteHostSecretRequest(string subscriptionId, string uri.AppendPath("/", false); uri.AppendPath(keyName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -7196,8 +7196,8 @@ public Response DeleteHostSecret(string subscriptionId, string resourceGroupName internal HttpMessage CreateListHostNameBindingsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7208,8 +7208,8 @@ internal HttpMessage CreateListHostNameBindingsRequest(string subscriptionId, st uri.AppendPath(name, true); uri.AppendPath("/hostNameBindings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -7275,8 +7275,8 @@ public Response ListHostNameBindings(string subscript internal HttpMessage CreateGetHostNameBindingRequest(string subscriptionId, string resourceGroupName, string name, string hostName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7288,8 +7288,8 @@ internal HttpMessage CreateGetHostNameBindingRequest(string subscriptionId, stri uri.AppendPath("/hostNameBindings/", false); uri.AppendPath(hostName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -7363,8 +7363,8 @@ public Response GetHostNameBinding(string subscriptionId, s internal HttpMessage CreateCreateOrUpdateHostNameBindingRequest(string subscriptionId, string resourceGroupName, string name, string hostName, HostNameBindingData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7376,12 +7376,12 @@ internal HttpMessage CreateCreateOrUpdateHostNameBindingRequest(string subscript uri.AppendPath("/hostNameBindings/", false); uri.AppendPath(hostName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -7455,8 +7455,8 @@ public Response CreateOrUpdateHostNameBinding(string subscr internal HttpMessage CreateDeleteHostNameBindingRequest(string subscriptionId, string resourceGroupName, string name, string hostName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7468,8 +7468,8 @@ internal HttpMessage CreateDeleteHostNameBindingRequest(string subscriptionId, s uri.AppendPath("/hostNameBindings/", false); uri.AppendPath(hostName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -7531,8 +7531,8 @@ public Response DeleteHostNameBinding(string subscriptionId, string resourceGrou internal HttpMessage CreateGetHybridConnectionRequest(string subscriptionId, string resourceGroupName, string name, string namespaceName, string relayName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7546,8 +7546,8 @@ internal HttpMessage CreateGetHybridConnectionRequest(string subscriptionId, str uri.AppendPath("/relays/", false); uri.AppendPath(relayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -7625,8 +7625,8 @@ public Response GetHybridConnection(string subscriptionId, internal HttpMessage CreateCreateOrUpdateHybridConnectionRequest(string subscriptionId, string resourceGroupName, string name, string namespaceName, string relayName, HybridConnectionData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7640,12 +7640,12 @@ internal HttpMessage CreateCreateOrUpdateHybridConnectionRequest(string subscrip uri.AppendPath("/relays/", false); uri.AppendPath(relayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -7723,8 +7723,8 @@ public Response CreateOrUpdateHybridConnection(string subs internal HttpMessage CreateDeleteHybridConnectionRequest(string subscriptionId, string resourceGroupName, string name, string namespaceName, string relayName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7738,8 +7738,8 @@ internal HttpMessage CreateDeleteHybridConnectionRequest(string subscriptionId, uri.AppendPath("/relays/", false); uri.AppendPath(relayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -7803,8 +7803,8 @@ public Response DeleteHybridConnection(string subscriptionId, string resourceGro internal HttpMessage CreateUpdateHybridConnectionRequest(string subscriptionId, string resourceGroupName, string name, string namespaceName, string relayName, HybridConnectionData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7818,12 +7818,12 @@ internal HttpMessage CreateUpdateHybridConnectionRequest(string subscriptionId, uri.AppendPath("/relays/", false); uri.AppendPath(relayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -7901,8 +7901,8 @@ public Response UpdateHybridConnection(string subscription internal HttpMessage CreateListHybridConnectionsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7913,8 +7913,8 @@ internal HttpMessage CreateListHybridConnectionsRequest(string subscriptionId, s uri.AppendPath(name, true); uri.AppendPath("/hybridConnectionRelays", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -7980,8 +7980,8 @@ public Response ListHybridConnections(string subscriptionI internal HttpMessage CreateListRelayServiceConnectionsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -7992,8 +7992,8 @@ internal HttpMessage CreateListRelayServiceConnectionsRequest(string subscriptio uri.AppendPath(name, true); uri.AppendPath("/hybridconnection", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -8059,8 +8059,8 @@ public Response ListRelayServiceConnections(st internal HttpMessage CreateGetRelayServiceConnectionRequest(string subscriptionId, string resourceGroupName, string name, string entityName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -8072,8 +8072,8 @@ internal HttpMessage CreateGetRelayServiceConnectionRequest(string subscriptionI uri.AppendPath("/hybridconnection/", false); uri.AppendPath(entityName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -8147,8 +8147,8 @@ public Response GetRelayServiceConnection(stri internal HttpMessage CreateCreateOrUpdateRelayServiceConnectionRequest(string subscriptionId, string resourceGroupName, string name, string entityName, RelayServiceConnectionEntityData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -8160,12 +8160,12 @@ internal HttpMessage CreateCreateOrUpdateRelayServiceConnectionRequest(string su uri.AppendPath("/hybridconnection/", false); uri.AppendPath(entityName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -8239,8 +8239,8 @@ public Response CreateOrUpdateRelayServiceConn internal HttpMessage CreateDeleteRelayServiceConnectionRequest(string subscriptionId, string resourceGroupName, string name, string entityName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -8252,8 +8252,8 @@ internal HttpMessage CreateDeleteRelayServiceConnectionRequest(string subscripti uri.AppendPath("/hybridconnection/", false); uri.AppendPath(entityName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -8313,8 +8313,8 @@ public Response DeleteRelayServiceConnection(string subscriptionId, string resou internal HttpMessage CreateUpdateRelayServiceConnectionRequest(string subscriptionId, string resourceGroupName, string name, string entityName, RelayServiceConnectionEntityData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -8326,12 +8326,12 @@ internal HttpMessage CreateUpdateRelayServiceConnectionRequest(string subscripti uri.AppendPath("/hybridconnection/", false); uri.AppendPath(entityName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(data); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -8405,8 +8405,8 @@ public Response UpdateRelayServiceConnection(s internal HttpMessage CreateListInstanceIdentifiersRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -8417,8 +8417,8 @@ internal HttpMessage CreateListInstanceIdentifiersRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/instances", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -8484,8 +8484,8 @@ public Response ListInstanceIdentifiers(string s internal HttpMessage CreateGetInstanceInfoRequest(string subscriptionId, string resourceGroupName, string name, string instanceId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -8497,8 +8497,8 @@ internal HttpMessage CreateGetInstanceInfoRequest(string subscriptionId, string uri.AppendPath("/instances/", false); uri.AppendPath(instanceId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -8572,8 +8572,8 @@ public Response GetInstanceInfo(string subscriptionId internal HttpMessage CreateGetInstanceMSDeployStatusRequest(string subscriptionId, string resourceGroupName, string name, string instanceId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -8586,8 +8586,8 @@ internal HttpMessage CreateGetInstanceMSDeployStatusRequest(string subscriptionI uri.AppendPath(instanceId, true); uri.AppendPath("/extensions/MSDeploy", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -8661,8 +8661,8 @@ public Response GetInstanceMSDeployStatus(string subscriptio internal HttpMessage CreateCreateInstanceMSDeployOperationRequest(string subscriptionId, string resourceGroupName, string name, string instanceId, MSDeploy msDeploy) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -8675,12 +8675,12 @@ internal HttpMessage CreateCreateInstanceMSDeployOperationRequest(string subscri uri.AppendPath(instanceId, true); uri.AppendPath("/extensions/MSDeploy", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(msDeploy); - request0.Content = content; + request.Content = content; _userAgent.Apply(message); return message; } @@ -8744,8 +8744,8 @@ public Response CreateInstanceMSDeployOperation(string subscriptionId, string re internal HttpMessage CreateGetInstanceMSDeployLogRequest(string subscriptionId, string resourceGroupName, string name, string instanceId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -8758,8 +8758,8 @@ internal HttpMessage CreateGetInstanceMSDeployLogRequest(string subscriptionId, uri.AppendPath(instanceId, true); uri.AppendPath("/extensions/MSDeploy/log", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -8829,8 +8829,8 @@ public Response GetInstanceMSDeployLog(string subscriptionId, strin internal HttpMessage CreateListInstanceProcessesRequest(string subscriptionId, string resourceGroupName, string name, string instanceId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -8843,8 +8843,8 @@ internal HttpMessage CreateListInstanceProcessesRequest(string subscriptionId, s uri.AppendPath(instanceId, true); uri.AppendPath("/processes", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -8914,8 +8914,8 @@ public Response ListInstanceProcesses(string subscription internal HttpMessage CreateGetInstanceProcessRequest(string subscriptionId, string resourceGroupName, string name, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -8929,8 +8929,8 @@ internal HttpMessage CreateGetInstanceProcessRequest(string subscriptionId, stri uri.AppendPath("/processes/", false); uri.AppendPath(processId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -9008,8 +9008,8 @@ public Response GetInstanceProcess(string subscriptionId, strin internal HttpMessage CreateDeleteInstanceProcessRequest(string subscriptionId, string resourceGroupName, string name, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9023,8 +9023,8 @@ internal HttpMessage CreateDeleteInstanceProcessRequest(string subscriptionId, s uri.AppendPath("/processes/", false); uri.AppendPath(processId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -9088,8 +9088,8 @@ public Response DeleteInstanceProcess(string subscriptionId, string resourceGrou internal HttpMessage CreateGetInstanceProcessDumpRequest(string subscriptionId, string resourceGroupName, string name, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9104,8 +9104,8 @@ internal HttpMessage CreateGetInstanceProcessDumpRequest(string subscriptionId, uri.AppendPath(processId, true); uri.AppendPath("/dump", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -9175,8 +9175,8 @@ public Response GetInstanceProcessDump(string subscriptionId, string res internal HttpMessage CreateListInstanceProcessModulesRequest(string subscriptionId, string resourceGroupName, string name, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9191,8 +9191,8 @@ internal HttpMessage CreateListInstanceProcessModulesRequest(string subscription uri.AppendPath(processId, true); uri.AppendPath("/modules", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -9266,8 +9266,8 @@ public Response ListInstanceProcessModules(string s internal HttpMessage CreateGetInstanceProcessModuleRequest(string subscriptionId, string resourceGroupName, string name, string instanceId, string processId, string baseAddress) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9283,8 +9283,8 @@ internal HttpMessage CreateGetInstanceProcessModuleRequest(string subscriptionId uri.AppendPath("/modules/", false); uri.AppendPath(baseAddress, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -9366,8 +9366,8 @@ public Response GetInstanceProcessModule(string subscript internal HttpMessage CreateListInstanceProcessThreadsRequest(string subscriptionId, string resourceGroupName, string name, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9382,8 +9382,8 @@ internal HttpMessage CreateListInstanceProcessThreadsRequest(string subscription uri.AppendPath(processId, true); uri.AppendPath("/threads", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -9457,8 +9457,8 @@ public Response ListInstanceProcessThreads(string s internal HttpMessage CreateIsCloneableRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9469,8 +9469,8 @@ internal HttpMessage CreateIsCloneableRequest(string subscriptionId, string reso uri.AppendPath(name, true); uri.AppendPath("/iscloneable", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -9536,8 +9536,8 @@ public Response IsCloneable(string subscriptionId, string reso internal HttpMessage CreateListSiteBackupsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9548,8 +9548,8 @@ internal HttpMessage CreateListSiteBackupsRequest(string subscriptionId, string uri.AppendPath(name, true); uri.AppendPath("/listbackups", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -9615,8 +9615,8 @@ public Response ListSiteBackups(string subscriptionId, str internal HttpMessage CreateListSyncFunctionTriggersRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9627,8 +9627,8 @@ internal HttpMessage CreateListSyncFunctionTriggersRequest(string subscriptionId uri.AppendPath(name, true); uri.AppendPath("/listsyncfunctiontriggerstatus", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -9694,8 +9694,8 @@ public Response ListSyncFunctionTriggers(string subscriptionId, internal HttpMessage CreateMigrateStorageRequest(string subscriptionId, string resourceGroupName, string name, string subscriptionName, StorageMigrationContent content) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9707,12 +9707,12 @@ internal HttpMessage CreateMigrateStorageRequest(string subscriptionId, string r uri.AppendPath("/migrate", false); uri.AppendQuery("subscriptionName", subscriptionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content0 = new Utf8JsonRequestContent(); content0.JsonWriter.WriteObjectValue(content); - request0.Content = content0; + request.Content = content0; _userAgent.Apply(message); return message; } @@ -9776,8 +9776,8 @@ public Response MigrateStorage(string subscriptionId, string resourceGroupName, internal HttpMessage CreateMigrateMySqlRequest(string subscriptionId, string resourceGroupName, string name, MigrateMySqlContent content) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9788,12 +9788,12 @@ internal HttpMessage CreateMigrateMySqlRequest(string subscriptionId, string res uri.AppendPath(name, true); uri.AppendPath("/migratemysql", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content0 = new Utf8JsonRequestContent(); content0.JsonWriter.WriteObjectValue(content); - request0.Content = content0; + request.Content = content0; _userAgent.Apply(message); return message; } @@ -9853,8 +9853,8 @@ public Response MigrateMySql(string subscriptionId, string resourceGroupName, st internal HttpMessage CreateGetMigrateMySqlStatusRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9865,8 +9865,8 @@ internal HttpMessage CreateGetMigrateMySqlStatusRequest(string subscriptionId, s uri.AppendPath(name, true); uri.AppendPath("/migratemysql/status", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -9932,8 +9932,8 @@ public Response GetMigrateMySqlStatus(string subscriptio internal HttpMessage CreateGetSwiftVirtualNetworkConnectionRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -9944,8 +9944,8 @@ internal HttpMessage CreateGetSwiftVirtualNetworkConnectionRequest(string subscr uri.AppendPath(name, true); uri.AppendPath("/networkConfig/virtualNetwork", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -10015,8 +10015,8 @@ public Response GetSwiftVirtualNetworkConnection(string internal HttpMessage CreateCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckRequest(string subscriptionId, string resourceGroupName, string name, SwiftVirtualNetworkData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -10027,12 +10027,12 @@ internal HttpMessage CreateCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckR uri.AppendPath(name, true); uri.AppendPath("/networkConfig/virtualNetwork", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -10108,8 +10108,8 @@ public Response CreateOrUpdateSwiftVirtualNetworkConnec internal HttpMessage CreateDeleteSwiftVirtualNetworkRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -10120,8 +10120,8 @@ internal HttpMessage CreateDeleteSwiftVirtualNetworkRequest(string subscriptionI uri.AppendPath(name, true); uri.AppendPath("/networkConfig/virtualNetwork", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -10177,8 +10177,8 @@ public Response DeleteSwiftVirtualNetwork(string subscriptionId, string resource internal HttpMessage CreateUpdateSwiftVirtualNetworkConnectionWithCheckRequest(string subscriptionId, string resourceGroupName, string name, SwiftVirtualNetworkData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -10189,12 +10189,12 @@ internal HttpMessage CreateUpdateSwiftVirtualNetworkConnectionWithCheckRequest(s uri.AppendPath(name, true); uri.AppendPath("/networkConfig/virtualNetwork", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -10270,8 +10270,8 @@ public Response UpdateSwiftVirtualNetworkConnectionWith internal HttpMessage CreateListNetworkFeaturesRequest(string subscriptionId, string resourceGroupName, string name, string view) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -10283,8 +10283,8 @@ internal HttpMessage CreateListNetworkFeaturesRequest(string subscriptionId, str uri.AppendPath("/networkFeatures/", false); uri.AppendPath(view, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -10354,8 +10354,8 @@ public Response ListNetworkFeatures(string subscriptionId, s internal HttpMessage CreateGetNetworkTraceOperationRequest(string subscriptionId, string resourceGroupName, string name, string operationId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -10367,8 +10367,8 @@ internal HttpMessage CreateGetNetworkTraceOperationRequest(string subscriptionId uri.AppendPath("/networkTrace/operationresults/", false); uri.AppendPath(operationId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -10450,8 +10450,8 @@ public Response> GetNetworkTraceOperation(string sub internal HttpMessage CreateStartWebSiteNetworkTraceRequest(string subscriptionId, string resourceGroupName, string name, int? durationInSeconds, int? maxFrameLength, string sasUrl) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -10474,8 +10474,8 @@ internal HttpMessage CreateStartWebSiteNetworkTraceRequest(string subscriptionId uri.AppendQuery("sasUrl", sasUrl, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -10547,8 +10547,8 @@ public Response StartWebSiteNetworkTrace(string subscriptionId, string r internal HttpMessage CreateStartWebSiteNetworkTraceOperationRequest(string subscriptionId, string resourceGroupName, string name, int? durationInSeconds, int? maxFrameLength, string sasUrl) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -10571,8 +10571,8 @@ internal HttpMessage CreateStartWebSiteNetworkTraceOperationRequest(string subsc uri.AppendQuery("sasUrl", sasUrl, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -10636,8 +10636,8 @@ public Response StartWebSiteNetworkTraceOperation(string subscriptionId, string internal HttpMessage CreateStopWebSiteNetworkTraceRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -10648,8 +10648,8 @@ internal HttpMessage CreateStopWebSiteNetworkTraceRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/networkTrace/stop", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -10707,8 +10707,8 @@ public Response StopWebSiteNetworkTrace(string subscriptionId, string resourceGr internal HttpMessage CreateGetNetworkTracesRequest(string subscriptionId, string resourceGroupName, string name, string operationId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -10720,8 +10720,8 @@ internal HttpMessage CreateGetNetworkTracesRequest(string subscriptionId, string uri.AppendPath("/networkTrace/", false); uri.AppendPath(operationId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -10801,8 +10801,8 @@ public Response> GetNetworkTraces(string subscriptio internal HttpMessage CreateGetNetworkTraceOperationV2Request(string subscriptionId, string resourceGroupName, string name, string operationId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -10814,8 +10814,8 @@ internal HttpMessage CreateGetNetworkTraceOperationV2Request(string subscription uri.AppendPath("/networkTraces/current/operationresults/", false); uri.AppendPath(operationId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -10897,8 +10897,8 @@ public Response> GetNetworkTraceOperationV2(string s internal HttpMessage CreateGetNetworkTracesV2Request(string subscriptionId, string resourceGroupName, string name, string operationId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -10910,8 +10910,8 @@ internal HttpMessage CreateGetNetworkTracesV2Request(string subscriptionId, stri uri.AppendPath("/networkTraces/", false); uri.AppendPath(operationId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -10991,8 +10991,8 @@ public Response> GetNetworkTracesV2(string subscript internal HttpMessage CreateGenerateNewSitePublishingPasswordRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11003,8 +11003,8 @@ internal HttpMessage CreateGenerateNewSitePublishingPasswordRequest(string subsc uri.AppendPath(name, true); uri.AppendPath("/newpassword", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -11062,8 +11062,8 @@ public Response GenerateNewSitePublishingPassword(string subscriptionId, string internal HttpMessage CreateListPerfMonCountersRequest(string subscriptionId, string resourceGroupName, string name, string filter) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11078,8 +11078,8 @@ internal HttpMessage CreateListPerfMonCountersRequest(string subscriptionId, str { uri.AppendQuery("$filter", filter, false); } - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -11147,8 +11147,8 @@ public Response ListPerfMonCounters(string subscriptio internal HttpMessage CreateGetSitePhpErrorLogFlagRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11159,8 +11159,8 @@ internal HttpMessage CreateGetSitePhpErrorLogFlagRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/phplogging", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -11226,8 +11226,8 @@ public Response GetSitePhpErrorLogFlag(string subscriptionI internal HttpMessage CreateListPremierAddOnsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11238,8 +11238,8 @@ internal HttpMessage CreateListPremierAddOnsRequest(string subscriptionId, strin uri.AppendPath(name, true); uri.AppendPath("/premieraddons", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -11305,8 +11305,8 @@ public Response ListPremierAddOns(string subscriptionId, strin internal HttpMessage CreateGetPremierAddOnRequest(string subscriptionId, string resourceGroupName, string name, string premierAddOnName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11318,8 +11318,8 @@ internal HttpMessage CreateGetPremierAddOnRequest(string subscriptionId, string uri.AppendPath("/premieraddons/", false); uri.AppendPath(premierAddOnName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -11393,8 +11393,8 @@ public Response GetPremierAddOn(string subscriptionId, string internal HttpMessage CreateAddPremierAddOnRequest(string subscriptionId, string resourceGroupName, string name, string premierAddOnName, PremierAddOnData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11406,12 +11406,12 @@ internal HttpMessage CreateAddPremierAddOnRequest(string subscriptionId, string uri.AppendPath("/premieraddons/", false); uri.AppendPath(premierAddOnName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -11485,8 +11485,8 @@ public Response AddPremierAddOn(string subscriptionId, string internal HttpMessage CreateDeletePremierAddOnRequest(string subscriptionId, string resourceGroupName, string name, string premierAddOnName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11498,8 +11498,8 @@ internal HttpMessage CreateDeletePremierAddOnRequest(string subscriptionId, stri uri.AppendPath("/premieraddons/", false); uri.AppendPath(premierAddOnName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -11559,8 +11559,8 @@ public Response DeletePremierAddOn(string subscriptionId, string resourceGroupNa internal HttpMessage CreateUpdatePremierAddOnRequest(string subscriptionId, string resourceGroupName, string name, string premierAddOnName, PremierAddOnPatchResource premierAddOn) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11572,12 +11572,12 @@ internal HttpMessage CreateUpdatePremierAddOnRequest(string subscriptionId, stri uri.AppendPath("/premieraddons/", false); uri.AppendPath(premierAddOnName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(premierAddOn); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(premierAddOn); + request.Content = content; _userAgent.Apply(message); return message; } @@ -11651,8 +11651,8 @@ public Response UpdatePremierAddOn(string subscriptionId, stri internal HttpMessage CreateGetPrivateAccessRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11663,8 +11663,8 @@ internal HttpMessage CreateGetPrivateAccessRequest(string subscriptionId, string uri.AppendPath(name, true); uri.AppendPath("/privateAccess/virtualNetworks", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -11734,8 +11734,8 @@ public Response GetPrivateAccess(string subscriptionId, strin internal HttpMessage CreatePutPrivateAccessVnetRequest(string subscriptionId, string resourceGroupName, string name, PrivateAccessData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11746,12 +11746,12 @@ internal HttpMessage CreatePutPrivateAccessVnetRequest(string subscriptionId, st uri.AppendPath(name, true); uri.AppendPath("/privateAccess/virtualNetworks", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -11821,8 +11821,8 @@ public Response PutPrivateAccessVnet(string subscriptionId, s internal HttpMessage CreateGetPrivateEndpointConnectionListRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11833,8 +11833,8 @@ internal HttpMessage CreateGetPrivateEndpointConnectionListRequest(string subscr uri.AppendPath(name, true); uri.AppendPath("/privateEndpointConnections", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -11900,8 +11900,8 @@ public Response GetPrivateEndpointConnectio internal HttpMessage CreateGetPrivateEndpointConnectionRequest(string subscriptionId, string resourceGroupName, string name, string privateEndpointConnectionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -11913,8 +11913,8 @@ internal HttpMessage CreateGetPrivateEndpointConnectionRequest(string subscripti uri.AppendPath("/privateEndpointConnections/", false); uri.AppendPath(privateEndpointConnectionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -11988,8 +11988,8 @@ public Response GetPrivateEndpoi internal HttpMessage CreateApproveOrRejectPrivateEndpointConnectionRequest(string subscriptionId, string resourceGroupName, string name, string privateEndpointConnectionName, PrivateLinkConnectionApprovalRequestInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12001,12 +12001,12 @@ internal HttpMessage CreateApproveOrRejectPrivateEndpointConnectionRequest(strin uri.AppendPath("/privateEndpointConnections/", false); uri.AppendPath(privateEndpointConnectionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(info); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(info); + request.Content = content; _userAgent.Apply(message); return message; } @@ -12072,8 +12072,8 @@ public Response ApproveOrRejectPrivateEndpointConnection(string subscriptionId, internal HttpMessage CreateDeletePrivateEndpointConnectionRequest(string subscriptionId, string resourceGroupName, string name, string privateEndpointConnectionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12085,8 +12085,8 @@ internal HttpMessage CreateDeletePrivateEndpointConnectionRequest(string subscri uri.AppendPath("/privateEndpointConnections/", false); uri.AppendPath(privateEndpointConnectionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -12150,8 +12150,8 @@ public Response DeletePrivateEndpointConnection(string subscriptionId, string re internal HttpMessage CreateGetPrivateLinkResourcesRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12162,8 +12162,8 @@ internal HttpMessage CreateGetPrivateLinkResourcesRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/privateLinkResources", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -12229,8 +12229,8 @@ public Response GetPrivateLinkResources(string subs internal HttpMessage CreateListProcessesRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12241,8 +12241,8 @@ internal HttpMessage CreateListProcessesRequest(string subscriptionId, string re uri.AppendPath(name, true); uri.AppendPath("/processes", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -12308,8 +12308,8 @@ public Response ListProcesses(string subscriptionId, stri internal HttpMessage CreateGetProcessRequest(string subscriptionId, string resourceGroupName, string name, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12321,8 +12321,8 @@ internal HttpMessage CreateGetProcessRequest(string subscriptionId, string resou uri.AppendPath("/processes/", false); uri.AppendPath(processId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -12396,8 +12396,8 @@ public Response GetProcess(string subscriptionId, string resour internal HttpMessage CreateDeleteProcessRequest(string subscriptionId, string resourceGroupName, string name, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12409,8 +12409,8 @@ internal HttpMessage CreateDeleteProcessRequest(string subscriptionId, string re uri.AppendPath("/processes/", false); uri.AppendPath(processId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -12470,8 +12470,8 @@ public Response DeleteProcess(string subscriptionId, string resourceGroupName, s internal HttpMessage CreateGetProcessDumpRequest(string subscriptionId, string resourceGroupName, string name, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12484,8 +12484,8 @@ internal HttpMessage CreateGetProcessDumpRequest(string subscriptionId, string r uri.AppendPath(processId, true); uri.AppendPath("/dump", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -12551,8 +12551,8 @@ public Response GetProcessDump(string subscriptionId, string resourceGro internal HttpMessage CreateListProcessModulesRequest(string subscriptionId, string resourceGroupName, string name, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12565,8 +12565,8 @@ internal HttpMessage CreateListProcessModulesRequest(string subscriptionId, stri uri.AppendPath(processId, true); uri.AppendPath("/modules", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -12636,8 +12636,8 @@ public Response ListProcessModules(string subscript internal HttpMessage CreateGetProcessModuleRequest(string subscriptionId, string resourceGroupName, string name, string processId, string baseAddress) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12651,8 +12651,8 @@ internal HttpMessage CreateGetProcessModuleRequest(string subscriptionId, string uri.AppendPath("/modules/", false); uri.AppendPath(baseAddress, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -12730,8 +12730,8 @@ public Response GetProcessModule(string subscriptionId, s internal HttpMessage CreateListProcessThreadsRequest(string subscriptionId, string resourceGroupName, string name, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12744,8 +12744,8 @@ internal HttpMessage CreateListProcessThreadsRequest(string subscriptionId, stri uri.AppendPath(processId, true); uri.AppendPath("/threads", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -12815,8 +12815,8 @@ public Response ListProcessThreads(string subscript internal HttpMessage CreateListPublicCertificatesRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12827,8 +12827,8 @@ internal HttpMessage CreateListPublicCertificatesRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/publicCertificates", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -12894,8 +12894,8 @@ public Response ListPublicCertificates(string subsc internal HttpMessage CreateGetPublicCertificateRequest(string subscriptionId, string resourceGroupName, string name, string publicCertificateName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12907,8 +12907,8 @@ internal HttpMessage CreateGetPublicCertificateRequest(string subscriptionId, st uri.AppendPath("/publicCertificates/", false); uri.AppendPath(publicCertificateName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -12982,8 +12982,8 @@ public Response GetPublicCertificate(string subscriptionI internal HttpMessage CreateCreateOrUpdatePublicCertificateRequest(string subscriptionId, string resourceGroupName, string name, string publicCertificateName, PublicCertificateData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -12995,12 +12995,12 @@ internal HttpMessage CreateCreateOrUpdatePublicCertificateRequest(string subscri uri.AppendPath("/publicCertificates/", false); uri.AppendPath(publicCertificateName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -13074,8 +13074,8 @@ public Response CreateOrUpdatePublicCertificate(string su internal HttpMessage CreateDeletePublicCertificateRequest(string subscriptionId, string resourceGroupName, string name, string publicCertificateName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13087,8 +13087,8 @@ internal HttpMessage CreateDeletePublicCertificateRequest(string subscriptionId, uri.AppendPath("/publicCertificates/", false); uri.AppendPath(publicCertificateName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -13150,8 +13150,8 @@ public Response DeletePublicCertificate(string subscriptionId, string resourceGr internal HttpMessage CreateListPublishingProfileXmlWithSecretsRequest(string subscriptionId, string resourceGroupName, string name, CsmPublishingProfile publishingProfileOptions) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13162,12 +13162,12 @@ internal HttpMessage CreateListPublishingProfileXmlWithSecretsRequest(string sub uri.AppendPath(name, true); uri.AppendPath("/publishxml", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/xml"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(publishingProfileOptions); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/xml"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(publishingProfileOptions); + request.Content = content; _userAgent.Apply(message); return message; } @@ -13233,8 +13233,8 @@ public Response ListPublishingProfileXmlWithSecrets(string subscriptionI internal HttpMessage CreateResetProductionSlotConfigRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13245,8 +13245,8 @@ internal HttpMessage CreateResetProductionSlotConfigRequest(string subscriptionI uri.AppendPath(name, true); uri.AppendPath("/resetSlotConfig", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -13302,8 +13302,8 @@ public Response ResetProductionSlotConfig(string subscriptionId, string resource internal HttpMessage CreateRestartRequest(string subscriptionId, string resourceGroupName, string name, bool? softRestart, bool? synchronous) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13322,8 +13322,8 @@ internal HttpMessage CreateRestartRequest(string subscriptionId, string resource uri.AppendQuery("synchronous", synchronous.Value, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -13383,8 +13383,8 @@ public Response Restart(string subscriptionId, string resourceGroupName, string internal HttpMessage CreateRestoreFromBackupBlobRequest(string subscriptionId, string resourceGroupName, string name, RestoreRequestInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13395,12 +13395,12 @@ internal HttpMessage CreateRestoreFromBackupBlobRequest(string subscriptionId, s uri.AppendPath(name, true); uri.AppendPath("/restoreFromBackupBlob", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(info); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(info); + request.Content = content; _userAgent.Apply(message); return message; } @@ -13462,8 +13462,8 @@ public Response RestoreFromBackupBlob(string subscriptionId, string resourceGrou internal HttpMessage CreateRestoreFromDeletedAppRequest(string subscriptionId, string resourceGroupName, string name, DeletedAppRestoreContent content) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13474,12 +13474,12 @@ internal HttpMessage CreateRestoreFromDeletedAppRequest(string subscriptionId, s uri.AppendPath(name, true); uri.AppendPath("/restoreFromDeletedApp", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content0 = new Utf8JsonRequestContent(); content0.JsonWriter.WriteObjectValue(content); - request0.Content = content0; + request.Content = content0; _userAgent.Apply(message); return message; } @@ -13541,8 +13541,8 @@ public Response RestoreFromDeletedApp(string subscriptionId, string resourceGrou internal HttpMessage CreateRestoreSnapshotRequest(string subscriptionId, string resourceGroupName, string name, SnapshotRestoreRequest restoreRequest) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13553,12 +13553,12 @@ internal HttpMessage CreateRestoreSnapshotRequest(string subscriptionId, string uri.AppendPath(name, true); uri.AppendPath("/restoreSnapshot", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(restoreRequest); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(restoreRequest); + request.Content = content; _userAgent.Apply(message); return message; } @@ -13620,8 +13620,8 @@ public Response RestoreSnapshot(string subscriptionId, string resourceGroupName, internal HttpMessage CreateListSiteExtensionsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13632,8 +13632,8 @@ internal HttpMessage CreateListSiteExtensionsRequest(string subscriptionId, stri uri.AppendPath(name, true); uri.AppendPath("/siteextensions", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -13699,8 +13699,8 @@ public Response ListSiteExtensions(string subscript internal HttpMessage CreateGetSiteExtensionRequest(string subscriptionId, string resourceGroupName, string name, string siteExtensionId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13712,8 +13712,8 @@ internal HttpMessage CreateGetSiteExtensionRequest(string subscriptionId, string uri.AppendPath("/siteextensions/", false); uri.AppendPath(siteExtensionId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -13787,8 +13787,8 @@ public Response GetSiteExtension(string subscriptionId, s internal HttpMessage CreateInstallSiteExtensionRequest(string subscriptionId, string resourceGroupName, string name, string siteExtensionId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13800,8 +13800,8 @@ internal HttpMessage CreateInstallSiteExtensionRequest(string subscriptionId, st uri.AppendPath("/siteextensions/", false); uri.AppendPath(siteExtensionId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -13863,8 +13863,8 @@ public Response InstallSiteExtension(string subscriptionId, string resourceGroup internal HttpMessage CreateDeleteSiteExtensionRequest(string subscriptionId, string resourceGroupName, string name, string siteExtensionId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13876,8 +13876,8 @@ internal HttpMessage CreateDeleteSiteExtensionRequest(string subscriptionId, str uri.AppendPath("/siteextensions/", false); uri.AppendPath(siteExtensionId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -13937,8 +13937,8 @@ public Response DeleteSiteExtension(string subscriptionId, string resourceGroupN internal HttpMessage CreateListSlotsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -13949,8 +13949,8 @@ internal HttpMessage CreateListSlotsRequest(string subscriptionId, string resour uri.AppendPath(name, true); uri.AppendPath("/slots", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -14016,8 +14016,8 @@ public Response ListSlots(string subscriptionId, string resour internal HttpMessage CreateGetSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -14029,8 +14029,8 @@ internal HttpMessage CreateGetSlotRequest(string subscriptionId, string resource uri.AppendPath("/slots/", false); uri.AppendPath(slot, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -14104,8 +14104,8 @@ public Response GetSlot(string subscriptionId, string resourceGroup internal HttpMessage CreateCreateOrUpdateSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, WebSiteData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -14117,12 +14117,12 @@ internal HttpMessage CreateCreateOrUpdateSlotRequest(string subscriptionId, stri uri.AppendPath("/slots/", false); uri.AppendPath(slot, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -14188,8 +14188,8 @@ public Response CreateOrUpdateSlot(string subscriptionId, string resourceGroupNa internal HttpMessage CreateDeleteSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, bool? deleteMetrics, bool? deleteEmptyServerFarm) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -14209,8 +14209,8 @@ internal HttpMessage CreateDeleteSlotRequest(string subscriptionId, string resou uri.AppendQuery("deleteEmptyServerFarm", deleteEmptyServerFarm.Value, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -14276,8 +14276,8 @@ public Response DeleteSlot(string subscriptionId, string resourceGroupName, stri internal HttpMessage CreateUpdateSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, SitePatchInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -14289,12 +14289,12 @@ internal HttpMessage CreateUpdateSlotRequest(string subscriptionId, string resou uri.AppendPath("/slots/", false); uri.AppendPath(slot, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(info); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(info); + request.Content = content; _userAgent.Apply(message); return message; } @@ -14370,8 +14370,8 @@ public Response UpdateSlot(string subscriptionId, string resourceGr internal HttpMessage CreateAnalyzeCustomHostnameSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string hostName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -14388,8 +14388,8 @@ internal HttpMessage CreateAnalyzeCustomHostnameSlotRequest(string subscriptionI uri.AppendQuery("hostName", hostName, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -14461,8 +14461,8 @@ public Response AnalyzeCustomHostnameSlot(string s internal HttpMessage CreateApplySlotConfigurationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, CsmSlotEntity slotSwapEntity) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -14475,12 +14475,12 @@ internal HttpMessage CreateApplySlotConfigurationSlotRequest(string subscription uri.AppendPath(slot, true); uri.AppendPath("/applySlotConfig", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(slotSwapEntity); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(slotSwapEntity); + request.Content = content; _userAgent.Apply(message); return message; } @@ -14561,9 +14561,9 @@ internal HttpMessage CreateBackupSlotRequest(string subscriptionId, string resou request0.Uri = uri; request0.Headers.Add("Accept", "application/json"); request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(request); - request0.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(request); + request0.Content = content; _userAgent.Apply(message); return message; } @@ -14637,8 +14637,8 @@ public Response BackupSlot(string subscriptionId, string resourc internal HttpMessage CreateListBackupsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -14651,8 +14651,8 @@ internal HttpMessage CreateListBackupsSlotRequest(string subscriptionId, string uri.AppendPath(slot, true); uri.AppendPath("/backups", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -14722,8 +14722,8 @@ public Response ListBackupsSlot(string subscriptionId, str internal HttpMessage CreateGetBackupStatusSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string backupId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -14737,8 +14737,8 @@ internal HttpMessage CreateGetBackupStatusSlotRequest(string subscriptionId, str uri.AppendPath("/backups/", false); uri.AppendPath(backupId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -14816,8 +14816,8 @@ public Response GetBackupStatusSlot(string subscriptionId, strin internal HttpMessage CreateDeleteBackupSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string backupId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -14831,8 +14831,8 @@ internal HttpMessage CreateDeleteBackupSlotRequest(string subscriptionId, string uri.AppendPath("/backups/", false); uri.AppendPath(backupId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -14915,9 +14915,9 @@ internal HttpMessage CreateListBackupStatusSecretsSlotRequest(string subscriptio request0.Uri = uri; request0.Headers.Add("Accept", "application/json"); request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(request); - request0.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(request); + request0.Content = content; _userAgent.Apply(message); return message; } @@ -14995,8 +14995,8 @@ public Response ListBackupStatusSecretsSlot(string subscriptionI internal HttpMessage CreateRestoreSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string backupId, RestoreRequestInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15011,12 +15011,12 @@ internal HttpMessage CreateRestoreSlotRequest(string subscriptionId, string reso uri.AppendPath(backupId, true); uri.AppendPath("/restore", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(info); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(info); + request.Content = content; _userAgent.Apply(message); return message; } @@ -15086,8 +15086,8 @@ public Response RestoreSlot(string subscriptionId, string resourceGroupName, str internal HttpMessage CreateListBasicPublishingCredentialsPoliciesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15100,8 +15100,8 @@ internal HttpMessage CreateListBasicPublishingCredentialsPoliciesSlotRequest(str uri.AppendPath(slot, true); uri.AppendPath("/basicPublishingCredentialsPolicies", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -15171,8 +15171,8 @@ public Response ListBasicPublishingCred internal HttpMessage CreateGetFtpAllowedSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15185,8 +15185,8 @@ internal HttpMessage CreateGetFtpAllowedSlotRequest(string subscriptionId, strin uri.AppendPath(slot, true); uri.AppendPath("/basicPublishingCredentialsPolicies/ftp", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -15260,8 +15260,8 @@ public Response GetFtpAllowedSlot(st internal HttpMessage CreateUpdateFtpAllowedSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, CsmPublishingCredentialsPoliciesEntityData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15274,12 +15274,12 @@ internal HttpMessage CreateUpdateFtpAllowedSlotRequest(string subscriptionId, st uri.AppendPath(slot, true); uri.AppendPath("/basicPublishingCredentialsPolicies/ftp", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -15353,8 +15353,8 @@ public Response UpdateFtpAllowedSlot internal HttpMessage CreateGetScmAllowedSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15367,8 +15367,8 @@ internal HttpMessage CreateGetScmAllowedSlotRequest(string subscriptionId, strin uri.AppendPath(slot, true); uri.AppendPath("/basicPublishingCredentialsPolicies/scm", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -15442,8 +15442,8 @@ public Response GetScmAllowedSlot(st internal HttpMessage CreateUpdateScmAllowedSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, CsmPublishingCredentialsPoliciesEntityData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15456,12 +15456,12 @@ internal HttpMessage CreateUpdateScmAllowedSlotRequest(string subscriptionId, st uri.AppendPath(slot, true); uri.AppendPath("/basicPublishingCredentialsPolicies/scm", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -15535,8 +15535,8 @@ public Response UpdateScmAllowedSlot internal HttpMessage CreateListConfigurationsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15549,8 +15549,8 @@ internal HttpMessage CreateListConfigurationsSlotRequest(string subscriptionId, uri.AppendPath(slot, true); uri.AppendPath("/config", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -15620,8 +15620,8 @@ public Response ListConfigurationsSlot(string subs internal HttpMessage CreateUpdateApplicationSettingsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, AppServiceConfigurationDictionary appSettings) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15634,12 +15634,12 @@ internal HttpMessage CreateUpdateApplicationSettingsSlotRequest(string subscript uri.AppendPath(slot, true); uri.AppendPath("/config/appsettings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(appSettings); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(appSettings); + request.Content = content; _userAgent.Apply(message); return message; } @@ -15713,8 +15713,8 @@ public Response UpdateApplicationSettingsSlot internal HttpMessage CreateListApplicationSettingsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15727,8 +15727,8 @@ internal HttpMessage CreateListApplicationSettingsSlotRequest(string subscriptio uri.AppendPath(slot, true); uri.AppendPath("/config/appsettings/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -15798,8 +15798,8 @@ public Response ListApplicationSettingsSlot(s internal HttpMessage CreateUpdateAuthSettingsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, SiteAuthSettings siteAuthSettings) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15812,12 +15812,12 @@ internal HttpMessage CreateUpdateAuthSettingsSlotRequest(string subscriptionId, uri.AppendPath(slot, true); uri.AppendPath("/config/authsettings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(siteAuthSettings); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(siteAuthSettings); + request.Content = content; _userAgent.Apply(message); return message; } @@ -15891,8 +15891,8 @@ public Response UpdateAuthSettingsSlot(string subscriptionId, internal HttpMessage CreateGetAuthSettingsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15905,8 +15905,8 @@ internal HttpMessage CreateGetAuthSettingsSlotRequest(string subscriptionId, str uri.AppendPath(slot, true); uri.AppendPath("/config/authsettings/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -15976,8 +15976,8 @@ public Response GetAuthSettingsSlot(string subscriptionId, str internal HttpMessage CreateUpdateAuthSettingsV2SlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, SiteAuthSettingsV2 siteAuthSettingsV2) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -15990,12 +15990,12 @@ internal HttpMessage CreateUpdateAuthSettingsV2SlotRequest(string subscriptionId uri.AppendPath(slot, true); uri.AppendPath("/config/authsettingsV2", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(siteAuthSettingsV2); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(siteAuthSettingsV2); + request.Content = content; _userAgent.Apply(message); return message; } @@ -16069,8 +16069,8 @@ public Response UpdateAuthSettingsV2Slot(string subscription internal HttpMessage CreateGetAuthSettingsV2SlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -16083,8 +16083,8 @@ internal HttpMessage CreateGetAuthSettingsV2SlotRequest(string subscriptionId, s uri.AppendPath(slot, true); uri.AppendPath("/config/authsettingsV2/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -16154,8 +16154,8 @@ public Response GetAuthSettingsV2Slot(string subscriptionId, internal HttpMessage CreateUpdateAzureStorageAccountsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, AzureStoragePropertyDictionary azureStorageAccounts) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -16168,12 +16168,12 @@ internal HttpMessage CreateUpdateAzureStorageAccountsSlotRequest(string subscrip uri.AppendPath(slot, true); uri.AppendPath("/config/azurestorageaccounts", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(azureStorageAccounts); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(azureStorageAccounts); + request.Content = content; _userAgent.Apply(message); return message; } @@ -16247,8 +16247,8 @@ public Response UpdateAzureStorageAccountsSlot(s internal HttpMessage CreateListAzureStorageAccountsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -16261,8 +16261,8 @@ internal HttpMessage CreateListAzureStorageAccountsSlotRequest(string subscripti uri.AppendPath(slot, true); uri.AppendPath("/config/azurestorageaccounts/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -16349,9 +16349,9 @@ internal HttpMessage CreateUpdateBackupConfigurationSlotRequest(string subscript request0.Uri = uri; request0.Headers.Add("Accept", "application/json"); request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(request); - request0.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(request); + request0.Content = content; _userAgent.Apply(message); return message; } @@ -16425,8 +16425,8 @@ public Response UpdateBackupConfigurationSlot(string subscription internal HttpMessage CreateDeleteBackupConfigurationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -16439,8 +16439,8 @@ internal HttpMessage CreateDeleteBackupConfigurationSlotRequest(string subscript uri.AppendPath(slot, true); uri.AppendPath("/config/backup", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -16500,8 +16500,8 @@ public Response DeleteBackupConfigurationSlot(string subscriptionId, string reso internal HttpMessage CreateGetBackupConfigurationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -16514,8 +16514,8 @@ internal HttpMessage CreateGetBackupConfigurationSlotRequest(string subscription uri.AppendPath(slot, true); uri.AppendPath("/config/backup/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -16585,8 +16585,8 @@ public Response GetBackupConfigurationSlot(string subscriptionId, internal HttpMessage CreateGetAppSettingsKeyVaultReferencesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -16599,8 +16599,8 @@ internal HttpMessage CreateGetAppSettingsKeyVaultReferencesSlotRequest(string su uri.AppendPath(slot, true); uri.AppendPath("/config/configreferences/appsettings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -16670,8 +16670,8 @@ public Response GetAppSettingsKeyVaultReferencesSlot(s internal HttpMessage CreateGetAppSettingKeyVaultReferenceSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string appSettingKey) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -16685,8 +16685,8 @@ internal HttpMessage CreateGetAppSettingKeyVaultReferenceSlotRequest(string subs uri.AppendPath("/config/configreferences/appsettings/", false); uri.AppendPath(appSettingKey, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -16764,8 +16764,8 @@ public Response GetAppSettingKeyVaultReferenceSlot(str internal HttpMessage CreateGetSiteConnectionStringKeyVaultReferencesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -16778,8 +16778,8 @@ internal HttpMessage CreateGetSiteConnectionStringKeyVaultReferencesSlotRequest( uri.AppendPath(slot, true); uri.AppendPath("/config/configreferences/connectionstrings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -16849,8 +16849,8 @@ public Response GetSiteConnectionStringKeyVaultReferen internal HttpMessage CreateGetSiteConnectionStringKeyVaultReferenceSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string connectionStringKey) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -16864,8 +16864,8 @@ internal HttpMessage CreateGetSiteConnectionStringKeyVaultReferenceSlotRequest(s uri.AppendPath("/config/configreferences/connectionstrings/", false); uri.AppendPath(connectionStringKey, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -16943,8 +16943,8 @@ public Response GetSiteConnectionStringKeyVaultReferen internal HttpMessage CreateUpdateConnectionStringsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, ConnectionStringDictionary connectionStrings) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -16957,12 +16957,12 @@ internal HttpMessage CreateUpdateConnectionStringsSlotRequest(string subscriptio uri.AppendPath(slot, true); uri.AppendPath("/config/connectionstrings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(connectionStrings); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(connectionStrings); + request.Content = content; _userAgent.Apply(message); return message; } @@ -17036,8 +17036,8 @@ public Response UpdateConnectionStringsSlot(string s internal HttpMessage CreateListConnectionStringsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -17050,8 +17050,8 @@ internal HttpMessage CreateListConnectionStringsSlotRequest(string subscriptionI uri.AppendPath(slot, true); uri.AppendPath("/config/connectionstrings/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -17121,8 +17121,8 @@ public Response ListConnectionStringsSlot(string sub internal HttpMessage CreateGetDiagnosticLogsConfigurationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -17135,8 +17135,8 @@ internal HttpMessage CreateGetDiagnosticLogsConfigurationSlotRequest(string subs uri.AppendPath(slot, true); uri.AppendPath("/config/logs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -17210,8 +17210,8 @@ public Response GetDiagnosticLogsConfigurationSlot(string su internal HttpMessage CreateUpdateDiagnosticLogsConfigSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, SiteLogsConfigData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -17224,12 +17224,12 @@ internal HttpMessage CreateUpdateDiagnosticLogsConfigSlotRequest(string subscrip uri.AppendPath(slot, true); uri.AppendPath("/config/logs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -17303,8 +17303,8 @@ public Response UpdateDiagnosticLogsConfigSlot(string subscr internal HttpMessage CreateUpdateMetadataSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, AppServiceConfigurationDictionary metadata) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -17317,12 +17317,12 @@ internal HttpMessage CreateUpdateMetadataSlotRequest(string subscriptionId, stri uri.AppendPath(slot, true); uri.AppendPath("/config/metadata", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(metadata); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(metadata); + request.Content = content; _userAgent.Apply(message); return message; } @@ -17396,8 +17396,8 @@ public Response UpdateMetadataSlot(string sub internal HttpMessage CreateListMetadataSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -17410,8 +17410,8 @@ internal HttpMessage CreateListMetadataSlotRequest(string subscriptionId, string uri.AppendPath(slot, true); uri.AppendPath("/config/metadata/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -17481,8 +17481,8 @@ public Response ListMetadataSlot(string subsc internal HttpMessage CreateListPublishingCredentialsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -17495,8 +17495,8 @@ internal HttpMessage CreateListPublishingCredentialsSlotRequest(string subscript uri.AppendPath(slot, true); uri.AppendPath("/config/publishingcredentials/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -17556,8 +17556,8 @@ public Response ListPublishingCredentialsSlot(string subscriptionId, string reso internal HttpMessage CreateUpdateSitePushSettingsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, PushSettings pushSettings) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -17570,12 +17570,12 @@ internal HttpMessage CreateUpdateSitePushSettingsSlotRequest(string subscription uri.AppendPath(slot, true); uri.AppendPath("/config/pushsettings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(pushSettings); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(pushSettings); + request.Content = content; _userAgent.Apply(message); return message; } @@ -17649,8 +17649,8 @@ public Response UpdateSitePushSettingsSlot(string subscriptionId, internal HttpMessage CreateListSitePushSettingsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -17663,8 +17663,8 @@ internal HttpMessage CreateListSitePushSettingsSlotRequest(string subscriptionId uri.AppendPath(slot, true); uri.AppendPath("/config/pushsettings/list", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -17734,8 +17734,8 @@ public Response ListSitePushSettingsSlot(string subscriptionId, st internal HttpMessage CreateGetConfigurationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -17748,8 +17748,8 @@ internal HttpMessage CreateGetConfigurationSlotRequest(string subscriptionId, st uri.AppendPath(slot, true); uri.AppendPath("/config/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -17823,8 +17823,8 @@ public Response GetConfigurationSlot(string subscriptionId, stri internal HttpMessage CreateCreateOrUpdateConfigurationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, SiteConfigData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -17837,12 +17837,12 @@ internal HttpMessage CreateCreateOrUpdateConfigurationSlotRequest(string subscri uri.AppendPath(slot, true); uri.AppendPath("/config/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -17916,8 +17916,8 @@ public Response CreateOrUpdateConfigurationSlot(string subscript internal HttpMessage CreateUpdateConfigurationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, SiteConfigData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -17930,12 +17930,12 @@ internal HttpMessage CreateUpdateConfigurationSlotRequest(string subscriptionId, uri.AppendPath(slot, true); uri.AppendPath("/config/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -18009,8 +18009,8 @@ public Response UpdateConfigurationSlot(string subscriptionId, s internal HttpMessage CreateListConfigurationSnapshotInfoSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18023,8 +18023,8 @@ internal HttpMessage CreateListConfigurationSnapshotInfoSlotRequest(string subsc uri.AppendPath(slot, true); uri.AppendPath("/config/web/snapshots", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -18094,8 +18094,8 @@ public Response ListConfigurationSnapsh internal HttpMessage CreateGetConfigurationSnapshotSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string snapshotId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18109,8 +18109,8 @@ internal HttpMessage CreateGetConfigurationSnapshotSlotRequest(string subscripti uri.AppendPath("/config/web/snapshots/", false); uri.AppendPath(snapshotId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -18188,8 +18188,8 @@ public Response GetConfigurationSnapshotSlot(string subscription internal HttpMessage CreateRecoverSiteConfigurationSnapshotSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string snapshotId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18204,8 +18204,8 @@ internal HttpMessage CreateRecoverSiteConfigurationSnapshotSlotRequest(string su uri.AppendPath(snapshotId, true); uri.AppendPath("/recover", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -18269,8 +18269,8 @@ public Response RecoverSiteConfigurationSnapshotSlot(string subscriptionId, stri internal HttpMessage CreateGetWebSiteContainerLogsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18283,8 +18283,8 @@ internal HttpMessage CreateGetWebSiteContainerLogsSlotRequest(string subscriptio uri.AppendPath(slot, true); uri.AppendPath("/containerlogs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/octet-stream"); + request.Uri = uri; + request.Headers.Add("Accept", "application/octet-stream"); _userAgent.Apply(message); return message; } @@ -18354,8 +18354,8 @@ public Response GetWebSiteContainerLogsSlot(string subscriptionId, strin internal HttpMessage CreateGetContainerLogsZipSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18368,8 +18368,8 @@ internal HttpMessage CreateGetContainerLogsZipSlotRequest(string subscriptionId, uri.AppendPath(slot, true); uri.AppendPath("/containerlogs/zip/download", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/zip"); + request.Uri = uri; + request.Headers.Add("Accept", "application/zip"); _userAgent.Apply(message); return message; } @@ -18439,8 +18439,8 @@ public Response GetContainerLogsZipSlot(string subscriptionId, string re internal HttpMessage CreateListContinuousWebJobsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18453,8 +18453,8 @@ internal HttpMessage CreateListContinuousWebJobsSlotRequest(string subscriptionI uri.AppendPath(slot, true); uri.AppendPath("/continuouswebjobs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -18524,8 +18524,8 @@ public Response ListContinuousWebJobsSlot(string sub internal HttpMessage CreateGetContinuousWebJobSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18539,8 +18539,8 @@ internal HttpMessage CreateGetContinuousWebJobSlotRequest(string subscriptionId, uri.AppendPath("/continuouswebjobs/", false); uri.AppendPath(webJobName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -18618,8 +18618,8 @@ public Response GetContinuousWebJobSlot(string subscriptio internal HttpMessage CreateDeleteContinuousWebJobSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18633,8 +18633,8 @@ internal HttpMessage CreateDeleteContinuousWebJobSlotRequest(string subscription uri.AppendPath("/continuouswebjobs/", false); uri.AppendPath(webJobName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -18700,8 +18700,8 @@ public Response DeleteContinuousWebJobSlot(string subscriptionId, string resourc internal HttpMessage CreateStartContinuousWebJobSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18716,8 +18716,8 @@ internal HttpMessage CreateStartContinuousWebJobSlotRequest(string subscriptionI uri.AppendPath(webJobName, true); uri.AppendPath("/start", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -18781,8 +18781,8 @@ public Response StartContinuousWebJobSlot(string subscriptionId, string resource internal HttpMessage CreateStopContinuousWebJobSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18797,8 +18797,8 @@ internal HttpMessage CreateStopContinuousWebJobSlotRequest(string subscriptionId uri.AppendPath(webJobName, true); uri.AppendPath("/stop", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -18862,8 +18862,8 @@ public Response StopContinuousWebJobSlot(string subscriptionId, string resourceG internal HttpMessage CreateListDeploymentsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18876,8 +18876,8 @@ internal HttpMessage CreateListDeploymentsSlotRequest(string subscriptionId, str uri.AppendPath(slot, true); uri.AppendPath("/deployments", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -18947,8 +18947,8 @@ public Response ListDeploymentsSlot(string subscriptionId, internal HttpMessage CreateGetDeploymentSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string id) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -18962,8 +18962,8 @@ internal HttpMessage CreateGetDeploymentSlotRequest(string subscriptionId, strin uri.AppendPath("/deployments/", false); uri.AppendPath(id, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -19041,8 +19041,8 @@ public Response GetDeploymentSlot(string subscriptionId, string internal HttpMessage CreateCreateDeploymentSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string id, DeploymentData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -19056,12 +19056,12 @@ internal HttpMessage CreateCreateDeploymentSlotRequest(string subscriptionId, st uri.AppendPath("/deployments/", false); uri.AppendPath(id, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -19139,8 +19139,8 @@ public Response CreateDeploymentSlot(string subscriptionId, stri internal HttpMessage CreateDeleteDeploymentSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string id) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -19154,8 +19154,8 @@ internal HttpMessage CreateDeleteDeploymentSlotRequest(string subscriptionId, st uri.AppendPath("/deployments/", false); uri.AppendPath(id, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -19221,8 +19221,8 @@ public Response DeleteDeploymentSlot(string subscriptionId, string resourceGroup internal HttpMessage CreateListDeploymentLogSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string id) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -19237,8 +19237,8 @@ internal HttpMessage CreateListDeploymentLogSlotRequest(string subscriptionId, s uri.AppendPath(id, true); uri.AppendPath("/log", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -19312,8 +19312,8 @@ public Response ListDeploymentLogSlot(string subscriptionId, str internal HttpMessage CreateDiscoverBackupSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, RestoreRequestInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -19326,12 +19326,12 @@ internal HttpMessage CreateDiscoverBackupSlotRequest(string subscriptionId, stri uri.AppendPath(slot, true); uri.AppendPath("/discoverbackup", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(info); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(info); + request.Content = content; _userAgent.Apply(message); return message; } @@ -19405,8 +19405,8 @@ public Response DiscoverBackupSlot(string subscriptionId, st internal HttpMessage CreateListDomainOwnershipIdentifiersSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -19419,8 +19419,8 @@ internal HttpMessage CreateListDomainOwnershipIdentifiersSlotRequest(string subs uri.AppendPath(slot, true); uri.AppendPath("/domainOwnershipIdentifiers", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -19490,8 +19490,8 @@ public Response ListDomainOwnershipIdentifiersSlot(string internal HttpMessage CreateGetDomainOwnershipIdentifierSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string domainOwnershipIdentifierName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -19505,8 +19505,8 @@ internal HttpMessage CreateGetDomainOwnershipIdentifierSlotRequest(string subscr uri.AppendPath("/domainOwnershipIdentifiers/", false); uri.AppendPath(domainOwnershipIdentifierName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -19584,8 +19584,8 @@ public Response GetDomainOwnershipIdentifierSlot(string subscrip internal HttpMessage CreateCreateOrUpdateDomainOwnershipIdentifierSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string domainOwnershipIdentifierName, IdentifierData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -19599,12 +19599,12 @@ internal HttpMessage CreateCreateOrUpdateDomainOwnershipIdentifierSlotRequest(st uri.AppendPath("/domainOwnershipIdentifiers/", false); uri.AppendPath(domainOwnershipIdentifierName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -19682,8 +19682,8 @@ public Response CreateOrUpdateDomainOwnershipIdentifierSlot(stri internal HttpMessage CreateDeleteDomainOwnershipIdentifierSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string domainOwnershipIdentifierName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -19697,8 +19697,8 @@ internal HttpMessage CreateDeleteDomainOwnershipIdentifierSlotRequest(string sub uri.AppendPath("/domainOwnershipIdentifiers/", false); uri.AppendPath(domainOwnershipIdentifierName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -19764,8 +19764,8 @@ public Response DeleteDomainOwnershipIdentifierSlot(string subscriptionId, strin internal HttpMessage CreateUpdateDomainOwnershipIdentifierSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string domainOwnershipIdentifierName, IdentifierData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -19779,12 +19779,12 @@ internal HttpMessage CreateUpdateDomainOwnershipIdentifierSlotRequest(string sub uri.AppendPath("/domainOwnershipIdentifiers/", false); uri.AppendPath(domainOwnershipIdentifierName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -19862,8 +19862,8 @@ public Response UpdateDomainOwnershipIdentifierSlot(string subsc internal HttpMessage CreateGetMSDeployStatusSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -19876,8 +19876,8 @@ internal HttpMessage CreateGetMSDeployStatusSlotRequest(string subscriptionId, s uri.AppendPath(slot, true); uri.AppendPath("/extensions/MSDeploy", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -19951,8 +19951,8 @@ public Response GetMSDeployStatusSlot(string subscriptionId, internal HttpMessage CreateCreateMSDeployOperationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, MSDeploy msDeploy) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -19965,12 +19965,12 @@ internal HttpMessage CreateCreateMSDeployOperationSlotRequest(string subscriptio uri.AppendPath(slot, true); uri.AppendPath("/extensions/MSDeploy", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(msDeploy); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(msDeploy); + request.Content = content; _userAgent.Apply(message); return message; } @@ -20034,8 +20034,8 @@ public Response CreateMSDeployOperationSlot(string subscriptionId, string resour internal HttpMessage CreateGetMSDeployLogSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -20048,8 +20048,8 @@ internal HttpMessage CreateGetMSDeployLogSlotRequest(string subscriptionId, stri uri.AppendPath(slot, true); uri.AppendPath("/extensions/MSDeploy/log", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -20119,8 +20119,8 @@ public Response GetMSDeployLogSlot(string subscriptionId, string re internal HttpMessage CreateListInstanceFunctionsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -20133,8 +20133,8 @@ internal HttpMessage CreateListInstanceFunctionsSlotRequest(string subscriptionI uri.AppendPath(slot, true); uri.AppendPath("/functions", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -20204,8 +20204,8 @@ public Response ListInstanceFunctionsSlot(string sub internal HttpMessage CreateGetFunctionsAdminTokenSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -20218,8 +20218,8 @@ internal HttpMessage CreateGetFunctionsAdminTokenSlotRequest(string subscription uri.AppendPath(slot, true); uri.AppendPath("/functions/admin/token", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -20289,8 +20289,8 @@ public Response GetFunctionsAdminTokenSlot(string subscriptionId, string internal HttpMessage CreateGetInstanceFunctionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string functionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -20304,8 +20304,8 @@ internal HttpMessage CreateGetInstanceFunctionSlotRequest(string subscriptionId, uri.AppendPath("/functions/", false); uri.AppendPath(functionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -20383,8 +20383,8 @@ public Response GetInstanceFunctionSlot(string subscriptio internal HttpMessage CreateCreateInstanceFunctionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string functionName, FunctionEnvelopeData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -20398,12 +20398,12 @@ internal HttpMessage CreateCreateInstanceFunctionSlotRequest(string subscription uri.AppendPath("/functions/", false); uri.AppendPath(functionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -20471,8 +20471,8 @@ public Response CreateInstanceFunctionSlot(string subscriptionId, string resourc internal HttpMessage CreateDeleteInstanceFunctionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string functionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -20486,8 +20486,8 @@ internal HttpMessage CreateDeleteInstanceFunctionSlotRequest(string subscription uri.AppendPath("/functions/", false); uri.AppendPath(functionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -20551,8 +20551,8 @@ public Response DeleteInstanceFunctionSlot(string subscriptionId, string resourc internal HttpMessage CreateCreateOrUpdateFunctionSecretSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string functionName, string keyName, KeyInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -20568,12 +20568,12 @@ internal HttpMessage CreateCreateOrUpdateFunctionSecretSlotRequest(string subscr uri.AppendPath("/keys/", false); uri.AppendPath(keyName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(info); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(info); + request.Content = content; _userAgent.Apply(message); return message; } @@ -20657,8 +20657,8 @@ public Response CreateOrUpdateFunctionSecretSlot(string subscriptionId, internal HttpMessage CreateDeleteFunctionSecretSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string functionName, string keyName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -20674,8 +20674,8 @@ internal HttpMessage CreateDeleteFunctionSecretSlotRequest(string subscriptionId uri.AppendPath("/keys/", false); uri.AppendPath(keyName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -20743,8 +20743,8 @@ public Response DeleteFunctionSecretSlot(string subscriptionId, string resourceG internal HttpMessage CreateListFunctionKeysSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string functionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -20759,8 +20759,8 @@ internal HttpMessage CreateListFunctionKeysSlotRequest(string subscriptionId, st uri.AppendPath(functionName, true); uri.AppendPath("/listkeys", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -20834,8 +20834,8 @@ public Response ListFunctionKeysSlot(string s internal HttpMessage CreateListFunctionSecretsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string functionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -20850,8 +20850,8 @@ internal HttpMessage CreateListFunctionSecretsSlotRequest(string subscriptionId, uri.AppendPath(functionName, true); uri.AppendPath("/listsecrets", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -20925,8 +20925,8 @@ public Response ListFunctionSecretsSlot(string subscriptionId, internal HttpMessage CreateListHostKeysSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -20939,8 +20939,8 @@ internal HttpMessage CreateListHostKeysSlotRequest(string subscriptionId, string uri.AppendPath(slot, true); uri.AppendPath("/host/default/listkeys", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -21010,8 +21010,8 @@ public Response ListHostKeysSlot(string subscriptionId, string resourc internal HttpMessage CreateListSyncStatusSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -21024,8 +21024,8 @@ internal HttpMessage CreateListSyncStatusSlotRequest(string subscriptionId, stri uri.AppendPath(slot, true); uri.AppendPath("/host/default/listsyncstatus", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -21085,8 +21085,8 @@ public Response ListSyncStatusSlot(string subscriptionId, string resourceGroupNa internal HttpMessage CreateSyncFunctionsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -21099,8 +21099,8 @@ internal HttpMessage CreateSyncFunctionsSlotRequest(string subscriptionId, strin uri.AppendPath(slot, true); uri.AppendPath("/host/default/sync", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -21160,8 +21160,8 @@ public Response SyncFunctionsSlot(string subscriptionId, string resourceGroupNam internal HttpMessage CreateCreateOrUpdateHostSecretSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string keyType, string keyName, KeyInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -21177,12 +21177,12 @@ internal HttpMessage CreateCreateOrUpdateHostSecretSlotRequest(string subscripti uri.AppendPath("/", false); uri.AppendPath(keyName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(info); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(info); + request.Content = content; _userAgent.Apply(message); return message; } @@ -21266,8 +21266,8 @@ public Response CreateOrUpdateHostSecretSlot(string subscriptionId, str internal HttpMessage CreateDeleteHostSecretSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string keyType, string keyName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -21283,8 +21283,8 @@ internal HttpMessage CreateDeleteHostSecretSlotRequest(string subscriptionId, st uri.AppendPath("/", false); uri.AppendPath(keyName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -21352,8 +21352,8 @@ public Response DeleteHostSecretSlot(string subscriptionId, string resourceGroup internal HttpMessage CreateListHostNameBindingsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -21366,8 +21366,8 @@ internal HttpMessage CreateListHostNameBindingsSlotRequest(string subscriptionId uri.AppendPath(slot, true); uri.AppendPath("/hostNameBindings", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -21437,8 +21437,8 @@ public Response ListHostNameBindingsSlot(string subsc internal HttpMessage CreateGetHostNameBindingSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string hostName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -21452,8 +21452,8 @@ internal HttpMessage CreateGetHostNameBindingSlotRequest(string subscriptionId, uri.AppendPath("/hostNameBindings/", false); uri.AppendPath(hostName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -21531,8 +21531,8 @@ public Response GetHostNameBindingSlot(string subscriptionI internal HttpMessage CreateCreateOrUpdateHostNameBindingSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string hostName, HostNameBindingData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -21546,12 +21546,12 @@ internal HttpMessage CreateCreateOrUpdateHostNameBindingSlotRequest(string subsc uri.AppendPath("/hostNameBindings/", false); uri.AppendPath(hostName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -21629,8 +21629,8 @@ public Response CreateOrUpdateHostNameBindingSlot(string su internal HttpMessage CreateDeleteHostNameBindingSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string hostName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -21644,8 +21644,8 @@ internal HttpMessage CreateDeleteHostNameBindingSlotRequest(string subscriptionI uri.AppendPath("/hostNameBindings/", false); uri.AppendPath(hostName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -21711,8 +21711,8 @@ public Response DeleteHostNameBindingSlot(string subscriptionId, string resource internal HttpMessage CreateGetHybridConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string namespaceName, string relayName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -21728,8 +21728,8 @@ internal HttpMessage CreateGetHybridConnectionSlotRequest(string subscriptionId, uri.AppendPath("/relays/", false); uri.AppendPath(relayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -21811,8 +21811,8 @@ public Response GetHybridConnectionSlot(string subscriptio internal HttpMessage CreateCreateOrUpdateHybridConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string namespaceName, string relayName, HybridConnectionData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -21828,12 +21828,12 @@ internal HttpMessage CreateCreateOrUpdateHybridConnectionSlotRequest(string subs uri.AppendPath("/relays/", false); uri.AppendPath(relayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -21915,8 +21915,8 @@ public Response CreateOrUpdateHybridConnectionSlot(string internal HttpMessage CreateDeleteHybridConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string namespaceName, string relayName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -21932,8 +21932,8 @@ internal HttpMessage CreateDeleteHybridConnectionSlotRequest(string subscription uri.AppendPath("/relays/", false); uri.AppendPath(relayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -22001,8 +22001,8 @@ public Response DeleteHybridConnectionSlot(string subscriptionId, string resourc internal HttpMessage CreateUpdateHybridConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string namespaceName, string relayName, HybridConnectionData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -22018,12 +22018,12 @@ internal HttpMessage CreateUpdateHybridConnectionSlotRequest(string subscription uri.AppendPath("/relays/", false); uri.AppendPath(relayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -22105,8 +22105,8 @@ public Response UpdateHybridConnectionSlot(string subscrip internal HttpMessage CreateListHybridConnectionsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -22119,8 +22119,8 @@ internal HttpMessage CreateListHybridConnectionsSlotRequest(string subscriptionI uri.AppendPath(slot, true); uri.AppendPath("/hybridConnectionRelays", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -22190,8 +22190,8 @@ public Response ListHybridConnectionsSlot(string subscript internal HttpMessage CreateListRelayServiceConnectionsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -22204,8 +22204,8 @@ internal HttpMessage CreateListRelayServiceConnectionsSlotRequest(string subscri uri.AppendPath(slot, true); uri.AppendPath("/hybridconnection", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -22275,8 +22275,8 @@ public Response ListRelayServiceConnectionsSlo internal HttpMessage CreateGetRelayServiceConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string entityName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -22290,8 +22290,8 @@ internal HttpMessage CreateGetRelayServiceConnectionSlotRequest(string subscript uri.AppendPath("/hybridconnection/", false); uri.AppendPath(entityName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -22369,8 +22369,8 @@ public Response GetRelayServiceConnectionSlot( internal HttpMessage CreateCreateOrUpdateRelayServiceConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string entityName, RelayServiceConnectionEntityData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -22384,12 +22384,12 @@ internal HttpMessage CreateCreateOrUpdateRelayServiceConnectionSlotRequest(strin uri.AppendPath("/hybridconnection/", false); uri.AppendPath(entityName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -22467,8 +22467,8 @@ public Response CreateOrUpdateRelayServiceConn internal HttpMessage CreateDeleteRelayServiceConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string entityName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -22482,8 +22482,8 @@ internal HttpMessage CreateDeleteRelayServiceConnectionSlotRequest(string subscr uri.AppendPath("/hybridconnection/", false); uri.AppendPath(entityName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -22547,8 +22547,8 @@ public Response DeleteRelayServiceConnectionSlot(string subscriptionId, string r internal HttpMessage CreateUpdateRelayServiceConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string entityName, RelayServiceConnectionEntityData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -22562,12 +22562,12 @@ internal HttpMessage CreateUpdateRelayServiceConnectionSlotRequest(string subscr uri.AppendPath("/hybridconnection/", false); uri.AppendPath(entityName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -22645,8 +22645,8 @@ public Response UpdateRelayServiceConnectionSl internal HttpMessage CreateListInstanceIdentifiersSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -22659,8 +22659,8 @@ internal HttpMessage CreateListInstanceIdentifiersSlotRequest(string subscriptio uri.AppendPath(slot, true); uri.AppendPath("/instances", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -22730,8 +22730,8 @@ public Response ListInstanceIdentifiersSlot(stri internal HttpMessage CreateGetInstanceInfoSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string instanceId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -22745,8 +22745,8 @@ internal HttpMessage CreateGetInstanceInfoSlotRequest(string subscriptionId, str uri.AppendPath("/instances/", false); uri.AppendPath(instanceId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -22824,8 +22824,8 @@ public Response GetInstanceInfoSlot(string subscripti internal HttpMessage CreateGetInstanceMSDeployStatusSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string instanceId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -22840,8 +22840,8 @@ internal HttpMessage CreateGetInstanceMSDeployStatusSlotRequest(string subscript uri.AppendPath(instanceId, true); uri.AppendPath("/extensions/MSDeploy", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -22919,8 +22919,8 @@ public Response GetInstanceMSDeployStatusSlot(string subscri internal HttpMessage CreateCreateInstanceMSDeployOperationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string instanceId, MSDeploy msDeploy) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -22935,12 +22935,12 @@ internal HttpMessage CreateCreateInstanceMSDeployOperationSlotRequest(string sub uri.AppendPath(instanceId, true); uri.AppendPath("/extensions/MSDeploy", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(msDeploy); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(msDeploy); + request.Content = content; _userAgent.Apply(message); return message; } @@ -23008,8 +23008,8 @@ public Response CreateInstanceMSDeployOperationSlot(string subscriptionId, strin internal HttpMessage CreateGetInstanceMSDeployLogSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string instanceId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -23024,8 +23024,8 @@ internal HttpMessage CreateGetInstanceMSDeployLogSlotRequest(string subscription uri.AppendPath(instanceId, true); uri.AppendPath("/extensions/MSDeploy/log", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -23099,8 +23099,8 @@ public Response GetInstanceMSDeployLogSlot(string subscriptionId, s internal HttpMessage CreateListInstanceProcessesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string instanceId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -23115,8 +23115,8 @@ internal HttpMessage CreateListInstanceProcessesSlotRequest(string subscriptionI uri.AppendPath(instanceId, true); uri.AppendPath("/processes", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -23190,8 +23190,8 @@ public Response ListInstanceProcessesSlot(string subscrip internal HttpMessage CreateGetInstanceProcessSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -23207,8 +23207,8 @@ internal HttpMessage CreateGetInstanceProcessSlotRequest(string subscriptionId, uri.AppendPath("/processes/", false); uri.AppendPath(processId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -23290,8 +23290,8 @@ public Response GetInstanceProcessSlot(string subscriptionId, s internal HttpMessage CreateDeleteInstanceProcessSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -23307,8 +23307,8 @@ internal HttpMessage CreateDeleteInstanceProcessSlotRequest(string subscriptionI uri.AppendPath("/processes/", false); uri.AppendPath(processId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -23376,8 +23376,8 @@ public Response DeleteInstanceProcessSlot(string subscriptionId, string resource internal HttpMessage CreateGetInstanceProcessDumpSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -23394,8 +23394,8 @@ internal HttpMessage CreateGetInstanceProcessDumpSlotRequest(string subscription uri.AppendPath(processId, true); uri.AppendPath("/dump", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -23469,8 +23469,8 @@ public Response GetInstanceProcessDumpSlot(string subscriptionId, string internal HttpMessage CreateListInstanceProcessModulesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -23487,8 +23487,8 @@ internal HttpMessage CreateListInstanceProcessModulesSlotRequest(string subscrip uri.AppendPath(processId, true); uri.AppendPath("/modules", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -23566,8 +23566,8 @@ public Response ListInstanceProcessModulesSlot(stri internal HttpMessage CreateGetInstanceProcessModuleSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string instanceId, string processId, string baseAddress) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -23585,8 +23585,8 @@ internal HttpMessage CreateGetInstanceProcessModuleSlotRequest(string subscripti uri.AppendPath("/modules/", false); uri.AppendPath(baseAddress, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -23672,8 +23672,8 @@ public Response GetInstanceProcessModuleSlot(string subsc internal HttpMessage CreateListInstanceProcessThreadsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -23690,8 +23690,8 @@ internal HttpMessage CreateListInstanceProcessThreadsSlotRequest(string subscrip uri.AppendPath(processId, true); uri.AppendPath("/threads", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -23769,8 +23769,8 @@ public Response ListInstanceProcessThreadsSlot(stri internal HttpMessage CreateIsCloneableSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -23783,8 +23783,8 @@ internal HttpMessage CreateIsCloneableSlotRequest(string subscriptionId, string uri.AppendPath(slot, true); uri.AppendPath("/iscloneable", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -23854,8 +23854,8 @@ public Response IsCloneableSlot(string subscriptionId, string internal HttpMessage CreateListSiteBackupsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -23868,8 +23868,8 @@ internal HttpMessage CreateListSiteBackupsSlotRequest(string subscriptionId, str uri.AppendPath(slot, true); uri.AppendPath("/listbackups", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -23939,8 +23939,8 @@ public Response ListSiteBackupsSlot(string subscriptionId, internal HttpMessage CreateListSyncFunctionTriggersSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -23953,8 +23953,8 @@ internal HttpMessage CreateListSyncFunctionTriggersSlotRequest(string subscripti uri.AppendPath(slot, true); uri.AppendPath("/listsyncfunctiontriggerstatus", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -24024,8 +24024,8 @@ public Response ListSyncFunctionTriggersSlot(string subscriptio internal HttpMessage CreateGetMigrateMySqlStatusSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -24038,8 +24038,8 @@ internal HttpMessage CreateGetMigrateMySqlStatusSlotRequest(string subscriptionI uri.AppendPath(slot, true); uri.AppendPath("/migratemysql/status", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -24113,8 +24113,8 @@ public Response GetMigrateMySqlStatusSlot(string subscri internal HttpMessage CreateGetSwiftVirtualNetworkConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -24127,8 +24127,8 @@ internal HttpMessage CreateGetSwiftVirtualNetworkConnectionSlotRequest(string su uri.AppendPath(slot, true); uri.AppendPath("/networkConfig/virtualNetwork", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -24202,8 +24202,8 @@ public Response GetSwiftVirtualNetworkConnectionSlot(st internal HttpMessage CreateCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, SwiftVirtualNetworkData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -24216,12 +24216,12 @@ internal HttpMessage CreateCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckS uri.AppendPath(slot, true); uri.AppendPath("/networkConfig/virtualNetwork", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -24301,8 +24301,8 @@ public Response CreateOrUpdateSwiftVirtualNetworkConnec internal HttpMessage CreateDeleteSwiftVirtualNetworkSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -24315,8 +24315,8 @@ internal HttpMessage CreateDeleteSwiftVirtualNetworkSlotRequest(string subscript uri.AppendPath(slot, true); uri.AppendPath("/networkConfig/virtualNetwork", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -24376,8 +24376,8 @@ public Response DeleteSwiftVirtualNetworkSlot(string subscriptionId, string reso internal HttpMessage CreateUpdateSwiftVirtualNetworkConnectionWithCheckSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, SwiftVirtualNetworkData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -24390,12 +24390,12 @@ internal HttpMessage CreateUpdateSwiftVirtualNetworkConnectionWithCheckSlotReque uri.AppendPath(slot, true); uri.AppendPath("/networkConfig/virtualNetwork", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -24475,8 +24475,8 @@ public Response UpdateSwiftVirtualNetworkConnectionWith internal HttpMessage CreateListNetworkFeaturesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string view) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -24490,8 +24490,8 @@ internal HttpMessage CreateListNetworkFeaturesSlotRequest(string subscriptionId, uri.AppendPath("/networkFeatures/", false); uri.AppendPath(view, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -24569,8 +24569,8 @@ public Response ListNetworkFeaturesSlot(string subscriptionI internal HttpMessage CreateGetNetworkTraceOperationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string operationId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -24584,8 +24584,8 @@ internal HttpMessage CreateGetNetworkTraceOperationSlotRequest(string subscripti uri.AppendPath("/networkTrace/operationresults/", false); uri.AppendPath(operationId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -24671,8 +24671,8 @@ public Response> GetNetworkTraceOperationSlot(string internal HttpMessage CreateStartWebSiteNetworkTraceSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, int? durationInSeconds, int? maxFrameLength, string sasUrl) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -24697,8 +24697,8 @@ internal HttpMessage CreateStartWebSiteNetworkTraceSlotRequest(string subscripti uri.AppendQuery("sasUrl", sasUrl, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -24774,8 +24774,8 @@ public Response StartWebSiteNetworkTraceSlot(string subscriptionId, stri internal HttpMessage CreateStartWebSiteNetworkTraceOperationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, int? durationInSeconds, int? maxFrameLength, string sasUrl) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -24800,8 +24800,8 @@ internal HttpMessage CreateStartWebSiteNetworkTraceOperationSlotRequest(string s uri.AppendQuery("sasUrl", sasUrl, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -24869,8 +24869,8 @@ public Response StartWebSiteNetworkTraceOperationSlot(string subscriptionId, str internal HttpMessage CreateStopWebSiteNetworkTraceSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -24883,8 +24883,8 @@ internal HttpMessage CreateStopWebSiteNetworkTraceSlotRequest(string subscriptio uri.AppendPath(slot, true); uri.AppendPath("/networkTrace/stop", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -24946,8 +24946,8 @@ public Response StopWebSiteNetworkTraceSlot(string subscriptionId, string resour internal HttpMessage CreateGetNetworkTracesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string operationId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -24961,8 +24961,8 @@ internal HttpMessage CreateGetNetworkTracesSlotRequest(string subscriptionId, st uri.AppendPath("/networkTrace/", false); uri.AppendPath(operationId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -25046,8 +25046,8 @@ public Response> GetNetworkTracesSlot(string subscri internal HttpMessage CreateGetNetworkTraceOperationSlotV2Request(string subscriptionId, string resourceGroupName, string name, string slot, string operationId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -25061,8 +25061,8 @@ internal HttpMessage CreateGetNetworkTraceOperationSlotV2Request(string subscrip uri.AppendPath("/networkTraces/current/operationresults/", false); uri.AppendPath(operationId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -25148,8 +25148,8 @@ public Response> GetNetworkTraceOperationSlotV2(stri internal HttpMessage CreateGetNetworkTracesSlotV2Request(string subscriptionId, string resourceGroupName, string name, string slot, string operationId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -25163,8 +25163,8 @@ internal HttpMessage CreateGetNetworkTracesSlotV2Request(string subscriptionId, uri.AppendPath("/networkTraces/", false); uri.AppendPath(operationId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -25248,8 +25248,8 @@ public Response> GetNetworkTracesSlotV2(string subsc internal HttpMessage CreateGenerateNewSitePublishingPasswordSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -25262,8 +25262,8 @@ internal HttpMessage CreateGenerateNewSitePublishingPasswordSlotRequest(string s uri.AppendPath(slot, true); uri.AppendPath("/newpassword", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -25325,8 +25325,8 @@ public Response GenerateNewSitePublishingPasswordSlot(string subscriptionId, str internal HttpMessage CreateListPerfMonCountersSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string filter) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -25343,8 +25343,8 @@ internal HttpMessage CreateListPerfMonCountersSlotRequest(string subscriptionId, { uri.AppendQuery("$filter", filter, false); } - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -25416,8 +25416,8 @@ public Response ListPerfMonCountersSlot(string subscri internal HttpMessage CreateGetSitePhpErrorLogFlagSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -25430,8 +25430,8 @@ internal HttpMessage CreateGetSitePhpErrorLogFlagSlotRequest(string subscription uri.AppendPath(slot, true); uri.AppendPath("/phplogging", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -25501,8 +25501,8 @@ public Response GetSitePhpErrorLogFlagSlot(string subscript internal HttpMessage CreateListPremierAddOnsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -25515,8 +25515,8 @@ internal HttpMessage CreateListPremierAddOnsSlotRequest(string subscriptionId, s uri.AppendPath(slot, true); uri.AppendPath("/premieraddons", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -25586,8 +25586,8 @@ public Response ListPremierAddOnsSlot(string subscriptionId, s internal HttpMessage CreateGetPremierAddOnSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string premierAddOnName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -25601,8 +25601,8 @@ internal HttpMessage CreateGetPremierAddOnSlotRequest(string subscriptionId, str uri.AppendPath("/premieraddons/", false); uri.AppendPath(premierAddOnName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -25680,8 +25680,8 @@ public Response GetPremierAddOnSlot(string subscriptionId, str internal HttpMessage CreateAddPremierAddOnSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string premierAddOnName, PremierAddOnData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -25695,12 +25695,12 @@ internal HttpMessage CreateAddPremierAddOnSlotRequest(string subscriptionId, str uri.AppendPath("/premieraddons/", false); uri.AppendPath(premierAddOnName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -25778,8 +25778,8 @@ public Response AddPremierAddOnSlot(string subscriptionId, str internal HttpMessage CreateDeletePremierAddOnSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string premierAddOnName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -25793,8 +25793,8 @@ internal HttpMessage CreateDeletePremierAddOnSlotRequest(string subscriptionId, uri.AppendPath("/premieraddons/", false); uri.AppendPath(premierAddOnName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -25858,8 +25858,8 @@ public Response DeletePremierAddOnSlot(string subscriptionId, string resourceGro internal HttpMessage CreateUpdatePremierAddOnSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string premierAddOnName, PremierAddOnPatchResource premierAddOn) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -25873,12 +25873,12 @@ internal HttpMessage CreateUpdatePremierAddOnSlotRequest(string subscriptionId, uri.AppendPath("/premieraddons/", false); uri.AppendPath(premierAddOnName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(premierAddOn); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(premierAddOn); + request.Content = content; _userAgent.Apply(message); return message; } @@ -25956,8 +25956,8 @@ public Response UpdatePremierAddOnSlot(string subscriptionId, internal HttpMessage CreateGetPrivateAccessSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -25970,8 +25970,8 @@ internal HttpMessage CreateGetPrivateAccessSlotRequest(string subscriptionId, st uri.AppendPath(slot, true); uri.AppendPath("/privateAccess/virtualNetworks", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -26045,8 +26045,8 @@ public Response GetPrivateAccessSlot(string subscriptionId, s internal HttpMessage CreatePutPrivateAccessVnetSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, PrivateAccessData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -26059,12 +26059,12 @@ internal HttpMessage CreatePutPrivateAccessVnetSlotRequest(string subscriptionId uri.AppendPath(slot, true); uri.AppendPath("/privateAccess/virtualNetworks", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -26138,8 +26138,8 @@ public Response PutPrivateAccessVnetSlot(string subscriptionI internal HttpMessage CreateGetPrivateEndpointConnectionListSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -26152,8 +26152,8 @@ internal HttpMessage CreateGetPrivateEndpointConnectionListSlotRequest(string su uri.AppendPath(slot, true); uri.AppendPath("/privateEndpointConnections", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -26223,8 +26223,8 @@ public Response GetPrivateEndpointConnectio internal HttpMessage CreateGetPrivateEndpointConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string privateEndpointConnectionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -26238,8 +26238,8 @@ internal HttpMessage CreateGetPrivateEndpointConnectionSlotRequest(string subscr uri.AppendPath("/privateEndpointConnections/", false); uri.AppendPath(privateEndpointConnectionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -26317,8 +26317,8 @@ public Response GetPrivateEndpoi internal HttpMessage CreateApproveOrRejectPrivateEndpointConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string privateEndpointConnectionName, PrivateLinkConnectionApprovalRequestInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -26332,12 +26332,12 @@ internal HttpMessage CreateApproveOrRejectPrivateEndpointConnectionSlotRequest(s uri.AppendPath("/privateEndpointConnections/", false); uri.AppendPath(privateEndpointConnectionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(info); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(info); + request.Content = content; _userAgent.Apply(message); return message; } @@ -26407,8 +26407,8 @@ public Response ApproveOrRejectPrivateEndpointConnectionSlot(string subscription internal HttpMessage CreateDeletePrivateEndpointConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string privateEndpointConnectionName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -26422,8 +26422,8 @@ internal HttpMessage CreateDeletePrivateEndpointConnectionSlotRequest(string sub uri.AppendPath("/privateEndpointConnections/", false); uri.AppendPath(privateEndpointConnectionName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -26491,8 +26491,8 @@ public Response DeletePrivateEndpointConnectionSlot(string subscriptionId, strin internal HttpMessage CreateGetPrivateLinkResourcesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -26505,8 +26505,8 @@ internal HttpMessage CreateGetPrivateLinkResourcesSlotRequest(string subscriptio uri.AppendPath(slot, true); uri.AppendPath("/privateLinkResources", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -26576,8 +26576,8 @@ public Response GetPrivateLinkResourcesSlot(string internal HttpMessage CreateListProcessesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -26590,8 +26590,8 @@ internal HttpMessage CreateListProcessesSlotRequest(string subscriptionId, strin uri.AppendPath(slot, true); uri.AppendPath("/processes", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -26661,8 +26661,8 @@ public Response ListProcessesSlot(string subscriptionId, internal HttpMessage CreateGetProcessSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -26676,8 +26676,8 @@ internal HttpMessage CreateGetProcessSlotRequest(string subscriptionId, string r uri.AppendPath("/processes/", false); uri.AppendPath(processId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -26755,8 +26755,8 @@ public Response GetProcessSlot(string subscriptionId, string re internal HttpMessage CreateDeleteProcessSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -26770,8 +26770,8 @@ internal HttpMessage CreateDeleteProcessSlotRequest(string subscriptionId, strin uri.AppendPath("/processes/", false); uri.AppendPath(processId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -26835,8 +26835,8 @@ public Response DeleteProcessSlot(string subscriptionId, string resourceGroupNam internal HttpMessage CreateGetProcessDumpSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -26851,8 +26851,8 @@ internal HttpMessage CreateGetProcessDumpSlotRequest(string subscriptionId, stri uri.AppendPath(processId, true); uri.AppendPath("/dump", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -26922,8 +26922,8 @@ public Response GetProcessDumpSlot(string subscriptionId, string resourc internal HttpMessage CreateListProcessModulesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -26938,8 +26938,8 @@ internal HttpMessage CreateListProcessModulesSlotRequest(string subscriptionId, uri.AppendPath(processId, true); uri.AppendPath("/modules", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -27013,8 +27013,8 @@ public Response ListProcessModulesSlot(string subsc internal HttpMessage CreateGetProcessModuleSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string processId, string baseAddress) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27030,8 +27030,8 @@ internal HttpMessage CreateGetProcessModuleSlotRequest(string subscriptionId, st uri.AppendPath("/modules/", false); uri.AppendPath(baseAddress, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -27113,8 +27113,8 @@ public Response GetProcessModuleSlot(string subscriptionI internal HttpMessage CreateListProcessThreadsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27129,8 +27129,8 @@ internal HttpMessage CreateListProcessThreadsSlotRequest(string subscriptionId, uri.AppendPath(processId, true); uri.AppendPath("/threads", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -27204,8 +27204,8 @@ public Response ListProcessThreadsSlot(string subsc internal HttpMessage CreateListPublicCertificatesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27218,8 +27218,8 @@ internal HttpMessage CreateListPublicCertificatesSlotRequest(string subscription uri.AppendPath(slot, true); uri.AppendPath("/publicCertificates", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -27289,8 +27289,8 @@ public Response ListPublicCertificatesSlot(string s internal HttpMessage CreateGetPublicCertificateSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string publicCertificateName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27304,8 +27304,8 @@ internal HttpMessage CreateGetPublicCertificateSlotRequest(string subscriptionId uri.AppendPath("/publicCertificates/", false); uri.AppendPath(publicCertificateName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -27383,8 +27383,8 @@ public Response GetPublicCertificateSlot(string subscript internal HttpMessage CreateCreateOrUpdatePublicCertificateSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string publicCertificateName, PublicCertificateData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27398,12 +27398,12 @@ internal HttpMessage CreateCreateOrUpdatePublicCertificateSlotRequest(string sub uri.AppendPath("/publicCertificates/", false); uri.AppendPath(publicCertificateName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -27481,8 +27481,8 @@ public Response CreateOrUpdatePublicCertificateSlot(strin internal HttpMessage CreateDeletePublicCertificateSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string publicCertificateName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27496,8 +27496,8 @@ internal HttpMessage CreateDeletePublicCertificateSlotRequest(string subscriptio uri.AppendPath("/publicCertificates/", false); uri.AppendPath(publicCertificateName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -27563,8 +27563,8 @@ public Response DeletePublicCertificateSlot(string subscriptionId, string resour internal HttpMessage CreateListPublishingProfileXmlWithSecretsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, CsmPublishingProfile publishingProfileOptions) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27577,12 +27577,12 @@ internal HttpMessage CreateListPublishingProfileXmlWithSecretsSlotRequest(string uri.AppendPath(slot, true); uri.AppendPath("/publishxml", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/xml"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(publishingProfileOptions); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/xml"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(publishingProfileOptions); + request.Content = content; _userAgent.Apply(message); return message; } @@ -27652,8 +27652,8 @@ public Response ListPublishingProfileXmlWithSecretsSlot(string subscript internal HttpMessage CreateResetSlotConfigurationSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27666,8 +27666,8 @@ internal HttpMessage CreateResetSlotConfigurationSlotRequest(string subscription uri.AppendPath(slot, true); uri.AppendPath("/resetSlotConfig", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -27727,8 +27727,8 @@ public Response ResetSlotConfigurationSlot(string subscriptionId, string resourc internal HttpMessage CreateRestartSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, bool? softRestart, bool? synchronous) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27749,8 +27749,8 @@ internal HttpMessage CreateRestartSlotRequest(string subscriptionId, string reso uri.AppendQuery("synchronous", synchronous.Value, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -27814,8 +27814,8 @@ public Response RestartSlot(string subscriptionId, string resourceGroupName, str internal HttpMessage CreateRestoreFromBackupBlobSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, RestoreRequestInfo info) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27828,12 +27828,12 @@ internal HttpMessage CreateRestoreFromBackupBlobSlotRequest(string subscriptionI uri.AppendPath(slot, true); uri.AppendPath("/restoreFromBackupBlob", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(info); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(info); + request.Content = content; _userAgent.Apply(message); return message; } @@ -27899,8 +27899,8 @@ public Response RestoreFromBackupBlobSlot(string subscriptionId, string resource internal HttpMessage CreateRestoreFromDeletedAppSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, DeletedAppRestoreContent content) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27913,12 +27913,12 @@ internal HttpMessage CreateRestoreFromDeletedAppSlotRequest(string subscriptionI uri.AppendPath(slot, true); uri.AppendPath("/restoreFromDeletedApp", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); var content0 = new Utf8JsonRequestContent(); content0.JsonWriter.WriteObjectValue(content); - request0.Content = content0; + request.Content = content0; _userAgent.Apply(message); return message; } @@ -27984,8 +27984,8 @@ public Response RestoreFromDeletedAppSlot(string subscriptionId, string resource internal HttpMessage CreateRestoreSnapshotSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, SnapshotRestoreRequest restoreRequest) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -27998,12 +27998,12 @@ internal HttpMessage CreateRestoreSnapshotSlotRequest(string subscriptionId, str uri.AppendPath(slot, true); uri.AppendPath("/restoreSnapshot", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(restoreRequest); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(restoreRequest); + request.Content = content; _userAgent.Apply(message); return message; } @@ -28069,8 +28069,8 @@ public Response RestoreSnapshotSlot(string subscriptionId, string resourceGroupN internal HttpMessage CreateListSiteExtensionsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -28083,8 +28083,8 @@ internal HttpMessage CreateListSiteExtensionsSlotRequest(string subscriptionId, uri.AppendPath(slot, true); uri.AppendPath("/siteextensions", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -28154,8 +28154,8 @@ public Response ListSiteExtensionsSlot(string subsc internal HttpMessage CreateGetSiteExtensionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string siteExtensionId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -28169,8 +28169,8 @@ internal HttpMessage CreateGetSiteExtensionSlotRequest(string subscriptionId, st uri.AppendPath("/siteextensions/", false); uri.AppendPath(siteExtensionId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -28248,8 +28248,8 @@ public Response GetSiteExtensionSlot(string subscriptionI internal HttpMessage CreateInstallSiteExtensionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string siteExtensionId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -28263,8 +28263,8 @@ internal HttpMessage CreateInstallSiteExtensionSlotRequest(string subscriptionId uri.AppendPath("/siteextensions/", false); uri.AppendPath(siteExtensionId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -28330,8 +28330,8 @@ public Response InstallSiteExtensionSlot(string subscriptionId, string resourceG internal HttpMessage CreateDeleteSiteExtensionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string siteExtensionId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -28345,8 +28345,8 @@ internal HttpMessage CreateDeleteSiteExtensionSlotRequest(string subscriptionId, uri.AppendPath("/siteextensions/", false); uri.AppendPath(siteExtensionId, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -28410,8 +28410,8 @@ public Response DeleteSiteExtensionSlot(string subscriptionId, string resourceGr internal HttpMessage CreateListSlotDifferencesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, CsmSlotEntity slotSwapEntity) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -28424,12 +28424,12 @@ internal HttpMessage CreateListSlotDifferencesSlotRequest(string subscriptionId, uri.AppendPath(slot, true); uri.AppendPath("/slotsdiffs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(slotSwapEntity); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(slotSwapEntity); + request.Content = content; _userAgent.Apply(message); return message; } @@ -28503,8 +28503,8 @@ public Response ListSlotDifferencesSlot(string subscri internal HttpMessage CreateSwapSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, CsmSlotEntity slotSwapEntity) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -28517,12 +28517,12 @@ internal HttpMessage CreateSwapSlotRequest(string subscriptionId, string resourc uri.AppendPath(slot, true); uri.AppendPath("/slotsswap", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(slotSwapEntity); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(slotSwapEntity); + request.Content = content; _userAgent.Apply(message); return message; } @@ -28588,8 +28588,8 @@ public Response SwapSlot(string subscriptionId, string resourceGroupName, string internal HttpMessage CreateListSnapshotsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -28602,8 +28602,8 @@ internal HttpMessage CreateListSnapshotsSlotRequest(string subscriptionId, strin uri.AppendPath(slot, true); uri.AppendPath("/snapshots", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -28673,8 +28673,8 @@ public Response ListSnapshotsSlot(string subscriptionId, str internal HttpMessage CreateListSnapshotsFromDRSecondarySlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -28687,8 +28687,8 @@ internal HttpMessage CreateListSnapshotsFromDRSecondarySlotRequest(string subscr uri.AppendPath(slot, true); uri.AppendPath("/snapshotsdr", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -28758,8 +28758,8 @@ public Response ListSnapshotsFromDRSecondarySlot(string subs internal HttpMessage CreateGetSourceControlSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -28772,8 +28772,8 @@ internal HttpMessage CreateGetSourceControlSlotRequest(string subscriptionId, st uri.AppendPath(slot, true); uri.AppendPath("/sourcecontrols/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -28851,8 +28851,8 @@ public Response GetSourceControlSlot(string subscriptionI internal HttpMessage CreateCreateOrUpdateSourceControlSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, SiteSourceControlData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -28865,12 +28865,12 @@ internal HttpMessage CreateCreateOrUpdateSourceControlSlotRequest(string subscri uri.AppendPath(slot, true); uri.AppendPath("/sourcecontrols/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -28938,8 +28938,8 @@ public Response CreateOrUpdateSourceControlSlot(string subscriptionId, string re internal HttpMessage CreateDeleteSourceControlSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string additionalFlags) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -28956,8 +28956,8 @@ internal HttpMessage CreateDeleteSourceControlSlotRequest(string subscriptionId, uri.AppendQuery("additionalFlags", additionalFlags, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -29021,8 +29021,8 @@ public Response DeleteSourceControlSlot(string subscriptionId, string resourceGr internal HttpMessage CreateUpdateSourceControlSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, SiteSourceControlData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29035,12 +29035,12 @@ internal HttpMessage CreateUpdateSourceControlSlotRequest(string subscriptionId, uri.AppendPath(slot, true); uri.AppendPath("/sourcecontrols/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -29118,8 +29118,8 @@ public Response UpdateSourceControlSlot(string subscripti internal HttpMessage CreateStartSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29132,8 +29132,8 @@ internal HttpMessage CreateStartSlotRequest(string subscriptionId, string resour uri.AppendPath(slot, true); uri.AppendPath("/start", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -29193,8 +29193,8 @@ public Response StartSlot(string subscriptionId, string resourceGroupName, strin internal HttpMessage CreateStartNetworkTraceSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, int? durationInSeconds, int? maxFrameLength, string sasUrl) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29219,8 +29219,8 @@ internal HttpMessage CreateStartNetworkTraceSlotRequest(string subscriptionId, s uri.AppendQuery("sasUrl", sasUrl, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -29288,8 +29288,8 @@ public Response StartNetworkTraceSlot(string subscriptionId, string resourceGrou internal HttpMessage CreateStopSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29302,8 +29302,8 @@ internal HttpMessage CreateStopSlotRequest(string subscriptionId, string resourc uri.AppendPath(slot, true); uri.AppendPath("/stop", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -29363,8 +29363,8 @@ public Response StopSlot(string subscriptionId, string resourceGroupName, string internal HttpMessage CreateStopNetworkTraceSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29377,8 +29377,8 @@ internal HttpMessage CreateStopNetworkTraceSlotRequest(string subscriptionId, st uri.AppendPath(slot, true); uri.AppendPath("/stopNetworkTrace", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -29440,8 +29440,8 @@ public Response StopNetworkTraceSlot(string subscriptionId, string resourceGroup internal HttpMessage CreateSyncRepositorySlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29454,8 +29454,8 @@ internal HttpMessage CreateSyncRepositorySlotRequest(string subscriptionId, stri uri.AppendPath(slot, true); uri.AppendPath("/sync", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -29515,8 +29515,8 @@ public Response SyncRepositorySlot(string subscriptionId, string resourceGroupNa internal HttpMessage CreateSyncFunctionTriggersSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29529,8 +29529,8 @@ internal HttpMessage CreateSyncFunctionTriggersSlotRequest(string subscriptionId uri.AppendPath(slot, true); uri.AppendPath("/syncfunctiontriggers", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -29590,8 +29590,8 @@ public Response SyncFunctionTriggersSlot(string subscriptionId, string resourceG internal HttpMessage CreateListTriggeredWebJobsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29604,8 +29604,8 @@ internal HttpMessage CreateListTriggeredWebJobsSlotRequest(string subscriptionId uri.AppendPath(slot, true); uri.AppendPath("/triggeredwebjobs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -29675,8 +29675,8 @@ public Response ListTriggeredWebJobsSlot(string subsc internal HttpMessage CreateGetTriggeredWebJobSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29690,8 +29690,8 @@ internal HttpMessage CreateGetTriggeredWebJobSlotRequest(string subscriptionId, uri.AppendPath("/triggeredwebjobs/", false); uri.AppendPath(webJobName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -29769,8 +29769,8 @@ public Response GetTriggeredWebJobSlot(string subscriptionI internal HttpMessage CreateDeleteTriggeredWebJobSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29784,8 +29784,8 @@ internal HttpMessage CreateDeleteTriggeredWebJobSlotRequest(string subscriptionI uri.AppendPath("/triggeredwebjobs/", false); uri.AppendPath(webJobName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -29851,8 +29851,8 @@ public Response DeleteTriggeredWebJobSlot(string subscriptionId, string resource internal HttpMessage CreateListTriggeredWebJobHistorySlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29867,8 +29867,8 @@ internal HttpMessage CreateListTriggeredWebJobHistorySlotRequest(string subscrip uri.AppendPath(webJobName, true); uri.AppendPath("/history", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -29942,8 +29942,8 @@ public Response ListTriggeredWebJobHistorySlot(st internal HttpMessage CreateGetTriggeredWebJobHistorySlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string webJobName, string id) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -29959,8 +29959,8 @@ internal HttpMessage CreateGetTriggeredWebJobHistorySlotRequest(string subscript uri.AppendPath("/history/", false); uri.AppendPath(id, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -30042,8 +30042,8 @@ public Response GetTriggeredWebJobHistorySlot(string su internal HttpMessage CreateRunTriggeredWebJobSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -30058,8 +30058,8 @@ internal HttpMessage CreateRunTriggeredWebJobSlotRequest(string subscriptionId, uri.AppendPath(webJobName, true); uri.AppendPath("/run", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -30123,8 +30123,8 @@ public Response RunTriggeredWebJobSlot(string subscriptionId, string resourceGro internal HttpMessage CreateListUsagesSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string filter) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -30141,8 +30141,8 @@ internal HttpMessage CreateListUsagesSlotRequest(string subscriptionId, string r { uri.AppendQuery("$filter", filter, false); } - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -30214,8 +30214,8 @@ public Response ListUsagesSlot(string subscriptionId, s internal HttpMessage CreateListVnetConnectionsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -30228,8 +30228,8 @@ internal HttpMessage CreateListVnetConnectionsSlotRequest(string subscriptionId, uri.AppendPath(slot, true); uri.AppendPath("/virtualNetworkConnections", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -30309,8 +30309,8 @@ public Response> ListVnetConnectionsSlot(str internal HttpMessage CreateGetVnetConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string vnetName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -30324,8 +30324,8 @@ internal HttpMessage CreateGetVnetConnectionSlotRequest(string subscriptionId, s uri.AppendPath("/virtualNetworkConnections/", false); uri.AppendPath(vnetName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -30403,8 +30403,8 @@ public Response GetVnetConnectionSlot(string subscriptionI internal HttpMessage CreateCreateOrUpdateVnetConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string vnetName, VnetInfoResourceData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -30418,12 +30418,12 @@ internal HttpMessage CreateCreateOrUpdateVnetConnectionSlotRequest(string subscr uri.AppendPath("/virtualNetworkConnections/", false); uri.AppendPath(vnetName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -30501,8 +30501,8 @@ public Response CreateOrUpdateVnetConnectionSlot(string su internal HttpMessage CreateDeleteVnetConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string vnetName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -30516,8 +30516,8 @@ internal HttpMessage CreateDeleteVnetConnectionSlotRequest(string subscriptionId uri.AppendPath("/virtualNetworkConnections/", false); uri.AppendPath(vnetName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -30581,8 +30581,8 @@ public Response DeleteVnetConnectionSlot(string subscriptionId, string resourceG internal HttpMessage CreateUpdateVnetConnectionSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string vnetName, VnetInfoResourceData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -30596,12 +30596,12 @@ internal HttpMessage CreateUpdateVnetConnectionSlotRequest(string subscriptionId uri.AppendPath("/virtualNetworkConnections/", false); uri.AppendPath(vnetName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -30679,8 +30679,8 @@ public Response UpdateVnetConnectionSlot(string subscripti internal HttpMessage CreateGetVnetConnectionGatewaySlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string vnetName, string gatewayName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -30696,8 +30696,8 @@ internal HttpMessage CreateGetVnetConnectionGatewaySlotRequest(string subscripti uri.AppendPath("/gateways/", false); uri.AppendPath(gatewayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -30779,8 +30779,8 @@ public Response GetVnetConnectionGatewaySlot(string subscriptio internal HttpMessage CreateCreateOrUpdateVnetConnectionGatewaySlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string vnetName, string gatewayName, VnetGatewayData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -30796,12 +30796,12 @@ internal HttpMessage CreateCreateOrUpdateVnetConnectionGatewaySlotRequest(string uri.AppendPath("/gateways/", false); uri.AppendPath(gatewayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -30883,8 +30883,8 @@ public Response CreateOrUpdateVnetConnectionGatewaySlot(string internal HttpMessage CreateUpdateVnetConnectionGatewaySlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string vnetName, string gatewayName, VnetGatewayData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -30900,12 +30900,12 @@ internal HttpMessage CreateUpdateVnetConnectionGatewaySlotRequest(string subscri uri.AppendPath("/gateways/", false); uri.AppendPath(gatewayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -30987,8 +30987,8 @@ public Response UpdateVnetConnectionGatewaySlot(string subscrip internal HttpMessage CreateListWebJobsSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31001,8 +31001,8 @@ internal HttpMessage CreateListWebJobsSlotRequest(string subscriptionId, string uri.AppendPath(slot, true); uri.AppendPath("/webjobs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -31072,8 +31072,8 @@ public Response ListWebJobsSlot(string subscriptionId, string internal HttpMessage CreateGetWebJobSlotRequest(string subscriptionId, string resourceGroupName, string name, string slot, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31087,8 +31087,8 @@ internal HttpMessage CreateGetWebJobSlotRequest(string subscriptionId, string re uri.AppendPath("/webjobs/", false); uri.AppendPath(webJobName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -31166,8 +31166,8 @@ public Response GetWebJobSlot(string subscriptionId, string resource internal HttpMessage CreateListSlotDifferencesFromProductionRequest(string subscriptionId, string resourceGroupName, string name, CsmSlotEntity slotSwapEntity) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31178,12 +31178,12 @@ internal HttpMessage CreateListSlotDifferencesFromProductionRequest(string subsc uri.AppendPath(name, true); uri.AppendPath("/slotsdiffs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(slotSwapEntity); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(slotSwapEntity); + request.Content = content; _userAgent.Apply(message); return message; } @@ -31253,8 +31253,8 @@ public Response ListSlotDifferencesFromProduction(stri internal HttpMessage CreateSwapSlotWithProductionRequest(string subscriptionId, string resourceGroupName, string name, CsmSlotEntity slotSwapEntity) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31265,12 +31265,12 @@ internal HttpMessage CreateSwapSlotWithProductionRequest(string subscriptionId, uri.AppendPath(name, true); uri.AppendPath("/slotsswap", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(slotSwapEntity); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(slotSwapEntity); + request.Content = content; _userAgent.Apply(message); return message; } @@ -31332,8 +31332,8 @@ public Response SwapSlotWithProduction(string subscriptionId, string resourceGro internal HttpMessage CreateListSnapshotsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31344,8 +31344,8 @@ internal HttpMessage CreateListSnapshotsRequest(string subscriptionId, string re uri.AppendPath(name, true); uri.AppendPath("/snapshots", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -31411,8 +31411,8 @@ public Response ListSnapshots(string subscriptionId, string internal HttpMessage CreateListSnapshotsFromDRSecondaryRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31423,8 +31423,8 @@ internal HttpMessage CreateListSnapshotsFromDRSecondaryRequest(string subscripti uri.AppendPath(name, true); uri.AppendPath("/snapshotsdr", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -31490,8 +31490,8 @@ public Response ListSnapshotsFromDRSecondary(string subscrip internal HttpMessage CreateGetSourceControlRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31502,8 +31502,8 @@ internal HttpMessage CreateGetSourceControlRequest(string subscriptionId, string uri.AppendPath(name, true); uri.AppendPath("/sourcecontrols/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -31577,8 +31577,8 @@ public Response GetSourceControl(string subscriptionId, s internal HttpMessage CreateCreateOrUpdateSourceControlRequest(string subscriptionId, string resourceGroupName, string name, SiteSourceControlData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31589,12 +31589,12 @@ internal HttpMessage CreateCreateOrUpdateSourceControlRequest(string subscriptio uri.AppendPath(name, true); uri.AppendPath("/sourcecontrols/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -31658,8 +31658,8 @@ public Response CreateOrUpdateSourceControl(string subscriptionId, string resour internal HttpMessage CreateDeleteSourceControlRequest(string subscriptionId, string resourceGroupName, string name, string additionalFlags) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31674,8 +31674,8 @@ internal HttpMessage CreateDeleteSourceControlRequest(string subscriptionId, str uri.AppendQuery("additionalFlags", additionalFlags, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -31735,8 +31735,8 @@ public Response DeleteSourceControl(string subscriptionId, string resourceGroupN internal HttpMessage CreateUpdateSourceControlRequest(string subscriptionId, string resourceGroupName, string name, SiteSourceControlData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31747,12 +31747,12 @@ internal HttpMessage CreateUpdateSourceControlRequest(string subscriptionId, str uri.AppendPath(name, true); uri.AppendPath("/sourcecontrols/web", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -31826,8 +31826,8 @@ public Response UpdateSourceControl(string subscriptionId internal HttpMessage CreateStartRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31838,8 +31838,8 @@ internal HttpMessage CreateStartRequest(string subscriptionId, string resourceGr uri.AppendPath(name, true); uri.AppendPath("/start", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -31895,8 +31895,8 @@ public Response Start(string subscriptionId, string resourceGroupName, string na internal HttpMessage CreateStartNetworkTraceRequest(string subscriptionId, string resourceGroupName, string name, int? durationInSeconds, int? maxFrameLength, string sasUrl) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31919,8 +31919,8 @@ internal HttpMessage CreateStartNetworkTraceRequest(string subscriptionId, strin uri.AppendQuery("sasUrl", sasUrl, true); } uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -31984,8 +31984,8 @@ public Response StartNetworkTrace(string subscriptionId, string resourceGroupNam internal HttpMessage CreateStopRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -31996,8 +31996,8 @@ internal HttpMessage CreateStopRequest(string subscriptionId, string resourceGro uri.AppendPath(name, true); uri.AppendPath("/stop", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32053,8 +32053,8 @@ public Response Stop(string subscriptionId, string resourceGroupName, string nam internal HttpMessage CreateStopNetworkTraceRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32065,8 +32065,8 @@ internal HttpMessage CreateStopNetworkTraceRequest(string subscriptionId, string uri.AppendPath(name, true); uri.AppendPath("/stopNetworkTrace", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32124,8 +32124,8 @@ public Response StopNetworkTrace(string subscriptionId, string resourceGroupName internal HttpMessage CreateSyncRepositoryRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32136,8 +32136,8 @@ internal HttpMessage CreateSyncRepositoryRequest(string subscriptionId, string r uri.AppendPath(name, true); uri.AppendPath("/sync", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32193,8 +32193,8 @@ public Response SyncRepository(string subscriptionId, string resourceGroupName, internal HttpMessage CreateSyncFunctionTriggersRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32205,8 +32205,8 @@ internal HttpMessage CreateSyncFunctionTriggersRequest(string subscriptionId, st uri.AppendPath(name, true); uri.AppendPath("/syncfunctiontriggers", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32262,8 +32262,8 @@ public Response SyncFunctionTriggers(string subscriptionId, string resourceGroup internal HttpMessage CreateListTriggeredWebJobsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32274,8 +32274,8 @@ internal HttpMessage CreateListTriggeredWebJobsRequest(string subscriptionId, st uri.AppendPath(name, true); uri.AppendPath("/triggeredwebjobs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32341,8 +32341,8 @@ public Response ListTriggeredWebJobs(string subscript internal HttpMessage CreateGetTriggeredWebJobRequest(string subscriptionId, string resourceGroupName, string name, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32354,8 +32354,8 @@ internal HttpMessage CreateGetTriggeredWebJobRequest(string subscriptionId, stri uri.AppendPath("/triggeredwebjobs/", false); uri.AppendPath(webJobName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32429,8 +32429,8 @@ public Response GetTriggeredWebJob(string subscriptionId, s internal HttpMessage CreateDeleteTriggeredWebJobRequest(string subscriptionId, string resourceGroupName, string name, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32442,8 +32442,8 @@ internal HttpMessage CreateDeleteTriggeredWebJobRequest(string subscriptionId, s uri.AppendPath("/triggeredwebjobs/", false); uri.AppendPath(webJobName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32505,8 +32505,8 @@ public Response DeleteTriggeredWebJob(string subscriptionId, string resourceGrou internal HttpMessage CreateListTriggeredWebJobHistoryRequest(string subscriptionId, string resourceGroupName, string name, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32519,8 +32519,8 @@ internal HttpMessage CreateListTriggeredWebJobHistoryRequest(string subscription uri.AppendPath(webJobName, true); uri.AppendPath("/history", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32590,8 +32590,8 @@ public Response ListTriggeredWebJobHistory(string internal HttpMessage CreateGetTriggeredWebJobHistoryRequest(string subscriptionId, string resourceGroupName, string name, string webJobName, string id) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32605,8 +32605,8 @@ internal HttpMessage CreateGetTriggeredWebJobHistoryRequest(string subscriptionI uri.AppendPath("/history/", false); uri.AppendPath(id, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32684,8 +32684,8 @@ public Response GetTriggeredWebJobHistory(string subscr internal HttpMessage CreateRunTriggeredWebJobRequest(string subscriptionId, string resourceGroupName, string name, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Post; + var request = message.Request; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32698,8 +32698,8 @@ internal HttpMessage CreateRunTriggeredWebJobRequest(string subscriptionId, stri uri.AppendPath(webJobName, true); uri.AppendPath("/run", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32759,8 +32759,8 @@ public Response RunTriggeredWebJob(string subscriptionId, string resourceGroupNa internal HttpMessage CreateListUsagesRequest(string subscriptionId, string resourceGroupName, string name, string filter) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32775,8 +32775,8 @@ internal HttpMessage CreateListUsagesRequest(string subscriptionId, string resou { uri.AppendQuery("$filter", filter, false); } - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32844,8 +32844,8 @@ public Response ListUsages(string subscriptionId, strin internal HttpMessage CreateListVnetConnectionsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32856,8 +32856,8 @@ internal HttpMessage CreateListVnetConnectionsRequest(string subscriptionId, str uri.AppendPath(name, true); uri.AppendPath("/virtualNetworkConnections", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -32933,8 +32933,8 @@ public Response> ListVnetConnections(string internal HttpMessage CreateGetVnetConnectionRequest(string subscriptionId, string resourceGroupName, string name, string vnetName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -32946,8 +32946,8 @@ internal HttpMessage CreateGetVnetConnectionRequest(string subscriptionId, strin uri.AppendPath("/virtualNetworkConnections/", false); uri.AppendPath(vnetName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -33021,8 +33021,8 @@ public Response GetVnetConnection(string subscriptionId, s internal HttpMessage CreateCreateOrUpdateVnetConnectionRequest(string subscriptionId, string resourceGroupName, string name, string vnetName, VnetInfoResourceData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -33034,12 +33034,12 @@ internal HttpMessage CreateCreateOrUpdateVnetConnectionRequest(string subscripti uri.AppendPath("/virtualNetworkConnections/", false); uri.AppendPath(vnetName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -33113,8 +33113,8 @@ public Response CreateOrUpdateVnetConnection(string subscr internal HttpMessage CreateDeleteVnetConnectionRequest(string subscriptionId, string resourceGroupName, string name, string vnetName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Delete; + var request = message.Request; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -33126,8 +33126,8 @@ internal HttpMessage CreateDeleteVnetConnectionRequest(string subscriptionId, st uri.AppendPath("/virtualNetworkConnections/", false); uri.AppendPath(vnetName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -33187,8 +33187,8 @@ public Response DeleteVnetConnection(string subscriptionId, string resourceGroup internal HttpMessage CreateUpdateVnetConnectionRequest(string subscriptionId, string resourceGroupName, string name, string vnetName, VnetInfoResourceData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -33200,12 +33200,12 @@ internal HttpMessage CreateUpdateVnetConnectionRequest(string subscriptionId, st uri.AppendPath("/virtualNetworkConnections/", false); uri.AppendPath(vnetName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -33279,8 +33279,8 @@ public Response UpdateVnetConnection(string subscriptionId internal HttpMessage CreateGetVnetConnectionGatewayRequest(string subscriptionId, string resourceGroupName, string name, string vnetName, string gatewayName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -33294,8 +33294,8 @@ internal HttpMessage CreateGetVnetConnectionGatewayRequest(string subscriptionId uri.AppendPath("/gateways/", false); uri.AppendPath(gatewayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -33373,8 +33373,8 @@ public Response GetVnetConnectionGateway(string subscriptionId, internal HttpMessage CreateCreateOrUpdateVnetConnectionGatewayRequest(string subscriptionId, string resourceGroupName, string name, string vnetName, string gatewayName, VnetGatewayData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Put; + var request = message.Request; + request.Method = RequestMethod.Put; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -33388,12 +33388,12 @@ internal HttpMessage CreateCreateOrUpdateVnetConnectionGatewayRequest(string sub uri.AppendPath("/gateways/", false); uri.AppendPath(gatewayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -33471,8 +33471,8 @@ public Response CreateOrUpdateVnetConnectionGateway(string subs internal HttpMessage CreateUpdateVnetConnectionGatewayRequest(string subscriptionId, string resourceGroupName, string name, string vnetName, string gatewayName, VnetGatewayData data) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Patch; + var request = message.Request; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -33486,12 +33486,12 @@ internal HttpMessage CreateUpdateVnetConnectionGatewayRequest(string subscriptio uri.AppendPath("/gateways/", false); uri.AppendPath(gatewayName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); - request0.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(data); - request0.Content = content0; + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(data); + request.Content = content; _userAgent.Apply(message); return message; } @@ -33569,8 +33569,8 @@ public Response UpdateVnetConnectionGateway(string subscription internal HttpMessage CreateListWebJobsRequest(string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -33581,8 +33581,8 @@ internal HttpMessage CreateListWebJobsRequest(string subscriptionId, string reso uri.AppendPath(name, true); uri.AppendPath("/webjobs", false); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -33648,8 +33648,8 @@ public Response ListWebJobs(string subscriptionId, string reso internal HttpMessage CreateGetWebJobRequest(string subscriptionId, string resourceGroupName, string name, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -33661,8 +33661,8 @@ internal HttpMessage CreateGetWebJobRequest(string subscriptionId, string resour uri.AppendPath("/webjobs/", false); uri.AppendPath(webJobName, true); uri.AppendQuery("api-version", _apiVersion, true); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -33736,13 +33736,13 @@ public Response GetWebJob(string subscriptionId, string resourceGrou internal HttpMessage CreateListNextPageRequest(string nextLink, string subscriptionId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -33804,13 +33804,13 @@ public Response ListNextPage(string nextLink, string subscript internal HttpMessage CreateListByResourceGroupNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, bool? includeSlots) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -33878,13 +33878,13 @@ public Response ListByResourceGroupNextPage(string nextLink, s internal HttpMessage CreateListBackupsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -33954,13 +33954,13 @@ public Response ListBackupsNextPage(string nextLink, strin internal HttpMessage CreateListBasicPublishingCredentialsPoliciesNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34030,13 +34030,13 @@ public Response ListBasicPublishingCred internal HttpMessage CreateListConfigurationsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34106,13 +34106,13 @@ public Response ListConfigurationsNextPage(string internal HttpMessage CreateGetAppSettingsKeyVaultReferencesNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34182,13 +34182,13 @@ public Response GetAppSettingsKeyVaultReferencesNextPa internal HttpMessage CreateGetSiteConnectionStringKeyVaultReferencesNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34258,13 +34258,13 @@ public Response GetSiteConnectionStringKeyVaultReferen internal HttpMessage CreateListConfigurationSnapshotInfoNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34334,13 +34334,13 @@ public Response ListConfigurationSnapsh internal HttpMessage CreateListContinuousWebJobsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34410,13 +34410,13 @@ public Response ListContinuousWebJobsNextPage(string internal HttpMessage CreateListDeploymentsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34486,13 +34486,13 @@ public Response ListDeploymentsNextPage(string nextLink, s internal HttpMessage CreateListDomainOwnershipIdentifiersNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34562,13 +34562,13 @@ public Response ListDomainOwnershipIdentifiersNextPage(str internal HttpMessage CreateListFunctionsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34638,13 +34638,13 @@ public Response ListFunctionsNextPage(string nextLin internal HttpMessage CreateListHostNameBindingsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34714,13 +34714,13 @@ public Response ListHostNameBindingsNextPage(string n internal HttpMessage CreateListInstanceIdentifiersNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34790,13 +34790,13 @@ public Response ListInstanceIdentifiersNextPage( internal HttpMessage CreateListInstanceProcessesNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string instanceId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34870,13 +34870,13 @@ public Response ListInstanceProcessesNextPage(string next internal HttpMessage CreateListInstanceProcessModulesNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -34954,13 +34954,13 @@ public Response ListInstanceProcessModulesNextPage( internal HttpMessage CreateListInstanceProcessThreadsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35038,13 +35038,13 @@ public Response ListInstanceProcessThreadsNextPage( internal HttpMessage CreateListSiteBackupsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35114,13 +35114,13 @@ public Response ListSiteBackupsNextPage(string nextLink, s internal HttpMessage CreateListPerfMonCountersNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string filter) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35192,13 +35192,13 @@ public Response ListPerfMonCountersNextPage(string nex internal HttpMessage CreateGetPrivateEndpointConnectionListNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35268,13 +35268,13 @@ public Response GetPrivateEndpointConnectio internal HttpMessage CreateListProcessesNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35344,13 +35344,13 @@ public Response ListProcessesNextPage(string nextLink, st internal HttpMessage CreateListProcessModulesNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35424,13 +35424,13 @@ public Response ListProcessModulesNextPage(string n internal HttpMessage CreateListProcessThreadsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35504,13 +35504,13 @@ public Response ListProcessThreadsNextPage(string n internal HttpMessage CreateListPublicCertificatesNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35580,13 +35580,13 @@ public Response ListPublicCertificatesNextPage(stri internal HttpMessage CreateListSiteExtensionsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35656,13 +35656,13 @@ public Response ListSiteExtensionsNextPage(string n internal HttpMessage CreateListSlotsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35732,13 +35732,13 @@ public Response ListSlotsNextPage(string nextLink, string subs internal HttpMessage CreateListBackupsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35812,13 +35812,13 @@ public Response ListBackupsSlotNextPage(string nextLink, s internal HttpMessage CreateListBasicPublishingCredentialsPoliciesSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35892,13 +35892,13 @@ public Response ListBasicPublishingCred internal HttpMessage CreateListConfigurationsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -35972,13 +35972,13 @@ public Response ListConfigurationsSlotNextPage(str internal HttpMessage CreateGetAppSettingsKeyVaultReferencesSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36052,13 +36052,13 @@ public Response GetAppSettingsKeyVaultReferencesSlotNe internal HttpMessage CreateGetSiteConnectionStringKeyVaultReferencesSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36132,13 +36132,13 @@ public Response GetSiteConnectionStringKeyVaultReferen internal HttpMessage CreateListConfigurationSnapshotInfoSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36212,13 +36212,13 @@ public Response ListConfigurationSnapsh internal HttpMessage CreateListContinuousWebJobsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36292,13 +36292,13 @@ public Response ListContinuousWebJobsSlotNextPage(st internal HttpMessage CreateListDeploymentsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36372,13 +36372,13 @@ public Response ListDeploymentsSlotNextPage(string nextLin internal HttpMessage CreateListDomainOwnershipIdentifiersSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36452,13 +36452,13 @@ public Response ListDomainOwnershipIdentifiersSlotNextPage internal HttpMessage CreateListInstanceFunctionsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36532,13 +36532,13 @@ public Response ListInstanceFunctionsSlotNextPage(st internal HttpMessage CreateListHostNameBindingsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36612,13 +36612,13 @@ public Response ListHostNameBindingsSlotNextPage(stri internal HttpMessage CreateListInstanceIdentifiersSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36692,13 +36692,13 @@ public Response ListInstanceIdentifiersSlotNextP internal HttpMessage CreateListInstanceProcessesSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot, string instanceId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36776,13 +36776,13 @@ public Response ListInstanceProcessesSlotNextPage(string internal HttpMessage CreateListInstanceProcessModulesSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36864,13 +36864,13 @@ public Response ListInstanceProcessModulesSlotNextP internal HttpMessage CreateListInstanceProcessThreadsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot, string instanceId, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -36952,13 +36952,13 @@ public Response ListInstanceProcessThreadsSlotNextP internal HttpMessage CreateListSiteBackupsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37032,13 +37032,13 @@ public Response ListSiteBackupsSlotNextPage(string nextLin internal HttpMessage CreateListPerfMonCountersSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot, string filter) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37114,13 +37114,13 @@ public Response ListPerfMonCountersSlotNextPage(string internal HttpMessage CreateGetPrivateEndpointConnectionListSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37194,13 +37194,13 @@ public Response GetPrivateEndpointConnectio internal HttpMessage CreateListProcessesSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37274,13 +37274,13 @@ public Response ListProcessesSlotNextPage(string nextLink internal HttpMessage CreateListProcessModulesSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37358,13 +37358,13 @@ public Response ListProcessModulesSlotNextPage(stri internal HttpMessage CreateListProcessThreadsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot, string processId) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37442,13 +37442,13 @@ public Response ListProcessThreadsSlotNextPage(stri internal HttpMessage CreateListPublicCertificatesSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37522,13 +37522,13 @@ public Response ListPublicCertificatesSlotNextPage( internal HttpMessage CreateListSiteExtensionsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37602,13 +37602,13 @@ public Response ListSiteExtensionsSlotNextPage(stri internal HttpMessage CreateListSlotDifferencesSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot, CsmSlotEntity slotSwapEntity) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37686,13 +37686,13 @@ public Response ListSlotDifferencesSlotNextPage(string internal HttpMessage CreateListSnapshotsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37766,13 +37766,13 @@ public Response ListSnapshotsSlotNextPage(string nextLink, s internal HttpMessage CreateListSnapshotsFromDRSecondarySlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37846,13 +37846,13 @@ public Response ListSnapshotsFromDRSecondarySlotNextPage(str internal HttpMessage CreateListTriggeredWebJobsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -37926,13 +37926,13 @@ public Response ListTriggeredWebJobsSlotNextPage(stri internal HttpMessage CreateListTriggeredWebJobHistorySlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -38010,13 +38010,13 @@ public Response ListTriggeredWebJobHistorySlotNex internal HttpMessage CreateListUsagesSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot, string filter) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -38092,13 +38092,13 @@ public Response ListUsagesSlotNextPage(string nextLink, internal HttpMessage CreateListWebJobsSlotNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string slot) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -38172,13 +38172,13 @@ public Response ListWebJobsSlotNextPage(string nextLink, strin internal HttpMessage CreateListSlotDifferencesFromProductionNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, CsmSlotEntity slotSwapEntity) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -38252,13 +38252,13 @@ public Response ListSlotDifferencesFromProductionNextP internal HttpMessage CreateListSnapshotsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -38328,13 +38328,13 @@ public Response ListSnapshotsNextPage(string nextLink, strin internal HttpMessage CreateListSnapshotsFromDRSecondaryNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -38404,13 +38404,13 @@ public Response ListSnapshotsFromDRSecondaryNextPage(string internal HttpMessage CreateListTriggeredWebJobsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -38480,13 +38480,13 @@ public Response ListTriggeredWebJobsNextPage(string n internal HttpMessage CreateListTriggeredWebJobHistoryNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string webJobName) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -38560,13 +38560,13 @@ public Response ListTriggeredWebJobHistoryNextPag internal HttpMessage CreateListUsagesNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name, string filter) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } @@ -38638,13 +38638,13 @@ public Response ListUsagesNextPage(string nextLink, str internal HttpMessage CreateListWebJobsNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string name) { var message = _pipeline.CreateMessage(); - var request0 = message.Request; - request0.Method = RequestMethod.Get; + var request = message.Request; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendRawNextLink(nextLink, false); - request0.Uri = uri; - request0.Headers.Add("Accept", "application/json"); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); _userAgent.Apply(message); return message; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/WebSiteManagementRestOperations.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/WebSiteManagementRestOperations.cs index 74e0dc67ab46a..06021a67995c6 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/WebSiteManagementRestOperations.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/WebSiteManagementRestOperations.cs @@ -688,9 +688,9 @@ internal HttpMessage CreateListSiteIdentifiersAssignedToHostNameRequest(string s request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var content0 = new Utf8JsonRequestContent(); - content0.JsonWriter.WriteObjectValue(nameIdentifier); - request.Content = content0; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(nameIdentifier); + request.Content = content; _userAgent.Apply(message); return message; } From 443104c426683db5fa0d10910b9b1bf37ed7597c Mon Sep 17 00:00:00 2001 From: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Date: Mon, 15 Aug 2022 13:33:03 -0700 Subject: [PATCH 09/15] Enable core splits and disable live tests (#30517) --- eng/pipelines/templates/steps/dependency.tests.yml | 1 + sdk/core/ci.yml | 3 ++- sdk/core/tests.yml | 3 +-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/eng/pipelines/templates/steps/dependency.tests.yml b/eng/pipelines/templates/steps/dependency.tests.yml index 180dba4815430..1ddc18f3f4444 100644 --- a/eng/pipelines/templates/steps/dependency.tests.yml +++ b/eng/pipelines/templates/steps/dependency.tests.yml @@ -24,6 +24,7 @@ parameters: type: string default: 'not-specific' steps: + - template: /eng/pipelines/templates/steps/install-dotnet.yml - pwsh: | dotnet build /t:ProjectDependsOn ./eng/service.proj ` /p:TestDependsOnDependency="${{parameters.TestDependsOnDependency}}" ` diff --git a/sdk/core/ci.yml b/sdk/core/ci.yml index a7c82836fdb54..36d7f4e6c0bba 100644 --- a/sdk/core/ci.yml +++ b/sdk/core/ci.yml @@ -55,4 +55,5 @@ extends: TestSetupSteps: - template: /sdk/storage/tests-install-azurite.yml - TestTimeoutInMinutes: 100 \ No newline at end of file + TestTimeoutInMinutes: 100 + TestDependsOnDependency: Azure.Core \ No newline at end of file diff --git a/sdk/core/tests.yml b/sdk/core/tests.yml index 45a75e475c643..e386bd9706363 100644 --- a/sdk/core/tests.yml +++ b/sdk/core/tests.yml @@ -3,5 +3,4 @@ trigger: none extends: template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: - ServiceDirectory: core - TestDependsOnDependency: Azure.Core \ No newline at end of file + ServiceDirectory: core \ No newline at end of file From 203bcb4f7adce992bb9965910884c5b2d788ff77 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 15 Aug 2022 14:27:41 -0700 Subject: [PATCH 10/15] updated targeted proxy version to one that properly allows consumption of TLS certificates (#30519) Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> --- eng/common/testproxy/target_version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/testproxy/target_version.txt b/eng/common/testproxy/target_version.txt index c390d38a46525..0ea1143fba37b 100644 --- a/eng/common/testproxy/target_version.txt +++ b/eng/common/testproxy/target_version.txt @@ -1 +1 @@ -1.0.0-dev.20220805.3 +1.0.0-dev.20220810.2 From 05432207f27d048a041406ba40d4d2cadb010d6f Mon Sep 17 00:00:00 2001 From: m-nash <64171366+m-nash@users.noreply.github.com> Date: Mon, 15 Aug 2022 22:54:36 -0700 Subject: [PATCH 11/15] Add api to toggle using the tag resource apis (#30106) * add api to toggle using the tag resource apis * drop clientoptions and move api to armresource so its internal on the client * update method name from feedback --- .../Azure.ResourceManager.netstandard2.0.cs | 2 ++ .../Azure.ResourceManager/src/ArmClient.cs | 21 +++++++++++++++++++ .../Azure.ResourceManager/src/ArmResource.cs | 10 +++++++++ 3 files changed, 33 insertions(+) diff --git a/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs b/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs index 56a01b836871f..a6609d71a4d9a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs @@ -93,6 +93,8 @@ protected internal ArmResource(Azure.ResourceManager.ArmClient client, Azure.Cor protected internal System.Uri Endpoint { get { throw null; } } public virtual Azure.Core.ResourceIdentifier Id { get { throw null; } } protected internal Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + protected virtual bool CanUseTagResource(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected virtual System.Threading.Tasks.Task CanUseTagResourceAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response> GetAvailableLocations(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task>> GetAvailableLocationsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ArmClient.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ArmClient.cs index 7597b58a27b4f..cfc7a18e78ed0 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ArmClient.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ArmClient.cs @@ -24,6 +24,7 @@ public partial class ArmClient private TenantResource _tenant; private SubscriptionResource _defaultSubscription; private readonly ClientDiagnostics _subscriptionClientDiagnostics; + private bool? _canUseTagResource; internal virtual Dictionary ApiVersionOverrides { get; } = new Dictionary(); @@ -88,6 +89,26 @@ public ArmClient(TokenCredential credential, string defaultSubscriptionId, ArmCl new SubscriptionResource(this, SubscriptionResource.CreateResourceIdentifier(defaultSubscriptionId)); } + internal virtual bool CanUseTagResource(CancellationToken cancellationToken = default) + { + if (_canUseTagResource == null) + { + var tagRp = GetDefaultSubscription(cancellationToken).GetResourceProvider(TagResource.ResourceType.Namespace, cancellationToken: cancellationToken); + _canUseTagResource = tagRp.Value.Data.ResourceTypes.Any(rp => rp.ResourceType == TagResource.ResourceType.Type); + } + return _canUseTagResource.Value; + } + + internal virtual async Task CanUseTagResourceAsync(CancellationToken cancellationToken = default) + { + if (_canUseTagResource == null) + { + var tagRp = await GetDefaultSubscription(cancellationToken).GetResourceProviderAsync(TagResource.ResourceType.Namespace, cancellationToken: cancellationToken).ConfigureAwait(false); + _canUseTagResource = tagRp.Value.Data.ResourceTypes.Any(rp => rp.ResourceType == TagResource.ResourceType.Type); + } + return _canUseTagResource.Value; + } + private void CopyApiVersionOverrides(ArmClientOptions options) { foreach (var keyValuePair in options.ResourceApiVersionOverrides) diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ArmResource.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ArmResource.cs index 1a7365fb7c77b..3e5e82e19b9fc 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ArmResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ArmResource.cs @@ -126,5 +126,15 @@ public virtual T GetCachedClient(Func clientFactory) { return _clientCache.GetOrAdd(typeof(T), (type) => { return clientFactory(Client); }) as T; } + + /// + /// Checks to see if the TagResource API is deployed in the current environment. + /// + protected virtual bool CanUseTagResource(CancellationToken cancellationToken = default) => Client.CanUseTagResource(cancellationToken); + + /// + /// Checks to see if the TagResource API is deployed in the current environment. + /// + protected virtual Task CanUseTagResourceAsync(CancellationToken cancellationToken = default) => Client.CanUseTagResourceAsync(cancellationToken); } } From 34693481d71a96f73e1cf9108ae02f2867f85e3c Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Tue, 16 Aug 2022 00:29:25 -0700 Subject: [PATCH 12/15] Update AutoRest C# version to 3.0.0-beta.20220815.2 (#30527) --- eng/Packages.Data.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index ea77215bb5970..4f691b4aca9bb 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -160,7 +160,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + From c1fb11d36832566f0aa0599c1a5f713486c135c2 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Tue, 16 Aug 2022 06:34:51 -0700 Subject: [PATCH 13/15] Update AutoRest C# version to 3.0.0-beta.20220816.1 (#30531) --- eng/Packages.Data.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 4f691b4aca9bb..1bc7f59579de2 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -160,7 +160,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + From 4973d43e7156841184624b392e00d91a60d2c236 Mon Sep 17 00:00:00 2001 From: Vishwesh Bankwar Date: Tue, 16 Aug 2022 11:58:09 -0700 Subject: [PATCH 14/15] Add attach statsbeat dimensions (#30522) * add attach statsbeat dimensions * refactor * Update sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs Co-authored-by: Rajkumar Rangaraj * Update sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs Co-authored-by: Rajkumar Rangaraj * rmv vmId * Update sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs Co-authored-by: Rajkumar Rangaraj * refactor * refactor * refactor * resolve PR comments Co-authored-by: Rajkumar Rangaraj --- .../src/Internals/SdkVersionUtils.cs | 2 +- .../src/Internals/Statsbeat/Statsbeat.cs | 89 ++++++++++++++++++- .../Internals/Statsbeat/VmMetadataResponse.cs | 14 +++ 3 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/VmMetadataResponse.cs diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/SdkVersionUtils.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/SdkVersionUtils.cs index c6e36867ba6fc..19d6e0481b8f9 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/SdkVersionUtils.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/SdkVersionUtils.cs @@ -33,7 +33,7 @@ private static string GetSdkVersion() } } - private static string GetVersion(Type type) + internal static string GetVersion(Type type) { try { diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs index 2c731e0771b30..1d6527a40a6b6 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/Statsbeat.cs @@ -1,7 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; using System.Diagnostics.Metrics; +using System.Net.Http; +using System.Text.Json; using OpenTelemetry; using OpenTelemetry.Metrics; @@ -13,8 +16,18 @@ internal static class Statsbeat private const string StatsBeat_ConnectionString = ""; + private const string AMS_Url = "http://169.254.169.254/metadata/instance/compute?api-version=2017-08-01&format=json"; + internal const int AttachStatsBeatInterval = 86400000; + private static string s_resourceProviderId; + + private static string s_resourceProvider; + + private static string s_runtimeVersion => SdkVersionUtils.GetVersion(typeof(object)); + + private static string s_sdkVersion => SdkVersionUtils.GetVersion(typeof(AzureMonitorTraceExporter)); + static Statsbeat() { s_myMeter.CreateObservableGauge("AttachStatsBeat", () => GetAttachStatsBeat()); @@ -38,8 +51,80 @@ static Statsbeat() private static Measurement GetAttachStatsBeat() { - // TODO: Add additional properties required for statbeat - return new(1, new("cikey", Customer_Ikey), new("language", "dotnet")); + if (s_resourceProvider == null) + { + SetResourceProviderDetails(); + } + + // TODO: Add os to the list + return + new Measurement(1, + new("rp", s_resourceProvider), + new("rpId", s_resourceProviderId), + new("attach", "sdk"), + new("cikey", Customer_Ikey), + new("runtimeVersion", s_runtimeVersion), + new("language", "dotnet"), + new("version", s_sdkVersion)); + } + + private static VmMetadataResponse GetVmMetadataResponse() + { + try + { + using (var httpClient = new HttpClient()) + { + httpClient.DefaultRequestHeaders.Add("Metadata", "True"); + var responseString = httpClient.GetStringAsync(AMS_Url); + var vmMetadata = JsonSerializer.Deserialize(responseString.Result); + + return vmMetadata; + } + } + catch (Exception ex) + { + AzureMonitorExporterEventSource.Log.WriteWarning("Failed to get VM metadata details", ex); + return null; + } + } + + private static void SetResourceProviderDetails() + { + var appSvcWebsiteName = Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME"); + if (appSvcWebsiteName != null) + { + s_resourceProvider = "appsvc"; + s_resourceProviderId = appSvcWebsiteName; + var appSvcWebsiteHostName = Environment.GetEnvironmentVariable("WEBSITE_HOME_STAMPNAME"); + if (!string.IsNullOrEmpty(appSvcWebsiteHostName)) + { + s_resourceProviderId += "/" + appSvcWebsiteHostName; + } + + return; + } + + var functionsWorkerRuntime = Environment.GetEnvironmentVariable("FUNCTIONS_WORKER_RUNTIME"); + if (functionsWorkerRuntime != null) + { + s_resourceProvider = "functions"; + s_resourceProviderId = Environment.GetEnvironmentVariable("WEBSITE_HOSTNAME"); + + return; + } + + var vmMetadata = GetVmMetadataResponse(); + + if (vmMetadata != null) + { + s_resourceProvider = "vm"; + s_resourceProviderId = s_resourceProviderId = vmMetadata.vmId + "/" + vmMetadata.subscriptionId; + + return; + } + + s_resourceProvider = "unknown"; + s_resourceProviderId = "unknown"; } } } diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/VmMetadataResponse.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/VmMetadataResponse.cs new file mode 100644 index 0000000000000..d338ea2f0a8fc --- /dev/null +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Statsbeat/VmMetadataResponse.cs @@ -0,0 +1,14 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Azure.Monitor.OpenTelemetry.Exporter.Internals +{ + internal class VmMetadataResponse + { + public string osType { get; set; } + + public string subscriptionId { get; set; } + + public string vmId { get; set; } + } +} From a0cd1946b376ff6c7f5adf3c5999b4bedd2d3186 Mon Sep 17 00:00:00 2001 From: Alexey Rodionov Date: Tue, 16 Aug 2022 12:23:30 -0700 Subject: [PATCH 15/15] EventGrid Trigger execution failed in azure portal (#29824) --- .../CHANGELOG.md | 8 ++--- .../src/EventGridExtensionConfigProvider.cs | 1 + ....Azure.WebJobs.Extensions.EventGrid.csproj | 2 +- .../tests/JobhostEndToEnd.cs | 33 +++++++++++++++++++ 4 files changed, 37 insertions(+), 7 deletions(-) diff --git a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/CHANGELOG.md b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/CHANGELOG.md index cd39dd7683812..6d6655307f707 100644 --- a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/CHANGELOG.md +++ b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/CHANGELOG.md @@ -1,14 +1,10 @@ # Release History -## 3.3.0-beta.1 (Unreleased) - -### Features Added - -### Breaking Changes +## 3.2.1 (2022-08-17) ### Bugs Fixed -### Other Changes +- EventGrid Trigger execution failed in azure portal. ## 3.2.0 (2022-04-20) diff --git a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/EventGridExtensionConfigProvider.cs b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/EventGridExtensionConfigProvider.cs index ac019e7d15590..4f5d148acc3c0 100644 --- a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/EventGridExtensionConfigProvider.cs +++ b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/EventGridExtensionConfigProvider.cs @@ -85,6 +85,7 @@ public void Initialize(ExtensionConfigContext context) .AddConverter(jtoken => jtoken.ToString(Formatting.Indented)) .AddConverter(jarray => jarray.Select(ar => ar.ToString(Formatting.Indented)).ToArray()) .AddConverter(jtoken => new DirectInvokeString(null)) + .AddConverter(directInvokeString => JToken.Parse(directInvokeString.Value)) .AddConverter(jobject => EventGridEvent.Parse(new BinaryData(jobject.ToString()))) // surface the type to function runtime .AddConverter(jobject => EventGridEvent.ParseMany(new BinaryData(jobject.ToString()))) .AddConverter(jobject => CloudEvent.Parse(new BinaryData(jobject.ToString()))) diff --git a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/Microsoft.Azure.WebJobs.Extensions.EventGrid.csproj b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/Microsoft.Azure.WebJobs.Extensions.EventGrid.csproj index 9fe761dfd25a7..a4d1678bd323e 100644 --- a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/Microsoft.Azure.WebJobs.Extensions.EventGrid.csproj +++ b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/Microsoft.Azure.WebJobs.Extensions.EventGrid.csproj @@ -2,7 +2,7 @@ $(RequiredTargetFrameworks) This extension adds bindings for EventGrid - 3.3.0-beta.1 + 3.2.1 3.2.0 $(NoWarn);AZC0001;CS1591 diff --git a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/tests/JobhostEndToEnd.cs b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/tests/JobhostEndToEnd.cs index aac241446866b..744c511084e6d 100644 --- a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/tests/JobhostEndToEnd.cs +++ b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/tests/JobhostEndToEnd.cs @@ -158,6 +158,26 @@ public async Task ConsumeCloudEventTest(string functionName) _functionOut = null; } + [Theory] + [TestCase("DirectInvocation.TestString", "StringDataEvent")] + [TestCase("DirectInvocation.TestEventGridEvent", "EventGridEvent")] + public async Task ConsumeDirectInvocation(string functionName, string argument) + { + string value = (string)(typeof(FakeData)).GetField(argument).GetValue(null); + + JObject eve = JObject.Parse(value); + var args = new Dictionary{ + { "value", value } + }; + + var expectOut = (string)eve["subject"]; + var host = TestHelpers.NewHost(); + + await host.GetJobHost().CallAsync(functionName, args); + Assert.AreEqual(_functionOut, expectOut); + _functionOut = null; + } + [Theory] [TestCase("TriggerParamResolve.TestJObject", "EventGridEvent", @"https://shunsouthcentralus.blob.core.windows.net/debugging/shunBlob.txt")] [TestCase("TriggerParamResolve.TestString", "StringDataEvent", "goodBye world")] @@ -878,6 +898,19 @@ public void JObjectEvents([EventGrid(TopicEndpointUri = "eventgridUri", TopicKey } } } + + public class DirectInvocation + { + public static void TestString([EventGridTrigger] string value) + { + _functionOut = (string)JObject.Parse(value)["subject"]; + } + + public static void TestEventGridEvent([EventGridTrigger] EventGridEvent value) + { + _functionOut = value.Subject; + } + } } #pragma warning disable SA1402