diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 7bb4a5be1858..724541138d10 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -662,6 +662,9 @@
# ServiceLabel: %Monitor - Exporter
# ServiceOwners: @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra @vishweshbankwar
+# PRLabel: %Monitor - LiveMetrics
+/sdk/monitor/Azure.Monitor.OpenTelemetry.LiveMetrics/ @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra @vishweshbankwar @xiang17
+
# ServiceLabel: %Monitor - LiveMetrics
# ServiceOwners: @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra @vishweshbankwar @xiang17
@@ -674,6 +677,12 @@
# PRLabel: %Mixed Reality
/sdk/objectanchors/ @crtreasu @rgarcia @JoshLove-msft
+# PRLabel: %Remote Rendering
+/sdk/remoterendering/ @FlorianBorn71 @MichaelZp0 @ChristopherManthei
+
+#ServiceLabel: %Remote Rendering
+#ServiceOwners: @FlorianBorn71 @MichaelZp0 @ChristopherManthei
+
# ServiceLabel: %Mixed Reality
# ServiceOwners: @crtreasu @rgarcia
@@ -1000,6 +1009,12 @@
# ServiceLabel: %Network - Mobile %Mgmt
# ServiceOwners: @ArthurMa1978
+# PRLabel: %Network - Cloud
+/sdk/networkcloud/Azure.ResourceManager.*/ @Azure/azure-sdk-write-networkcloud
+
+# ServiceLabel: %Network - Cloud %Mgmt
+# ServiceOwners: @Azure/azure-sdk-write-networkcloud
+
# PRLabel: %New Relic
/sdk/newrelicobservability/Azure.ResourceManager.*/ @dipeshbhakat-microsoft @vipray-ms
@@ -1043,6 +1058,12 @@
# ServiceLabel: %Spring App Discovery %Mgmt
# ServiceOwners: @sunkun99
+# PRLabel: %Compute - Fleet
+/sdk/computefleet/ @sahilarora92 @dhruvil009
+
+# ServiceLabel: %Compute - Fleet
+# ServiceOwners: @sahilarora92 @dhruvil009
+
# ######## Eng Sys ########
/eng/ @hallipr @weshaggard @benbp
/eng/common/ @Azure/azure-sdk-eng
diff --git a/.vscode/cspell.json b/.vscode/cspell.json
index 0284b24acadc..8c17a695edcd 100644
--- a/.vscode/cspell.json
+++ b/.vscode/cspell.json
@@ -267,6 +267,14 @@
"Nvme"
]
},
+ {
+ "filename": "**/sdk/computefleet/**/*.cs",
+ "words": [
+ "mbps",
+ "unattend",
+ "nvme"
+ ]
+ },
{
"filename": "**/sdk/confidentialledger/**/*.cs",
"words": [
diff --git a/eng/.docsettings.yml b/eng/.docsettings.yml
index 12545ab0ec1b..074f72e1f330 100644
--- a/eng/.docsettings.yml
+++ b/eng/.docsettings.yml
@@ -129,6 +129,7 @@ known_content_issues:
- ['sdk/storage/Azure.Storage.Common/README.md','azure-sdk-tools/issues/404']
- ['sdk/textanalytics/Azure.AI.TextAnalytics.Legacy.Shared/README.md','https://github.com/Azure/azure-sdk-tools/issues/404']
- ['sdk/webpubsub/Azure.Messaging.WebPubSub/README.md', 'azure-sdk-tools/issues/404 - requires different name for auth section']
+ - ['sdk/monitor/Azure.Monitor.OpenTelemetry.LiveMetrics/README.md', 'Opt out of sections: https://github.com/Azure/azure-sdk-tools/issues/404']
- ['sdk/anomalydetector/Azure.AI.AnomalyDetector/README.md', '#25936: Needs Examples']
- ['sdk/personalizer/Azure.AI.Personalizer/README.md','#24535: Needs content']
diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props
index c6c97a76c82b..6d5506806664 100644
--- a/eng/Packages.Data.props
+++ b/eng/Packages.Data.props
@@ -98,7 +98,7 @@
-
+
@@ -129,7 +129,7 @@
-
+
@@ -227,7 +227,7 @@
All should have PrivateAssets="All" set so they don't become package dependencies
-->
-
+
@@ -388,7 +388,7 @@
- 1.0.0-dev.20240806.1
+ 1.0.0-dev.20240823.1
diff --git a/eng/common/pipelines/templates/steps/save-package-properties.yml b/eng/common/pipelines/templates/steps/save-package-properties.yml
new file mode 100644
index 000000000000..1808dc2a00f3
--- /dev/null
+++ b/eng/common/pipelines/templates/steps/save-package-properties.yml
@@ -0,0 +1,46 @@
+parameters:
+ - name: ServiceDirectory
+ type: string
+ default: ""
+ - name: DiffDirectory
+ type: string
+ default: $(Build.ArtifactStagingDirectory)/diff
+ - name: PackageInfoDirectory
+ type: string
+ default: $(Build.ArtifactStagingDirectory)/PackageInfo
+ - name: TargetPath
+ type: string
+ default: $(Build.SourcesDirectory)
+ - name: ScriptDirectory
+ type: string
+ default: eng/common/scripts
+
+steps:
+ - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
+ - task: Powershell@2
+ displayName: Generate PR Diff
+ inputs:
+ filePath: ${{ parameters.ScriptDirectory }}/Generate-PR-Diff.ps1
+ arguments: >
+ -TargetPath '${{ parameters.TargetPath }}'
+ -ArtifactPath '${{ parameters.DiffDirectory }}'
+ pwsh: true
+
+ - task: Powershell@2
+ displayName: Save package properties filtered for PR
+ inputs:
+ filePath: ${{ parameters.ScriptDirectory }}/Save-Package-Properties.ps1
+ arguments: >
+ -PrDiff '${{ parameters.DiffDirectory }}/diff.json'
+ -OutDirectory '${{ parameters.PackageInfoDirectory }}'
+ pwsh: true
+ - ${{ else }}:
+ - task: Powershell@2
+ displayName: Save package properties
+ inputs:
+ filePath: ${{ parameters.ScriptDirectory }}/Save-Package-Properties.ps1
+ arguments: >
+ -ServiceDirectory '${{parameters.ServiceDirectory}}'
+ -OutDirectory '${{ parameters.PackageInfoDirectory }}'
+ -AddDevVersion:$${{ eq(variables['SetDevVersion'],'true') }}
+ pwsh: true
diff --git a/eng/common/scripts/Generate-PR-Diff.ps1 b/eng/common/scripts/Generate-PR-Diff.ps1
index 7a31456b36ca..3b508b1cb994 100644
--- a/eng/common/scripts/Generate-PR-Diff.ps1
+++ b/eng/common/scripts/Generate-PR-Diff.ps1
@@ -13,27 +13,29 @@ The path under which changes will be detected.
#>
[CmdletBinding()]
Param (
- [Parameter(Mandatory=$True)]
+ [Parameter(Mandatory = $True)]
[string] $ArtifactPath,
- [Parameter(Mandatory=$True)]
+ [Parameter(Mandatory = $True)]
[string] $TargetPath
)
. (Join-Path $PSScriptRoot "Helpers" "git-helpers.ps1")
-function Get-ChangedServices {
- Param (
- [Parameter(Mandatory=$True)]
- [string[]] $ChangedFiles
- )
+function Get-ChangedServices
+{
+ Param (
+ [Parameter(Mandatory = $True)]
+ [string[]] $ChangedFiles
+ )
- $changedServices = $ChangedFiles | Foreach-Object { if ($_ -match "sdk/([^/]+)") { $matches[1] } } | Sort-Object -Unique
+ $changedServices = $ChangedFiles | Foreach-Object { if ($_ -match "sdk/([^/]+)") { $matches[1] } } | Sort-Object -Unique
- return $changedServices
+ return $changedServices
}
-if (!(Test-Path $ArtifactPath)) {
- New-Item -ItemType Directory -Path $ArtifactPath | Out-Null
+if (!(Test-Path $ArtifactPath))
+{
+ New-Item -ItemType Directory -Path $ArtifactPath | Out-Null
}
$ArtifactPath = Resolve-Path $ArtifactPath
@@ -43,9 +45,13 @@ $changedFiles = Get-ChangedFiles -DiffPath $TargetPath
$changedServices = Get-ChangedServices -ChangedFiles $changedFiles
$result = [PSCustomObject]@{
- "ChangedFiles" = $changedFiles
- "ChangedServices" = $changedServices
- "PRNumber" = if ($env:SYSTEM_PULLREQUEST_PULLREQUESTNUMBER) { $env:SYSTEM_PULLREQUEST_PULLREQUESTNUMBER } else { "-1" }
+ "ChangedFiles" = $changedFiles
+ "ChangedServices" = $changedServices
+ "PRNumber" = if ($env:SYSTEM_PULLREQUEST_PULLREQUESTNUMBER) { $env:SYSTEM_PULLREQUEST_PULLREQUESTNUMBER } else { "-1" }
}
-$result | ConvertTo-Json | Out-File $ArtifactName
+$json = $result | ConvertTo-Json
+$json | Out-File $ArtifactName
+
+Write-Host "`nGenerated diff.json file at $ArtifactName"
+Write-Host " $($json -replace "`n", "`n ")"
diff --git a/eng/common/scripts/Package-Properties.ps1 b/eng/common/scripts/Package-Properties.ps1
index 2250b4f80ba6..6a70070beb56 100644
--- a/eng/common/scripts/Package-Properties.ps1
+++ b/eng/common/scripts/Package-Properties.ps1
@@ -15,7 +15,7 @@ class PackageProps
[boolean]$IsNewSdk
[string]$ArtifactName
[string]$ReleaseStatus
- [string[]]$DependentPackages
+ [string[]]$AdditionalValidationPackages
PackageProps([string]$name, [string]$version, [string]$directoryPath, [string]$serviceDirectory)
{
@@ -113,7 +113,7 @@ function Get-PrPkgProperties([string]$InputDiffJson) {
$diff = Get-Content $InputDiffJson | ConvertFrom-Json
$targetedFiles = $diff.ChangedFiles
- $dependentPackagesForInclusion = @()
+ $additionalValidationPackages = @()
$lookup = @{}
foreach ($pkg in $allPackageProperties)
@@ -129,19 +129,26 @@ function Get-PrPkgProperties([string]$InputDiffJson) {
if ($shouldInclude) {
$packagesWithChanges += $pkg
- if ($pkg.DependentPackages) {
- $dependentPackagesForInclusion += $pkg.DependentPackages
+ if ($pkg.AdditionalValidationPackages) {
+ $additionalValidationPackages += $pkg.AdditionalValidationPackages
}
}
}
}
- foreach ($addition in $dependentPackagesForInclusion) {
- if ($lookup[$addition]) {
- $packagesWithChanges += $lookup[$addition]
+ foreach ($addition in $additionalValidationPackages) {
+ $key = $addition.Replace($RepoRoot, "").SubString(1)
+
+ if ($lookup[$key]) {
+ $packagesWithChanges += $lookup[$key]
}
}
+ if ($AdditionalValidationPackagesFromPackageSetFn -and (Test-Path "Function:$AdditionalValidationPackagesFromPackageSetFn"))
+ {
+ $packagesWithChanges += &$AdditionalValidationPackagesFromPackageSetFn $packagesWithChanges $diff
+ }
+
return $packagesWithChanges
}
diff --git a/eng/common/scripts/Save-Package-Properties.ps1 b/eng/common/scripts/Save-Package-Properties.ps1
index c234d8b28ede..0257e73a1545 100644
--- a/eng/common/scripts/Save-Package-Properties.ps1
+++ b/eng/common/scripts/Save-Package-Properties.ps1
@@ -7,10 +7,10 @@ Saves package properties in source of a given service directory to JSON files.
JSON files are named in the form .json or .json if
an artifact name property is available in the package properties.
-Can optionally add a dev version property which can be used logic for daily
+Can optionally add a dev version property which can be used logic for daily
builds.
-In cases of collisions where track 2 packages (IsNewSdk = true) have the same
+In cases of collisions where track 2 packages (IsNewSdk = true) have the same
filename as track 1 packages (e.g. same artifact name or package name), the
track 2 package properties will be written.
@@ -21,22 +21,22 @@ Service directory in which to search for packages.
A file path leading to a file generated from Generate-PR-Diff.json. This parameter takes precedence over serviceDirectory, do not provide both.
.PARAMETER outDirectory
-Output location (generally a package artifact directory in DevOps) for JSON
+Output location (generally a package artifact directory in DevOps) for JSON
files
.PARAMETER addDevVersion
-Reads the version out of the source and adds a DevVersion property to the
-package properties JSON file. If the package properties JSON file already
+Reads the version out of the source and adds a DevVersion property to the
+package properties JSON file. If the package properties JSON file already
exists, read the Version property from the existing package properties JSON file
and set that as the Version property for the new output. This has the effect of
-"adding" a DevVersion property to the file which could be different from the
+"adding" a DevVersion property to the file which could be different from the
Verison property in that file.
#>
[CmdletBinding()]
Param (
[string] $serviceDirectory,
- [Parameter(Mandatory=$True)]
+ [Parameter(Mandatory = $True)]
[string] $outDirectory,
[string] $prDiff,
[switch] $addDevVersion
@@ -44,7 +44,8 @@ Param (
. (Join-Path $PSScriptRoot common.ps1)
-function SetOutput($outputPath, $incomingPackageSpec) {
+function SetOutput($outputPath, $incomingPackageSpec)
+{
# If there is an exsiting package info json file read that and set that as output object which gets properties updated here.
if (Test-Path $outputPath)
@@ -56,7 +57,7 @@ function SetOutput($outputPath, $incomingPackageSpec) {
{
$outputObject = $incomingPackageSpec
}
-
+
if ($addDevVersion)
{
@@ -75,16 +76,19 @@ function SetOutput($outputPath, $incomingPackageSpec) {
-Value (ConvertTo-Json -InputObject $outputObject -Depth 100)
}
-function GetRelativePath($path) {
+function GetRelativePath($path)
+{
# If the path is empty return an empty string
- if (!$path) {
+ if (!$path)
+ {
return ''
}
# If the path is already relative return the path. Calling `GetRelativePath`
# on a relative path converts the relative path to an absolute path based on
# the current working directory which can result in unexpected outputs.
- if (![IO.Path]::IsPathRooted($path)) {
+ if (![IO.Path]::IsPathRooted($path))
+ {
return $path
}
@@ -98,57 +102,76 @@ $exportedPaths = @{}
$allPackageProperties = @()
-if ($prDiff) {
+if ($prDiff)
+{
+ Write-Host "Getting package properties for PR diff file: $prDiff"
$allPackageProperties = Get-PrPkgProperties $prDiff
+
+ if (!$allPackageProperties)
+ {
+ Write-Host "No packages found matching PR diff file $prDiff"
+ Write-Host "Setting NoPackagesChanged variable to true"
+ Write-Host "##vso[task.setvariable variable=NoPackagesChanged]true"
+ exit 0
+ }
}
-else {
+else
+{
+ Write-Host "Getting package properties for service directory: $serviceDirectory"
$allPackageProperties = Get-AllPkgProperties $serviceDirectory
+
+ if (!$allPackageProperties)
+ {
+ Write-Error "Package properties are not available for service directory $serviceDirectory"
+ exit 1
+ }
}
-if ($allPackageProperties)
+if (-not (Test-Path -Path $outDirectory))
{
- if (-not (Test-Path -Path $outDirectory))
+ New-Item -ItemType Directory -Force -Path $outDirectory | Out-Null
+}
+
+foreach ($pkg in $allPackageProperties)
+{
+ if ($pkg.Name)
+ {
+ Write-Host ""
+ Write-Host "Package Name: $($pkg.Name)"
+ Write-Host "Package Version: $($pkg.Version)"
+ Write-Host "Package SDK Type: $($pkg.SdkType)"
+ Write-Host "Artifact Name: $($pkg.ArtifactName)"
+ Write-Host "Release date: $($pkg.ReleaseStatus)"
+ $configFilePrefix = $pkg.Name
+
+ if ($pkg.ArtifactName)
{
- New-Item -ItemType Directory -Force -Path $outDirectory
+ $configFilePrefix = $pkg.ArtifactName
}
- foreach($pkg in $allPackageProperties)
+
+ $outputPath = Join-Path -Path $outDirectory "$configFilePrefix.json"
+ Write-Host "Output path of json file: $outputPath"
+
+ $outDir = Split-Path $outputPath -parent
+ if (-not (Test-Path -path $outDir))
{
- if ($pkg.Name) {
- Write-Host "Package Name: $($pkg.Name)"
- Write-Host "Package Version: $($pkg.Version)"
- Write-Host "Package SDK Type: $($pkg.SdkType)"
- Write-Host "Artifact Name: $($pkg.ArtifactName)"
- Write-Host "Release date: $($pkg.ReleaseStatus)"
- $configFilePrefix = $pkg.Name
- if ($pkg.ArtifactName)
- {
- $configFilePrefix = $pkg.ArtifactName
- }
- $outputPath = Join-Path -Path $outDirectory "$configFilePrefix.json"
- Write-Host "Output path of json file: $outputPath"
- $outDir = Split-Path $outputPath -parent
- if (-not (Test-Path -path $outDir))
- {
- Write-Host "Creating directory $($outDir) for json property file"
- New-Item -ItemType Directory -Path $outDir
- }
-
- # If package properties for a track 2 (IsNewSdk = true) package has
- # already been written, skip writing to that same path.
- if ($exportedPaths.ContainsKey($outputPath) -and $exportedPaths[$outputPath].IsNewSdk -eq $true) {
- Write-Host "Track 2 package info with file name $($outputPath) already exported. Skipping export."
- continue
- }
- $exportedPaths[$outputPath] = $pkg
-
- SetOutput $outputPath $pkg
- }
+ Write-Host "Creating directory $($outDir) for json property file"
+ New-Item -ItemType Directory -Path $outDir | Out-Null
}
- Get-ChildItem -Path $outDirectory
-}
-else
-{
- Write-Error "Package properties are not available for service directory $serviceDirectory or $prdiff"
- exit 1
+ # If package properties for a track 2 (IsNewSdk = true) package has
+ # already been written, skip writing to that same path.
+ if ($exportedPaths.ContainsKey($outputPath) -and $exportedPaths[$outputPath].IsNewSdk -eq $true)
+ {
+ Write-Host "Track 2 package info with file name $($outputPath) already exported. Skipping export."
+ continue
+ }
+
+ $exportedPaths[$outputPath] = $pkg
+ SetOutput $outputPath $pkg
+ }
}
+
+$fileNames = (Get-ChildItem -Path $outDirectory).Name
+Write-Host "`nFiles written to $outDirectory`:"
+Write-Host " $($fileNames -join "`n ")"
diff --git a/eng/common/scripts/Test-SampleMetadata.ps1 b/eng/common/scripts/Test-SampleMetadata.ps1
index 8499b70a4926..c091ca51def0 100644
--- a/eng/common/scripts/Test-SampleMetadata.ps1
+++ b/eng/common/scripts/Test-SampleMetadata.ps1
@@ -422,6 +422,8 @@ begin {
"office-word",
"office-yammer",
"passport-azure-ad",
+ "playwright",
+ "playwright-testing",
"power-apps",
"power-automate",
"power-bi",
diff --git a/eng/common/scripts/common.ps1 b/eng/common/scripts/common.ps1
index 0025d1c6fe66..831b4719f88a 100644
--- a/eng/common/scripts/common.ps1
+++ b/eng/common/scripts/common.ps1
@@ -62,7 +62,8 @@ $GetEmitterAdditionalOptionsFn = "Get-${Language}-EmitterAdditionalOptions"
$GetEmitterNameFn = "Get-${Language}-EmitterName"
$GetDirectoriesForGenerationFn = "Get-${Language}-DirectoriesForGeneration"
$UpdateGeneratedSdksFn = "Update-${Language}-GeneratedSdks"
-$IsApiviewStatusCheckRequiredFn = "Get-${Language}-ApiviewStatusCheckRequirement"
+$IsApiviewStatusCheckRequiredFn = "Get-${Language}-ApiviewStatusCheckRequirement"
+$AdditionalValidationPackagesFromPackageSetFn = "Get-${Language}-AdditionalValidationPackagesFromPackageSet"
# Expected to be set in eng/scripts/docs/Docs-Onboarding.ps1
$SetDocsPackageOnboarding = "Set-${Language}-DocsPackageOnboarding"
diff --git a/eng/common/testproxy/target_version.txt b/eng/common/testproxy/target_version.txt
index 26b6c79cf6f3..cefa0fb9592d 100644
--- a/eng/common/testproxy/target_version.txt
+++ b/eng/common/testproxy/target_version.txt
@@ -1 +1 @@
-1.0.0-dev.20240806.1
+1.0.0-dev.20240823.1
diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json
index 02f43e4a6f25..15a305817b06 100644
--- a/eng/emitter-package-lock.json
+++ b/eng/emitter-package-lock.json
@@ -5,7 +5,7 @@
"packages": {
"": {
"dependencies": {
- "@azure-tools/typespec-csharp": "0.2.0-beta.20240818.1"
+ "@azure-tools/typespec-csharp": "0.2.0-beta.20240828.1"
},
"devDependencies": {
"@azure-tools/typespec-autorest": "0.45.0",
@@ -22,9 +22,9 @@
}
},
"node_modules/@autorest/csharp": {
- "version": "3.0.0-beta.20240818.1",
- "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240818.1.tgz",
- "integrity": "sha512-Mne78KvgVuPFP8LPB+jnVeFQ2Q6yfBZUpRD9Mbac9vCiP/jxcF0GHLaj3if+WRyB/meZOnn2CECD8v/CWnsWvw=="
+ "version": "3.0.0-beta.20240828.1",
+ "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240828.1.tgz",
+ "integrity": "sha512-EEmlBBH9IC1PFmW2yoXPEagvTsrhodQifhF/Grdz+SigDj4L4fCM0ucdspAZf+Zxom3rJPYZMIP49uhbquvjFA=="
},
"node_modules/@azure-tools/typespec-autorest": {
"version": "0.45.0",
@@ -117,12 +117,12 @@
}
},
"node_modules/@azure-tools/typespec-csharp": {
- "version": "0.2.0-beta.20240818.1",
- "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240818.1.tgz",
- "integrity": "sha512-gqDVxYwq944B0waiQDI9OEV+hmsLFlfXdjPggKRb6tZXgDrVHw8PgraXFmZUtnk7djXbvazECNQ/tI2yuUz8DQ==",
+ "version": "0.2.0-beta.20240828.1",
+ "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240828.1.tgz",
+ "integrity": "sha512-Op9eMX0RbXmXCkqHpfKEOc8RbGNVbLkqiCWMKTEdK3T9gF7rraSsZ4cgJz7ubVEtjeaYllLH9XzS1qHhgN7ARw==",
"dependencies": {
- "@autorest/csharp": "3.0.0-beta.20240818.1",
- "@typespec/http-client-csharp": "0.1.9-alpha.20240815.3",
+ "@autorest/csharp": "3.0.0-beta.20240828.1",
+ "@typespec/http-client-csharp": "0.1.9-alpha.20240826.1",
"json-serialize-refs": "0.1.0-0"
},
"peerDependencies": {
@@ -265,9 +265,9 @@
}
},
"node_modules/@typespec/http-client-csharp": {
- "version": "0.1.9-alpha.20240815.3",
- "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-0.1.9-alpha.20240815.3.tgz",
- "integrity": "sha512-YD+sl67JvENY+oGk/2Pqz1yMkklq62WW3bvRQwwCvckt3Cc6a+GEmovbF+VkgRbizxU48nmSbR61tZ5oJ56gUA==",
+ "version": "0.1.9-alpha.20240826.1",
+ "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-0.1.9-alpha.20240826.1.tgz",
+ "integrity": "sha512-i3XM4DXan5WKl/SNAFgyYEAyHXt51diQrMyR7TvCOCte6MJgYM1ilH66pV8AlhDCLscGXzIprurwX6hd7qmSUA==",
"dependencies": {
"json-serialize-refs": "0.1.0-0"
},
@@ -636,9 +636,9 @@
}
},
"node_modules/micromatch": {
- "version": "4.0.7",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz",
- "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==",
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
"dev": true,
"dependencies": {
"braces": "^3.0.3",
diff --git a/eng/emitter-package.json b/eng/emitter-package.json
index a637f39a45e3..79e858bd3623 100644
--- a/eng/emitter-package.json
+++ b/eng/emitter-package.json
@@ -1,7 +1,7 @@
{
"main": "dist/src/index.js",
"dependencies": {
- "@azure-tools/typespec-csharp": "0.2.0-beta.20240818.1"
+ "@azure-tools/typespec-csharp": "0.2.0-beta.20240828.1"
},
"devDependencies": {
"@azure-tools/typespec-autorest": "0.45.0",
diff --git a/eng/pipelines/templates/stages/1es-redirect.yml b/eng/pipelines/templates/stages/1es-redirect.yml
index 09ca2440ebcd..a9025c74954b 100644
--- a/eng/pipelines/templates/stages/1es-redirect.yml
+++ b/eng/pipelines/templates/stages/1es-redirect.yml
@@ -11,7 +11,7 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- ref: refs/tags/azure-sdk-build-tools_20240711.1
+ ref: refs/tags/azure-sdk-build-tools_20240826.1
parameters:
- name: stages
@@ -60,6 +60,8 @@ extends:
# See https://dev.azure.com/securitytools/SecurityIntegration/_wiki/wikis/Guardian/1378/Glob-Format
# Exclude Microsoft.Azure.KeyVault.Core.dll track 1 dependency that we no longer support but is causing issues
analyzeTargetGlob: +:file|**/*.dll;+:file|**/*.exe;-:f|**/net452/Microsoft.Azure.KeyVault.Core.dll;-:f|**/net461/Microsoft.Azure.KeyVault.Core.dll;-:f|**/tools/NuGet.exe;-:f|**/tools/gpg/**/*.dll;-:f|**/tools/gpg/**/*.exe;-:f|**/tools/azcopy/**/*.exe;-:f|**/tools/azcopy/**/*.dll;-:f|**/aotcompatibility/**/*.exe
+ # Turn off the build warnings caused by disabling some sdl checks
+ createAdoIssuesForJustificationsForDisablement: false
eslint:
enabled: false
justificationForDisabling: 'ESLint injected task has failures because it uses an old version of mkdirp. We should not fail for tools not controlled by the repo. See: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3499746'
diff --git a/eng/service.proj b/eng/service.proj
index bc473731f3f1..7fcd0b393c0e 100644
--- a/eng/service.proj
+++ b/eng/service.proj
@@ -15,8 +15,6 @@
-
-
diff --git a/eng/templates/Azure.ResourceManager.Template/.template.config/template.json b/eng/templates/Azure.ResourceManager.Template/.template.config/template.json
index 94d5c03086da..2463ab5b258a 100644
--- a/eng/templates/Azure.ResourceManager.Template/.template.config/template.json
+++ b/eng/templates/Azure.ResourceManager.Template/.template.config/template.json
@@ -46,13 +46,37 @@
"description": "The Azure provider name. ie. Microsoft.Network or Microsoft.Compute",
"replaces": "ProviderFullName"
},
- "tagVersion": {
+ "TypeSpecDirectory": {
"type": "parameter",
"datatype":"text",
"isRequired": false,
- "description": "The optional parameter specifies the tag in the README.MD. If empty, the default tag in the README.MD is used.",
+ "description": "TypeSpecDirectory under sdk/providername.",
+ "defaultValue": "TypeSpecDirectory",
+ "replaces": "TypeSpecDirectory"
+ },
+ "CommitId": {
+ "type": "parameter",
+ "datatype":"text",
+ "isRequired": false,
+ "description": "the commit id of Azure spec repo.",
+ "defaultValue": "CommitId",
+ "replaces": "CommitId"
+ },
+ "ChangeLogH2Title": {
+ "type": "parameter",
+ "datatype":"text",
+ "isRequired": false,
+ "description": "the H2 title of Changelog",
+ "defaultValue": "1.0.0-beta.1 (Unreleased)",
+ "replaces": "ChangeLogH2Title"
+ },
+ "ChangeLogSdkDescription": {
+ "type": "parameter",
+ "datatype":"text",
+ "isRequired": false,
+ "description": "Sdk description",
"defaultValue": "",
- "replaces": "SwaggerVersionTag"
+ "replaces": "ChangeLogSdkDescription"
},
"includeCI": {
"type": "parameter",
@@ -61,12 +85,12 @@
"description": "The optional parameter specifies whether generate related pipline ci.yml and test-resources.json in parent folder.",
"defaultValue": "false"
},
- "ProviderShortNameLowercase": {
+ "LowercaseProviderShortName": {
"type": "derived",
"datatype": "text",
"valueSource": "provider",
"valueTransform": "ProviderShortNameLowerForm",
- "replaces": "ProviderNameLowercase"
+ "replaces": "LowercaseProviderShortName"
},
"ProviderShortName": {
"type": "derived",
@@ -88,25 +112,6 @@
{ "regex": "\\.", "replacement": "" }
]
}
- },
- "tagPrefix": {
- "type": "generated",
- "generator": "switch",
- "replaces": "tagPrefix",
- "parameters": {
- "evaluator": "MSBUILD",
- "datatype": "string",
- "cases": [
- {
- "condition": "('tagVersion' == '')",
- "value": ""
- },
- {
- "condition": "('tagVersion' != '')",
- "value": "tag:"
- }
- ]
- }
}
},
"forms": {
diff --git a/eng/templates/Azure.ResourceManager.Template/CHANGELOG.md b/eng/templates/Azure.ResourceManager.Template/CHANGELOG.md
index 6a9f3bac33c1..9410023df867 100644
--- a/eng/templates/Azure.ResourceManager.Template/CHANGELOG.md
+++ b/eng/templates/Azure.ResourceManager.Template/CHANGELOG.md
@@ -1,6 +1,8 @@
# Release History
-## 1.0.0-beta.1 (Unreleased)
+## ChangeLogH2Title
+
+ChangeLogSdkDescription
### Features Added
diff --git a/eng/templates/Azure.ResourceManager.Template/assets.json b/eng/templates/Azure.ResourceManager.Template/assets.json
index 8fe6b015af19..44e528c06061 100644
--- a/eng/templates/Azure.ResourceManager.Template/assets.json
+++ b/eng/templates/Azure.ResourceManager.Template/assets.json
@@ -1,6 +1,6 @@
{
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
- "TagPrefix": "net//Azure.ResourceManager.Template",
+ "TagPrefix": "net/LowercaseProviderShortName/Azure.ResourceManager.Template",
"Tag": ""
}
diff --git a/eng/templates/Azure.ResourceManager.Template/src/autorest.md b/eng/templates/Azure.ResourceManager.Template/src/autorest.md
deleted file mode 100644
index cbbc44c8aad4..000000000000
--- a/eng/templates/Azure.ResourceManager.Template/src/autorest.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# Generated code configuration
-
-Run `dotnet build /t:GenerateCode` to generate code.
-
-``` yaml
-azure-arm: true
-csharp: true
-library-name: ProviderShortName
-namespace: Azure.ResourceManager.ProviderShortName
-require: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/ProviderNameLowercase/resource-manager/readme.md
-output-folder: $(this-folder)/Generated
-clear-output-folder: true
-sample-gen:
- output-folder: $(this-folder)/../samples/Generated
- clear-output-folder: true
-skip-csproj: true
-modelerfour:
- flatten-payloads: false
-use-model-reader-writer: true
-
-#mgmt-debug:
-# show-serialized-names: true
-
-tagPrefix SwaggerVersionTag
-
-format-by-name-rules:
- 'tenantId': 'uuid'
- 'ETag': 'etag'
- 'location': 'azure-location'
- '*Uri': 'Uri'
- '*Uris': 'Uri'
-
-acronym-mapping:
- CPU: Cpu
- CPUs: Cpus
- Os: OS
- Ip: IP
- Ips: IPs|ips
- ID: Id
- IDs: Ids
- VM: Vm
- VMs: Vms
- Vmos: VmOS
- VMScaleSet: VmScaleSet
- DNS: Dns
- VPN: Vpn
- NAT: Nat
- WAN: Wan
- Ipv4: IPv4|ipv4
- Ipv6: IPv6|ipv6
- Ipsec: IPsec|ipsec
- SSO: Sso
- URI: Uri
- Etag: ETag|etag
-
-```
\ No newline at end of file
diff --git a/eng/templates/Azure.ResourceManager.Template/tsp-location.yaml b/eng/templates/Azure.ResourceManager.Template/tsp-location.yaml
new file mode 100644
index 000000000000..cd8ab8802f68
--- /dev/null
+++ b/eng/templates/Azure.ResourceManager.Template/tsp-location.yaml
@@ -0,0 +1,3 @@
+directory: specification/LowercaseProviderShortName/TypeSpecDirectory
+commit: CommitId
+repo: Azure/azure-rest-api-specs
\ No newline at end of file
diff --git a/eng/templates/README.md b/eng/templates/README.md
index 35e0508087b9..94efe37d8fd9 100644
--- a/eng/templates/README.md
+++ b/eng/templates/README.md
@@ -42,7 +42,7 @@ Following parameter is available
### Next Step
-1. Inspect `src\autorest.md` to ensure the REST Api path is valid
+1. Inspect `tsp-location.yaml` to ensure the REST Api path is valid
2. Run `dotnet build` to ensure empty project builds successfully.
3. Run `dotnet build /t:GenerateCode` to generate C# code and ensure no fatal errors.
4. Run `dotnet build` to ensure now generated project builds successfully.
diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/samples/Sample10_SecretReference.md b/sdk/appconfiguration/Azure.Data.AppConfiguration/samples/Sample10_SecretReference.md
index c159b3a0cf58..7d3882f978dc 100644
--- a/sdk/appconfiguration/Azure.Data.AppConfiguration/samples/Sample10_SecretReference.md
+++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/samples/Sample10_SecretReference.md
@@ -6,7 +6,7 @@ When App Configuration creates such keys, it stores the URIs of Key Vault values
Your application is responsible for authenticating properly to both App Configuration and Key Vault and resolving values.
The two services don't communicate directly.
-You can use the [configuration provider](https://github.com/Azure/AppConfiguration-DotnetProvider) to do resolve Secret references automatically;
+You can use the [configuration provider](https://github.com/Azure/AppConfiguration-DotnetProvider) to resolve Secret references automatically.
Secret references are settings that follow specific JSON schema for the `Value`, and the `application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8` content type.
The `Azure.Data.AppConfiguration` library provides a strongly-typed way of managing Secret references.
diff --git a/sdk/attestation/Azure.Security.Attestation/src/AttestationToken.cs b/sdk/attestation/Azure.Security.Attestation/src/AttestationToken.cs
index 7ad749047d52..f972e740f6a9 100644
--- a/sdk/attestation/Azure.Security.Attestation/src/AttestationToken.cs
+++ b/sdk/attestation/Azure.Security.Attestation/src/AttestationToken.cs
@@ -13,6 +13,7 @@
using System.Linq;
using System.ComponentModel;
using Azure.Core.Pipeline;
+using System.Text.Json.Serialization;
namespace Azure.Security.Attestation
{
@@ -658,7 +659,7 @@ private static string GenerateSecuredJsonWebToken(BinaryData body, AttestationTo
};
var serializationOptions = new JsonSerializerOptions
{
- IgnoreNullValues = true,
+ DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
};
byte[] jwtHeader = JsonSerializer.SerializeToUtf8Bytes(header, serializationOptions);
string encodedHeader = Base64Url.Encode(jwtHeader);
diff --git a/sdk/batch/ci.data.yml b/sdk/batch/ci.data.yml
index 881610e1be24..195b0056a758 100644
--- a/sdk/batch/ci.data.yml
+++ b/sdk/batch/ci.data.yml
@@ -11,8 +11,6 @@ trigger:
- sdk/batch/ci.data.yml
- sdk/batch/service.projects
- sdk/batch/Microsoft.Azure.Batch
- - sdk/batch/MicrosoftAzureBatchFileStaging
- - sdk/batch/Microsoft.Azure.Batch.Conventions.Files
exclude:
- sdk/batch/Azure.ResourceManager.Batch/
@@ -28,8 +26,6 @@ pr:
- sdk/batch/ci.data.yml
- sdk/batch/service.projects
- sdk/batch/Microsoft.Azure.Batch
- - sdk/batch/MicrosoftAzureBatchFileStaging
- - sdk/batch/Microsoft.Azure.Batch.Conventions.Files
exclude:
- sdk/batch/Azure.ResourceManager.Batch/
@@ -42,8 +38,4 @@ extends:
BuildSnippets: false
Artifacts:
- name: Microsoft.Azure.Batch
- safeName: MicrosoftAzureBatch
- - name: Microsoft.Azure.Batch.FileStaging
- safeName: MicrosoftAzureBatchFileStaging
- - name: Microsoft.Azure.Batch.Conventions.Files
- safeName: MicrosoftAzureBatchConventionsFiles
+ safeName: MicrosoftAzureBatch
\ No newline at end of file
diff --git a/sdk/batch/service.projects b/sdk/batch/service.projects
index 4dab13fedd21..519aced9b150 100644
--- a/sdk/batch/service.projects
+++ b/sdk/batch/service.projects
@@ -20,7 +20,7 @@
-
+
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/README.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/README.md
index 803aca9a0355..354e9a8b5a16 100644
--- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/README.md
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/README.md
@@ -8,7 +8,7 @@ Conversation Language Understanding - aka CLU for short - is a cloud-based conve
Conversation Summarization is one feature offered by Azure AI Language, which is a combination of generative Large Language models and task-optimized encoder models that offer summarization solutions with higher quality, cost efficiency, and lower latency.
-Conversation PII detection another feature offered by Azure AI Language, which is a collection of machine learning and AI algorithms to identify, categorize, and redact sensitive information in text. The Conversational PII model is a specialized model for handling speech transcriptions and the more informal, conversational tone of meeting and call transcripts.
+Conversation PII detection another feature offered by Azure AI Language, which is a collection of machine learning and AI algorithms to identify, categorize, and redact sensitive information in text. The Conversational PII model is a specialized model for handling speech transcriptions and the more informal, conversational tone of meeting and call transcripts.
[Source code][conversationanalysis_client_src] | [Package (NuGet)][conversationanalysis_nuget_package] | [API reference documentation][conversationanalysis_refdocs] | [Samples][conversationanalysis_samples] | [Product documentation][conversationanalysis_docs] | [Analysis REST API documentation][conversationanalysis_restdocs]
@@ -94,6 +94,35 @@ ConversationAnalysisClient client = new ConversationAnalysisClient(endpoint, cre
Note that regional endpoints do not support AAD authentication. Instead, create a [custom domain][custom_domain] name for your resource to use AAD authentication.
+### Service API versions
+
+The client library targets the latest service API version by default. A client instance accepts an optional service API version parameter from its options to specify which API version service to communicate.
+
+|SDK version |Supported API version of service
+|-------------|-----------------------------------------------------
+|2.0.0-beta.1 | 2022-05-01, 2023-04-01, 2024-05-01, 2024-05-15-preview (default)
+|1.1.0 | 2022-05-01, 2023-04-01 (default)
+|1.0.0 | 2022-05-01 (default)
+
+#### Select a service API version
+
+You have the flexibility to explicitly select a supported service API version when instantiating a client by configuring its associated options. This ensures that the client can communicate with services using the specified API version.
+
+For example,
+
+```C# Snippet:CreateConversationAnalysisClientForSpecificApiVersion
+Uri endpoint = new Uri("https://myaccount.cognitiveservices.azure.com");
+AzureKeyCredential credential = new AzureKeyCredential("{api-key}");
+ConversationsClientOptions options = new ConversationsClientOptions(ConversationsClientOptions.ServiceVersion.V2024_05_01);
+ConversationAnalysisClient client = new ConversationAnalysisClient(endpoint, credential, options);
+```
+
+When selecting an API version, it's important to verify that there are no breaking changes compared to the latest API version. If there are significant differences, API calls may fail due to incompatibility.
+
+Always ensure that the chosen API version is fully supported and operational for your specific use case and that it aligns with the service's versioning policy.
+
+If you do not select an api version we will default to the latest version available, which has the possibility of being a preview version.
+
## Key concepts
### ConversationAnalysisClient
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/README.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/README.md
index d2c48cd68225..98f303c8c81a 100644
--- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/README.md
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/README.md
@@ -20,5 +20,5 @@ You can work with request and response content more easily by using our [Dynamic
- [Analyze an utterance - Orchestration project](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample2_AnalyzeConversation_OrchestrationPrediction.md)
- [Analyze an utterance in a different language](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample3_AnalyzeConversationWithLanguage.md)
- [Analyze an utterance using extra options](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample4_AnalyzeConversationWithOptions.md)
-- [Analyze a conversation with Conversation PII](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample5_AnalyzeConversation_ConversationPii.md)
+- [Analyze a conversation with Conversation PII](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample8_AnalyzeConversation_ConversationPii.md)
- [Analyze a conversation with Conversation Summarization](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample6_AnalyzeConversation_ConversationSummarization.md)
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample1_AnalyzeConversation_ConversationPrediction.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample1_AnalyzeConversation_ConversationPrediction.md
index f7f054ba8eb0..360527108ea0 100644
--- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample1_AnalyzeConversation_ConversationPrediction.md
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample1_AnalyzeConversation_ConversationPrediction.md
@@ -14,11 +14,11 @@ using Azure.AI.Language.Conversations;
To analyze an utterance, you need to first create a `ConversationAnalysisClient` using an endpoint and API key. These can be stored in an environment variable, configuration setting, or any way that works for your application.
-```C# Snippet:ConversationAnalysisClient_Create
+```C# Snippet:CreateConversationAnalysisClientForSpecificApiVersion
Uri endpoint = new Uri("https://myaccount.cognitiveservices.azure.com");
AzureKeyCredential credential = new AzureKeyCredential("{api-key}");
-
-ConversationAnalysisClient client = new ConversationAnalysisClient(endpoint, credential);
+ConversationsClientOptions options = new ConversationsClientOptions(ConversationsClientOptions.ServiceVersion.V2024_05_01);
+ConversationAnalysisClient client = new ConversationAnalysisClient(endpoint, credential, options);
```
Once you have created a client, you can call synchronous or asynchronous methods.
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample5_ImportProject.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample5_ImportProject.md
new file mode 100644
index 000000000000..488202b17078
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample5_ImportProject.md
@@ -0,0 +1,165 @@
+# Import a project
+
+This sample demonstrates how to import a project. To get started, you'll need to create a Cognitive Language service endpoint and an API key. See the [README](https://github.com/Azure/azure-sdk-for-net/blob/Azure.AI.Language.Conversations_1.1.0/sdk/cognitivelanguage/Azure.AI.Language.Conversations/README.md) for links and instructions.
+
+> [!NOTE]
+> Conversational Authoring is not supported in version 2.0.0-beta.1. If you use Conversational Authoring, please continue to use version 1.1.0.
+
+Start by importing the namespace for the `ConversationAuthoringClient` and related classes:
+
+```C#
+using Azure.Core;
+using Azure.AI.Language.Conversations.Authoring;
+```
+
+To import a project, you'll need to first create a `ConversationAuthoringClient` using an endpoint and an API key. These can be stored in an environment variable, configuration setting, or any way that works for your application.
+
+```C#
+Uri endpoint = new Uri("https://myaccount.cognitiveservices.azure.com");
+AzureKeyCredential credential = new AzureKeyCredential("{api-key}");
+
+ConversationAuthoringClient client = new ConversationAuthoringClient(endpoint, credential);
+```
+
+Once you have created a client, you can call synchronous or asynchronous methods. Typically, the content would come from a file but a small sample is shown here for demonstration purposes.
+
+## Synchronous
+
+```C#
+string projectName = "Menu";
+
+// Define our project assets and import. In practice this would most often be read from a file.
+var importData = new
+{
+ projectFileVersion = "2022-05-01",
+ metadata = new {
+ projectName,
+ projectKind = "Conversation",
+ multilingual = true,
+ language = "en",
+ },
+
+ assets = new
+ {
+ projectKind = "Conversation",
+ entities = new[] // ConversationalAnalysisAuthoringConversationExportedEntity
+ {
+ new
+ {
+ category = "Contact",
+ compositionSetting = "combineComponents",
+ prebuilts = new[]
+ {
+ new
+ {
+ category = "Person.Name",
+ },
+ },
+
+ // ... more entities.
+ }
+ },
+
+ intents = new[] // ConversationalAnalysisAuthoringConversationExportedIntent
+ {
+ new
+ {
+ category = "Send",
+ },
+
+ // ... more intents.
+ },
+
+ utterances = new[] // ConversationalAnalysisAuthoringConversationExportedUtterance
+ {
+ new
+ {
+ text = "Send an email to Johnson",
+ language = "en",
+ intent = "Send",
+ entities = new[]
+ {
+ new
+ {
+ category = "Contact",
+ offset = 17,
+ length = 7,
+ },
+ },
+ },
+ new
+ {
+ text = "Send Kathy a calendar invite",
+ language = "en",
+ intent = "Send",
+ entities = new[]
+ {
+ new
+ {
+ category = "Contact",
+ offset = 5,
+ length = 5,
+ },
+ },
+ },
+
+ // ... more utterances.
+ },
+ },
+
+ // Use Utf16CodeUnit for strings in .NET.
+ stringIndexType = "Utf16CodeUnit",
+};
+
+Operation importOperation = client.ImportProject(WaitUntil.Completed, projectName, RequestContent.Create(importData));
+
+// Train the model.
+var trainData = new
+{
+ modelLabel = "Sample5",
+ trainingMode = "standard",
+};
+
+Console.WriteLine($"Training project {projectName}...");
+Operation trainOperation = client.Train(WaitUntil.Completed, projectName, RequestContent.Create(trainData));
+
+ // Deploy the model.
+ var deployData = new
+ {
+ trainedModelLabel = "Sample5",
+ };
+
+Console.WriteLine($"Deploying project {projectName} to production...");
+Operation deployOperation = client.DeployProject(WaitUntil.Completed, projectName, "production", RequestContent.Create(deployData));
+
+Console.WriteLine("Import complete");
+```
+
+## Asynchronous
+
+Using the same `importData` definition above, you can make an asynchronous request by calling `ImportProjectAsync`:
+
+```C#
+Operation importOperation = await client.ImportProjectAsync(WaitUntil.Completed, projectName, RequestContent.Create(importData));
+
+// Train the model.
+var trainData = new
+{
+ modelLabel = "Sample5",
+ trainingMode = "standard",
+};
+
+Console.WriteLine($"Training project {projectName}...");
+Operation trainOperation = await client.TrainAsync(WaitUntil.Completed, projectName, RequestContent.Create(trainData));
+
+// Deploy the model.
+var deployData = new
+{
+ trainedModelLabel = "Sample5",
+};
+
+Console.WriteLine($"Deploying project {projectName} to production...");
+Operation deployOperation = await client.DeployProjectAsync(WaitUntil.Completed, projectName, "production", RequestContent.Create(deployData));
+
+Console.WriteLine("Import complete");
+```
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample6_AnalyzeConversation_ConversationSummarization.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample6_AnalyzeConversation_ConversationSummarization.md
index 1988f7fa15f7..653147aefb0f 100644
--- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample6_AnalyzeConversation_ConversationSummarization.md
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample6_AnalyzeConversation_ConversationSummarization.md
@@ -14,11 +14,11 @@ using Azure.AI.Language.Conversations;
To analyze an utterance, you need to first create a `ConversationAnalysisClient` using an endpoint and API key. These can be stored in an environment variable, configuration setting, or any way that works for your application.
-```C# Snippet:ConversationAnalysisClient_Create
+```C# Snippet:CreateConversationAnalysisClientForSpecificApiVersion
Uri endpoint = new Uri("https://myaccount.cognitiveservices.azure.com");
AzureKeyCredential credential = new AzureKeyCredential("{api-key}");
-
-ConversationAnalysisClient client = new ConversationAnalysisClient(endpoint, credential);
+ConversationsClientOptions options = new ConversationsClientOptions(ConversationsClientOptions.ServiceVersion.V2024_05_01);
+ConversationAnalysisClient client = new ConversationAnalysisClient(endpoint, credential, options);
```
Once you have created a client, you can call synchronous or asynchronous methods.
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample7_ExportProject.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample7_ExportProject.md
new file mode 100644
index 000000000000..1385cc563016
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample7_ExportProject.md
@@ -0,0 +1,76 @@
+# Export a project
+
+This sample demonstrates how to export a project. To get started, you'll need to create a Cognitive Language service endpoint and an API key. See the [README](https://github.com/Azure/azure-sdk-for-net/blob/Azure.AI.Language.Conversations_1.1.0/sdk/cognitivelanguage/Azure.AI.Language.Conversations/README.md) for links and instructions.
+
+> [!NOTE]
+> Conversational Authoring is not supported in version 2.0.0-beta.1. If you use Conversational Authoring, please continue to use version 1.1.0.
+
+Start by importing the namespace for the `ConversationAuthoringClient` and related classes:
+
+```C#
+using Azure.Core;
+using Azure.AI.Language.Conversations.Authoring;
+```
+
+To export a project, you'll need to first create a `ConversationAuthoringClient` using an endpoint and an API key. These can be stored in an environment variable, configuration setting, or any way that works for your application.
+
+```C#
+Uri endpoint = new Uri("https://myaccount.cognitiveservices.azure.com");
+AzureKeyCredential credential = new AzureKeyCredential("{api-key}");
+
+ConversationAuthoringClient client = new ConversationAuthoringClient(endpoint, credential);
+```
+
+Once you have created a client, you can call synchronous or asynchronous methods. Typically, the content would come from a file but a small sample is shown here for demonstration purposes.
+
+## Synchronous
+
+Exporting a project returns an operation. Once this operation completes, you can get the `resultUrl` out of the response body and pass through the HTTP pipeline exposed by the client to download the project.
+
+```C#
+string projectName = "project-to-export";
+Operation exportOperation = client.ExportProject(WaitUntil.Completed, projectName);
+
+// Get the resultUrl from the response, which contains the exported project.
+using JsonDocument doc = JsonDocument.Parse(exportOperation.Value.ToStream());
+string resultUrl = doc.RootElement.GetProperty("resultUrl").GetString();
+
+// Use the client pipeline to create and send a request to download the raw URL.
+RequestUriBuilder builder = new RequestUriBuilder();
+builder.Reset(new Uri(resultUrl));
+
+Request request = client.Pipeline.CreateRequest();
+request.Method = RequestMethod.Get;
+request.Uri = builder;
+
+// Save the project to a file in the current working directory.
+Response response = client.Pipeline.SendRequest(request, cancellationToken: default);
+
+string path = "project.json";
+response.ContentStream.CopyTo(File.Create(path));
+```
+
+## Asynchronous
+
+```C#
+string projectName = "project-to-export";
+Operation exportOperation = await client.ExportProjectAsync(WaitUntil.Completed, projectName);
+
+// Get the resultUrl from the response, which contains the exported project.
+using JsonDocument doc = JsonDocument.Parse(exportOperation.Value.ToStream());
+string resultUrl = doc.RootElement.GetProperty("resultUrl").GetString();
+
+// Use the client pipeline to create and send a request to download the raw URL.
+RequestUriBuilder builder = new RequestUriBuilder();
+builder.Reset(new Uri(resultUrl));
+
+Request request = client.Pipeline.CreateRequest();
+request.Method = RequestMethod.Get;
+request.Uri = builder;
+
+// Save the project to a file in the current working directory.
+Response response = await client.Pipeline.SendRequestAsync(request, cancellationToken: default);
+
+string path = "project.json";
+await response.ContentStream.CopyToAsync(File.Create(path));
+```
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample5_AnalyzeConversation_ConversationPii.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample8_AnalyzeConversation_ConversationPii.md
similarity index 98%
rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample5_AnalyzeConversation_ConversationPii.md
rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample8_AnalyzeConversation_ConversationPii.md
index c01baa621f33..666773152f58 100644
--- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample5_AnalyzeConversation_ConversationPii.md
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample8_AnalyzeConversation_ConversationPii.md
@@ -1,4 +1,4 @@
-# Analyze a conversation with Conversation Summarization
+# Analyze a conversation with Conversation PII
This sample demonstrates how to detect and redact personally identifiable information from a conversation with Conversation Pii. To get started, you'll need to create a Cognitive Language service endpoint and an API key. See the [README](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/cognitivelanguage/Azure.AI.Language.Conversations/README.md) for links and instructions.
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/tests/Samples/Readme.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/tests/Samples/Readme.cs
index 90ea66beed09..b99bc4763d79 100644
--- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/tests/Samples/Readme.cs
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/tests/Samples/Readme.cs
@@ -28,6 +28,16 @@ public void CreateConversationClient()
#endregion
}
+ public void CreateConversationClientWithSpecificApiVersion()
+ {
+ #region Snippet:CreateConversationAnalysisClientForSpecificApiVersion
+ Uri endpoint = new Uri("https://myaccount.cognitiveservices.azure.com");
+ AzureKeyCredential credential = new AzureKeyCredential("{api-key}");
+ ConversationsClientOptions options = new ConversationsClientOptions(ConversationsClientOptions.ServiceVersion.V2024_05_01);
+ ConversationAnalysisClient client = new ConversationAnalysisClient(endpoint, credential, options);
+ #endregion
+ }
+
public void CreateConversationClientWithDefaultAzureCredential()
{
#region Snippet:ConversationAnalysisClient_CreateWithDefaultAzureCredential
diff --git a/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md b/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md
index 5cc92772446a..8ed448e95d6d 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md
+++ b/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md
@@ -1,6 +1,6 @@
# Release History
-## 1.6.0-beta.1 (Unreleased)
+## 1.7.0-beta.1 (Unreleased)
### Features Added
@@ -10,6 +10,20 @@
### Other Changes
+## 1.6.0 (2024-08-26)
+
+### Features Added
+
+- Added a new read-only property `LogicalSectorSize` to `DiskRestorePointData` class.
+- Added new properties `SkuProfile` and `ZonalPlatformFaultDomainAlignMode` to `VirtualMachineScaleSetData` class.
+- Added new properties `Zones`, `ZonalPlatformFaultDomainAlignMode`, and `SkuProfile` to `VirtualMachineScaleSetPatch` class.
+- Added a new property `ScheduledEventsPolicy` to `AvailabilitySetPatch` and `AvailabilitySetData` class.
+
+### Breaking Changes
+
+- `ExcludeExtensions` property in `ComputeSecurityPostureReference` is replaced by `ExcludeExtensionNames` property which takes in a list of strings.
+- `IsVmAgentPlatformUpdatesEnabled` property in `WindowsConfiguration` class is now read-only.
+
## 1.5.0 (2024-05-10)
### Features Added
diff --git a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs
index 44e614e1003d..903d9f114b7b 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs
@@ -23,6 +23,7 @@ public AvailabilitySetData(Azure.Core.AzureLocation location) { }
public int? PlatformFaultDomainCount { get { throw null; } set { } }
public int? PlatformUpdateDomainCount { get { throw null; } set { } }
public Azure.Core.ResourceIdentifier ProximityPlacementGroupId { get { throw null; } set { } }
+ public Azure.ResourceManager.Compute.Models.ScheduledEventsPolicy ScheduledEventsPolicy { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.ComputeSku Sku { get { throw null; } set { } }
public System.Collections.Generic.IReadOnlyList Statuses { get { throw null; } }
public System.Collections.Generic.IList VirtualMachines { get { throw null; } }
@@ -1189,6 +1190,7 @@ internal DiskRestorePointData() { }
public Azure.ResourceManager.Compute.Models.DiskEncryption Encryption { get { throw null; } }
public string FamilyId { get { throw null; } }
public Azure.ResourceManager.Compute.Models.HyperVGeneration? HyperVGeneration { get { throw null; } }
+ public int? LogicalSectorSize { get { throw null; } }
public Azure.ResourceManager.Compute.Models.NetworkAccessPolicy? NetworkAccessPolicy { get { throw null; } }
public Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType? OSType { get { throw null; } }
public Azure.ResourceManager.Compute.Models.DiskPublicNetworkAccess? PublicNetworkAccess { get { throw null; } }
@@ -2459,11 +2461,13 @@ public VirtualMachineScaleSetData(Azure.Core.AzureLocation location) { }
public Azure.ResourceManager.Compute.Models.ScheduledEventsPolicy ScheduledEventsPolicy { get { throw null; } set { } }
public bool? SinglePlacementGroup { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.ComputeSku Sku { get { throw null; } set { } }
+ public Azure.ResourceManager.Compute.Models.ComputeSkuProfile SkuProfile { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.SpotRestorePolicy SpotRestorePolicy { get { throw null; } set { } }
public System.DateTimeOffset? TimeCreated { get { throw null; } }
public string UniqueId { get { throw null; } }
public Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpgradePolicy UpgradePolicy { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmProfile VirtualMachineProfile { get { throw null; } set { } }
+ public Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode? ZonalPlatformFaultDomainAlignMode { get { throw null; } set { } }
public bool? ZoneBalance { get { throw null; } set { } }
public System.Collections.Generic.IList Zones { get { throw null; } }
Azure.ResourceManager.Compute.VirtualMachineScaleSetData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
@@ -3180,8 +3184,12 @@ public AdditionalUnattendContent() { }
public static partial class ArmComputeModelFactory
{
public static Azure.ResourceManager.Compute.Models.AccessUri AccessUri(string accessSas = null, string securityDataAccessSas = null) { throw null; }
- public static Azure.ResourceManager.Compute.AvailabilitySetData AvailabilitySetData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Compute.Models.ComputeSku sku = null, int? platformUpdateDomainCount = default(int?), int? platformFaultDomainCount = default(int?), System.Collections.Generic.IEnumerable virtualMachines = null, Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, System.Collections.Generic.IEnumerable statuses = null) { throw null; }
- public static Azure.ResourceManager.Compute.Models.AvailabilitySetPatch AvailabilitySetPatch(System.Collections.Generic.IDictionary tags = null, Azure.ResourceManager.Compute.Models.ComputeSku sku = null, int? platformUpdateDomainCount = default(int?), int? platformFaultDomainCount = default(int?), System.Collections.Generic.IEnumerable virtualMachines = null, Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, System.Collections.Generic.IEnumerable statuses = null) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public static Azure.ResourceManager.Compute.AvailabilitySetData AvailabilitySetData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Compute.Models.ComputeSku sku, int? platformUpdateDomainCount, int? platformFaultDomainCount, System.Collections.Generic.IEnumerable virtualMachines, Azure.Core.ResourceIdentifier proximityPlacementGroupId, System.Collections.Generic.IEnumerable statuses) { throw null; }
+ public static Azure.ResourceManager.Compute.AvailabilitySetData AvailabilitySetData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Compute.Models.ComputeSku sku = null, int? platformUpdateDomainCount = default(int?), int? platformFaultDomainCount = default(int?), System.Collections.Generic.IEnumerable virtualMachines = null, Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, System.Collections.Generic.IEnumerable statuses = null, Azure.ResourceManager.Compute.Models.ScheduledEventsPolicy scheduledEventsPolicy = null) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public static Azure.ResourceManager.Compute.Models.AvailabilitySetPatch AvailabilitySetPatch(System.Collections.Generic.IDictionary tags, Azure.ResourceManager.Compute.Models.ComputeSku sku, int? platformUpdateDomainCount, int? platformFaultDomainCount, System.Collections.Generic.IEnumerable virtualMachines, Azure.Core.ResourceIdentifier proximityPlacementGroupId, System.Collections.Generic.IEnumerable statuses) { throw null; }
+ public static Azure.ResourceManager.Compute.Models.AvailabilitySetPatch AvailabilitySetPatch(System.Collections.Generic.IDictionary tags = null, Azure.ResourceManager.Compute.Models.ComputeSku sku = null, int? platformUpdateDomainCount = default(int?), int? platformFaultDomainCount = default(int?), System.Collections.Generic.IEnumerable virtualMachines = null, Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, System.Collections.Generic.IEnumerable statuses = null, Azure.ResourceManager.Compute.Models.ScheduledEventsPolicy scheduledEventsPolicy = null) { throw null; }
public static Azure.ResourceManager.Compute.Models.AvailablePatchSummary AvailablePatchSummary(Azure.ResourceManager.Compute.Models.PatchOperationStatus? status = default(Azure.ResourceManager.Compute.Models.PatchOperationStatus?), string assessmentActivityId = null, bool? rebootPending = default(bool?), int? criticalAndSecurityPatchCount = default(int?), int? otherPatchCount = default(int?), System.DateTimeOffset? startOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastModifiedOn = default(System.DateTimeOffset?), Azure.ResourceManager.Compute.Models.ComputeApiError error = null) { throw null; }
public static Azure.ResourceManager.Compute.Models.BootDiagnosticsInstanceView BootDiagnosticsInstanceView(System.Uri consoleScreenshotBlobUri = null, System.Uri serialConsoleLogBlobUri = null, Azure.ResourceManager.Compute.Models.InstanceViewStatus status = null) { throw null; }
public static Azure.ResourceManager.Compute.CapacityReservationData CapacityReservationData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Compute.Models.ComputeSku sku = null, System.Collections.Generic.IEnumerable zones = null, string reservationId = null, int? platformFaultDomainCount = default(int?), System.Collections.Generic.IEnumerable virtualMachinesAssociated = null, System.DateTimeOffset? provisioningOn = default(System.DateTimeOffset?), string provisioningState = null, Azure.ResourceManager.Compute.Models.CapacityReservationInstanceView instanceView = null, System.DateTimeOffset? timeCreated = default(System.DateTimeOffset?)) { throw null; }
@@ -3250,7 +3258,9 @@ public static partial class ArmComputeModelFactory
public static Azure.ResourceManager.Compute.Models.DiskImagePatch DiskImagePatch(System.Collections.Generic.IDictionary tags = null, Azure.Core.ResourceIdentifier sourceVirtualMachineId = null, Azure.ResourceManager.Compute.Models.ImageStorageProfile storageProfile = null, string provisioningState = null, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default(Azure.ResourceManager.Compute.Models.HyperVGeneration?)) { throw null; }
public static Azure.ResourceManager.Compute.Models.DiskInstanceView DiskInstanceView(string name = null, System.Collections.Generic.IEnumerable encryptionSettings = null, System.Collections.Generic.IEnumerable statuses = null) { throw null; }
public static Azure.ResourceManager.Compute.Models.DiskRestorePointAttributes DiskRestorePointAttributes(Azure.Core.ResourceIdentifier id = null, Azure.ResourceManager.Compute.Models.RestorePointEncryption encryption = null, Azure.Core.ResourceIdentifier sourceDiskRestorePointId = null) { throw null; }
- public static Azure.ResourceManager.Compute.DiskRestorePointData DiskRestorePointData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.DateTimeOffset? timeCreated = default(System.DateTimeOffset?), Azure.Core.ResourceIdentifier sourceResourceId = null, Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType? osType = default(Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType?), Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default(Azure.ResourceManager.Compute.Models.HyperVGeneration?), Azure.ResourceManager.Compute.Models.DiskPurchasePlan purchasePlan = null, Azure.ResourceManager.Compute.Models.SupportedCapabilities supportedCapabilities = null, string familyId = null, string sourceUniqueId = null, Azure.ResourceManager.Compute.Models.DiskEncryption encryption = null, bool? supportsHibernation = default(bool?), Azure.ResourceManager.Compute.Models.NetworkAccessPolicy? networkAccessPolicy = default(Azure.ResourceManager.Compute.Models.NetworkAccessPolicy?), Azure.ResourceManager.Compute.Models.DiskPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.Compute.Models.DiskPublicNetworkAccess?), Azure.Core.ResourceIdentifier diskAccessId = null, float? completionPercent = default(float?), string replicationState = null, Azure.Core.AzureLocation? sourceResourceLocation = default(Azure.Core.AzureLocation?), Azure.ResourceManager.Compute.Models.DiskSecurityProfile securityProfile = null) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public static Azure.ResourceManager.Compute.DiskRestorePointData DiskRestorePointData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.DateTimeOffset? timeCreated, Azure.Core.ResourceIdentifier sourceResourceId, Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType? osType, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration, Azure.ResourceManager.Compute.Models.DiskPurchasePlan purchasePlan, Azure.ResourceManager.Compute.Models.SupportedCapabilities supportedCapabilities, string familyId, string sourceUniqueId, Azure.ResourceManager.Compute.Models.DiskEncryption encryption, bool? supportsHibernation, Azure.ResourceManager.Compute.Models.NetworkAccessPolicy? networkAccessPolicy, Azure.ResourceManager.Compute.Models.DiskPublicNetworkAccess? publicNetworkAccess, Azure.Core.ResourceIdentifier diskAccessId, float? completionPercent, string replicationState, Azure.Core.AzureLocation? sourceResourceLocation, Azure.ResourceManager.Compute.Models.DiskSecurityProfile securityProfile) { throw null; }
+ public static Azure.ResourceManager.Compute.DiskRestorePointData DiskRestorePointData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.DateTimeOffset? timeCreated = default(System.DateTimeOffset?), Azure.Core.ResourceIdentifier sourceResourceId = null, Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType? osType = default(Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType?), Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default(Azure.ResourceManager.Compute.Models.HyperVGeneration?), Azure.ResourceManager.Compute.Models.DiskPurchasePlan purchasePlan = null, Azure.ResourceManager.Compute.Models.SupportedCapabilities supportedCapabilities = null, string familyId = null, string sourceUniqueId = null, Azure.ResourceManager.Compute.Models.DiskEncryption encryption = null, bool? supportsHibernation = default(bool?), Azure.ResourceManager.Compute.Models.NetworkAccessPolicy? networkAccessPolicy = default(Azure.ResourceManager.Compute.Models.NetworkAccessPolicy?), Azure.ResourceManager.Compute.Models.DiskPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.Compute.Models.DiskPublicNetworkAccess?), Azure.Core.ResourceIdentifier diskAccessId = null, float? completionPercent = default(float?), string replicationState = null, Azure.Core.AzureLocation? sourceResourceLocation = default(Azure.Core.AzureLocation?), Azure.ResourceManager.Compute.Models.DiskSecurityProfile securityProfile = null, int? logicalSectorSize = default(int?)) { throw null; }
public static Azure.ResourceManager.Compute.Models.DiskRestorePointInstanceView DiskRestorePointInstanceView(string id = null, Azure.ResourceManager.Compute.Models.DiskRestorePointReplicationStatus replicationStatus = null) { throw null; }
public static Azure.ResourceManager.Compute.Models.DiskRestorePointReplicationStatus DiskRestorePointReplicationStatus(Azure.ResourceManager.Compute.Models.InstanceViewStatus status = null, int? completionPercent = default(int?)) { throw null; }
public static Azure.ResourceManager.Compute.Models.DiskSku DiskSku(Azure.ResourceManager.Compute.Models.DiskStorageAccountType? name = default(Azure.ResourceManager.Compute.Models.DiskStorageAccountType?), string tier = null) { throw null; }
@@ -3373,7 +3383,9 @@ public static partial class ArmComputeModelFactory
public static Azure.ResourceManager.Compute.VirtualMachineScaleSetData VirtualMachineScaleSetData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Compute.Models.ComputeSku sku, Azure.ResourceManager.Compute.Models.ComputePlan plan, Azure.ResourceManager.Models.ManagedServiceIdentity identity, System.Collections.Generic.IEnumerable zones, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpgradePolicy upgradePolicy, Azure.ResourceManager.Compute.Models.AutomaticRepairsPolicy automaticRepairsPolicy, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmProfile virtualMachineProfile, string provisioningState, bool? overprovision, bool? doNotRunExtensionsOnOverprovisionedVms, string uniqueId, bool? singlePlacementGroup, bool? zoneBalance, int? platformFaultDomainCount, Azure.Core.ResourceIdentifier proximityPlacementGroupId, Azure.Core.ResourceIdentifier hostGroupId, Azure.ResourceManager.Compute.Models.AdditionalCapabilities additionalCapabilities, Azure.ResourceManager.Compute.Models.ScaleInPolicy scaleInPolicy, Azure.ResourceManager.Compute.Models.OrchestrationMode? orchestrationMode, Azure.ResourceManager.Compute.Models.SpotRestorePolicy spotRestorePolicy, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetPriorityMixPolicy priorityMixPolicy, System.DateTimeOffset? timeCreated, bool? isMaximumCapacityConstrained) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public static Azure.ResourceManager.Compute.VirtualMachineScaleSetData VirtualMachineScaleSetData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Compute.Models.ComputeSku sku, Azure.ResourceManager.Compute.Models.ComputePlan plan, Azure.ResourceManager.Models.ManagedServiceIdentity identity, System.Collections.Generic.IEnumerable zones, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation, string etag, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpgradePolicy upgradePolicy, Azure.ResourceManager.Compute.Models.AutomaticRepairsPolicy automaticRepairsPolicy, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmProfile virtualMachineProfile, string provisioningState, bool? overprovision, bool? doNotRunExtensionsOnOverprovisionedVms, string uniqueId, bool? singlePlacementGroup, bool? zoneBalance, int? platformFaultDomainCount, Azure.Core.ResourceIdentifier proximityPlacementGroupId, Azure.Core.ResourceIdentifier hostGroupId, Azure.ResourceManager.Compute.Models.AdditionalCapabilities additionalCapabilities, Azure.ResourceManager.Compute.Models.ScaleInPolicy scaleInPolicy, Azure.ResourceManager.Compute.Models.OrchestrationMode? orchestrationMode, Azure.ResourceManager.Compute.Models.SpotRestorePolicy spotRestorePolicy, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetPriorityMixPolicy priorityMixPolicy, System.DateTimeOffset? timeCreated, bool? isMaximumCapacityConstrained, Azure.ResourceManager.Compute.Models.ResiliencyPolicy resiliencyPolicy) { throw null; }
- public static Azure.ResourceManager.Compute.VirtualMachineScaleSetData VirtualMachineScaleSetData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Compute.Models.ComputeSku sku = null, Azure.ResourceManager.Compute.Models.ComputePlan plan = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, System.Collections.Generic.IEnumerable zones = null, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = null, string etag = null, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpgradePolicy upgradePolicy = null, Azure.ResourceManager.Compute.Models.ScheduledEventsPolicy scheduledEventsPolicy = null, Azure.ResourceManager.Compute.Models.AutomaticRepairsPolicy automaticRepairsPolicy = null, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmProfile virtualMachineProfile = null, string provisioningState = null, bool? overprovision = default(bool?), bool? doNotRunExtensionsOnOverprovisionedVms = default(bool?), string uniqueId = null, bool? singlePlacementGroup = default(bool?), bool? zoneBalance = default(bool?), int? platformFaultDomainCount = default(int?), Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, Azure.Core.ResourceIdentifier hostGroupId = null, Azure.ResourceManager.Compute.Models.AdditionalCapabilities additionalCapabilities = null, Azure.ResourceManager.Compute.Models.ScaleInPolicy scaleInPolicy = null, Azure.ResourceManager.Compute.Models.OrchestrationMode? orchestrationMode = default(Azure.ResourceManager.Compute.Models.OrchestrationMode?), Azure.ResourceManager.Compute.Models.SpotRestorePolicy spotRestorePolicy = null, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetPriorityMixPolicy priorityMixPolicy = null, System.DateTimeOffset? timeCreated = default(System.DateTimeOffset?), bool? isMaximumCapacityConstrained = default(bool?), Azure.ResourceManager.Compute.Models.ResiliencyPolicy resiliencyPolicy = null) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public static Azure.ResourceManager.Compute.VirtualMachineScaleSetData VirtualMachineScaleSetData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Compute.Models.ComputeSku sku, Azure.ResourceManager.Compute.Models.ComputePlan plan, Azure.ResourceManager.Models.ManagedServiceIdentity identity, System.Collections.Generic.IEnumerable zones, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation, string etag, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpgradePolicy upgradePolicy, Azure.ResourceManager.Compute.Models.ScheduledEventsPolicy scheduledEventsPolicy, Azure.ResourceManager.Compute.Models.AutomaticRepairsPolicy automaticRepairsPolicy, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmProfile virtualMachineProfile, string provisioningState, bool? overprovision, bool? doNotRunExtensionsOnOverprovisionedVms, string uniqueId, bool? singlePlacementGroup, bool? zoneBalance, int? platformFaultDomainCount, Azure.Core.ResourceIdentifier proximityPlacementGroupId, Azure.Core.ResourceIdentifier hostGroupId, Azure.ResourceManager.Compute.Models.AdditionalCapabilities additionalCapabilities, Azure.ResourceManager.Compute.Models.ScaleInPolicy scaleInPolicy, Azure.ResourceManager.Compute.Models.OrchestrationMode? orchestrationMode, Azure.ResourceManager.Compute.Models.SpotRestorePolicy spotRestorePolicy, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetPriorityMixPolicy priorityMixPolicy, System.DateTimeOffset? timeCreated, bool? isMaximumCapacityConstrained, Azure.ResourceManager.Compute.Models.ResiliencyPolicy resiliencyPolicy) { throw null; }
+ public static Azure.ResourceManager.Compute.VirtualMachineScaleSetData VirtualMachineScaleSetData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Compute.Models.ComputeSku sku = null, Azure.ResourceManager.Compute.Models.ComputePlan plan = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, System.Collections.Generic.IEnumerable zones = null, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = null, string etag = null, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpgradePolicy upgradePolicy = null, Azure.ResourceManager.Compute.Models.ScheduledEventsPolicy scheduledEventsPolicy = null, Azure.ResourceManager.Compute.Models.AutomaticRepairsPolicy automaticRepairsPolicy = null, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmProfile virtualMachineProfile = null, string provisioningState = null, bool? overprovision = default(bool?), bool? doNotRunExtensionsOnOverprovisionedVms = default(bool?), string uniqueId = null, bool? singlePlacementGroup = default(bool?), bool? zoneBalance = default(bool?), int? platformFaultDomainCount = default(int?), Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, Azure.Core.ResourceIdentifier hostGroupId = null, Azure.ResourceManager.Compute.Models.AdditionalCapabilities additionalCapabilities = null, Azure.ResourceManager.Compute.Models.ScaleInPolicy scaleInPolicy = null, Azure.ResourceManager.Compute.Models.OrchestrationMode? orchestrationMode = default(Azure.ResourceManager.Compute.Models.OrchestrationMode?), Azure.ResourceManager.Compute.Models.SpotRestorePolicy spotRestorePolicy = null, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetPriorityMixPolicy priorityMixPolicy = null, System.DateTimeOffset? timeCreated = default(System.DateTimeOffset?), bool? isMaximumCapacityConstrained = default(bool?), Azure.ResourceManager.Compute.Models.ResiliencyPolicy resiliencyPolicy = null, Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode? zonalPlatformFaultDomainAlignMode = default(Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode?), Azure.ResourceManager.Compute.Models.ComputeSkuProfile skuProfile = null) { throw null; }
public static Azure.ResourceManager.Compute.VirtualMachineScaleSetExtensionData VirtualMachineScaleSetExtensionData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string forceUpdateTag = null, string publisher = null, string extensionType = null, string typeHandlerVersion = null, bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), System.BinaryData settings = null, System.BinaryData protectedSettings = null, string provisioningState = null, System.Collections.Generic.IEnumerable provisionAfterExtensions = null, bool? suppressFailures = default(bool?), Azure.ResourceManager.Compute.Models.KeyVaultSecretReference keyVaultProtectedSettings = null) { throw null; }
public static Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtensionPatch VirtualMachineScaleSetExtensionPatch(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string forceUpdateTag = null, string publisher = null, string extensionType = null, string typeHandlerVersion = null, bool? autoUpgradeMinorVersion = default(bool?), bool? enableAutomaticUpgrade = default(bool?), System.BinaryData settings = null, System.BinaryData protectedSettings = null, string provisioningState = null, System.Collections.Generic.IEnumerable provisionAfterExtensions = null, bool? suppressFailures = default(bool?), Azure.ResourceManager.Compute.Models.KeyVaultSecretReference keyVaultProtectedSettings = null) { throw null; }
public static Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetInstanceView VirtualMachineScaleSetInstanceView(System.Collections.Generic.IEnumerable virtualMachineStatusesSummary = null, System.Collections.Generic.IEnumerable extensions = null, System.Collections.Generic.IEnumerable statuses = null, System.Collections.Generic.IEnumerable orchestrationServices = null) { throw null; }
@@ -3391,6 +3403,7 @@ public static partial class ArmComputeModelFactory
public static Azure.ResourceManager.Compute.Models.VirtualMachineSize VirtualMachineSize(string name = null, int? numberOfCores = default(int?), int? osDiskSizeInMB = default(int?), int? resourceDiskSizeInMB = default(int?), int? memoryInMB = default(int?), int? maxDataDiskCount = default(int?)) { throw null; }
public static Azure.ResourceManager.Compute.Models.VirtualMachineSoftwarePatchProperties VirtualMachineSoftwarePatchProperties(string patchId = null, string name = null, string version = null, string kbId = null, System.Collections.Generic.IEnumerable classifications = null, Azure.ResourceManager.Compute.Models.VmGuestPatchRebootBehavior? rebootBehavior = default(Azure.ResourceManager.Compute.Models.VmGuestPatchRebootBehavior?), string activityId = null, System.DateTimeOffset? publishedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastModifiedOn = default(System.DateTimeOffset?), Azure.ResourceManager.Compute.Models.PatchAssessmentState? assessmentState = default(Azure.ResourceManager.Compute.Models.PatchAssessmentState?)) { throw null; }
public static Azure.ResourceManager.Compute.Models.VirtualMachineStatusCodeCount VirtualMachineStatusCodeCount(string code = null, int? count = default(int?)) { throw null; }
+ public static Azure.ResourceManager.Compute.Models.WindowsConfiguration WindowsConfiguration(bool? provisionVmAgent = default(bool?), bool? isAutomaticUpdatesEnabled = default(bool?), string timeZone = null, System.Collections.Generic.IEnumerable additionalUnattendContent = null, Azure.ResourceManager.Compute.Models.PatchSettings patchSettings = null, System.Collections.Generic.IEnumerable winRMListeners = null, bool? isVmAgentPlatformUpdatesEnabled = default(bool?)) { throw null; }
}
public partial class AttachDetachDataDisksRequest : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
@@ -3434,6 +3447,7 @@ public AvailabilitySetPatch() { }
public int? PlatformFaultDomainCount { get { throw null; } set { } }
public int? PlatformUpdateDomainCount { get { throw null; } set { } }
public Azure.Core.ResourceIdentifier ProximityPlacementGroupId { get { throw null; } set { } }
+ public Azure.ResourceManager.Compute.Models.ScheduledEventsPolicy ScheduledEventsPolicy { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.ComputeSku Sku { get { throw null; } set { } }
public System.Collections.Generic.IReadOnlyList Statuses { get { throw null; } }
public System.Collections.Generic.IList VirtualMachines { get { throw null; } }
@@ -3837,6 +3851,24 @@ internal CommunityGalleryMetadata() { }
public static bool operator !=(Azure.ResourceManager.Compute.Models.ComponentName left, Azure.ResourceManager.Compute.Models.ComponentName right) { throw null; }
public override string ToString() { throw null; }
}
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct ComputeAllocationStrategy : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ComputeAllocationStrategy(string value) { throw null; }
+ public static Azure.ResourceManager.Compute.Models.ComputeAllocationStrategy CapacityOptimized { get { throw null; } }
+ public static Azure.ResourceManager.Compute.Models.ComputeAllocationStrategy LowestPrice { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.Compute.Models.ComputeAllocationStrategy other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.ResourceManager.Compute.Models.ComputeAllocationStrategy left, Azure.ResourceManager.Compute.Models.ComputeAllocationStrategy right) { throw null; }
+ public static implicit operator Azure.ResourceManager.Compute.Models.ComputeAllocationStrategy (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.Compute.Models.ComputeAllocationStrategy left, Azure.ResourceManager.Compute.Models.ComputeAllocationStrategy right) { throw null; }
+ public override string ToString() { throw null; }
+ }
public partial class ComputeApiError : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
internal ComputeApiError() { }
@@ -4197,9 +4229,14 @@ public ComputeScheduledEventsProfile() { }
}
public partial class ComputeSecurityPostureReference : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public ComputeSecurityPostureReference() { }
+ public ComputeSecurityPostureReference(Azure.Core.ResourceIdentifier id) { }
+ public System.Collections.Generic.IList ExcludeExtensionNames { get { throw null; } }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public System.Collections.Generic.IList ExcludeExtensions { get { throw null; } }
public Azure.Core.ResourceIdentifier Id { get { throw null; } set { } }
+ public bool? IsOverridable { get { throw null; } set { } }
Azure.ResourceManager.Compute.Models.ComputeSecurityPostureReference System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Compute.Models.ComputeSecurityPostureReference System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
@@ -4218,6 +4255,27 @@ public ComputeSku() { }
string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
}
+ public partial class ComputeSkuProfile : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public ComputeSkuProfile() { }
+ public Azure.ResourceManager.Compute.Models.ComputeAllocationStrategy? AllocationStrategy { get { throw null; } set { } }
+ public System.Collections.Generic.IList VmSizes { get { throw null; } }
+ Azure.ResourceManager.Compute.Models.ComputeSkuProfile System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.Compute.Models.ComputeSkuProfile System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ public partial class ComputeSkuProfileVmSize : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public ComputeSkuProfileVmSize() { }
+ public string Name { get { throw null; } set { } }
+ Azure.ResourceManager.Compute.Models.ComputeSkuProfileVmSize System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.Compute.Models.ComputeSkuProfileVmSize System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
public enum ComputeStatusLevelType
{
Info = 0,
@@ -7113,6 +7171,18 @@ public ScheduledEventsPolicy() { }
public static bool operator !=(Azure.ResourceManager.Compute.Models.SecurityEncryptionType left, Azure.ResourceManager.Compute.Models.SecurityEncryptionType right) { throw null; }
public override string ToString() { throw null; }
}
+ public partial class SecurityPostureReferenceUpdate : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public SecurityPostureReferenceUpdate() { }
+ public System.Collections.Generic.IList ExcludeExtensions { get { throw null; } }
+ public string Id { get { throw null; } set { } }
+ public bool? IsOverridable { get { throw null; } set { } }
+ Azure.ResourceManager.Compute.Models.SecurityPostureReferenceUpdate System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.Compute.Models.SecurityPostureReferenceUpdate System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
public partial class SecurityProfile : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
public SecurityProfile() { }
@@ -8625,9 +8695,12 @@ public VirtualMachineScaleSetPatch() { }
public Azure.ResourceManager.Compute.Models.ScaleInPolicy ScaleInPolicy { get { throw null; } set { } }
public bool? SinglePlacementGroup { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.ComputeSku Sku { get { throw null; } set { } }
+ public Azure.ResourceManager.Compute.Models.ComputeSkuProfile SkuProfile { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.SpotRestorePolicy SpotRestorePolicy { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpgradePolicy UpgradePolicy { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdateVmProfile VirtualMachineProfile { get { throw null; } set { } }
+ public Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode? ZonalPlatformFaultDomainAlignMode { get { throw null; } set { } }
+ public System.Collections.Generic.IList Zones { get { throw null; } }
Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetPatch System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetPatch System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
@@ -8874,6 +8947,7 @@ public VirtualMachineScaleSetUpdateVmProfile() { }
public Azure.ResourceManager.Compute.Models.ComputeScheduledEventsProfile ScheduledEventsProfile { get { throw null; } set { } }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public Azure.ResourceManager.Compute.Models.TerminateNotificationProfile ScheduledEventsTerminateNotificationProfile { get { throw null; } set { } }
+ public Azure.ResourceManager.Compute.Models.SecurityPostureReferenceUpdate SecurityPostureReference { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.SecurityProfile SecurityProfile { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdateStorageProfile StorageProfile { get { throw null; } set { } }
public string UserData { get { throw null; } set { } }
@@ -9390,7 +9464,7 @@ public WindowsConfiguration() { }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public bool? EnableAutomaticUpdates { get { throw null; } set { } }
public bool? IsAutomaticUpdatesEnabled { get { throw null; } set { } }
- public bool? IsVmAgentPlatformUpdatesEnabled { get { throw null; } set { } }
+ public bool? IsVmAgentPlatformUpdatesEnabled { get { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] set { } }
public Azure.ResourceManager.Compute.Models.PatchSettings PatchSettings { get { throw null; } set { } }
public bool? ProvisionVmAgent { get { throw null; } set { } }
public string TimeZone { get { throw null; } set { } }
@@ -9499,4 +9573,22 @@ public enum WinRMListenerProtocolType
Http = 0,
Https = 1,
}
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct ZonalPlatformFaultDomainAlignMode : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ZonalPlatformFaultDomainAlignMode(string value) { throw null; }
+ public static Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode Aligned { get { throw null; } }
+ public static Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode Unaligned { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode left, Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode right) { throw null; }
+ public static implicit operator Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode left, Azure.ResourceManager.Compute.Models.ZonalPlatformFaultDomainAlignMode right) { throw null; }
+ public override string ToString() { throw null; }
+ }
}
diff --git a/sdk/compute/Azure.ResourceManager.Compute/assets.json b/sdk/compute/Azure.ResourceManager.Compute/assets.json
index a20dd911a915..0389918c4ce8 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/assets.json
+++ b/sdk/compute/Azure.ResourceManager.Compute/assets.json
@@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/compute/Azure.ResourceManager.Compute",
- "Tag": "net/compute/Azure.ResourceManager.Compute_4ea075e9ca"
+ "Tag": "net/compute/Azure.ResourceManager.Compute_d32ee065f6"
}
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetCollection.cs
index 1212fd7bfed8..7c3ad3e4d59e 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetCollection.cs
@@ -15,12 +15,52 @@ namespace Azure.ResourceManager.Compute.Samples
{
public partial class Sample_AvailabilitySetCollection
{
+ // Create an availability set with Scheduled Event Policy.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task CreateOrUpdate_CreateAnAvailabilitySetWithScheduledEventPolicy()
+ {
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Create_WithScheduledEventProfile.json
+ // this example is just showing the usage of "AvailabilitySets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this ResourceGroupResource created on azure
+ // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource
+ string subscriptionId = "{subscription-id}";
+ string resourceGroupName = "myResourceGroup";
+ ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName);
+ ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId);
+
+ // get the collection of this AvailabilitySetResource
+ AvailabilitySetCollection collection = resourceGroupResource.GetAvailabilitySets();
+
+ // invoke the operation
+ string availabilitySetName = "myAvailabilitySet";
+ AvailabilitySetData data = new AvailabilitySetData(new AzureLocation("westus"))
+ {
+ PlatformUpdateDomainCount = 20,
+ PlatformFaultDomainCount = 2,
+ };
+ ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, availabilitySetName, data);
+ AvailabilitySetResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ AvailabilitySetData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
// Create an availability set.
[NUnit.Framework.Test]
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAnAvailabilitySet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Create.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Create.json
// this example is just showing the usage of "AvailabilitySets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -60,7 +100,7 @@ public async Task CreateOrUpdate_CreateAnAvailabilitySet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_AvailabilitySetGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -94,7 +134,7 @@ public async Task Get_AvailabilitySetGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_AvailabilitySetGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -124,7 +164,7 @@ public async Task Exists_AvailabilitySetGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_AvailabilitySetGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -166,7 +206,7 @@ public async Task GetIfExists_AvailabilitySetGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_AvailabilitySetGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -200,7 +240,7 @@ public async Task Get_AvailabilitySetGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_AvailabilitySetGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -230,7 +270,7 @@ public async Task Exists_AvailabilitySetGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_AvailabilitySetGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -272,7 +312,7 @@ public async Task GetIfExists_AvailabilitySetGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_AvailabilitySetListMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_List_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_List_MaximumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -308,7 +348,7 @@ public async Task GetAll_AvailabilitySetListMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_AvailabilitySetListMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_List_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_List_MinimumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetResource.cs
index 761ba5a02026..91c711f85ab9 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetResource.cs
@@ -22,7 +22,7 @@ public partial class Sample_AvailabilitySetResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_AvailabilitySetUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Update_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Update_MaximumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -76,7 +76,7 @@ public async Task Update_AvailabilitySetUpdateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_AvailabilitySetUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Update_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Update_MinimumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -108,7 +108,7 @@ public async Task Update_AvailabilitySetUpdateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_AvailabilitySetDeleteMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Delete_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Delete_MaximumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -135,7 +135,7 @@ public async Task Delete_AvailabilitySetDeleteMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_AvailabilitySetDeleteMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Delete_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Delete_MinimumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -162,7 +162,7 @@ public async Task Delete_AvailabilitySetDeleteMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_AvailabilitySetGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -193,7 +193,7 @@ public async Task Get_AvailabilitySetGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_AvailabilitySetGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -224,7 +224,7 @@ public async Task Get_AvailabilitySetGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAvailabilitySets_ListAvailabilitySetsInASubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_ListBySubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_ListBySubscription.json
// this example is just showing the usage of "AvailabilitySets_ListBySubscription" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -257,7 +257,7 @@ public async Task GetAvailabilitySets_ListAvailabilitySetsInASubscription()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAvailableSizes_AvailabilitySetListAvailableSizesMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MaximumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_ListAvailableSizes" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -287,7 +287,7 @@ public async Task GetAvailableSizes_AvailabilitySetListAvailableSizesMaximumSetG
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAvailableSizes_AvailabilitySetListAvailableSizesMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MinimumSet_Gen.json
// this example is just showing the usage of "AvailabilitySets_ListAvailableSizes" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationCollection.cs
index 85e049c2e4d2..226fdb6ba18a 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_CapacityReservationCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateOrUpdateACapacityReservation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservation_CreateOrUpdate.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_CreateOrUpdate.json
// this example is just showing the usage of "CapacityReservations_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -71,7 +71,7 @@ public async Task CreateOrUpdate_CreateOrUpdateACapacityReservation()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetACapacityReservation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservation_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Get.json
// this example is just showing the usage of "CapacityReservations_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -107,7 +107,7 @@ public async Task Get_GetACapacityReservation()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetACapacityReservation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservation_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Get.json
// this example is just showing the usage of "CapacityReservations_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -139,7 +139,7 @@ public async Task Exists_GetACapacityReservation()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetACapacityReservation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservation_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Get.json
// this example is just showing the usage of "CapacityReservations_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -183,7 +183,7 @@ public async Task GetIfExists_GetACapacityReservation()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_ListCapacityReservationsInReservationGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json
// this example is just showing the usage of "CapacityReservations_ListByCapacityReservationGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupCollection.cs
index 6ff8b25544a9..0a48cac0834b 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupCollection.cs
@@ -22,7 +22,7 @@ public partial class Sample_CapacityReservationGroupCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateOrUpdateACapacityReservationGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json
// this example is just showing the usage of "CapacityReservationGroups_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -78,7 +78,7 @@ public async Task CreateOrUpdate_CreateOrUpdateACapacityReservationGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetACapacityReservationGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json
// this example is just showing the usage of "CapacityReservationGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -113,7 +113,7 @@ public async Task Get_GetACapacityReservationGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetACapacityReservationGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json
// this example is just showing the usage of "CapacityReservationGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -144,7 +144,7 @@ public async Task Exists_GetACapacityReservationGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetACapacityReservationGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json
// this example is just showing the usage of "CapacityReservationGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -187,7 +187,7 @@ public async Task GetIfExists_GetACapacityReservationGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_ListCapacityReservationGroupsInResourceGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json
// this example is just showing the usage of "CapacityReservationGroups_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupResource.cs
index e33b25617b67..a7784c4c8681 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_CapacityReservationGroupResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_CapacityReservationGroupUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json
// this example is just showing the usage of "CapacityReservationGroups_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -59,7 +59,7 @@ public async Task Update_CapacityReservationGroupUpdateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_CapacityReservationGroupUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json
// this example is just showing the usage of "CapacityReservationGroups_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -91,7 +91,7 @@ public async Task Update_CapacityReservationGroupUpdateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_CapacityReservationGroupDeleteMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json
// this example is just showing the usage of "CapacityReservationGroups_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -118,7 +118,7 @@ public async Task Delete_CapacityReservationGroupDeleteMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_CapacityReservationGroupDeleteMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json
// this example is just showing the usage of "CapacityReservationGroups_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -145,7 +145,7 @@ public async Task Delete_CapacityReservationGroupDeleteMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetACapacityReservationGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json
// this example is just showing the usage of "CapacityReservationGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -177,7 +177,7 @@ public async Task Get_GetACapacityReservationGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetCapacityReservationGroups_ListCapacityReservationGroupsInSubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json
// this example is just showing the usage of "CapacityReservationGroups_ListBySubscription" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -210,7 +210,7 @@ public async Task GetCapacityReservationGroups_ListCapacityReservationGroupsInSu
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetCapacityReservationGroups_ListCapacityReservationGroupsWithResourceIdsOnlyInSubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservationGroup_ListBySubscriptionWithResourceIdsQuery.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_ListBySubscriptionWithResourceIdsQuery.json
// this example is just showing the usage of "CapacityReservationGroups_ListBySubscription" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationResource.cs
index 98c70fa45723..0b29fa036165 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_CapacityReservationResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_CapacityReservationUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json
// this example is just showing the usage of "CapacityReservations_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -66,7 +66,7 @@ public async Task Update_CapacityReservationUpdateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_CapacityReservationUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json
// this example is just showing the usage of "CapacityReservations_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -100,7 +100,7 @@ public async Task Update_CapacityReservationUpdateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_CapacityReservationDeleteMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json
// this example is just showing the usage of "CapacityReservations_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -128,7 +128,7 @@ public async Task Delete_CapacityReservationDeleteMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_CapacityReservationDeleteMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json
// this example is just showing the usage of "CapacityReservations_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -156,7 +156,7 @@ public async Task Delete_CapacityReservationDeleteMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetACapacityReservation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/capacityReservationExamples/CapacityReservation_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Get.json
// this example is just showing the usage of "CapacityReservations_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionCollection.cs
index ba93e5962e9b..7bac8aa9b062 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_ComputePrivateEndpointConnectionCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_ApproveAPrivateEndpointConnectionUnderADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json
// this example is just showing the usage of "DiskAccesses_UpdateAPrivateEndpointConnection" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -64,7 +64,7 @@ public async Task CreateOrUpdate_ApproveAPrivateEndpointConnectionUnderADiskAcce
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json
// this example is just showing the usage of "DiskAccesses_GetAPrivateEndpointConnection" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -99,7 +99,7 @@ public async Task Get_GetInformationAboutAPrivateEndpointConnectionUnderADiskAcc
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json
// this example is just showing the usage of "DiskAccesses_GetAPrivateEndpointConnection" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -130,7 +130,7 @@ public async Task Exists_GetInformationAboutAPrivateEndpointConnectionUnderADisk
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json
// this example is just showing the usage of "DiskAccesses_GetAPrivateEndpointConnection" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -173,7 +173,7 @@ public async Task GetIfExists_GetInformationAboutAPrivateEndpointConnectionUnder
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.json
// this example is just showing the usage of "DiskAccesses_ListPrivateEndpointConnections" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionResource.cs
index d1bbf96ccaa3..c5a61688bba2 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_ComputePrivateEndpointConnectionResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_ApproveAPrivateEndpointConnectionUnderADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json
// this example is just showing the usage of "DiskAccesses_UpdateAPrivateEndpointConnection" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -61,7 +61,7 @@ public async Task Update_ApproveAPrivateEndpointConnectionUnderADiskAccessResour
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json
// this example is just showing the usage of "DiskAccesses_GetAPrivateEndpointConnection" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -93,7 +93,7 @@ public async Task Get_GetInformationAboutAPrivateEndpointConnectionUnderADiskAcc
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteAPrivateEndpointConnectionUnderADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.json
// this example is just showing the usage of "DiskAccesses_DeleteAPrivateEndpointConnection" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostCollection.cs
index 51a6dd3d239c..ef901137f1ff 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_DedicatedHostCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateOrUpdateADedicatedHost()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json
// this example is just showing the usage of "DedicatedHosts_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -67,7 +67,7 @@ public async Task CreateOrUpdate_CreateOrUpdateADedicatedHost()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetADedicatedHost()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Get.json
// this example is just showing the usage of "DedicatedHosts_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -103,7 +103,7 @@ public async Task Get_GetADedicatedHost()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetADedicatedHost()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Get.json
// this example is just showing the usage of "DedicatedHosts_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -135,7 +135,7 @@ public async Task Exists_GetADedicatedHost()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetADedicatedHost()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Get.json
// this example is just showing the usage of "DedicatedHosts_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -179,7 +179,7 @@ public async Task GetIfExists_GetADedicatedHost()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_DedicatedHostListByHostGroupMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_ListByHostGroup_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_ListByHostGroup_MaximumSet_Gen.json
// this example is just showing the usage of "DedicatedHosts_ListByHostGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -216,7 +216,7 @@ public async Task GetAll_DedicatedHostListByHostGroupMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_DedicatedHostListByHostGroupMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_ListByHostGroup_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_ListByHostGroup_MinimumSet_Gen.json
// this example is just showing the usage of "DedicatedHosts_ListByHostGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupCollection.cs
index 4662d129c9fb..820f7175c470 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_DedicatedHostGroupCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateOrUpdateADedicatedHostGroupWithUltraSSDSupport()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json
// this example is just showing the usage of "DedicatedHostGroups_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -69,7 +69,7 @@ public async Task CreateOrUpdate_CreateOrUpdateADedicatedHostGroupWithUltraSSDSu
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateOrUpdateADedicatedHostGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json
// this example is just showing the usage of "DedicatedHostGroups_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -117,7 +117,7 @@ public async Task CreateOrUpdate_CreateOrUpdateADedicatedHostGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_CreateADedicatedHostGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json
// this example is just showing the usage of "DedicatedHostGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -151,7 +151,7 @@ public async Task Get_CreateADedicatedHostGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_CreateADedicatedHostGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json
// this example is just showing the usage of "DedicatedHostGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -181,7 +181,7 @@ public async Task Exists_CreateADedicatedHostGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_CreateADedicatedHostGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json
// this example is just showing the usage of "DedicatedHostGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -223,7 +223,7 @@ public async Task GetIfExists_CreateADedicatedHostGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_CreateAnUltraSSDEnabledDedicatedHostGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json
// this example is just showing the usage of "DedicatedHostGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -257,7 +257,7 @@ public async Task Get_CreateAnUltraSSDEnabledDedicatedHostGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_CreateAnUltraSSDEnabledDedicatedHostGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json
// this example is just showing the usage of "DedicatedHostGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -287,7 +287,7 @@ public async Task Exists_CreateAnUltraSSDEnabledDedicatedHostGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_CreateAnUltraSSDEnabledDedicatedHostGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json
// this example is just showing the usage of "DedicatedHostGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -329,7 +329,7 @@ public async Task GetIfExists_CreateAnUltraSSDEnabledDedicatedHostGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_DedicatedHostGroupListByResourceGroupMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MaximumSet_Gen.json
// this example is just showing the usage of "DedicatedHostGroups_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -365,7 +365,7 @@ public async Task GetAll_DedicatedHostGroupListByResourceGroupMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_DedicatedHostGroupListByResourceGroupMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MinimumSet_Gen.json
// this example is just showing the usage of "DedicatedHostGroups_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupResource.cs
index b846ae205c08..e392947354bc 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_DedicatedHostGroupResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_DedicatedHostGroupUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Update_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Update_MaximumSet_Gen.json
// this example is just showing the usage of "DedicatedHostGroups_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -65,7 +65,7 @@ public async Task Update_DedicatedHostGroupUpdateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_DedicatedHostGroupUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Update_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Update_MinimumSet_Gen.json
// this example is just showing the usage of "DedicatedHostGroups_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -97,7 +97,7 @@ public async Task Update_DedicatedHostGroupUpdateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DedicatedHostGroupDeleteMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Delete_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Delete_MaximumSet_Gen.json
// this example is just showing the usage of "DedicatedHostGroups_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -124,7 +124,7 @@ public async Task Delete_DedicatedHostGroupDeleteMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DedicatedHostGroupDeleteMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Delete_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Delete_MinimumSet_Gen.json
// this example is just showing the usage of "DedicatedHostGroups_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -151,7 +151,7 @@ public async Task Delete_DedicatedHostGroupDeleteMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_CreateADedicatedHostGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json
// this example is just showing the usage of "DedicatedHostGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -182,7 +182,7 @@ public async Task Get_CreateADedicatedHostGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_CreateAnUltraSSDEnabledDedicatedHostGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json
// this example is just showing the usage of "DedicatedHostGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -213,7 +213,7 @@ public async Task Get_CreateAnUltraSSDEnabledDedicatedHostGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetDedicatedHostGroups_DedicatedHostGroupListBySubscriptionMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MaximumSet_Gen.json
// this example is just showing the usage of "DedicatedHostGroups_ListBySubscription" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -245,7 +245,7 @@ public async Task GetDedicatedHostGroups_DedicatedHostGroupListBySubscriptionMax
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetDedicatedHostGroups_DedicatedHostGroupListBySubscriptionMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MinimumSet_Gen.json
// this example is just showing the usage of "DedicatedHostGroups_ListBySubscription" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostResource.cs
index 3d9b4a0c9d5a..c06bd27dd566 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_DedicatedHostResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_DedicatedHostUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_Update_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Update_MaximumSet_Gen.json
// this example is just showing the usage of "DedicatedHosts_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -63,7 +63,7 @@ public async Task Update_DedicatedHostUpdateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_DedicatedHostUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_Update_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Update_MinimumSet_Gen.json
// this example is just showing the usage of "DedicatedHosts_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -97,7 +97,7 @@ public async Task Update_DedicatedHostUpdateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_DedicatedHostUpdateResize()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_Update_Resize.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Update_Resize.json
// this example is just showing the usage of "DedicatedHosts_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -137,7 +137,7 @@ public async Task Update_DedicatedHostUpdateResize()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DedicatedHostDeleteMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_Delete_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Delete_MaximumSet_Gen.json
// this example is just showing the usage of "DedicatedHosts_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -165,7 +165,7 @@ public async Task Delete_DedicatedHostDeleteMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DedicatedHostDeleteMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_Delete_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Delete_MinimumSet_Gen.json
// this example is just showing the usage of "DedicatedHosts_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -193,7 +193,7 @@ public async Task Delete_DedicatedHostDeleteMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetADedicatedHost()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Get.json
// this example is just showing the usage of "DedicatedHosts_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -226,7 +226,7 @@ public async Task Get_GetADedicatedHost()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Restart_RestartDedicatedHost()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_Restart.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Restart.json
// this example is just showing the usage of "DedicatedHosts_Restart" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -254,7 +254,7 @@ public async Task Restart_RestartDedicatedHost()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Redeploy_RedeployDedicatedHost()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_Redeploy.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Redeploy.json
// this example is just showing the usage of "DedicatedHosts_Redeploy" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -282,7 +282,7 @@ public async Task Redeploy_RedeployDedicatedHost()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAvailableSizes_GetAvailableDedicatedHostSizes()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/dedicatedHostExamples/DedicatedHost_ListAvailableSizes.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_ListAvailableSizes.json
// this example is just showing the usage of "DedicatedHosts_ListAvailableSizes" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessCollection.cs
index 4dac2c643882..4813a47a7efe 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_DiskAccessCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_Create.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Create.json
// this example is just showing the usage of "DiskAccesses_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -56,7 +56,7 @@ public async Task CreateOrUpdate_CreateADiskAccessResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutADiskAccessResourceWithPrivateEndpoints()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json
// this example is just showing the usage of "DiskAccesses_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -90,7 +90,7 @@ public async Task Get_GetInformationAboutADiskAccessResourceWithPrivateEndpoints
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetInformationAboutADiskAccessResourceWithPrivateEndpoints()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json
// this example is just showing the usage of "DiskAccesses_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -120,7 +120,7 @@ public async Task Exists_GetInformationAboutADiskAccessResourceWithPrivateEndpoi
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetInformationAboutADiskAccessResourceWithPrivateEndpoints()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json
// this example is just showing the usage of "DiskAccesses_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -162,7 +162,7 @@ public async Task GetIfExists_GetInformationAboutADiskAccessResourceWithPrivateE
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get.json
// this example is just showing the usage of "DiskAccesses_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -196,7 +196,7 @@ public async Task Get_GetInformationAboutADiskAccessResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetInformationAboutADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get.json
// this example is just showing the usage of "DiskAccesses_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -226,7 +226,7 @@ public async Task Exists_GetInformationAboutADiskAccessResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetInformationAboutADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get.json
// this example is just showing the usage of "DiskAccesses_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -268,7 +268,7 @@ public async Task GetIfExists_GetInformationAboutADiskAccessResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_ListAllDiskAccessResourcesInAResourceGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_ListByResourceGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_ListByResourceGroup.json
// this example is just showing the usage of "DiskAccesses_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessResource.cs
index 6a2912480098..b1b8a5e113f8 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_DiskAccessResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_Update.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Update.json
// this example is just showing the usage of "DiskAccesses_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -61,7 +61,7 @@ public async Task Update_UpdateADiskAccessResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutADiskAccessResourceWithPrivateEndpoints()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json
// this example is just showing the usage of "DiskAccesses_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -92,7 +92,7 @@ public async Task Get_GetInformationAboutADiskAccessResourceWithPrivateEndpoints
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get.json
// this example is just showing the usage of "DiskAccesses_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -123,7 +123,7 @@ public async Task Get_GetInformationAboutADiskAccessResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteADiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_Delete.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Delete.json
// this example is just showing the usage of "DiskAccesses_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -150,7 +150,7 @@ public async Task Delete_DeleteADiskAccessResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetDiskAccesses_ListAllDiskAccessResourcesInASubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccess_ListBySubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_ListBySubscription.json
// this example is just showing the usage of "DiskAccesses_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -182,7 +182,7 @@ public async Task GetDiskAccesses_ListAllDiskAccessResourcesInASubscription()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetPrivateLinkResources_ListAllPossiblePrivateLinkResourcesUnderDiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskAccessExamples/DiskAccessPrivateLinkResources_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateLinkResources_Get.json
// this example is just showing the usage of "DiskAccesses_GetPrivateLinkResources" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetCollection.cs
index 11fcd188062f..2fc438e848cf 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetCollection.cs
@@ -22,7 +22,7 @@ public partial class Sample_DiskEncryptionSetCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateADiskEncryptionSetWithKeyVaultFromADifferentSubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.json
// this example is just showing the usage of "DiskEncryptionSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -63,7 +63,7 @@ public async Task CreateOrUpdate_CreateADiskEncryptionSetWithKeyVaultFromADiffer
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateADiskEncryptionSetWithKeyVaultFromADifferentTenant()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.json
// this example is just showing the usage of "DiskEncryptionSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -111,7 +111,7 @@ public async Task CreateOrUpdate_CreateADiskEncryptionSetWithKeyVaultFromADiffer
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateADiskEncryptionSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create.json
// this example is just showing the usage of "DiskEncryptionSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -155,7 +155,7 @@ public async Task CreateOrUpdate_CreateADiskEncryptionSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json
// this example is just showing the usage of "DiskEncryptionSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -189,7 +189,7 @@ public async Task Get_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFa
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json
// this example is just showing the usage of "DiskEncryptionSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -219,7 +219,7 @@ public async Task Exists_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotatio
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json
// this example is just showing the usage of "DiskEncryptionSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -261,7 +261,7 @@ public async Task GetIfExists_GetInformationAboutADiskEncryptionSetWhenAutoKeyRo
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutADiskEncryptionSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json
// this example is just showing the usage of "DiskEncryptionSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -295,7 +295,7 @@ public async Task Get_GetInformationAboutADiskEncryptionSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetInformationAboutADiskEncryptionSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json
// this example is just showing the usage of "DiskEncryptionSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -325,7 +325,7 @@ public async Task Exists_GetInformationAboutADiskEncryptionSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetInformationAboutADiskEncryptionSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json
// this example is just showing the usage of "DiskEncryptionSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -367,7 +367,7 @@ public async Task GetIfExists_GetInformationAboutADiskEncryptionSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_ListAllDiskEncryptionSetsInAResourceGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.json
// this example is just showing the usage of "DiskEncryptionSets_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetResource.cs
index 29667fb503e4..57e882b72875 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetResource.cs
@@ -22,7 +22,7 @@ public partial class Sample_DiskEncryptionSetResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueSucceeded()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.json
// this example is just showing the usage of "DiskEncryptionSets_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -61,7 +61,7 @@ public async Task Update_UpdateADiskEncryptionSetWithRotationToLatestKeyVersionE
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueUpdating()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.json
// this example is just showing the usage of "DiskEncryptionSets_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -100,7 +100,7 @@ public async Task Update_UpdateADiskEncryptionSetWithRotationToLatestKeyVersionE
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateADiskEncryptionSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update.json
// this example is just showing the usage of "DiskEncryptionSets_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -145,7 +145,7 @@ public async Task Update_UpdateADiskEncryptionSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json
// this example is just showing the usage of "DiskEncryptionSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -176,7 +176,7 @@ public async Task Get_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFa
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutADiskEncryptionSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json
// this example is just showing the usage of "DiskEncryptionSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -207,7 +207,7 @@ public async Task Get_GetInformationAboutADiskEncryptionSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteADiskEncryptionSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Delete.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Delete.json
// this example is just showing the usage of "DiskEncryptionSets_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -234,7 +234,7 @@ public async Task Delete_DeleteADiskEncryptionSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetDiskEncryptionSets_ListAllDiskEncryptionSetsInASubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.json
// this example is just showing the usage of "DiskEncryptionSets_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -266,7 +266,7 @@ public async Task GetDiskEncryptionSets_ListAllDiskEncryptionSetsInASubscription
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAssociatedResources_ListAllResourcesThatAreEncryptedWithThisDiskEncryptionSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.json
// this example is just showing the usage of "DiskEncryptionSets_ListAssociatedResources" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageCollection.cs
index 3e4fde7c1449..197b9c69fcc2 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_DiskImageCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVirtualMachineImageFromABlobWithDiskEncryptionSetResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.json
// this example is just showing the usage of "Images_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -67,7 +67,7 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromABlobWithDiskEncr
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVirtualMachineImageFromABlob()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_CreateFromABlob.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromABlob.json
// this example is just showing the usage of "Images_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -113,7 +113,7 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromABlob()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.json
// this example is just showing the usage of "Images_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -159,7 +159,7 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAManagedDiskWithD
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAManagedDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_CreateFromAManagedDisk.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromAManagedDisk.json
// this example is just showing the usage of "Images_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -205,7 +205,7 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAManagedDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.json
// this example is just showing the usage of "Images_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -251,7 +251,7 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromASnapshotWithDisk
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVirtualMachineImageFromASnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_CreateFromASnapshot.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromASnapshot.json
// this example is just showing the usage of "Images_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -297,7 +297,7 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromASnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAnExistingVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_CreateFromAVM.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromAVM.json
// this example is just showing the usage of "Images_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -336,7 +336,7 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAnExistingVirtual
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDiskFromABlob()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_Create_DataDiskFromABlobIncluded.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Create_DataDiskFromABlobIncluded.json
// this example is just showing the usage of "Images_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -389,7 +389,7 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDisk
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.json
// this example is just showing the usage of "Images_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -442,7 +442,7 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDisk
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDiskFromASnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.json
// this example is just showing the usage of "Images_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -495,7 +495,7 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDisk
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutAVirtualMachineImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Get.json
// this example is just showing the usage of "Images_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -529,7 +529,7 @@ public async Task Get_GetInformationAboutAVirtualMachineImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetInformationAboutAVirtualMachineImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Get.json
// this example is just showing the usage of "Images_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -559,7 +559,7 @@ public async Task Exists_GetInformationAboutAVirtualMachineImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetInformationAboutAVirtualMachineImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Get.json
// this example is just showing the usage of "Images_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -601,7 +601,7 @@ public async Task GetIfExists_GetInformationAboutAVirtualMachineImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_ListAllVirtualMachineImagesInAResourceGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_ListByResourceGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_ListByResourceGroup.json
// this example is just showing the usage of "Images_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageResource.cs
index 38c47436abfa..f61afb36162f 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_DiskImageResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdatesTagsOfAnImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_Update.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Update.json
// this example is just showing the usage of "Images_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -62,7 +62,7 @@ public async Task Update_UpdatesTagsOfAnImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_ImageDeleteMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Images_Delete_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Images_Delete_MaximumSet_Gen.json
// this example is just showing the usage of "Images_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -89,7 +89,7 @@ public async Task Delete_ImageDeleteMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_ImageDeleteMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Images_Delete_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Images_Delete_MinimumSet_Gen.json
// this example is just showing the usage of "Images_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -116,7 +116,7 @@ public async Task Delete_ImageDeleteMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutAVirtualMachineImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Get.json
// this example is just showing the usage of "Images_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -147,7 +147,7 @@ public async Task Get_GetInformationAboutAVirtualMachineImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetDiskImages_ListAllVirtualMachineImagesInASubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/imageExamples/Image_ListBySubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_ListBySubscription.json
// this example is just showing the usage of "Images_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointCollection.cs
index 3c9bb934a58d..dfd22e80d1ae 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointCollection.cs
@@ -19,7 +19,7 @@ public partial class Sample_DiskRestorePointCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAnIncrementalDiskRestorePointResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json
// this example is just showing the usage of "DiskRestorePoint_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -55,7 +55,7 @@ public async Task Get_GetAnIncrementalDiskRestorePointResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetAnIncrementalDiskRestorePointResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json
// this example is just showing the usage of "DiskRestorePoint_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -87,7 +87,7 @@ public async Task Exists_GetAnIncrementalDiskRestorePointResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetAnIncrementalDiskRestorePointResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json
// this example is just showing the usage of "DiskRestorePoint_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -131,7 +131,7 @@ public async Task GetIfExists_GetAnIncrementalDiskRestorePointResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json
// this example is just showing the usage of "DiskRestorePoint_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -167,7 +167,7 @@ public async Task Get_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromAD
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json
// this example is just showing the usage of "DiskRestorePoint_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -199,7 +199,7 @@ public async Task Exists_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFro
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json
// this example is just showing the usage of "DiskRestorePoint_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -243,7 +243,7 @@ public async Task GetIfExists_GetAnIncrementalDiskRestorePointWhenSourceResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetAnIncrementalDiskRestorePointResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json
// this example is just showing the usage of "DiskRestorePoint_ListByRestorePoint" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointResource.cs
index f48a97fb28cc..fea879c3541c 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_DiskRestorePointResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAnIncrementalDiskRestorePointResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json
// this example is just showing the usage of "DiskRestorePoint_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -53,7 +53,7 @@ public async Task Get_GetAnIncrementalDiskRestorePointResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json
// this example is just showing the usage of "DiskRestorePoint_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -86,7 +86,7 @@ public async Task Get_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromAD
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GrantAccess_GrantsAccessToADiskRestorePoint()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.json
// this example is just showing the usage of "DiskRestorePoint_GrantAccess" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -120,7 +120,7 @@ public async Task GrantAccess_GrantsAccessToADiskRestorePoint()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RevokeAccess_RevokesAccessToADiskRestorePoint()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.json
// this example is just showing the usage of "DiskRestorePoint_RevokeAccess" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskCollection.cs
index 9622a9ba9380..3d4754fdd785 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskCollection.cs
@@ -22,7 +22,7 @@ public partial class Sample_ManagedDiskCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -73,7 +73,7 @@ public async Task CreateOrUpdate_CreateAConfidentialVMSupportedDiskEncryptedWith
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskAndAssociateWithDiskAccessResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_WithDiskAccess.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithDiskAccess.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -115,7 +115,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskAndAssociateWithDiskAccessRes
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskAndAssociateWithDiskEncryptionSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_WithDiskEncryptionSet.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithDiskEncryptionSet.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -159,7 +159,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskAndAssociateWithDiskEncryptio
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskByCopyingASnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_ByCopyingASnapshot.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_ByCopyingASnapshot.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -201,7 +201,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskByCopyingASnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -244,7 +244,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskByImportingAnUnmanagedBlobFro
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -286,7 +286,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskByImportingAnUnmanagedBlobFro
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskFromImportSecureCreateOption()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_FromImportSecure.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromImportSecure.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -335,7 +335,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromImportSecureCreateOption(
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskFromUploadPreparedSecureCreateOption()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_FromUploadPreparedSecure.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromUploadPreparedSecure.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -382,7 +382,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromUploadPreparedSecureCreat
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskFromAPlatformImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_FromAPlatformImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAPlatformImage.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -428,7 +428,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromAPlatformImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryCommunityImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -474,7 +474,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryComm
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryDirectSharedImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -520,7 +520,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryDire
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -566,7 +566,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryImag
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_FromAnExistingManagedDisk.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAnExistingManagedDisk.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -608,7 +608,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromAnExistingManagedDiskInTh
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskFromElasticSanVolumeSnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_FromAnElasticSanVolumeSnapshot.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAnElasticSanVolumeSnapshot.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -650,7 +650,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromElasticSanVolumeSnapshot(
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskWithDataAccessAuthMode()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_WithDataAccessAuthMode.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithDataAccessAuthMode.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -691,7 +691,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithDataAccessAuthMode()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskWithOptimizedForFrequentAttach()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_WithOptimizedForFrequentAttach.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithOptimizedForFrequentAttach.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -732,7 +732,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithOptimizedForFrequentAttac
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskWithPerformancePlus()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_PerformancePlus.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_PerformancePlus.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -774,7 +774,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithPerformancePlus()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskWithPremiumV2AccountType()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -820,7 +820,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithPremiumV2AccountType()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskWithSecurityProfile()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_WithSecurityProfile.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithSecurityProfile.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -870,7 +870,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithSecurityProfile()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskWithSsdZrsAccountType()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_WithSSDZRSAccountType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithSSDZRSAccountType.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -914,7 +914,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithSsdZrsAccountType()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_WithUltraSSD_ReadOnly.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithUltraSSD_ReadOnly.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -967,7 +967,7 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithUltraAccountTypeWithReadO
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAManagedUploadDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_UploadDisk.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_UploadDisk.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1009,7 +1009,7 @@ public async Task CreateOrUpdate_CreateAManagedUploadDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAnEmptyManagedDiskInExtendedLocation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_InExtendedLocation.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_InExtendedLocation.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1053,7 +1053,7 @@ public async Task CreateOrUpdate_CreateAnEmptyManagedDiskInExtendedLocation()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAnEmptyManagedDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_Empty.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_Empty.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1093,7 +1093,7 @@ public async Task CreateOrUpdate_CreateAnEmptyManagedDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAnUltraManagedDiskWithLogicalSectorSize512E()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Create_WithLogicalSectorSize.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithLogicalSectorSize.json
// this example is just showing the usage of "Disks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1140,7 +1140,7 @@ public async Task CreateOrUpdate_CreateAnUltraManagedDiskWithLogicalSectorSize51
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutAManagedDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Get.json
// this example is just showing the usage of "Disks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1174,7 +1174,7 @@ public async Task Get_GetInformationAboutAManagedDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetInformationAboutAManagedDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Get.json
// this example is just showing the usage of "Disks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1204,7 +1204,7 @@ public async Task Exists_GetInformationAboutAManagedDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetInformationAboutAManagedDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Get.json
// this example is just showing the usage of "Disks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1246,7 +1246,7 @@ public async Task GetIfExists_GetInformationAboutAManagedDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_ListAllManagedDisksInAResourceGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_ListByResourceGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_ListByResourceGroup.json
// this example is just showing the usage of "Disks_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskResource.cs
index d572806803d3..419ba7de9bda 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_ManagedDiskResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_CreateOrUpdateABurstingEnabledManagedDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.json
// this example is just showing the usage of "Disks_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -58,7 +58,7 @@ public async Task Update_CreateOrUpdateABurstingEnabledManagedDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateAManagedDiskToAddAcceleratedNetworking()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Update_AddAcceleratedNetworking.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_AddAcceleratedNetworking.json
// this example is just showing the usage of "Disks_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -97,7 +97,7 @@ public async Task Update_UpdateAManagedDiskToAddAcceleratedNetworking()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateAManagedDiskToAddArchitecture()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Update_ToAddArchitecture.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_ToAddArchitecture.json
// this example is just showing the usage of "Disks_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -136,7 +136,7 @@ public async Task Update_UpdateAManagedDiskToAddArchitecture()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateAManagedDiskToAddPurchasePlan()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Update_AddPurchasePlan.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_AddPurchasePlan.json
// this example is just showing the usage of "Disks_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -175,7 +175,7 @@ public async Task Update_UpdateAManagedDiskToAddPurchasePlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateAManagedDiskToAddSupportsHibernation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Update_AddSupportsHibernation.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_AddSupportsHibernation.json
// this example is just showing the usage of "Disks_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -211,7 +211,7 @@ public async Task Update_UpdateAManagedDiskToAddSupportsHibernation()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateAManagedDiskToChangeTier()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Update_ChangeTier.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_ChangeTier.json
// this example is just showing the usage of "Disks_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -247,7 +247,7 @@ public async Task Update_UpdateAManagedDiskToChangeTier()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateAManagedDiskToDisableBursting()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Update_DisableBursting.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_DisableBursting.json
// this example is just showing the usage of "Disks_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -283,7 +283,7 @@ public async Task Update_UpdateAManagedDiskToDisableBursting()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateAManagedDiskToDisableOptimizedForFrequentAttach()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Update_DisableOptimizedForFrequentAttach.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_DisableOptimizedForFrequentAttach.json
// this example is just showing the usage of "Disks_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -319,7 +319,7 @@ public async Task Update_UpdateAManagedDiskToDisableOptimizedForFrequentAttach()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateAManagedDiskWithDiskControllerTypes()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Update_AddDiskControllerTypes.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_AddDiskControllerTypes.json
// this example is just showing the usage of "Disks_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -358,7 +358,7 @@ public async Task Update_UpdateAManagedDiskWithDiskControllerTypes()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateManagedDiskToRemoveDiskAccessResourceAssociation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Update_RemoveDiskAccess.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_RemoveDiskAccess.json
// this example is just showing the usage of "Disks_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -394,7 +394,7 @@ public async Task Update_UpdateManagedDiskToRemoveDiskAccessResourceAssociation(
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutAManagedDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Get.json
// this example is just showing the usage of "Disks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -425,7 +425,7 @@ public async Task Get_GetInformationAboutAManagedDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteAManagedDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_Delete.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Delete.json
// this example is just showing the usage of "Disks_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -452,7 +452,7 @@ public async Task Delete_DeleteAManagedDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetManagedDisks_ListAllManagedDisksInASubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_ListBySubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_ListBySubscription.json
// this example is just showing the usage of "Disks_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -484,7 +484,7 @@ public async Task GetManagedDisks_ListAllManagedDisksInASubscription()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GrantAccess_GetASasOnAManagedDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_BeginGetAccess.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_BeginGetAccess.json
// this example is just showing the usage of "Disks_GrantAccess" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -516,7 +516,7 @@ public async Task GrantAccess_GetASasOnAManagedDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GrantAccess_GetSasOnManagedDiskAndVMGuestState()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_BeginGetAccess_WithVMGuestState.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_BeginGetAccess_WithVMGuestState.json
// this example is just showing the usage of "Disks_GrantAccess" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -548,7 +548,7 @@ public async Task GrantAccess_GetSasOnManagedDiskAndVMGuestState()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RevokeAccess_RevokeAccessToAManagedDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/diskExamples/Disk_EndGetAccess.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_EndGetAccess.json
// this example is just showing the usage of "Disks_RevokeAccess" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupCollection.cs
index f748329831ef..48462229016b 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_ProximityPlacementGroupCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateOrUpdateAProximityPlacementGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json
// this example is just showing the usage of "ProximityPlacementGroups_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -68,7 +68,7 @@ public async Task CreateOrUpdate_CreateOrUpdateAProximityPlacementGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetProximityPlacementGroups()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json
// this example is just showing the usage of "ProximityPlacementGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -102,7 +102,7 @@ public async Task Get_GetProximityPlacementGroups()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetProximityPlacementGroups()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json
// this example is just showing the usage of "ProximityPlacementGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -132,7 +132,7 @@ public async Task Exists_GetProximityPlacementGroups()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetProximityPlacementGroups()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json
// this example is just showing the usage of "ProximityPlacementGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -174,7 +174,7 @@ public async Task GetIfExists_GetProximityPlacementGroups()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_ListProximityPlacementGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json
// this example is just showing the usage of "ProximityPlacementGroups_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupResource.cs
index fd2910e1b341..73f9e5600c5f 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_ProximityPlacementGroupResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateAProximityPlacementGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json
// this example is just showing the usage of "ProximityPlacementGroups_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -59,7 +59,7 @@ public async Task Update_UpdateAProximityPlacementGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteAProximityPlacementGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json
// this example is just showing the usage of "ProximityPlacementGroups_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -86,7 +86,7 @@ public async Task Delete_DeleteAProximityPlacementGroup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetProximityPlacementGroups()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json
// this example is just showing the usage of "ProximityPlacementGroups_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -117,7 +117,7 @@ public async Task Get_GetProximityPlacementGroups()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetProximityPlacementGroups_ListProximityPlacementGroups()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json
// this example is just showing the usage of "ProximityPlacementGroups_ListBySubscription" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointCollection.cs
index b1c2d6815157..a626baa023fd 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_RestorePointCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CopyARestorePointToADifferentRegion()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json
// this example is just showing the usage of "RestorePoints_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -60,7 +60,7 @@ public async Task CreateOrUpdate_CopyARestorePointToADifferentRegion()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateARestorePoint()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Create.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Create.json
// this example is just showing the usage of "RestorePoints_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -106,7 +106,7 @@ public async Task CreateOrUpdate_CreateARestorePoint()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetARestorePoint()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get.json
// this example is just showing the usage of "RestorePoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -141,7 +141,7 @@ public async Task Get_GetARestorePoint()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetARestorePoint()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get.json
// this example is just showing the usage of "RestorePoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -172,7 +172,7 @@ public async Task Exists_GetARestorePoint()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetARestorePoint()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get.json
// this example is just showing the usage of "RestorePoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -215,7 +215,7 @@ public async Task GetIfExists_GetARestorePoint()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetRestorePointWithInstanceView()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json
// this example is just showing the usage of "RestorePoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -250,7 +250,7 @@ public async Task Get_GetRestorePointWithInstanceView()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetRestorePointWithInstanceView()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json
// this example is just showing the usage of "RestorePoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -281,7 +281,7 @@ public async Task Exists_GetRestorePointWithInstanceView()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetRestorePointWithInstanceView()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json
// this example is just showing the usage of "RestorePoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupCollection.cs
index 278e49e1ce45..90f19542dd5f 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_RestorePointGroupCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateOrUpdateARestorePointCollectionForCrossRegionCopy()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json
// this example is just showing the usage of "RestorePointCollections_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -67,7 +67,7 @@ public async Task CreateOrUpdate_CreateOrUpdateARestorePointCollectionForCrossRe
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateOrUpdateARestorePointCollection()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_CreateOrUpdate.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_CreateOrUpdate.json
// this example is just showing the usage of "RestorePointCollections_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -113,7 +113,7 @@ public async Task CreateOrUpdate_CreateOrUpdateARestorePointCollection()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get.json
// this example is just showing the usage of "RestorePointCollections_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -147,7 +147,7 @@ public async Task Get_GetARestorePointCollectionButNotTheRestorePointsContainedI
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get.json
// this example is just showing the usage of "RestorePointCollections_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -177,7 +177,7 @@ public async Task Exists_GetARestorePointCollectionButNotTheRestorePointsContain
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get.json
// this example is just showing the usage of "RestorePointCollections_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -219,7 +219,7 @@ public async Task GetIfExists_GetARestorePointCollectionButNotTheRestorePointsCo
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json
// this example is just showing the usage of "RestorePointCollections_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -253,7 +253,7 @@ public async Task Get_GetARestorePointCollectionIncludingTheRestorePointsContain
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json
// this example is just showing the usage of "RestorePointCollections_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -283,7 +283,7 @@ public async Task Exists_GetARestorePointCollectionIncludingTheRestorePointsCont
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json
// this example is just showing the usage of "RestorePointCollections_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -325,7 +325,7 @@ public async Task GetIfExists_GetARestorePointCollectionIncludingTheRestorePoint
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfRestorePointCollectionsInAResourceGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_ListByResourceGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_ListByResourceGroup.json
// this example is just showing the usage of "RestorePointCollections_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupResource.cs
index 55d04bdc1b56..5629709a8917 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_RestorePointGroupResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_RestorePointCollectionUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Update_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Update_MaximumSet_Gen.json
// this example is just showing the usage of "RestorePointCollections_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -63,7 +63,7 @@ public async Task Update_RestorePointCollectionUpdateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_RestorePointCollectionUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Update_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Update_MinimumSet_Gen.json
// this example is just showing the usage of "RestorePointCollections_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -95,7 +95,7 @@ public async Task Update_RestorePointCollectionUpdateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_RestorePointCollectionDeleteMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Delete_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Delete_MaximumSet_Gen.json
// this example is just showing the usage of "RestorePointCollections_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -122,7 +122,7 @@ public async Task Delete_RestorePointCollectionDeleteMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_RestorePointCollectionDeleteMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Delete_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Delete_MinimumSet_Gen.json
// this example is just showing the usage of "RestorePointCollections_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -149,7 +149,7 @@ public async Task Delete_RestorePointCollectionDeleteMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get.json
// this example is just showing the usage of "RestorePointCollections_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -180,7 +180,7 @@ public async Task Get_GetARestorePointCollectionButNotTheRestorePointsContainedI
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json
// this example is just showing the usage of "RestorePointCollections_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -211,7 +211,7 @@ public async Task Get_GetARestorePointCollectionIncludingTheRestorePointsContain
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetRestorePointGroups_GetsTheListOfRestorePointCollectionsInASubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePointCollection_ListBySubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_ListBySubscription.json
// this example is just showing the usage of "RestorePointCollections_ListAll" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointResource.cs
index 80a253862449..35ca6bb17350 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_RestorePointResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_CopyARestorePointToADifferentRegion()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json
// this example is just showing the usage of "RestorePoints_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -57,7 +57,7 @@ public async Task Update_CopyARestorePointToADifferentRegion()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_CreateARestorePoint()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Create.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Create.json
// this example is just showing the usage of "RestorePoints_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -100,7 +100,7 @@ public async Task Update_CreateARestorePoint()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_RestorePointDeleteMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Delete_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Delete_MaximumSet_Gen.json
// this example is just showing the usage of "RestorePoints_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -128,7 +128,7 @@ public async Task Delete_RestorePointDeleteMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_RestorePointDeleteMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Delete_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Delete_MinimumSet_Gen.json
// this example is just showing the usage of "RestorePoints_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -156,7 +156,7 @@ public async Task Delete_RestorePointDeleteMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetARestorePoint()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get.json
// this example is just showing the usage of "RestorePoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -188,7 +188,7 @@ public async Task Get_GetARestorePoint()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetRestorePointWithInstanceView()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json
// this example is just showing the usage of "RestorePoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotCollection.cs
index 5a1a1912945a..f6f3e9560e08 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_SnapshotCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.json
// this example is just showing the usage of "Snapshots_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -64,7 +64,7 @@ public async Task CreateOrUpdate_CreateASnapshotByImportingAnUnmanagedBlobFromAD
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.json
// this example is just showing the usage of "Snapshots_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -106,7 +106,7 @@ public async Task CreateOrUpdate_CreateASnapshotByImportingAnUnmanagedBlobFromTh
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateASnapshotFromAnElasticSanVolumeSnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Create_FromAnElasticSanVolumeSnapshot.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_FromAnElasticSanVolumeSnapshot.json
// this example is just showing the usage of "Snapshots_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -148,7 +148,7 @@ public async Task CreateOrUpdate_CreateASnapshotFromAnElasticSanVolumeSnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscriptionInADifferentRegionWithQuickerCopySpeed()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Create_EnhancedProvisionedBandwidthCopySpeed.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_EnhancedProvisionedBandwidthCopySpeed.json
// this example is just showing the usage of "Snapshots_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -191,7 +191,7 @@ public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameO
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscriptionInADifferentRegion()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.json
// this example is just showing the usage of "Snapshots_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -233,7 +233,7 @@ public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameO
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.json
// this example is just showing the usage of "Snapshots_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -275,7 +275,7 @@ public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameO
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutASnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Get.json
// this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -309,7 +309,7 @@ public async Task Get_GetInformationAboutASnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetInformationAboutASnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Get.json
// this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -339,7 +339,7 @@ public async Task Exists_GetInformationAboutASnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetInformationAboutASnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Get.json
// this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -381,7 +381,7 @@ public async Task GetIfExists_GetInformationAboutASnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutAnIncrementalSnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json
// this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -415,7 +415,7 @@ public async Task Get_GetInformationAboutAnIncrementalSnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetInformationAboutAnIncrementalSnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json
// this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -445,7 +445,7 @@ public async Task Exists_GetInformationAboutAnIncrementalSnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetInformationAboutAnIncrementalSnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json
// this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -487,7 +487,7 @@ public async Task GetIfExists_GetInformationAboutAnIncrementalSnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_ListAllSnapshotsInAResourceGroup()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_ListByResourceGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_ListByResourceGroup.json
// this example is just showing the usage of "Snapshots_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotResource.cs
index 55b3ea8ce23e..a1f5cf3c675c 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_SnapshotResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateASnapshotWithAcceleratedNetworking()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.json
// this example is just showing the usage of "Snapshots_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -66,7 +66,7 @@ public async Task Update_UpdateASnapshotWithAcceleratedNetworking()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateASnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Update.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Update.json
// this example is just showing the usage of "Snapshots_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -107,7 +107,7 @@ public async Task Update_UpdateASnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutASnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Get.json
// this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -138,7 +138,7 @@ public async Task Get_GetInformationAboutASnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetInformationAboutAnIncrementalSnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json
// this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -169,7 +169,7 @@ public async Task Get_GetInformationAboutAnIncrementalSnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteASnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_Delete.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Delete.json
// this example is just showing the usage of "Snapshots_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -196,7 +196,7 @@ public async Task Delete_DeleteASnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSnapshots_ListAllSnapshotsInASubscription()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_ListBySubscription.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_ListBySubscription.json
// this example is just showing the usage of "Snapshots_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -228,7 +228,7 @@ public async Task GetSnapshots_ListAllSnapshotsInASubscription()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GrantAccess_GetASasOnASnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_BeginGetAccess.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_BeginGetAccess.json
// this example is just showing the usage of "Snapshots_GrantAccess" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -260,7 +260,7 @@ public async Task GrantAccess_GetASasOnASnapshot()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RevokeAccess_RevokeAccessToASnapshot()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-10-02/examples/snapshotExamples/Snapshot_EndGetAccess.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_EndGetAccess.json
// this example is just showing the usage of "Snapshots_RevokeAccess" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyCollection.cs
index 3cdfe79a85be..656fb087eb44 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_SshPublicKeyCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_SshPublicKeyListByResourceGroupMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MaximumSet_Gen.json
// this example is just showing the usage of "SshPublicKeys_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -56,7 +56,7 @@ public async Task GetAll_SshPublicKeyListByResourceGroupMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_SshPublicKeyListByResourceGroupMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MinimumSet_Gen.json
// this example is just showing the usage of "SshPublicKeys_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -92,7 +92,7 @@ public async Task GetAll_SshPublicKeyListByResourceGroupMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateANewSSHPublicKeyResource()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_Create.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Create.json
// this example is just showing the usage of "SshPublicKeys_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -131,7 +131,7 @@ public async Task CreateOrUpdate_CreateANewSSHPublicKeyResource()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAnSshPublicKey()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json
// this example is just showing the usage of "SshPublicKeys_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -165,7 +165,7 @@ public async Task Get_GetAnSshPublicKey()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetAnSshPublicKey()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json
// this example is just showing the usage of "SshPublicKeys_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -195,7 +195,7 @@ public async Task Exists_GetAnSshPublicKey()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetAnSshPublicKey()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json
// this example is just showing the usage of "SshPublicKeys_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyResource.cs
index 06c213099020..bf39ea29ce94 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_SshPublicKeyResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSshPublicKeys_SshPublicKeyListBySubscriptionMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_ListBySubscription_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_ListBySubscription_MaximumSet_Gen.json
// this example is just showing the usage of "SshPublicKeys_ListBySubscription" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -53,7 +53,7 @@ public async Task GetSshPublicKeys_SshPublicKeyListBySubscriptionMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSshPublicKeys_SshPublicKeyListBySubscriptionMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_ListBySubscription_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_ListBySubscription_MinimumSet_Gen.json
// this example is just showing the usage of "SshPublicKeys_ListBySubscription" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -85,7 +85,7 @@ public async Task GetSshPublicKeys_SshPublicKeyListBySubscriptionMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_SshPublicKeyUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_Update_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Update_MaximumSet_Gen.json
// this example is just showing the usage of "SshPublicKeys_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -124,7 +124,7 @@ public async Task Update_SshPublicKeyUpdateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_SshPublicKeyUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_Update_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Update_MinimumSet_Gen.json
// this example is just showing the usage of "SshPublicKeys_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -156,7 +156,7 @@ public async Task Update_SshPublicKeyUpdateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_SshPublicKeyDeleteMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_Delete_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Delete_MaximumSet_Gen.json
// this example is just showing the usage of "SshPublicKeys_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -183,7 +183,7 @@ public async Task Delete_SshPublicKeyDeleteMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_SshPublicKeyDeleteMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_Delete_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Delete_MinimumSet_Gen.json
// this example is just showing the usage of "SshPublicKeys_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -210,7 +210,7 @@ public async Task Delete_SshPublicKeyDeleteMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAnSshPublicKey()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json
// this example is just showing the usage of "SshPublicKeys_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -241,7 +241,7 @@ public async Task Get_GetAnSshPublicKey()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GenerateKeyPair_GenerateAnSSHKeyPairWithEd25519Encryption()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_GenerateKeyPair_EncryptionWithEd25519.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_GenerateKeyPair_EncryptionWithEd25519.json
// this example is just showing the usage of "SshPublicKeys_GenerateKeyPair" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -260,7 +260,7 @@ public async Task GenerateKeyPair_GenerateAnSSHKeyPairWithEd25519Encryption()
// invoke the operation
SshGenerateKeyPairInputContent content = new SshGenerateKeyPairInputContent()
{
- EncryptionType = SshEncryptionType.RSA,
+ EncryptionType = SshEncryptionType.Ed25519,
};
SshPublicKeyGenerateKeyPairResult result = await sshPublicKey.GenerateKeyPairAsync(content: content);
@@ -272,7 +272,7 @@ public async Task GenerateKeyPair_GenerateAnSSHKeyPairWithEd25519Encryption()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GenerateKeyPair_GenerateAnSSHKeyPairWithRSAEncryption()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_GenerateKeyPair_EncryptionWithRSA.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_GenerateKeyPair_EncryptionWithRSA.json
// this example is just showing the usage of "SshPublicKeys_GenerateKeyPair" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -303,7 +303,7 @@ public async Task GenerateKeyPair_GenerateAnSSHKeyPairWithRSAEncryption()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GenerateKeyPair_GenerateAnSSHKeyPair()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/sshPublicKeyExamples/SshPublicKey_GenerateKeyPair.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_GenerateKeyPair.json
// this example is just showing the usage of "SshPublicKeys_GenerateKeyPair" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs
index 0bcdb3d0eafc..a1d33d2dd501 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs
@@ -21,7 +21,7 @@ public partial class Sample_SubscriptionResourceExtensions
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetUsages_UsageListMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/computeRPCommonExamples/Usage_List_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/computeRPCommonExamples/Usage_List_MaximumSet_Gen.json
// this example is just showing the usage of "Usage_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -50,7 +50,7 @@ public async Task GetUsages_UsageListMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetUsages_UsageListMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/computeRPCommonExamples/Usage_List_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/computeRPCommonExamples/Usage_List_MinimumSet_Gen.json
// this example is just showing the usage of "Usage_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -79,7 +79,7 @@ public async Task GetUsages_UsageListMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineSizes_VirtualMachineSizesListMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineSizes_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -108,7 +108,7 @@ public async Task GetVirtualMachineSizes_VirtualMachineSizesListMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineSizes_VirtualMachineSizesListMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineSizes_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -137,7 +137,7 @@ public async Task GetVirtualMachineSizes_VirtualMachineSizesListMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImage_VirtualMachineImageGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -167,7 +167,7 @@ public async Task GetVirtualMachineImage_VirtualMachineImageGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImage_VirtualMachineImageGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -197,7 +197,7 @@ public async Task GetVirtualMachineImage_VirtualMachineImageGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImages_VirtualMachineImageListMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImage_List_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_List_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -226,7 +226,7 @@ public async Task GetVirtualMachineImages_VirtualMachineImageListMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImages_VirtualMachineImageListMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImage_List_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_List_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -255,7 +255,7 @@ public async Task GetVirtualMachineImages_VirtualMachineImageListMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImageOffers_VirtualMachineImageListOffersMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListOffers_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListOffers_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_ListOffers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -285,7 +285,7 @@ public async Task GetVirtualMachineImageOffers_VirtualMachineImageListOffersMaxi
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImageOffers_VirtualMachineImageListOffersMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListOffers_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListOffers_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_ListOffers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -315,7 +315,7 @@ public async Task GetVirtualMachineImageOffers_VirtualMachineImageListOffersMini
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImagePublishers_VirtualMachineImageListPublishersMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListPublishers_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListPublishers_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_ListPublishers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -344,7 +344,7 @@ public async Task GetVirtualMachineImagePublishers_VirtualMachineImageListPublis
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImagePublishers_VirtualMachineImageListPublishersMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListPublishers_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListPublishers_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_ListPublishers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -373,7 +373,7 @@ public async Task GetVirtualMachineImagePublishers_VirtualMachineImageListPublis
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImageSkus_VirtualMachineImageListSkusMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListSkus_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListSkus_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_ListSkus" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -404,7 +404,7 @@ public async Task GetVirtualMachineImageSkus_VirtualMachineImageListSkusMaximumS
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImageSkus_VirtualMachineImageListSkusMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListSkus_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListSkus_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_ListSkus" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -435,7 +435,7 @@ public async Task GetVirtualMachineImageSkus_VirtualMachineImageListSkusMinimumS
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImagesByEdgeZone_VirtualMachineImagesEdgeZoneListByEdgeZoneMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_ListByEdgeZone" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -465,7 +465,7 @@ public async Task GetVirtualMachineImagesByEdgeZone_VirtualMachineImagesEdgeZone
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImagesByEdgeZone_VirtualMachineImagesEdgeZoneListByEdgeZoneMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_ListByEdgeZone" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -495,7 +495,7 @@ public async Task GetVirtualMachineImagesByEdgeZone_VirtualMachineImagesEdgeZone
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImagesEdgeZone_VirtualMachineImagesEdgeZoneGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImagesEdgeZone_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -521,7 +521,7 @@ public async Task GetVirtualMachineImagesEdgeZone_VirtualMachineImagesEdgeZoneGe
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImagesEdgeZone_VirtualMachineImagesEdgeZoneGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImagesEdgeZone_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -547,7 +547,7 @@ public async Task GetVirtualMachineImagesEdgeZone_VirtualMachineImagesEdgeZoneGe
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImagesEdgeZone_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -576,7 +576,7 @@ public async Task GetVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneL
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImagesEdgeZone_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -605,7 +605,7 @@ public async Task GetVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneL
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetOffersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListOffersMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImagesEdgeZone_ListOffers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -636,7 +636,7 @@ public async Task GetOffersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdg
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetOffersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListOffersMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImagesEdgeZone_ListOffers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -667,7 +667,7 @@ public async Task GetOffersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdg
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetPublishersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListPublishersMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImagesEdgeZone_ListPublishers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -697,7 +697,7 @@ public async Task GetPublishersVirtualMachineImagesEdgeZones_VirtualMachineImage
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetPublishersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListPublishersMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImagesEdgeZone_ListPublishers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -727,7 +727,7 @@ public async Task GetPublishersVirtualMachineImagesEdgeZones_VirtualMachineImage
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImageEdgeZoneSkus_VirtualMachineImagesEdgeZoneListSkusMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImagesEdgeZone_ListSkus" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -759,7 +759,7 @@ public async Task GetVirtualMachineImageEdgeZoneSkus_VirtualMachineImagesEdgeZon
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineImageEdgeZoneSkus_VirtualMachineImagesEdgeZoneListSkusMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImagesEdgeZone_ListSkus" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -791,7 +791,7 @@ public async Task GetVirtualMachineImageEdgeZoneSkus_VirtualMachineImagesEdgeZon
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ExportLogAnalyticsRequestRateByInterval_ExportLogsWhichContainAllApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriodBrokenDownByIntervals()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/logAnalyticExamples/LogAnalytics_RequestRateByInterval.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/logAnalyticExamples/LogAnalytics_RequestRateByInterval.json
// this example is just showing the usage of "LogAnalytics_ExportRequestRateByInterval" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -822,7 +822,7 @@ public async Task ExportLogAnalyticsRequestRateByInterval_ExportLogsWhichContain
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ExportLogAnalyticsThrottledRequests_ExportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriod()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/logAnalyticExamples/LogAnalytics_ThrottledRequests.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/logAnalyticExamples/LogAnalytics_ThrottledRequests.json
// this example is just showing the usage of "LogAnalytics_ExportThrottledRequests" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineCollection.cs
index 815cd4f384f4..352de45c2930 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineCollection.cs
@@ -22,7 +22,7 @@ public partial class Sample_VirtualMachineCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingAssessmentModeOfImageDefault()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -108,7 +108,7 @@ public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingAssessmentModeOf
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -200,7 +200,7 @@ public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingPatchModeOfAutom
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingPatchModeOfImageDefault()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -286,7 +286,7 @@ public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingPatchModeOfImage
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -373,7 +373,7 @@ public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingsPatchModeAndAss
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMFromACommunityGalleryImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -448,7 +448,7 @@ public async Task CreateOrUpdate_CreateAVMFromACommunityGalleryImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMFromASharedGalleryImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -523,7 +523,7 @@ public async Task CreateOrUpdate_CreateAVMFromASharedGalleryImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithDiskControllerType()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskControllerType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskControllerType.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -617,7 +617,7 @@ public async Task CreateOrUpdate_CreateAVMWithDiskControllerType()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithHibernationEnabled()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -704,7 +704,7 @@ public async Task CreateOrUpdate_CreateAVMWithHibernationEnabled()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithProxyAgentSettingsOfEnabledAndMode()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithProxyAgentSettings.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithProxyAgentSettings.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -790,7 +790,7 @@ public async Task CreateOrUpdate_CreateAVMWithProxyAgentSettingsOfEnabledAndMode
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithUefiSettingsOfSecureBootAndVTPM()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -877,7 +877,7 @@ public async Task CreateOrUpdate_CreateAVMWithUefiSettingsOfSecureBootAndVTPM()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithUserData()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUserData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUserData.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -961,7 +961,7 @@ public async Task CreateOrUpdate_CreateAVMWithUserData()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithVMSizeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithVMSizeProperties.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithVMSizeProperties.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1050,7 +1050,7 @@ public async Task CreateOrUpdate_CreateAVMWithVMSizeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithEncryptionIdentity()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionIdentity.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionIdentity.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1139,7 +1139,7 @@ public async Task CreateOrUpdate_CreateAVMWithEncryptionIdentity()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithNetworkInterfaceConfiguration()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1235,7 +1235,7 @@ public async Task CreateOrUpdate_CreateAVMWithNetworkInterfaceConfiguration()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithNetworkInterfaceConfigurationWithPublicIpAddressDnsSettings()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfigurationDnsSettings.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfigurationDnsSettings.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1335,7 +1335,7 @@ public async Task CreateOrUpdate_CreateAVMWithNetworkInterfaceConfigurationWithP
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1427,7 +1427,7 @@ public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithCust
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithNonPersistedTPMSecurityEncryptionType()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithNonPersistedTPM.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithNonPersistedTPM.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1518,7 +1518,7 @@ public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithNonP
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1609,7 +1609,7 @@ public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithPlat
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingAssessmentModeOfImageDefault()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1696,7 +1696,7 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingAssessmentMode
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAutomaticByOS()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1783,7 +1783,7 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAut
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1876,7 +1876,7 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAut
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnableHotpatchingSetToTrue()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1964,7 +1964,7 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAut
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfManual()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2051,7 +2051,7 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfMan
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAWindowsVmWithPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2139,7 +2139,7 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithPatchSettingsPatchModeAndAs
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2209,7 +2209,7 @@ public async Task CreateOrUpdate_CreateACustomImageVmFromAnUnmanagedGeneralizedO
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAPlatformImageVmWithUnmanagedOsAndDataDisks()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2296,7 +2296,7 @@ public async Task CreateOrUpdate_CreateAPlatformImageVmWithUnmanagedOsAndDataDis
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmFromACustomImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2371,7 +2371,7 @@ public async Task CreateOrUpdate_CreateAVmFromACustomImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmFromAGeneralizedSharedImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2446,7 +2446,7 @@ public async Task CreateOrUpdate_CreateAVmFromAGeneralizedSharedImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmFromASpecializedSharedImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2515,7 +2515,7 @@ public async Task CreateOrUpdate_CreateAVmFromASpecializedSharedImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDomain()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2595,7 +2595,7 @@ public async Task CreateOrUpdate_CreateAVmInAVirtualMachineScaleSetWithCustomerA
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmInAnAvailabilitySet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2674,7 +2674,7 @@ public async Task CreateOrUpdate_CreateAVmInAnAvailabilitySet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithApplicationProfile()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2763,7 +2763,7 @@ public async Task CreateOrUpdate_CreateAVmWithApplicationProfile()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithDiskEncryptionSetResourceIdInTheOsDiskAndDataDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2862,7 +2862,7 @@ public async Task CreateOrUpdate_CreateAVmWithDiskEncryptionSetResourceIdInTheOs
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithHostEncryptionUsingEncryptionAtHostProperty()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2950,7 +2950,7 @@ public async Task CreateOrUpdate_CreateAVmWithHostEncryptionUsingEncryptionAtHos
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithScheduledEventsProfile()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3055,7 +3055,7 @@ public async Task CreateOrUpdate_CreateAVmWithScheduledEventsProfile()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithAMarketplaceImagePlan()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3139,7 +3139,7 @@ public async Task CreateOrUpdate_CreateAVmWithAMarketplaceImagePlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithAnExtensionsTimeBudget()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3223,7 +3223,7 @@ public async Task CreateOrUpdate_CreateAVmWithAnExtensionsTimeBudget()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithBootDiagnostics()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithBootDiagnostics.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithBootDiagnostics.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3306,7 +3306,7 @@ public async Task CreateOrUpdate_CreateAVmWithBootDiagnostics()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithDataDisksUsingCopyAndRestoreOptions()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDataDisksFromSourceResource.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDataDisksFromSourceResource.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3400,7 +3400,7 @@ public async Task CreateOrUpdate_CreateAVmWithDataDisksUsingCopyAndRestoreOption
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithEmptyDataDisks()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3488,7 +3488,7 @@ public async Task CreateOrUpdate_CreateAVmWithEmptyDataDisks()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInCacheDiskUsingPlacementProperty()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3577,7 +3577,7 @@ public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInCache
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInNvmeDiskUsingPlacementProperty()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsNvmeDisk.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsNvmeDisk.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3666,7 +3666,7 @@ public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInNvmeD
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInResourceDiskUsingPlacementProperty()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3755,7 +3755,7 @@ public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInResou
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3843,7 +3843,7 @@ public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithManagedBootDiagnostics()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3925,7 +3925,7 @@ public async Task CreateOrUpdate_CreateAVmWithManagedBootDiagnostics()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithPasswordAuthentication()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4003,7 +4003,7 @@ public async Task CreateOrUpdate_CreateAVmWithPasswordAuthentication()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithPremiumStorage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4081,7 +4081,7 @@ public async Task CreateOrUpdate_CreateAVmWithPremiumStorage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVmWithSshAuthentication()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4170,7 +4170,7 @@ public async Task CreateOrUpdate_CreateAVmWithSshAuthentication()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateOrUpdateAVMWithCapacityReservation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json
// this example is just showing the usage of "VirtualMachines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4255,7 +4255,7 @@ public async Task CreateOrUpdate_CreateOrUpdateAVMWithCapacityReservation()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4290,7 +4290,7 @@ public async Task Get_GetAVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4321,7 +4321,7 @@ public async Task Exists_GetAVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4364,7 +4364,7 @@ public async Task GetIfExists_GetAVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4398,7 +4398,7 @@ public async Task Get_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutoma
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4428,7 +4428,7 @@ public async Task Exists_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAut
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4470,7 +4470,7 @@ public async Task GetIfExists_GetAVirtualMachinePlacedOnADedicatedHostGroupThrou
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachineWithDiskControllerTypeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4505,7 +4505,7 @@ public async Task Get_GetAVirtualMachineWithDiskControllerTypeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetAVirtualMachineWithDiskControllerTypeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4536,7 +4536,7 @@ public async Task Exists_GetAVirtualMachineWithDiskControllerTypeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetAVirtualMachineWithDiskControllerTypeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4579,7 +4579,7 @@ public async Task GetIfExists_GetAVirtualMachineWithDiskControllerTypeProperties
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachineWithVMSizeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4613,7 +4613,7 @@ public async Task Get_GetAVirtualMachineWithVMSizeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetAVirtualMachineWithVMSizeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4643,7 +4643,7 @@ public async Task Exists_GetAVirtualMachineWithVMSizeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetAVirtualMachineWithVMSizeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4685,7 +4685,7 @@ public async Task GetIfExists_GetAVirtualMachineWithVMSizeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineListMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_List_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_List_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4722,7 +4722,7 @@ public async Task GetAll_VirtualMachineListMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineListMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_List_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_List_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionCollection.cs
index 23da9fe3b7c5..64266ea996ee 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_VirtualMachineExtensionCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_VirtualMachineExtensionCreateOrUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -105,7 +105,7 @@ public async Task CreateOrUpdate_VirtualMachineExtensionCreateOrUpdateMaximumSet
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_VirtualMachineExtensionCreateOrUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -142,7 +142,7 @@ public async Task CreateOrUpdate_VirtualMachineExtensionCreateOrUpdateMinimumSet
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineExtensionGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -178,7 +178,7 @@ public async Task Get_VirtualMachineExtensionGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_VirtualMachineExtensionGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -210,7 +210,7 @@ public async Task Exists_VirtualMachineExtensionGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_VirtualMachineExtensionGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -254,7 +254,7 @@ public async Task GetIfExists_VirtualMachineExtensionGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineExtensionGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -289,7 +289,7 @@ public async Task Get_VirtualMachineExtensionGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_VirtualMachineExtensionGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -320,7 +320,7 @@ public async Task Exists_VirtualMachineExtensionGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_VirtualMachineExtensionGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -363,7 +363,7 @@ public async Task GetIfExists_VirtualMachineExtensionGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineExtensionListMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_List_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_List_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -401,7 +401,7 @@ public async Task GetAll_VirtualMachineExtensionListMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineExtensionListMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_List_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_List_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageCollection.cs
index 14ee270ff7da..36c427bbf98e 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_VirtualMachineExtensionImageCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineExtensionImageGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -56,7 +56,7 @@ public async Task Get_VirtualMachineExtensionImageGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_VirtualMachineExtensionImageGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -88,7 +88,7 @@ public async Task Exists_VirtualMachineExtensionImageGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_VirtualMachineExtensionImageGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -132,7 +132,7 @@ public async Task GetIfExists_VirtualMachineExtensionImageGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineExtensionImageGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -168,7 +168,7 @@ public async Task Get_VirtualMachineExtensionImageGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_VirtualMachineExtensionImageGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -200,7 +200,7 @@ public async Task Exists_VirtualMachineExtensionImageGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_VirtualMachineExtensionImageGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -244,7 +244,7 @@ public async Task GetIfExists_VirtualMachineExtensionImageGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineExtensionImageListTypesMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_ListTypes" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -281,7 +281,7 @@ public async Task GetAll_VirtualMachineExtensionImageListTypesMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineExtensionImageListTypesMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_ListTypes" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -318,7 +318,7 @@ public async Task GetAll_VirtualMachineExtensionImageListTypesMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineExtensionImageListVersionsMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListVersions_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListVersions_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_ListVersions" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -359,7 +359,7 @@ public async Task GetAll_VirtualMachineExtensionImageListVersionsMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineExtensionImageListVersionsMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListVersions_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListVersions_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_ListVersions" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageResource.cs
index 15147ea7ee2d..d06b1e238510 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageResource.cs
@@ -19,7 +19,7 @@ public partial class Sample_VirtualMachineExtensionImageResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineExtensionImageGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -52,7 +52,7 @@ public async Task Get_VirtualMachineExtensionImageGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineExtensionImageGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensionImages_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionResource.cs
index 471feb982a21..0e6fb23ce46a 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionResource.cs
@@ -22,7 +22,7 @@ public partial class Sample_VirtualMachineExtensionResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateVMExtension()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_Update.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Update.json
// this example is just showing the usage of "VirtualMachineExtensions_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -71,7 +71,7 @@ public async Task Update_UpdateVMExtension()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_VirtualMachineExtensionDeleteMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_Delete_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Delete_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -99,7 +99,7 @@ public async Task Delete_VirtualMachineExtensionDeleteMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_VirtualMachineExtensionDeleteMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_Delete_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Delete_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -127,7 +127,7 @@ public async Task Delete_VirtualMachineExtensionDeleteMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineExtensionGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -160,7 +160,7 @@ public async Task Get_VirtualMachineExtensionGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineExtensionGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineResource.cs
index ea7529766ce3..d0d219cd78b3 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineResource.cs
@@ -22,7 +22,7 @@ public partial class Sample_VirtualMachineResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachinesByLocation_ListsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpecifiedLocation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_ListBySubscription_ByLocation.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ListBySubscription_ByLocation.json
// this example is just showing the usage of "VirtualMachines_ListByLocation" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -55,7 +55,7 @@ public async Task GetVirtualMachinesByLocation_ListsAllTheVirtualMachinesUnderTh
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Capture_VirtualMachineCaptureMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Capture_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Capture_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_Capture" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -84,7 +84,7 @@ public async Task Capture_VirtualMachineCaptureMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Capture_VirtualMachineCaptureMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Capture_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Capture_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_Capture" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -113,7 +113,7 @@ public async Task Capture_VirtualMachineCaptureMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateAVMByDetachingDataDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json
// this example is just showing the usage of "VirtualMachines_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -200,7 +200,7 @@ public async Task Update_UpdateAVMByDetachingDataDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateAVMByForceDetachingDataDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json
// this example is just showing the usage of "VirtualMachines_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -288,7 +288,7 @@ public async Task Update_UpdateAVMByForceDetachingDataDisk()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_ForceDeleteAVM()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Delete_Force.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Delete_Force.json
// this example is just showing the usage of "VirtualMachines_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -316,7 +316,7 @@ public async Task Delete_ForceDeleteAVM()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -348,7 +348,7 @@ public async Task Get_GetAVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -379,7 +379,7 @@ public async Task Get_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutoma
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachineWithDiskControllerTypeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -411,7 +411,7 @@ public async Task Get_GetAVirtualMachineWithDiskControllerTypeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachineWithVMSizeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json
// this example is just showing the usage of "VirtualMachines_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -442,7 +442,7 @@ public async Task Get_GetAVirtualMachineWithVMSizeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task InstanceView_GetVirtualMachineInstanceView()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_InstanceView.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_InstanceView.json
// this example is just showing the usage of "VirtualMachines_InstanceView" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -469,7 +469,7 @@ public async Task InstanceView_GetVirtualMachineInstanceView()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task InstanceView_GetInstanceViewOfAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json
// this example is just showing the usage of "VirtualMachines_InstanceView" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -496,7 +496,7 @@ public async Task InstanceView_GetInstanceViewOfAVirtualMachinePlacedOnADedicate
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ConvertToManagedDisks_VirtualMachineConvertToManagedDisksMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_ConvertToManagedDisks" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -523,7 +523,7 @@ public async Task ConvertToManagedDisks_VirtualMachineConvertToManagedDisksMaxim
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ConvertToManagedDisks_VirtualMachineConvertToManagedDisksMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_ConvertToManagedDisks" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -550,7 +550,7 @@ public async Task ConvertToManagedDisks_VirtualMachineConvertToManagedDisksMinim
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Deallocate_VirtualMachineDeallocateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Deallocate_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Deallocate_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_Deallocate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -578,7 +578,7 @@ public async Task Deallocate_VirtualMachineDeallocateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Deallocate_VirtualMachineDeallocateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Deallocate_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Deallocate_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_Deallocate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -605,7 +605,7 @@ public async Task Deallocate_VirtualMachineDeallocateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Generalize_GeneralizeAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Generalize.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Generalize.json
// this example is just showing the usage of "VirtualMachines_Generalize" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -632,7 +632,7 @@ public async Task Generalize_GeneralizeAVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachines_VirtualMachineListAllMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_ListAll_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ListAll_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_ListAll" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -666,7 +666,7 @@ public async Task GetVirtualMachines_VirtualMachineListAllMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachines_VirtualMachineListAllMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_ListAll_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ListAll_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_ListAll" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -698,7 +698,7 @@ public async Task GetVirtualMachines_VirtualMachineListAllMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAvailableSizes_ListsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMachineCanBeResized()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_ListAvailableVmSizes.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ListAvailableVmSizes.json
// this example is just showing the usage of "VirtualMachines_ListAvailableSizes" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -728,7 +728,7 @@ public async Task GetAvailableSizes_ListsAllAvailableVirtualMachineSizesToWhichT
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOff_VirtualMachinePowerOffMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_PowerOff_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_PowerOff_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_PowerOff" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -756,7 +756,7 @@ public async Task PowerOff_VirtualMachinePowerOffMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOff_VirtualMachinePowerOffMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_PowerOff_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_PowerOff_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_PowerOff" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -783,7 +783,7 @@ public async Task PowerOff_VirtualMachinePowerOffMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Reapply_ReapplyTheStateOfAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Reapply.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Reapply.json
// this example is just showing the usage of "VirtualMachines_Reapply" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -810,7 +810,7 @@ public async Task Reapply_ReapplyTheStateOfAVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Restart_VirtualMachineRestartMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Restart_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Restart_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_Restart" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -837,7 +837,7 @@ public async Task Restart_VirtualMachineRestartMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Restart_VirtualMachineRestartMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Restart_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Restart_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_Restart" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -864,7 +864,7 @@ public async Task Restart_VirtualMachineRestartMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOn_VirtualMachineStartMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Start_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Start_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_Start" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -891,7 +891,7 @@ public async Task PowerOn_VirtualMachineStartMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOn_VirtualMachineStartMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Start_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Start_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_Start" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -918,7 +918,7 @@ public async Task PowerOn_VirtualMachineStartMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Redeploy_VirtualMachineRedeployMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Redeploy_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Redeploy_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_Redeploy" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -945,7 +945,7 @@ public async Task Redeploy_VirtualMachineRedeployMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Redeploy_VirtualMachineRedeployMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Redeploy_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Redeploy_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_Redeploy" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -972,7 +972,7 @@ public async Task Redeploy_VirtualMachineRedeployMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Reimage_ReimageANonEphemeralVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Reimage_NonEphemeralVMs.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Reimage_NonEphemeralVMs.json
// this example is just showing the usage of "VirtualMachines_Reimage" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1009,7 +1009,7 @@ public async Task Reimage_ReimageANonEphemeralVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Reimage_ReimageAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_Reimage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Reimage.json
// this example is just showing the usage of "VirtualMachines_Reimage" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1040,7 +1040,7 @@ public async Task Reimage_ReimageAVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RetrieveBootDiagnosticsData_RetrieveBootDiagnosticsDataOfAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json
// this example is just showing the usage of "VirtualMachines_RetrieveBootDiagnosticsData" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1068,7 +1068,7 @@ public async Task RetrieveBootDiagnosticsData_RetrieveBootDiagnosticsDataOfAVirt
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PerformMaintenance_VirtualMachinePerformMaintenanceMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_PerformMaintenance_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_PerformMaintenance_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_PerformMaintenance" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1095,7 +1095,7 @@ public async Task PerformMaintenance_VirtualMachinePerformMaintenanceMaximumSetG
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PerformMaintenance_VirtualMachinePerformMaintenanceMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_PerformMaintenance_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_PerformMaintenance_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_PerformMaintenance" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1122,7 +1122,7 @@ public async Task PerformMaintenance_VirtualMachinePerformMaintenanceMinimumSetG
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task SimulateEviction_SimulateEvictionAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_SimulateEviction.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_SimulateEviction.json
// this example is just showing the usage of "VirtualMachines_SimulateEviction" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1149,7 +1149,7 @@ public async Task SimulateEviction_SimulateEvictionAVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task AssessPatches_AssessPatchStateOfAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_AssessPatches.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_AssessPatches.json
// this example is just showing the usage of "VirtualMachines_AssessPatches" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1177,7 +1177,7 @@ public async Task AssessPatches_AssessPatchStateOfAVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task InstallPatches_InstallPatchStateOfAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_InstallPatches.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_InstallPatches.json
// this example is just showing the usage of "VirtualMachines_InstallPatches" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1217,7 +1217,7 @@ public async Task InstallPatches_InstallPatchStateOfAVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task AttachDetachDataDisks_VirtualMachineAttachDetachDataDisksMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_AttachDetachDataDisks_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_AttachDetachDataDisks_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_AttachDetachDataDisks" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1276,7 +1276,7 @@ public async Task AttachDetachDataDisks_VirtualMachineAttachDetachDataDisksMaxim
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task AttachDetachDataDisks_VirtualMachineAttachDetachDataDisksMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineExamples/VirtualMachine_AttachDetachDataDisks_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_AttachDetachDataDisks_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachines_AttachDetachDataDisks" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1315,7 +1315,7 @@ public async Task AttachDetachDataDisks_VirtualMachineAttachDetachDataDisksMinim
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RunCommand_VirtualMachineRunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineRunCommand.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand.json
// this example is just showing the usage of "VirtualMachines_RunCommand" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandCollection.cs
index 13dd9df4c7a7..bbde704b4e6f 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_VirtualMachineRunCommandCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateOrUpdateARunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.json
// this example is just showing the usage of "VirtualMachineRunCommands_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -78,7 +78,7 @@ public async Task CreateOrUpdate_CreateOrUpdateARunCommand()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetARunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json
// this example is just showing the usage of "VirtualMachineRunCommands_GetByVirtualMachine" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -113,7 +113,7 @@ public async Task Get_GetARunCommand()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetARunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json
// this example is just showing the usage of "VirtualMachineRunCommands_GetByVirtualMachine" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -144,7 +144,7 @@ public async Task Exists_GetARunCommand()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetARunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json
// this example is just showing the usage of "VirtualMachineRunCommands_GetByVirtualMachine" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -187,7 +187,7 @@ public async Task GetIfExists_GetARunCommand()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_ListRunCommandsInAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineRunCommand_List.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_List.json
// this example is just showing the usage of "VirtualMachineRunCommands_ListByVirtualMachine" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandResource.cs
index dafa659bcf75..407e0e761969 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_VirtualMachineRunCommandResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineRunCommands_VirtualMachineRunCommandList()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/RunCommand_List.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/RunCommand_List.json
// this example is just showing the usage of "VirtualMachineRunCommands_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -50,7 +50,7 @@ public async Task GetVirtualMachineRunCommands_VirtualMachineRunCommandList()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineRunCommand_VirtualMachineRunCommandGet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/RunCommand_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/RunCommand_Get.json
// this example is just showing the usage of "VirtualMachineRunCommands_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -77,7 +77,7 @@ public async Task GetVirtualMachineRunCommand_VirtualMachineRunCommandGet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateARunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineRunCommand_Update.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Update.json
// this example is just showing the usage of "VirtualMachineRunCommands_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -131,7 +131,7 @@ public async Task Update_UpdateARunCommand()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteARunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineRunCommand_Delete.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Delete.json
// this example is just showing the usage of "VirtualMachineRunCommands_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -159,7 +159,7 @@ public async Task Delete_DeleteARunCommand()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetARunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json
// this example is just showing the usage of "VirtualMachineRunCommands_GetByVirtualMachine" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs
index 47a1ff24f457..3dde6dd43ad9 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs
@@ -23,7 +23,7 @@ public partial class Sample_VirtualMachineScaleSetCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMSSWithAnExtensionThatHasSuppressFailuresEnabled()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -139,7 +139,7 @@ public async Task CreateOrUpdate_CreateAVMSSWithAnExtensionThatHasSuppressFailur
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAVMSSWithAnExtensionWithProtectedSettingsFromKeyVault()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -258,7 +258,7 @@ public async Task CreateOrUpdate_CreateAVMSSWithAnExtensionWithProtectedSettings
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateACustomImageScaleSetFromAnUnmanagedGeneralizedOsImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -343,7 +343,7 @@ public async Task CreateOrUpdate_CreateACustomImageScaleSetFromAnUnmanagedGenera
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAPlatformImageScaleSetWithUnmanagedOsDisks()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -438,7 +438,7 @@ public async Task CreateOrUpdate_CreateAPlatformImageScaleSetWithUnmanagedOsDisk
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetFromACustomImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -529,7 +529,7 @@ public async Task CreateOrUpdate_CreateAScaleSetFromACustomImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetFromAGeneralizedSharedImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -620,7 +620,7 @@ public async Task CreateOrUpdate_CreateAScaleSetFromAGeneralizedSharedImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetFromASpecializedSharedImage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -705,7 +705,7 @@ public async Task CreateOrUpdate_CreateAScaleSetFromASpecializedSharedImage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithDisableTcpStateTrackingNetworkInterface.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithDisableTcpStateTrackingNetworkInterface.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -813,7 +813,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWhereNicConfigHasDisableTcpState
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithApplicationProfile()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -918,7 +918,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithApplicationProfile()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithDiskControllerType()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskControllerType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskControllerType.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1028,7 +1028,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithDiskControllerType()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithDiskEncryptionSetResourceInOsDiskAndDataDisk()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1133,7 +1133,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithDiskEncryptionSetResourceInO
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithFpgaNetworkInterfaces()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1239,7 +1239,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithFpgaNetworkInterfaces()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1343,7 +1343,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithHostEncryptionUsingEncryptio
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithNetworkInterfacesWithPublicIpAddressDnsSettings()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithNetworkInterfaceWithDnsSettings.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithNetworkInterfaceWithDnsSettings.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1461,7 +1461,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithNetworkInterfacesWithPublicI
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithOSImageScheduledEventsEnabled()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithOSImageScheduledEventEnabled.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithOSImageScheduledEventEnabled.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1563,7 +1563,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithOSImageScheduledEventsEnable
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithProxyAgentSettingsOfEnabledAndMode()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProxyAgentSettings.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProxyAgentSettings.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1665,7 +1665,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithProxyAgentSettingsOfEnabledA
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithResilientVMCreationEnabled()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithResilientVMCreationPolicy.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithResilientVMCreationPolicy.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1763,7 +1763,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithResilientVMCreationEnabled()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithResilientVMDeletionEnabled()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithResilientVMDeletionPolicy.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithResilientVMDeletionPolicy.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1861,7 +1861,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithResilientVMDeletionEnabled()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithSecurityPostureReference()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityPostureReference.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityPostureReference.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1938,10 +1938,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSecurityPostureReference()
}
},
},
- SecurityPostureReference = new ComputeSecurityPostureReference()
- {
- Id = new ResourceIdentifier("/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest"),
- },
+ SecurityPostureReference = new ComputeSecurityPostureReference(new ResourceIdentifier("/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest")),
},
Overprovision = true,
};
@@ -1960,7 +1957,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSecurityPostureReference()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithSecurityTypeAsConfidentialVM()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2067,7 +2064,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSecurityTypeAsConfidentialVM
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithSecurityTypeAsConfidentialVMAndNonPersistedTPMSecurityEncryptionType()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVMWithNonPersistedTPM.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVMWithNonPersistedTPM.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2174,7 +2171,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSecurityTypeAsConfidentialVM
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithServiceArtifactReference()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithServiceArtifactReference.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithServiceArtifactReference.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2270,7 +2267,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithServiceArtifactReference()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithUefiSettingsOfSecureBootAndVTPM()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2373,7 +2370,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithUefiSettingsOfSecureBootAndV
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithAMarketplaceImagePlan()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2473,7 +2470,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithAMarketplaceImagePlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithAnAzureApplicationGateway()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2574,7 +2571,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithAnAzureApplicationGateway()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithAnAzureLoadBalancer()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2686,7 +2683,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithAnAzureLoadBalancer()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithAutomaticRepairsEnabled()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2794,7 +2791,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithAutomaticRepairsEnabled()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithBootDiagnostics()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2893,7 +2890,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithBootDiagnostics()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithEmptyDataDisksOnEachVm()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -2998,7 +2995,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithEmptyDataDisksOnEachVm()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDiskProvisioningInNvmeDiskUsingPlacementProperty()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacementAsNvmeDisk.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacementAsNvmeDisk.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3103,7 +3100,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDiskProvisioningI
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDisksUsingPlacementProperty()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3208,7 +3205,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDisksUsingPlaceme
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDisks()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3312,7 +3309,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDisks()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithExtensionTimeBudget()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3428,7 +3425,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithExtensionTimeBudget()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithManagedBootDiagnostics()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3526,7 +3523,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithManagedBootDiagnostics()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithPasswordAuthentication()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3620,7 +3617,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithPasswordAuthentication()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithPremiumStorage()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3714,7 +3711,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithPremiumStorage()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithPriorityMixPolicy()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPriorityMixPolicy.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPriorityMixPolicy.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3813,7 +3810,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithPriorityMixPolicy()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithScaleInPolicy()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -3910,12 +3907,127 @@ public async Task CreateOrUpdate_CreateAScaleSetWithScaleInPolicy()
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
}
+ // Create a scale set with sku profile
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task CreateOrUpdate_CreateAScaleSetWithSkuProfile()
+ {
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSkuProfile.json
+ // this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this ResourceGroupResource created on azure
+ // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource
+ string subscriptionId = "{subscription-id}";
+ string resourceGroupName = "myResourceGroup";
+ ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName);
+ ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId);
+
+ // get the collection of this VirtualMachineScaleSetResource
+ VirtualMachineScaleSetCollection collection = resourceGroupResource.GetVirtualMachineScaleSets();
+
+ // invoke the operation
+ string virtualMachineScaleSetName = "{vmss-name}";
+ VirtualMachineScaleSetData data = new VirtualMachineScaleSetData(new AzureLocation("westus"))
+ {
+ Sku = new ComputeSku()
+ {
+ Name = "Mix",
+ Capacity = 10,
+ },
+ VirtualMachineProfile = new VirtualMachineScaleSetVmProfile()
+ {
+ OSProfile = new VirtualMachineScaleSetOSProfile()
+ {
+ ComputerNamePrefix = "{vmss-name}",
+ AdminUsername = "{your-username}",
+ AdminPassword = "{your-password}",
+ },
+ StorageProfile = new VirtualMachineScaleSetStorageProfile()
+ {
+ ImageReference = new ImageReference()
+ {
+ Publisher = "MicrosoftWindowsServer",
+ Offer = "WindowsServer",
+ Sku = "2016-Datacenter",
+ Version = "latest",
+ },
+ OSDisk = new VirtualMachineScaleSetOSDisk(DiskCreateOptionType.FromImage)
+ {
+ Caching = CachingType.ReadWrite,
+ ManagedDisk = new VirtualMachineScaleSetManagedDisk()
+ {
+ StorageAccountType = StorageAccountType.StandardLrs,
+ },
+ },
+ },
+ NetworkProfile = new VirtualMachineScaleSetNetworkProfile()
+ {
+ NetworkInterfaceConfigurations =
+{
+new VirtualMachineScaleSetNetworkConfiguration("{vmss-name}")
+{
+Primary = true,
+IPConfigurations =
+{
+new VirtualMachineScaleSetIPConfiguration("{vmss-name}")
+{
+SubnetId = new ResourceIdentifier("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
+}
+},
+EnableIPForwarding = true,
+}
+},
+ },
+ Priority = VirtualMachinePriorityType.Spot,
+ EvictionPolicy = VirtualMachineEvictionPolicyType.Deallocate,
+ BillingMaxPrice = -1,
+ },
+ SinglePlacementGroup = false,
+ OrchestrationMode = OrchestrationMode.Flexible,
+ PriorityMixPolicy = new VirtualMachineScaleSetPriorityMixPolicy()
+ {
+ BaseRegularPriorityCount = 4,
+ RegularPriorityPercentageAboveBase = 50,
+ },
+ SkuProfile = new ComputeSkuProfile()
+ {
+ VmSizes =
+{
+new ComputeSkuProfileVmSize()
+{
+Name = "Standard_D8s_v5",
+},new ComputeSkuProfileVmSize()
+{
+Name = "Standard_E16s_v5",
+},new ComputeSkuProfileVmSize()
+{
+Name = "Standard_D2s_v5",
+}
+},
+ AllocationStrategy = ComputeAllocationStrategy.CapacityOptimized,
+ },
+ };
+ ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, virtualMachineScaleSetName, data);
+ VirtualMachineScaleSetResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ VirtualMachineScaleSetData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
// Create a scale set with spot restore policy
[NUnit.Framework.Test]
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithSpotRestorePolicy()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4017,7 +4129,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSpotRestorePolicy()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithSshAuthentication()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4122,7 +4234,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSshAuthentication()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithTerminateScheduledEventsEnabled()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4224,7 +4336,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithTerminateScheduledEventsEnab
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithUserData()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4319,7 +4431,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithUserData()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithVirtualMachinesInDifferentZones()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4428,7 +4540,7 @@ public async Task CreateOrUpdate_CreateAScaleSetWithVirtualMachinesInDifferentZo
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateAScaleSetWithVmSizeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4523,12 +4635,116 @@ public async Task CreateOrUpdate_CreateAScaleSetWithVmSizeProperties()
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
}
+ // Create a scale set with zonalPlatformFaultDomainAlignMode as Aligned
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task CreateOrUpdate_CreateAScaleSetWithZonalPlatformFaultDomainAlignModeAsAligned()
+ {
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithZonalPlatformFaultDomainAlignMode.json
+ // this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this ResourceGroupResource created on azure
+ // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource
+ string subscriptionId = "{subscription-id}";
+ string resourceGroupName = "myResourceGroup";
+ ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName);
+ ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId);
+
+ // get the collection of this VirtualMachineScaleSetResource
+ VirtualMachineScaleSetCollection collection = resourceGroupResource.GetVirtualMachineScaleSets();
+
+ // invoke the operation
+ string virtualMachineScaleSetName = "{vmss-name}";
+ VirtualMachineScaleSetData data = new VirtualMachineScaleSetData(new AzureLocation("westus"))
+ {
+ Sku = new ComputeSku()
+ {
+ Name = "Standard_D1_v2",
+ Tier = "Standard",
+ Capacity = 3,
+ },
+ UpgradePolicy = new VirtualMachineScaleSetUpgradePolicy()
+ {
+ Mode = VirtualMachineScaleSetUpgradeMode.Manual,
+ },
+ ScheduledEventsPolicy = new ScheduledEventsPolicy()
+ {
+ UserInitiatedRedeploy = new UserInitiatedRedeploy()
+ {
+ AutomaticallyApprove = true,
+ },
+ AutomaticallyApprove = true,
+ Enable = true,
+ },
+ VirtualMachineProfile = new VirtualMachineScaleSetVmProfile()
+ {
+ OSProfile = new VirtualMachineScaleSetOSProfile()
+ {
+ ComputerNamePrefix = "{vmss-name}",
+ AdminUsername = "{your-username}",
+ AdminPassword = "{your-password}",
+ },
+ StorageProfile = new VirtualMachineScaleSetStorageProfile()
+ {
+ ImageReference = new ImageReference()
+ {
+ Publisher = "MicrosoftWindowsServer",
+ Offer = "WindowsServer",
+ Sku = "2016-Datacenter",
+ Version = "latest",
+ },
+ OSDisk = new VirtualMachineScaleSetOSDisk(DiskCreateOptionType.FromImage)
+ {
+ Caching = CachingType.ReadWrite,
+ ManagedDisk = new VirtualMachineScaleSetManagedDisk()
+ {
+ StorageAccountType = StorageAccountType.StandardLrs,
+ },
+ },
+ },
+ NetworkProfile = new VirtualMachineScaleSetNetworkProfile()
+ {
+ NetworkInterfaceConfigurations =
+{
+new VirtualMachineScaleSetNetworkConfiguration("{vmss-name}")
+{
+Primary = true,
+IPConfigurations =
+{
+new VirtualMachineScaleSetIPConfiguration("{vmss-name}")
+{
+SubnetId = new ResourceIdentifier("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
+}
+},
+EnableIPForwarding = true,
+}
+},
+ },
+ },
+ Overprovision = true,
+ ZonalPlatformFaultDomainAlignMode = ZonalPlatformFaultDomainAlignMode.Aligned,
+ };
+ ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, virtualMachineScaleSetName, data);
+ VirtualMachineScaleSetResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ VirtualMachineScaleSetData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
// Create or update a scale set with capacity reservation.
[NUnit.Framework.Test]
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateOrUpdateAScaleSetWithCapacityReservation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json
// this example is just showing the usage of "VirtualMachineScaleSets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4623,7 +4839,7 @@ public async Task CreateOrUpdate_CreateOrUpdateAScaleSetWithCapacityReservation(
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetVMScaleSetVMWithDiskControllerType()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4658,7 +4874,7 @@ public async Task Get_GetVMScaleSetVMWithDiskControllerType()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetVMScaleSetVMWithDiskControllerType()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4689,7 +4905,7 @@ public async Task Exists_GetVMScaleSetVMWithDiskControllerType()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetVMScaleSetVMWithDiskControllerType()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4732,7 +4948,7 @@ public async Task GetIfExists_GetVMScaleSetVMWithDiskControllerType()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachineScaleSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4766,7 +4982,7 @@ public async Task Get_GetAVirtualMachineScaleSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetAVirtualMachineScaleSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4796,7 +5012,7 @@ public async Task Exists_GetAVirtualMachineScaleSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetAVirtualMachineScaleSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4838,7 +5054,7 @@ public async Task GetIfExists_GetAVirtualMachineScaleSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4872,7 +5088,7 @@ public async Task Get_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThrou
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4902,7 +5118,7 @@ public async Task Exists_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupTh
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4944,7 +5160,7 @@ public async Task GetIfExists_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGr
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachineScaleSetWithUserData()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -4979,7 +5195,7 @@ public async Task Get_GetAVirtualMachineScaleSetWithUserData()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetAVirtualMachineScaleSetWithUserData()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -5010,7 +5226,7 @@ public async Task Exists_GetAVirtualMachineScaleSetWithUserData()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetAVirtualMachineScaleSetWithUserData()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -5053,7 +5269,7 @@ public async Task GetIfExists_GetAVirtualMachineScaleSetWithUserData()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineScaleSetListMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -5089,7 +5305,7 @@ public async Task GetAll_VirtualMachineScaleSetListMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineScaleSetListMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionCollection.cs
index fd37694c3c01..6db66c5e18fe 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_VirtualMachineScaleSetExtensionCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_VirtualMachineScaleSetExtensionCreateOrUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -76,7 +76,7 @@ public async Task CreateOrUpdate_VirtualMachineScaleSetExtensionCreateOrUpdateMa
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_VirtualMachineScaleSetExtensionCreateOrUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -113,7 +113,7 @@ public async Task CreateOrUpdate_VirtualMachineScaleSetExtensionCreateOrUpdateMi
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineScaleSetExtensionGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -149,7 +149,7 @@ public async Task Get_VirtualMachineScaleSetExtensionGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_VirtualMachineScaleSetExtensionGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -181,7 +181,7 @@ public async Task Exists_VirtualMachineScaleSetExtensionGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_VirtualMachineScaleSetExtensionGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -225,7 +225,7 @@ public async Task GetIfExists_VirtualMachineScaleSetExtensionGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineScaleSetExtensionGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -260,7 +260,7 @@ public async Task Get_VirtualMachineScaleSetExtensionGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_VirtualMachineScaleSetExtensionGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -291,7 +291,7 @@ public async Task Exists_VirtualMachineScaleSetExtensionGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_VirtualMachineScaleSetExtensionGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -334,7 +334,7 @@ public async Task GetIfExists_VirtualMachineScaleSetExtensionGetMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineScaleSetExtensionListMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -371,7 +371,7 @@ public async Task GetAll_VirtualMachineScaleSetExtensionListMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineScaleSetExtensionListMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionResource.cs
index 9984e9982f82..f4b1bf57b913 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_VirtualMachineScaleSetExtensionResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_VirtualMachineScaleSetExtensionUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -74,7 +74,7 @@ public async Task Update_VirtualMachineScaleSetExtensionUpdateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_VirtualMachineScaleSetExtensionUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -108,7 +108,7 @@ public async Task Update_VirtualMachineScaleSetExtensionUpdateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_VirtualMachineScaleSetExtensionDeleteMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -136,7 +136,7 @@ public async Task Delete_VirtualMachineScaleSetExtensionDeleteMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_VirtualMachineScaleSetExtensionDeleteMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -164,7 +164,7 @@ public async Task Delete_VirtualMachineScaleSetExtensionDeleteMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineScaleSetExtensionGetMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -197,7 +197,7 @@ public async Task Get_VirtualMachineScaleSetExtensionGetMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineScaleSetExtensionGetMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetResource.cs
index e5388ae7908e..5b2e60026754 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetResource.cs
@@ -24,7 +24,7 @@ public partial class Sample_VirtualMachineScaleSetResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineScaleSetsByLocation_ListsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifiedLocation()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListBySubscription_ByLocation.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListBySubscription_ByLocation.json
// this example is just showing the usage of "VirtualMachineScaleSets_ListByLocation" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -57,7 +57,7 @@ public async Task GetVirtualMachineScaleSetsByLocation_ListsAllTheVMScaleSetsUnd
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_VirtualMachineScaleSetUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -96,6 +96,10 @@ public async Task Update_VirtualMachineScaleSetUpdateMaximumSetGen()
[new ResourceIdentifier("key3951")] = new UserAssignedIdentity(),
},
},
+ Zones =
+{
+"1","2","3"
+},
UpgradePolicy = new VirtualMachineScaleSetUpgradePolicy()
{
Mode = VirtualMachineScaleSetUpgradeMode.Manual,
@@ -402,7 +406,7 @@ public async Task Update_VirtualMachineScaleSetUpdateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_VirtualMachineScaleSetUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -435,7 +439,7 @@ public async Task Update_VirtualMachineScaleSetUpdateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_ForceDeleteAVMScaleSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json
// this example is just showing the usage of "VirtualMachineScaleSets_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -463,7 +467,7 @@ public async Task Delete_ForceDeleteAVMScaleSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetVMScaleSetVMWithDiskControllerType()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -495,7 +499,7 @@ public async Task Get_GetVMScaleSetVMWithDiskControllerType()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachineScaleSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -526,7 +530,7 @@ public async Task Get_GetAVirtualMachineScaleSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -557,7 +561,7 @@ public async Task Get_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThrou
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetAVirtualMachineScaleSetWithUserData()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json
// this example is just showing the usage of "VirtualMachineScaleSets_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -589,7 +593,7 @@ public async Task Get_GetAVirtualMachineScaleSetWithUserData()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Deallocate_VirtualMachineScaleSetDeallocateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Deallocate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -624,7 +628,7 @@ public async Task Deallocate_VirtualMachineScaleSetDeallocateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Deallocate_VirtualMachineScaleSetDeallocateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Deallocate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -651,7 +655,7 @@ public async Task Deallocate_VirtualMachineScaleSetDeallocateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task DeleteInstances_VirtualMachineScaleSetDeleteInstancesMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_DeleteInstances" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -683,7 +687,7 @@ public async Task DeleteInstances_VirtualMachineScaleSetDeleteInstancesMaximumSe
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task DeleteInstances_VirtualMachineScaleSetDeleteInstancesMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_DeleteInstances" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -714,7 +718,7 @@ public async Task DeleteInstances_VirtualMachineScaleSetDeleteInstancesMinimumSe
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetInstanceView_VirtualMachineScaleSetGetInstanceViewMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_GetInstanceView" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -741,7 +745,7 @@ public async Task GetInstanceView_VirtualMachineScaleSetGetInstanceViewMaximumSe
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetInstanceView_VirtualMachineScaleSetGetInstanceViewMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_GetInstanceView" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -768,7 +772,7 @@ public async Task GetInstanceView_VirtualMachineScaleSetGetInstanceViewMinimumSe
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineScaleSets_VirtualMachineScaleSetListAllMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_ListAll" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -800,7 +804,7 @@ public async Task GetVirtualMachineScaleSets_VirtualMachineScaleSetListAllMaximu
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetVirtualMachineScaleSets_VirtualMachineScaleSetListAllMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_ListAll" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -832,7 +836,7 @@ public async Task GetVirtualMachineScaleSets_VirtualMachineScaleSetListAllMinimu
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSkus_VirtualMachineScaleSetListSkusMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_ListSkus" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -862,7 +866,7 @@ public async Task GetSkus_VirtualMachineScaleSetListSkusMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSkus_VirtualMachineScaleSetListSkusMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_ListSkus" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -892,7 +896,7 @@ public async Task GetSkus_VirtualMachineScaleSetListSkusMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetOSUpgradeHistory_VirtualMachineScaleSetGetOSUpgradeHistoryMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_GetOSUpgradeHistory" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -922,7 +926,7 @@ public async Task GetOSUpgradeHistory_VirtualMachineScaleSetGetOSUpgradeHistoryM
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetOSUpgradeHistory_VirtualMachineScaleSetGetOSUpgradeHistoryMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_GetOSUpgradeHistory" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -952,7 +956,7 @@ public async Task GetOSUpgradeHistory_VirtualMachineScaleSetGetOSUpgradeHistoryM
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOff_VirtualMachineScaleSetPowerOffMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_PowerOff" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -987,7 +991,7 @@ public async Task PowerOff_VirtualMachineScaleSetPowerOffMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOff_VirtualMachineScaleSetPowerOffMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_PowerOff" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1014,7 +1018,7 @@ public async Task PowerOff_VirtualMachineScaleSetPowerOffMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Restart_VirtualMachineScaleSetRestartMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Restart" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1048,7 +1052,7 @@ public async Task Restart_VirtualMachineScaleSetRestartMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Restart_VirtualMachineScaleSetRestartMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Restart" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1075,7 +1079,7 @@ public async Task Restart_VirtualMachineScaleSetRestartMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOn_VirtualMachineScaleSetStartMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Start" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1109,7 +1113,7 @@ public async Task PowerOn_VirtualMachineScaleSetStartMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOn_VirtualMachineScaleSetStartMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Start" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1136,7 +1140,7 @@ public async Task PowerOn_VirtualMachineScaleSetStartMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Reapply_VirtualMachineScaleSetsReapplyMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Reapply" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1163,7 +1167,7 @@ public async Task Reapply_VirtualMachineScaleSetsReapplyMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Reapply_VirtualMachineScaleSetsReapplyMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Reapply" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1190,7 +1194,7 @@ public async Task Reapply_VirtualMachineScaleSetsReapplyMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Redeploy_VirtualMachineScaleSetRedeployMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Redeploy" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1224,7 +1228,7 @@ public async Task Redeploy_VirtualMachineScaleSetRedeployMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Redeploy_VirtualMachineScaleSetRedeployMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Redeploy" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1251,7 +1255,7 @@ public async Task Redeploy_VirtualMachineScaleSetRedeployMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PerformMaintenance_VirtualMachineScaleSetPerformMaintenanceMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_PerformMaintenance" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1285,7 +1289,7 @@ public async Task PerformMaintenance_VirtualMachineScaleSetPerformMaintenanceMax
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PerformMaintenance_VirtualMachineScaleSetPerformMaintenanceMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_PerformMaintenance" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1312,7 +1316,7 @@ public async Task PerformMaintenance_VirtualMachineScaleSetPerformMaintenanceMin
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task UpdateInstances_VirtualMachineScaleSetUpdateInstancesMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_UpdateInstances" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1343,7 +1347,7 @@ public async Task UpdateInstances_VirtualMachineScaleSetUpdateInstancesMaximumSe
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task UpdateInstances_VirtualMachineScaleSetUpdateInstancesMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_UpdateInstances" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1374,7 +1378,7 @@ public async Task UpdateInstances_VirtualMachineScaleSetUpdateInstancesMinimumSe
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Reimage_VirtualMachineScaleSetReimageMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Reimage" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1410,7 +1414,7 @@ public async Task Reimage_VirtualMachineScaleSetReimageMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Reimage_VirtualMachineScaleSetReimageMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_Reimage" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1437,7 +1441,7 @@ public async Task Reimage_VirtualMachineScaleSetReimageMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ReimageAll_VirtualMachineScaleSetReimageAllMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_ReimageAll" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1471,7 +1475,7 @@ public async Task ReimageAll_VirtualMachineScaleSetReimageAllMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ReimageAll_VirtualMachineScaleSetReimageAllMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_ReimageAll" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1498,7 +1502,7 @@ public async Task ReimageAll_VirtualMachineScaleSetReimageAllMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ApproveRollingUpgrade_VirtualMachineScaleSetApproveRollingUpgrade()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ApproveRollingUpgrade.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ApproveRollingUpgrade.json
// this example is just showing the usage of "VirtualMachineScaleSets_ApproveRollingUpgrade" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1532,7 +1536,7 @@ public async Task ApproveRollingUpgrade_VirtualMachineScaleSetApproveRollingUpgr
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ForceRecoveryServiceFabricPlatformUpdateDomainWalk_VirtualMachineScaleSetForceRecoveryServiceFabricPlatformUpdateDomainWalkMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1560,7 +1564,7 @@ public async Task ForceRecoveryServiceFabricPlatformUpdateDomainWalk_VirtualMach
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ForceRecoveryServiceFabricPlatformUpdateDomainWalk_VirtualMachineScaleSetForceRecoveryServiceFabricPlatformUpdateDomainWalkMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1588,7 +1592,7 @@ public async Task ForceRecoveryServiceFabricPlatformUpdateDomainWalk_VirtualMach
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ConvertToSinglePlacementGroup_VirtualMachineScaleSetConvertToSinglePlacementGroupMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_ConvertToSinglePlacementGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1619,7 +1623,7 @@ public async Task ConvertToSinglePlacementGroup_VirtualMachineScaleSetConvertToS
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ConvertToSinglePlacementGroup_VirtualMachineScaleSetConvertToSinglePlacementGroupMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_ConvertToSinglePlacementGroup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1647,7 +1651,7 @@ public async Task ConvertToSinglePlacementGroup_VirtualMachineScaleSetConvertToS
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task SetOrchestrationServiceState_VirtualMachineScaleSetSetOrchestrationServiceStateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_SetOrchestrationServiceState" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1675,7 +1679,7 @@ public async Task SetOrchestrationServiceState_VirtualMachineScaleSetSetOrchestr
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task SetOrchestrationServiceState_VirtualMachineScaleSetSetOrchestrationServiceStateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSets_SetOrchestrationServiceState" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1703,7 +1707,7 @@ public async Task SetOrchestrationServiceState_VirtualMachineScaleSetSetOrchestr
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CancelVirtualMachineScaleSetRollingUpgrade_VirtualMachineScaleSetRollingUpgradeCancelMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetRollingUpgrades_Cancel" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1730,7 +1734,7 @@ public async Task CancelVirtualMachineScaleSetRollingUpgrade_VirtualMachineScale
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CancelVirtualMachineScaleSetRollingUpgrade_VirtualMachineScaleSetRollingUpgradeCancelMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetRollingUpgrades_Cancel" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1757,7 +1761,7 @@ public async Task CancelVirtualMachineScaleSetRollingUpgrade_VirtualMachineScale
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task StartOSUpgrade_VirtualMachineScaleSetRollingUpgradeStartOSUpgradeMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1784,7 +1788,7 @@ public async Task StartOSUpgrade_VirtualMachineScaleSetRollingUpgradeStartOSUpgr
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task StartOSUpgrade_VirtualMachineScaleSetRollingUpgradeStartOSUpgradeMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1811,7 +1815,7 @@ public async Task StartOSUpgrade_VirtualMachineScaleSetRollingUpgradeStartOSUpgr
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task StartExtensionUpgradeVirtualMachineScaleSetRollingUpgrade_StartAnExtensionRollingUpgrade()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json
// this example is just showing the usage of "VirtualMachineScaleSetRollingUpgrades_StartExtensionUpgrade" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetRollingUpgradeResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetRollingUpgradeResource.cs
index d0017e268481..96e791efcc8b 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetRollingUpgradeResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetRollingUpgradeResource.cs
@@ -19,7 +19,7 @@ public partial class Sample_VirtualMachineScaleSetRollingUpgradeResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineScaleSetRollingUpgradeGetLatestMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetRollingUpgrades_GetLatest" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -50,7 +50,7 @@ public async Task Get_VirtualMachineScaleSetRollingUpgradeGetLatestMaximumSetGen
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_VirtualMachineScaleSetRollingUpgradeGetLatestMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetRollingUpgrades_GetLatest" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmCollection.cs
index 4e12c58ba421..1a17b4cc2f06 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_VirtualMachineScaleSetVmCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_VirtualMachineScaleSetVMUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -389,7 +389,7 @@ public async Task CreateOrUpdate_VirtualMachineScaleSetVMUpdateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_VirtualMachineScaleSetVMUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -426,7 +426,7 @@ public async Task CreateOrUpdate_VirtualMachineScaleSetVMUpdateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetVMScaleSetVMWithUserData()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -461,7 +461,7 @@ public async Task Get_GetVMScaleSetVMWithUserData()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetVMScaleSetVMWithUserData()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -492,7 +492,7 @@ public async Task Exists_GetVMScaleSetVMWithUserData()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetVMScaleSetVMWithUserData()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -535,7 +535,7 @@ public async Task GetIfExists_GetVMScaleSetVMWithUserData()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetVMScaleSetVMWithVMSizeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -570,7 +570,7 @@ public async Task Get_GetVMScaleSetVMWithVMSizeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetVMScaleSetVMWithVMSizeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -601,7 +601,7 @@ public async Task Exists_GetVMScaleSetVMWithVMSizeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetVMScaleSetVMWithVMSizeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -644,7 +644,7 @@ public async Task GetIfExists_GetVMScaleSetVMWithVMSizeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineScaleSetVMListMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -684,7 +684,7 @@ public async Task GetAll_VirtualMachineScaleSetVMListMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_VirtualMachineScaleSetVMListMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionCollection.cs
index 794d97412768..ba3c05eb0a57 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_VirtualMachineScaleSetVmExtensionCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateVirtualMachineScaleSetVMExtension()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Create.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Create.json
// this example is just showing the usage of "VirtualMachineScaleSetVMExtensions_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -68,7 +68,7 @@ public async Task CreateOrUpdate_CreateVirtualMachineScaleSetVMExtension()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetVirtualMachineScaleSetVMExtension()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json
// this example is just showing the usage of "VirtualMachineScaleSetVMExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -104,7 +104,7 @@ public async Task Get_GetVirtualMachineScaleSetVMExtension()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetVirtualMachineScaleSetVMExtension()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json
// this example is just showing the usage of "VirtualMachineScaleSetVMExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -136,7 +136,7 @@ public async Task Exists_GetVirtualMachineScaleSetVMExtension()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetVirtualMachineScaleSetVMExtension()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json
// this example is just showing the usage of "VirtualMachineScaleSetVMExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -180,7 +180,7 @@ public async Task GetIfExists_GetVirtualMachineScaleSetVMExtension()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_ListExtensionsInVmssInstance()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_List.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_List.json
// this example is just showing the usage of "VirtualMachineScaleSetVMExtensions_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionResource.cs
index 5f2dbacf78be..c135579c54db 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_VirtualMachineScaleSetVmExtensionResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateVirtualMachineScaleSetVMExtension()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Update.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Update.json
// this example is just showing the usage of "VirtualMachineScaleSetVMExtensions_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -66,7 +66,7 @@ public async Task Update_UpdateVirtualMachineScaleSetVMExtension()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteVirtualMachineScaleSetVMExtension()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Delete.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Delete.json
// this example is just showing the usage of "VirtualMachineScaleSetVMExtensions_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -95,7 +95,7 @@ public async Task Delete_DeleteVirtualMachineScaleSetVMExtension()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetVirtualMachineScaleSetVMExtension()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json
// this example is just showing the usage of "VirtualMachineScaleSetVMExtensions_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmResource.cs
index c8b6c8ef4181..9120da9247cc 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_VirtualMachineScaleSetVmResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Reimage_VirtualMachineScaleSetVMReimageMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Reimage" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -54,7 +54,7 @@ public async Task Reimage_VirtualMachineScaleSetVMReimageMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Reimage_VirtualMachineScaleSetVMReimageMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Reimage" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -82,7 +82,7 @@ public async Task Reimage_VirtualMachineScaleSetVMReimageMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ReimageAll_VirtualMachineScaleSetVMReimageAllMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_ReimageAll" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -110,7 +110,7 @@ public async Task ReimageAll_VirtualMachineScaleSetVMReimageAllMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ReimageAll_VirtualMachineScaleSetVMReimageAllMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_ReimageAll" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -138,7 +138,7 @@ public async Task ReimageAll_VirtualMachineScaleSetVMReimageAllMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ApproveRollingUpgrade_VirtualMachineScaleSetVMApproveRollingUpgrade()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ApproveRollingUpgrade.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ApproveRollingUpgrade.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_ApproveRollingUpgrade" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -166,7 +166,7 @@ public async Task ApproveRollingUpgrade_VirtualMachineScaleSetVMApproveRollingUp
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Deallocate_VirtualMachineScaleSetVMDeallocateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Deallocate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -194,7 +194,7 @@ public async Task Deallocate_VirtualMachineScaleSetVMDeallocateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Deallocate_VirtualMachineScaleSetVMDeallocateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Deallocate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -222,7 +222,7 @@ public async Task Deallocate_VirtualMachineScaleSetVMDeallocateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_VirtualMachineScaleSetVMUpdateMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -587,7 +587,7 @@ public async Task Update_VirtualMachineScaleSetVMUpdateMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_VirtualMachineScaleSetVMUpdateMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -621,7 +621,7 @@ public async Task Update_VirtualMachineScaleSetVMUpdateMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_ForceDeleteAVirtualMachineFromAVMScaleSet()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -650,7 +650,7 @@ public async Task Delete_ForceDeleteAVirtualMachineFromAVMScaleSet()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetVMScaleSetVMWithUserData()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -682,7 +682,7 @@ public async Task Get_GetVMScaleSetVMWithUserData()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetVMScaleSetVMWithVMSizeProperties()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -714,7 +714,7 @@ public async Task Get_GetVMScaleSetVMWithVMSizeProperties()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetInstanceView_GetInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_GetInstanceView" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -742,7 +742,7 @@ public async Task GetInstanceView_GetInstanceViewOfAVirtualMachineFromAVMScaleSe
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOff_VirtualMachineScaleSetVMPowerOffMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_PowerOff" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -771,7 +771,7 @@ public async Task PowerOff_VirtualMachineScaleSetVMPowerOffMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOff_VirtualMachineScaleSetVMPowerOffMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_PowerOff" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -799,7 +799,7 @@ public async Task PowerOff_VirtualMachineScaleSetVMPowerOffMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Restart_VirtualMachineScaleSetVMRestartMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Restart" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -827,7 +827,7 @@ public async Task Restart_VirtualMachineScaleSetVMRestartMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Restart_VirtualMachineScaleSetVMRestartMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Restart" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -855,7 +855,7 @@ public async Task Restart_VirtualMachineScaleSetVMRestartMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOn_VirtualMachineScaleSetVMStartMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Start" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -883,7 +883,7 @@ public async Task PowerOn_VirtualMachineScaleSetVMStartMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PowerOn_VirtualMachineScaleSetVMStartMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Start" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -911,7 +911,7 @@ public async Task PowerOn_VirtualMachineScaleSetVMStartMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Redeploy_VirtualMachineScaleSetVMRedeployMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Redeploy" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -939,7 +939,7 @@ public async Task Redeploy_VirtualMachineScaleSetVMRedeployMaximumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Redeploy_VirtualMachineScaleSetVMRedeployMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_Redeploy" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -967,7 +967,7 @@ public async Task Redeploy_VirtualMachineScaleSetVMRedeployMinimumSetGen()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RetrieveBootDiagnosticsData_RetrieveBootDiagnosticsDataOfAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_RetrieveBootDiagnosticsData" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -996,7 +996,7 @@ public async Task RetrieveBootDiagnosticsData_RetrieveBootDiagnosticsDataOfAVirt
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PerformMaintenance_VirtualMachineScaleSetVMPerformMaintenanceMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_PerformMaintenance" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1024,7 +1024,7 @@ public async Task PerformMaintenance_VirtualMachineScaleSetVMPerformMaintenanceM
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PerformMaintenance_VirtualMachineScaleSetVMPerformMaintenanceMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_PerformMaintenance" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1052,7 +1052,7 @@ public async Task PerformMaintenance_VirtualMachineScaleSetVMPerformMaintenanceM
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task SimulateEviction_SimulateEvictionAVirtualMachine()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_SimulateEviction" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1080,7 +1080,7 @@ public async Task SimulateEviction_SimulateEvictionAVirtualMachine()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task AttachDetachDataDisks_VirtualMachineScaleSetVMAttachDetachDataDisksMaximumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_AttachDetachDataDisks_MaximumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_AttachDetachDataDisks_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_AttachDetachDataDisks" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1138,7 +1138,7 @@ public async Task AttachDetachDataDisks_VirtualMachineScaleSetVMAttachDetachData
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task AttachDetachDataDisks_VirtualMachineScaleSetVMAttachDetachDataDisksMinimumSetGen()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_AttachDetachDataDisks_MinimumSet_Gen.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_AttachDetachDataDisks_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_AttachDetachDataDisks" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -1178,7 +1178,7 @@ public async Task AttachDetachDataDisks_VirtualMachineScaleSetVMAttachDetachData
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RunCommand_VirtualMachineScaleSetVMsRunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand.json
// this example is just showing the usage of "VirtualMachineScaleSetVMs_RunCommand" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandCollection.cs
index 2da24f5c669c..6a6be30c2979 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_VirtualMachineScaleSetVmRunCommandCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateVirtualMachineScaleSetVMRunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.json
// this example is just showing the usage of "VirtualMachineScaleSetVMRunCommands_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -84,7 +84,7 @@ public async Task CreateOrUpdate_CreateVirtualMachineScaleSetVMRunCommand()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetVirtualMachineScaleSetVMRunCommands()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json
// this example is just showing the usage of "VirtualMachineScaleSetVMRunCommands_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -120,7 +120,7 @@ public async Task Get_GetVirtualMachineScaleSetVMRunCommands()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetVirtualMachineScaleSetVMRunCommands()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json
// this example is just showing the usage of "VirtualMachineScaleSetVMRunCommands_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -152,7 +152,7 @@ public async Task Exists_GetVirtualMachineScaleSetVMRunCommands()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetVirtualMachineScaleSetVMRunCommands()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json
// this example is just showing the usage of "VirtualMachineScaleSetVMRunCommands_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -196,7 +196,7 @@ public async Task GetIfExists_GetVirtualMachineScaleSetVMRunCommands()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_ListRunCommandsInVmssInstance()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.json
// this example is just showing the usage of "VirtualMachineScaleSetVMRunCommands_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandResource.cs
index 0e2901d2bae3..9fb4a1149477 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_VirtualMachineScaleSetVmRunCommandResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateVirtualMachineScaleSetVMRunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.json
// this example is just showing the usage of "VirtualMachineScaleSetVMRunCommands_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -65,7 +65,7 @@ public async Task Update_UpdateVirtualMachineScaleSetVMRunCommand()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteVirtualMachineScaleSetVMRunCommand()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.json
// this example is just showing the usage of "VirtualMachineScaleSetVMRunCommands_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -94,7 +94,7 @@ public async Task Delete_DeleteVirtualMachineScaleSetVMRunCommand()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetVirtualMachineScaleSetVMRunCommands()
{
- // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json
+ // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json
// this example is just showing the usage of "VirtualMachineScaleSetVMRunCommands_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj b/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj
index 375047c4cf34..a3e572f2526f 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj
@@ -1,8 +1,8 @@
- 1.6.0-beta.1
+ 1.7.0-beta.1
- 1.5.0
+ 1.6.0
Azure.ResourceManager.Compute
Microsoft Azure management client SDK for Azure resource provider Microsoft.Compute.
azure;management;compute
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Customize/Models/ComputeSecurityPostureReference.cs.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Customize/Models/ComputeSecurityPostureReference.cs.cs
new file mode 100644
index 000000000000..1bf4603a282e
--- /dev/null
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Customize/Models/ComputeSecurityPostureReference.cs.cs
@@ -0,0 +1,32 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using Azure.Core;
+
+namespace Azure.ResourceManager.Compute.Models
+{
+ /// Specifies the security posture to be used in the scale set. Minimum api-version: 2023-03-01.
+ public partial class ComputeSecurityPostureReference
+ {
+ /// Initializes a new instance of .
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public ComputeSecurityPostureReference()
+ {
+ ExcludeExtensions = new ChangeTrackingList();
+ ExcludeExtensionNames = new ChangeTrackingList();
+ }
+
+ /// List of virtual machine extensions to exclude when applying the Security Posture. This property is deprecated. Instead, use ExcludeExtensionNames that takes in list of strings.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public IList ExcludeExtensions { get; }
+ }
+}
+
+
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Customize/Models/WindowsConfiguration.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Customize/Models/WindowsConfiguration.cs
index c1bb5464aeb1..898840ababc6 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Customize/Models/WindowsConfiguration.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Customize/Models/WindowsConfiguration.cs
@@ -12,5 +12,8 @@ public partial class WindowsConfiguration
/// Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. <br><br> For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
[EditorBrowsable(EditorBrowsableState.Never)]
public bool? EnableAutomaticUpdates { get => IsAutomaticUpdatesEnabled; set => IsAutomaticUpdatesEnabled = value; }
+
+ /// Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
+ public bool? IsVmAgentPlatformUpdatesEnabled { get; [EditorBrowsable(EditorBrowsableState.Never)] set; }
}
}
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ArmComputeModelFactory.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ArmComputeModelFactory.cs
index fabe19ebcbb5..195d2f33d442 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ArmComputeModelFactory.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ArmComputeModelFactory.cs
@@ -107,7 +107,7 @@ public static VirtualMachineSize VirtualMachineSize(string name = null, int? num
/// The virtual machine scale set sku.
/// Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
/// The identity of the virtual machine scale set, if configured.
- /// The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set.
+ /// The virtual machine scale set zones.
/// The extended location of the Virtual Machine Scale Set.
/// Etag is property returned in Create/Update/Get response of the VMSS, so that customer can supply it in the header to ensure optimistic updates.
/// The upgrade policy.
@@ -131,8 +131,10 @@ public static VirtualMachineSize VirtualMachineSize(string name = null, int? num
/// Specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.
/// Optional property which must either be set to True or omitted.
/// Policy for Resiliency.
+ /// Specifies the align mode between Virtual Machine Scale Set compute and storage Fault Domain count.
+ /// Specifies the sku profile for the virtual machine scale set.
/// A new instance for mocking.
- public static VirtualMachineScaleSetData VirtualMachineScaleSetData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ComputeSku sku = null, ComputePlan plan = null, ManagedServiceIdentity identity = null, IEnumerable zones = null, ExtendedLocation extendedLocation = null, string etag = null, VirtualMachineScaleSetUpgradePolicy upgradePolicy = null, ScheduledEventsPolicy scheduledEventsPolicy = null, AutomaticRepairsPolicy automaticRepairsPolicy = null, VirtualMachineScaleSetVmProfile virtualMachineProfile = null, string provisioningState = null, bool? overprovision = null, bool? doNotRunExtensionsOnOverprovisionedVms = null, string uniqueId = null, bool? singlePlacementGroup = null, bool? zoneBalance = null, int? platformFaultDomainCount = null, ResourceIdentifier proximityPlacementGroupId = null, ResourceIdentifier hostGroupId = null, AdditionalCapabilities additionalCapabilities = null, ScaleInPolicy scaleInPolicy = null, OrchestrationMode? orchestrationMode = null, SpotRestorePolicy spotRestorePolicy = null, VirtualMachineScaleSetPriorityMixPolicy priorityMixPolicy = null, DateTimeOffset? timeCreated = null, bool? isMaximumCapacityConstrained = null, ResiliencyPolicy resiliencyPolicy = null)
+ public static VirtualMachineScaleSetData VirtualMachineScaleSetData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ComputeSku sku = null, ComputePlan plan = null, ManagedServiceIdentity identity = null, IEnumerable zones = null, ExtendedLocation extendedLocation = null, string etag = null, VirtualMachineScaleSetUpgradePolicy upgradePolicy = null, ScheduledEventsPolicy scheduledEventsPolicy = null, AutomaticRepairsPolicy automaticRepairsPolicy = null, VirtualMachineScaleSetVmProfile virtualMachineProfile = null, string provisioningState = null, bool? overprovision = null, bool? doNotRunExtensionsOnOverprovisionedVms = null, string uniqueId = null, bool? singlePlacementGroup = null, bool? zoneBalance = null, int? platformFaultDomainCount = null, ResourceIdentifier proximityPlacementGroupId = null, ResourceIdentifier hostGroupId = null, AdditionalCapabilities additionalCapabilities = null, ScaleInPolicy scaleInPolicy = null, OrchestrationMode? orchestrationMode = null, SpotRestorePolicy spotRestorePolicy = null, VirtualMachineScaleSetPriorityMixPolicy priorityMixPolicy = null, DateTimeOffset? timeCreated = null, bool? isMaximumCapacityConstrained = null, ResiliencyPolicy resiliencyPolicy = null, ZonalPlatformFaultDomainAlignMode? zonalPlatformFaultDomainAlignMode = null, ComputeSkuProfile skuProfile = null)
{
tags ??= new Dictionary();
zones ??= new List();
@@ -171,6 +173,8 @@ public static VirtualMachineScaleSetData VirtualMachineScaleSetData(ResourceIden
timeCreated,
isMaximumCapacityConstrained,
resiliencyPolicy,
+ zonalPlatformFaultDomainAlignMode,
+ skuProfile,
serializedAdditionalRawData: null);
}
@@ -191,8 +195,8 @@ public static VirtualMachineScaleSetData VirtualMachineScaleSetData(ResourceIden
/// Specifies the gallery applications that should be made available to the VM/VMSS.
/// Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
/// Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01.
- /// Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01.
- /// Specifies the time in which this VM profile for the Virtual Machine Scale Set was created. Minimum API version for this property is 2024-03-01. This value will be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile with minimum api-version 2024-03-01.
+ /// Specifies the security posture to be used in the scale set. Minimum api-version: 2023-03-01.
+ /// Specifies the time in which this VM profile for the Virtual Machine Scale Set was created. This value will be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile. Minimum API version for this property is 2023-09-01.
/// A new instance for mocking.
public static VirtualMachineScaleSetVmProfile VirtualMachineScaleSetVmProfile(VirtualMachineScaleSetOSProfile osProfile = null, VirtualMachineScaleSetStorageProfile storageProfile = null, VirtualMachineScaleSetNetworkProfile networkProfile = null, SecurityProfile securityProfile = null, BootDiagnostics bootDiagnostics = null, VirtualMachineScaleSetExtensionProfile extensionProfile = null, string licenseType = null, VirtualMachinePriorityType? priority = null, VirtualMachineEvictionPolicyType? evictionPolicy = null, double? billingMaxPrice = null, ComputeScheduledEventsProfile scheduledEventsProfile = null, string userData = null, ResourceIdentifier capacityReservationGroupId = null, IEnumerable galleryApplications = null, VirtualMachineSizeProperties hardwareVmSizeProperties = null, ResourceIdentifier serviceArtifactReferenceId = null, ComputeSecurityPostureReference securityPostureReference = null, DateTimeOffset? timeCreated = null)
{
@@ -220,6 +224,31 @@ public static VirtualMachineScaleSetVmProfile VirtualMachineScaleSetVmProfile(Vi
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
+ /// Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
+ /// Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).
+ /// Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
+ /// [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
+ /// Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
+ /// Indicates whether VMAgent Platform Updates are enabled for the Windows Virtual Machine.
+ /// A new instance for mocking.
+ public static WindowsConfiguration WindowsConfiguration(bool? provisionVmAgent = null, bool? isAutomaticUpdatesEnabled = null, string timeZone = null, IEnumerable additionalUnattendContent = null, PatchSettings patchSettings = null, IEnumerable winRMListeners = null, bool? isVmAgentPlatformUpdatesEnabled = null)
+ {
+ additionalUnattendContent ??= new List();
+ winRMListeners ??= new List();
+
+ return new WindowsConfiguration(
+ provisionVmAgent,
+ isAutomaticUpdatesEnabled,
+ timeZone,
+ additionalUnattendContent?.ToList(),
+ patchSettings,
+ winRMListeners != null ? new WinRMConfiguration(winRMListeners?.ToList(), serializedAdditionalRawData: null) : null,
+ isVmAgentPlatformUpdatesEnabled,
+ serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// Resource Id.
/// The image publisher.
@@ -294,55 +323,6 @@ public static ComputeSubResourceData ComputeSubResourceData(ResourceIdentifier i
return new ComputeSubResourceData(id, serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The id.
- /// The name.
- /// The resourceType.
- /// The systemData.
- /// The tags.
- /// The location.
- /// How the extension handler should be forced to update even if the extension configuration has not changed.
- /// The name of the extension handler publisher.
- /// Specifies the type of the extension; an example is "CustomScriptExtension".
- /// Specifies the version of the script handler.
- /// Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- /// Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- /// Json formatted public settings for the extension.
- /// The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- /// The provisioning state, which only appears in the response.
- /// The virtual machine extension instance view.
- /// Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- /// The extensions protected settings that are passed by reference, and consumed from key vault.
- /// Collection of extension names after which this extension needs to be provisioned.
- /// A new instance for mocking.
- public static VirtualMachineExtensionData VirtualMachineExtensionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string forceUpdateTag = null, string publisher = null, string extensionType = null, string typeHandlerVersion = null, bool? autoUpgradeMinorVersion = null, bool? enableAutomaticUpgrade = null, BinaryData settings = null, BinaryData protectedSettings = null, string provisioningState = null, VirtualMachineExtensionInstanceView instanceView = null, bool? suppressFailures = null, KeyVaultSecretReference keyVaultProtectedSettings = null, IEnumerable provisionAfterExtensions = null)
- {
- tags ??= new Dictionary();
- provisionAfterExtensions ??= new List();
-
- return new VirtualMachineExtensionData(
- id,
- name,
- resourceType,
- systemData,
- tags,
- location,
- forceUpdateTag,
- publisher,
- extensionType,
- typeHandlerVersion,
- autoUpgradeMinorVersion,
- enableAutomaticUpgrade,
- settings,
- protectedSettings,
- provisioningState,
- instanceView,
- suppressFailures,
- keyVaultProtectedSettings,
- provisionAfterExtensions?.ToList(),
- serializedAdditionalRawData: null);
- }
-
/// Initializes a new instance of .
/// The instance view status summary for the virtual machine scale set.
/// The extensions information.
@@ -674,8 +654,8 @@ public static VirtualMachineScaleSetVmExtensionPatch VirtualMachineScaleSetVmExt
/// Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15.
/// Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine.
/// Specifies the protection policy of the virtual machine.
- /// UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01.
- /// Specifies the time at which the Virtual Machine resource was created.<br><br>Minimum api-version: 2021-11-01.
+ /// UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
+ /// Specifies the time at which the Virtual Machine resource was created. Minimum api-version: 2021-11-01.
/// A new instance for mocking.
public static VirtualMachineScaleSetVmData VirtualMachineScaleSetVmData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string instanceId = null, ComputeSku sku = null, ComputePlan plan = null, IEnumerable resources = null, IEnumerable zones = null, ManagedServiceIdentity identity = null, string etag = null, bool? latestModelApplied = null, string vmId = null, VirtualMachineScaleSetVmInstanceView instanceView = null, VirtualMachineHardwareProfile hardwareProfile = null, VirtualMachineStorageProfile storageProfile = null, AdditionalCapabilities additionalCapabilities = null, VirtualMachineOSProfile osProfile = null, SecurityProfile securityProfile = null, VirtualMachineNetworkProfile networkProfile = null, IEnumerable networkInterfaceConfigurations = null, BootDiagnostics bootDiagnostics = null, ResourceIdentifier availabilitySetId = null, string provisioningState = null, string licenseType = null, string modelDefinitionApplied = null, VirtualMachineScaleSetVmProtectionPolicy protectionPolicy = null, string userData = null, DateTimeOffset? timeCreated = null)
{
@@ -869,6 +849,55 @@ public static VirtualMachineDataDisk VirtualMachineDataDisk(int lun = default, s
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// How the extension handler should be forced to update even if the extension configuration has not changed.
+ /// The name of the extension handler publisher.
+ /// Specifies the type of the extension; an example is "CustomScriptExtension".
+ /// Specifies the version of the script handler.
+ /// Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
+ /// Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
+ /// Json formatted public settings for the extension.
+ /// The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
+ /// The provisioning state, which only appears in the response.
+ /// The virtual machine extension instance view.
+ /// Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
+ /// The extensions protected settings that are passed by reference, and consumed from key vault.
+ /// Collection of extension names after which this extension needs to be provisioned.
+ /// A new instance for mocking.
+ public static VirtualMachineExtensionData VirtualMachineExtensionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string forceUpdateTag = null, string publisher = null, string extensionType = null, string typeHandlerVersion = null, bool? autoUpgradeMinorVersion = null, bool? enableAutomaticUpgrade = null, BinaryData settings = null, BinaryData protectedSettings = null, string provisioningState = null, VirtualMachineExtensionInstanceView instanceView = null, bool? suppressFailures = null, KeyVaultSecretReference keyVaultProtectedSettings = null, IEnumerable provisionAfterExtensions = null)
+ {
+ tags ??= new Dictionary();
+ provisionAfterExtensions ??= new List();
+
+ return new VirtualMachineExtensionData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ tags,
+ location,
+ forceUpdateTag,
+ publisher,
+ extensionType,
+ typeHandlerVersion,
+ autoUpgradeMinorVersion,
+ enableAutomaticUpgrade,
+ settings,
+ protectedSettings,
+ provisioningState,
+ instanceView,
+ suppressFailures,
+ keyVaultProtectedSettings,
+ provisionAfterExtensions?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// The console screenshot blob URI.
/// The serial console log blob URI.
@@ -1382,8 +1411,9 @@ public static VirtualMachineExtensionImageData VirtualMachineExtensionImageData(
/// A list of references to all virtual machines in the availability set.
/// Specifies information about the proximity placement group that the availability set should be assigned to. Minimum api-version: 2018-04-01.
/// The resource status information.
+ /// Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the availability set.
/// A new instance for mocking.
- public static AvailabilitySetData AvailabilitySetData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ComputeSku sku = null, int? platformUpdateDomainCount = null, int? platformFaultDomainCount = null, IEnumerable virtualMachines = null, ResourceIdentifier proximityPlacementGroupId = null, IEnumerable statuses = null)
+ public static AvailabilitySetData AvailabilitySetData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ComputeSku sku = null, int? platformUpdateDomainCount = null, int? platformFaultDomainCount = null, IEnumerable virtualMachines = null, ResourceIdentifier proximityPlacementGroupId = null, IEnumerable statuses = null, ScheduledEventsPolicy scheduledEventsPolicy = null)
{
tags ??= new Dictionary();
virtualMachines ??= new List();
@@ -1402,6 +1432,7 @@ public static AvailabilitySetData AvailabilitySetData(ResourceIdentifier id = nu
virtualMachines?.ToList(),
proximityPlacementGroupId != null ? ResourceManagerModelFactory.WritableSubResource(proximityPlacementGroupId) : null,
statuses?.ToList(),
+ scheduledEventsPolicy,
serializedAdditionalRawData: null);
}
@@ -1413,8 +1444,9 @@ public static AvailabilitySetData AvailabilitySetData(ResourceIdentifier id = nu
/// A list of references to all virtual machines in the availability set.
/// Specifies information about the proximity placement group that the availability set should be assigned to. Minimum api-version: 2018-04-01.
/// The resource status information.
+ /// Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the availability set.
/// A new instance for mocking.
- public static AvailabilitySetPatch AvailabilitySetPatch(IDictionary tags = null, ComputeSku sku = null, int? platformUpdateDomainCount = null, int? platformFaultDomainCount = null, IEnumerable virtualMachines = null, ResourceIdentifier proximityPlacementGroupId = null, IEnumerable statuses = null)
+ public static AvailabilitySetPatch AvailabilitySetPatch(IDictionary tags = null, ComputeSku sku = null, int? platformUpdateDomainCount = null, int? platformFaultDomainCount = null, IEnumerable virtualMachines = null, ResourceIdentifier proximityPlacementGroupId = null, IEnumerable statuses = null, ScheduledEventsPolicy scheduledEventsPolicy = null)
{
tags ??= new Dictionary();
virtualMachines ??= new List();
@@ -1428,7 +1460,8 @@ public static AvailabilitySetPatch AvailabilitySetPatch(IDictionary Initializes a new instance of .
@@ -1964,7 +1997,7 @@ public static RestorePointGroupPatch RestorePointGroupPatch(IDictionary A list of all capacity reservation resource ids that belong to capacity reservation group.
/// A list of references to all virtual machines associated to the capacity reservation group.
/// The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group.
- /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details.
+ /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
/// A new instance for mocking.
public static CapacityReservationGroupData CapacityReservationGroupData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, IEnumerable zones = null, IEnumerable capacityReservations = null, IEnumerable virtualMachinesAssociated = null, CapacityReservationGroupInstanceView instanceView = null, IEnumerable sharingSubscriptionIds = null)
{
@@ -1991,7 +2024,7 @@ public static CapacityReservationGroupData CapacityReservationGroupData(Resource
/// Initializes a new instance of .
/// List of instance view of the capacity reservations under the capacity reservation group.
- /// List of the subscriptions that the capacity reservation group is shared with. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details.
+ /// List of the subscriptions that the capacity reservation group is shared with. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
/// A new instance for mocking.
public static CapacityReservationGroupInstanceView CapacityReservationGroupInstanceView(IEnumerable capacityReservations = null, IEnumerable sharedSubscriptionIds = null)
{
@@ -2040,7 +2073,7 @@ public static CapacityReservationUtilization CapacityReservationUtilization(int?
/// A list of all capacity reservation resource ids that belong to capacity reservation group.
/// A list of references to all virtual machines associated to the capacity reservation group.
/// The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group.
- /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details.
+ /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
/// A new instance for mocking.
public static CapacityReservationGroupPatch CapacityReservationGroupPatch(IDictionary tags = null, IEnumerable capacityReservations = null, IEnumerable virtualMachinesAssociated = null, CapacityReservationGroupInstanceView instanceView = null, IEnumerable sharingSubscriptionIds = null)
{
@@ -2773,8 +2806,9 @@ public static DiskEncryptionSetData DiskEncryptionSetData(ResourceIdentifier id
/// Replication state of disk restore point when source resource is from a different region.
/// Location of source disk or source disk restore point when source resource is from a different region.
/// Contains the security related information for the resource.
+ /// Logical sector size in bytes for disk restore points of UltraSSD_LRS and PremiumV2_LRS disks. Supported values are 512 and 4096. 4096 is the default.
/// A new instance for mocking.
- public static DiskRestorePointData DiskRestorePointData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, DateTimeOffset? timeCreated = null, ResourceIdentifier sourceResourceId = null, SupportedOperatingSystemType? osType = null, HyperVGeneration? hyperVGeneration = null, DiskPurchasePlan purchasePlan = null, SupportedCapabilities supportedCapabilities = null, string familyId = null, string sourceUniqueId = null, DiskEncryption encryption = null, bool? supportsHibernation = null, NetworkAccessPolicy? networkAccessPolicy = null, DiskPublicNetworkAccess? publicNetworkAccess = null, ResourceIdentifier diskAccessId = null, float? completionPercent = null, string replicationState = null, AzureLocation? sourceResourceLocation = null, DiskSecurityProfile securityProfile = null)
+ public static DiskRestorePointData DiskRestorePointData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, DateTimeOffset? timeCreated = null, ResourceIdentifier sourceResourceId = null, SupportedOperatingSystemType? osType = null, HyperVGeneration? hyperVGeneration = null, DiskPurchasePlan purchasePlan = null, SupportedCapabilities supportedCapabilities = null, string familyId = null, string sourceUniqueId = null, DiskEncryption encryption = null, bool? supportsHibernation = null, NetworkAccessPolicy? networkAccessPolicy = null, DiskPublicNetworkAccess? publicNetworkAccess = null, ResourceIdentifier diskAccessId = null, float? completionPercent = null, string replicationState = null, AzureLocation? sourceResourceLocation = null, DiskSecurityProfile securityProfile = null, int? logicalSectorSize = null)
{
return new DiskRestorePointData(
id,
@@ -2798,6 +2832,7 @@ public static DiskRestorePointData DiskRestorePointData(ResourceIdentifier id =
replicationState,
sourceResourceLocation,
securityProfile,
+ logicalSectorSize,
serializedAdditionalRawData: null);
}
@@ -4189,6 +4224,111 @@ public static OSVersionPropertiesBase OSVersionPropertiesBase(string version = n
return new OSVersionPropertiesBase(version, label, isDefault, isActive, serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// The virtual machine scale set sku.
+ /// Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
+ /// The identity of the virtual machine scale set, if configured.
+ /// The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set.
+ /// The extended location of the Virtual Machine Scale Set.
+ /// Etag is property returned in Create/Update/Get response of the VMSS, so that customer can supply it in the header to ensure optimistic updates.
+ /// The upgrade policy.
+ /// The ScheduledEventsPolicy.
+ /// Policy for automatic repairs.
+ /// The virtual machine profile.
+ /// The provisioning state, which only appears in the response.
+ /// Specifies whether the Virtual Machine Scale Set should be overprovisioned.
+ /// When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.
+ /// Specifies the ID which uniquely identifies a Virtual Machine Scale Set.
+ /// When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.
+ /// Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.
+ /// Fault Domain count for each placement group.
+ /// Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.
+ /// Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.
+ /// Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
+ /// Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.
+ /// Specifies the orchestration mode for the virtual machine scale set.
+ /// Specifies the Spot Restore properties for the virtual machine scale set.
+ /// Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.
+ /// Specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.
+ /// Optional property which must either be set to True or omitted.
+ /// Policy for Resiliency.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static VirtualMachineScaleSetData VirtualMachineScaleSetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, ComputePlan plan, ManagedServiceIdentity identity, IEnumerable zones, ExtendedLocation extendedLocation, string etag, VirtualMachineScaleSetUpgradePolicy upgradePolicy, ScheduledEventsPolicy scheduledEventsPolicy, AutomaticRepairsPolicy automaticRepairsPolicy, VirtualMachineScaleSetVmProfile virtualMachineProfile, string provisioningState, bool? overprovision, bool? doNotRunExtensionsOnOverprovisionedVms, string uniqueId, bool? singlePlacementGroup, bool? zoneBalance, int? platformFaultDomainCount, ResourceIdentifier proximityPlacementGroupId, ResourceIdentifier hostGroupId, AdditionalCapabilities additionalCapabilities, ScaleInPolicy scaleInPolicy, OrchestrationMode? orchestrationMode, SpotRestorePolicy spotRestorePolicy, VirtualMachineScaleSetPriorityMixPolicy priorityMixPolicy, DateTimeOffset? timeCreated, bool? isMaximumCapacityConstrained, ResiliencyPolicy resiliencyPolicy)
+ {
+ return VirtualMachineScaleSetData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, sku: sku, plan: plan, identity: identity, zones: zones, extendedLocation: extendedLocation, etag: etag, upgradePolicy: upgradePolicy, scheduledEventsPolicy: scheduledEventsPolicy, automaticRepairsPolicy: automaticRepairsPolicy, virtualMachineProfile: virtualMachineProfile, provisioningState: provisioningState, overprovision: overprovision, doNotRunExtensionsOnOverprovisionedVms: doNotRunExtensionsOnOverprovisionedVms, uniqueId: uniqueId, singlePlacementGroup: singlePlacementGroup, zoneBalance: zoneBalance, platformFaultDomainCount: platformFaultDomainCount, proximityPlacementGroupId: proximityPlacementGroupId, hostGroupId: hostGroupId, additionalCapabilities: additionalCapabilities, scaleInPolicy: scaleInPolicy, orchestrationMode: orchestrationMode, spotRestorePolicy: spotRestorePolicy, priorityMixPolicy: priorityMixPolicy, timeCreated: timeCreated, isMaximumCapacityConstrained: isMaximumCapacityConstrained, resiliencyPolicy: resiliencyPolicy, zonalPlatformFaultDomainAlignMode: default, skuProfile: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.
+ /// Update Domain count.
+ /// Fault Domain count.
+ /// A list of references to all virtual machines in the availability set.
+ /// Specifies information about the proximity placement group that the availability set should be assigned to. Minimum api-version: 2018-04-01.
+ /// The resource status information.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static AvailabilitySetData AvailabilitySetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, int? platformUpdateDomainCount, int? platformFaultDomainCount, IEnumerable virtualMachines, ResourceIdentifier proximityPlacementGroupId, IEnumerable statuses)
+ {
+ return AvailabilitySetData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, sku: sku, platformUpdateDomainCount: platformUpdateDomainCount, platformFaultDomainCount: platformFaultDomainCount, virtualMachines: virtualMachines, proximityPlacementGroupId: proximityPlacementGroupId, statuses: statuses, scheduledEventsPolicy: default);
+ }
+
+ /// Initializes a new instance of .
+ /// Resource tags.
+ /// Sku of the availability set.
+ /// Update Domain count.
+ /// Fault Domain count.
+ /// A list of references to all virtual machines in the availability set.
+ /// Specifies information about the proximity placement group that the availability set should be assigned to. Minimum api-version: 2018-04-01.
+ /// The resource status information.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static AvailabilitySetPatch AvailabilitySetPatch(IDictionary tags, ComputeSku sku, int? platformUpdateDomainCount, int? platformFaultDomainCount, IEnumerable virtualMachines, ResourceIdentifier proximityPlacementGroupId, IEnumerable statuses)
+ {
+ return AvailabilitySetPatch(tags: tags, sku: sku, platformUpdateDomainCount: platformUpdateDomainCount, platformFaultDomainCount: platformFaultDomainCount, virtualMachines: virtualMachines, proximityPlacementGroupId: proximityPlacementGroupId, statuses: statuses, scheduledEventsPolicy: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The timestamp of restorePoint creation.
+ /// arm id of source disk or source disk restore point.
+ /// The Operating System type.
+ /// The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
+ /// Purchase plan information for the the image from which the OS disk was created.
+ /// List of supported capabilities for the image from which the OS disk was created.
+ /// id of the backing snapshot's MIS family.
+ /// unique incarnation id of the source disk.
+ /// Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
+ /// Indicates the OS on a disk supports hibernation.
+ /// Policy for accessing the disk via network.
+ /// Policy for controlling export on the disk.
+ /// ARM id of the DiskAccess resource for using private endpoints on disks.
+ /// Percentage complete for the background copy of disk restore point when source resource is from a different region.
+ /// Replication state of disk restore point when source resource is from a different region.
+ /// Location of source disk or source disk restore point when source resource is from a different region.
+ /// Contains the security related information for the resource.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static DiskRestorePointData DiskRestorePointData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DateTimeOffset? timeCreated, ResourceIdentifier sourceResourceId, SupportedOperatingSystemType? osType, HyperVGeneration? hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, string familyId, string sourceUniqueId, DiskEncryption encryption, bool? supportsHibernation, NetworkAccessPolicy? networkAccessPolicy, DiskPublicNetworkAccess? publicNetworkAccess, ResourceIdentifier diskAccessId, float? completionPercent, string replicationState, AzureLocation? sourceResourceLocation, DiskSecurityProfile securityProfile)
+ {
+ return DiskRestorePointData(id: id, name: name, resourceType: resourceType, systemData: systemData, timeCreated: timeCreated, sourceResourceId: sourceResourceId, osType: osType, hyperVGeneration: hyperVGeneration, purchasePlan: purchasePlan, supportedCapabilities: supportedCapabilities, familyId: familyId, sourceUniqueId: sourceUniqueId, encryption: encryption, supportsHibernation: supportsHibernation, networkAccessPolicy: networkAccessPolicy, publicNetworkAccess: publicNetworkAccess, diskAccessId: diskAccessId, completionPercent: completionPercent, replicationState: replicationState, sourceResourceLocation: sourceResourceLocation, securityProfile: securityProfile, logicalSectorSize: default);
+ }
+
/// Initializes a new instance of .
/// The id.
/// The name.
@@ -4226,7 +4366,7 @@ public static OSVersionPropertiesBase OSVersionPropertiesBase(string version = n
[EditorBrowsable(EditorBrowsableState.Never)]
public static VirtualMachineScaleSetData VirtualMachineScaleSetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, ComputePlan plan, ManagedServiceIdentity identity, IEnumerable zones, ExtendedLocation extendedLocation, string etag, VirtualMachineScaleSetUpgradePolicy upgradePolicy, AutomaticRepairsPolicy automaticRepairsPolicy, VirtualMachineScaleSetVmProfile virtualMachineProfile, string provisioningState, bool? overprovision, bool? doNotRunExtensionsOnOverprovisionedVms, string uniqueId, bool? singlePlacementGroup, bool? zoneBalance, int? platformFaultDomainCount, ResourceIdentifier proximityPlacementGroupId, ResourceIdentifier hostGroupId, AdditionalCapabilities additionalCapabilities, ScaleInPolicy scaleInPolicy, OrchestrationMode? orchestrationMode, SpotRestorePolicy spotRestorePolicy, VirtualMachineScaleSetPriorityMixPolicy priorityMixPolicy, DateTimeOffset? timeCreated, bool? isMaximumCapacityConstrained, ResiliencyPolicy resiliencyPolicy)
{
- return VirtualMachineScaleSetData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, sku: sku, plan: plan, identity: identity, zones: zones, extendedLocation: extendedLocation, etag: etag, upgradePolicy: upgradePolicy, scheduledEventsPolicy: default, automaticRepairsPolicy: automaticRepairsPolicy, virtualMachineProfile: virtualMachineProfile, provisioningState: provisioningState, overprovision: overprovision, doNotRunExtensionsOnOverprovisionedVms: doNotRunExtensionsOnOverprovisionedVms, uniqueId: uniqueId, singlePlacementGroup: singlePlacementGroup, zoneBalance: zoneBalance, platformFaultDomainCount: platformFaultDomainCount, proximityPlacementGroupId: proximityPlacementGroupId, hostGroupId: hostGroupId, additionalCapabilities: additionalCapabilities, scaleInPolicy: scaleInPolicy, orchestrationMode: orchestrationMode, spotRestorePolicy: spotRestorePolicy, priorityMixPolicy: priorityMixPolicy, timeCreated: timeCreated, isMaximumCapacityConstrained: isMaximumCapacityConstrained, resiliencyPolicy: resiliencyPolicy);
+ return VirtualMachineScaleSetData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, sku: sku, plan: plan, identity: identity, zones: zones, extendedLocation: extendedLocation, etag: etag, upgradePolicy: upgradePolicy, scheduledEventsPolicy: default, automaticRepairsPolicy: automaticRepairsPolicy, virtualMachineProfile: virtualMachineProfile, provisioningState: provisioningState, overprovision: overprovision, doNotRunExtensionsOnOverprovisionedVms: doNotRunExtensionsOnOverprovisionedVms, uniqueId: uniqueId, singlePlacementGroup: singlePlacementGroup, zoneBalance: zoneBalance, platformFaultDomainCount: platformFaultDomainCount, proximityPlacementGroupId: proximityPlacementGroupId, hostGroupId: hostGroupId, additionalCapabilities: additionalCapabilities, scaleInPolicy: scaleInPolicy, orchestrationMode: orchestrationMode, spotRestorePolicy: spotRestorePolicy, priorityMixPolicy: priorityMixPolicy, timeCreated: timeCreated, isMaximumCapacityConstrained: isMaximumCapacityConstrained, resiliencyPolicy: resiliencyPolicy, zonalPlatformFaultDomainAlignMode: default, skuProfile: default);
}
/// Initializes a new instance of .
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetCollection.cs
index 2462ee686f1a..89c78df17278 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetCollection.cs
@@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -116,7 +116,7 @@ public virtual async Task> CreateOrUpdateA
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -167,7 +167,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil wa
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -212,7 +212,7 @@ public virtual async Task> GetAsync(string ava
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -257,7 +257,7 @@ public virtual Response Get(string availabilitySetName,
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -287,7 +287,7 @@ public virtual AsyncPageable GetAllAsync(CancellationTo
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -317,7 +317,7 @@ public virtual Pageable GetAll(CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -360,7 +360,7 @@ public virtual async Task> ExistsAsync(string availabilitySetName
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -403,7 +403,7 @@ public virtual Response Exists(string availabilitySetName, CancellationTok
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -448,7 +448,7 @@ public virtual async Task> GetIfExists
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.Serialization.cs
index 939e4f5bd2a2..662a6b81f216 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.Serialization.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.Serialization.cs
@@ -104,6 +104,11 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri
}
writer.WriteEndArray();
}
+ if (Optional.IsDefined(ScheduledEventsPolicy))
+ {
+ writer.WritePropertyName("scheduledEventsPolicy"u8);
+ writer.WriteObjectValue(ScheduledEventsPolicy, options);
+ }
writer.WriteEndObject();
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -155,6 +160,7 @@ internal static AvailabilitySetData DeserializeAvailabilitySetData(JsonElement e
IList virtualMachines = default;
WritableSubResource proximityPlacementGroup = default;
IReadOnlyList statuses = default;
+ ScheduledEventsPolicy scheduledEventsPolicy = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
@@ -275,6 +281,15 @@ internal static AvailabilitySetData DeserializeAvailabilitySetData(JsonElement e
statuses = array;
continue;
}
+ if (property0.NameEquals("scheduledEventsPolicy"u8))
+ {
+ if (property0.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ scheduledEventsPolicy = ScheduledEventsPolicy.DeserializeScheduledEventsPolicy(property0.Value, options);
+ continue;
+ }
}
continue;
}
@@ -297,6 +312,7 @@ internal static AvailabilitySetData DeserializeAvailabilitySetData(JsonElement e
virtualMachines ?? new ChangeTrackingList(),
proximityPlacementGroup,
statuses ?? new ChangeTrackingList(),
+ scheduledEventsPolicy,
serializedAdditionalRawData);
}
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.cs
index 04171c68292f..48925e2a00c2 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.cs
@@ -73,8 +73,9 @@ public AvailabilitySetData(AzureLocation location) : base(location)
/// A list of references to all virtual machines in the availability set.
/// Specifies information about the proximity placement group that the availability set should be assigned to. Minimum api-version: 2018-04-01.
/// The resource status information.
+ /// Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the availability set.
/// Keeps track of any properties unknown to the library.
- internal AvailabilitySetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, int? platformUpdateDomainCount, int? platformFaultDomainCount, IList virtualMachines, WritableSubResource proximityPlacementGroup, IReadOnlyList statuses, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location)
+ internal AvailabilitySetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, int? platformUpdateDomainCount, int? platformFaultDomainCount, IList virtualMachines, WritableSubResource proximityPlacementGroup, IReadOnlyList statuses, ScheduledEventsPolicy scheduledEventsPolicy, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location)
{
Sku = sku;
PlatformUpdateDomainCount = platformUpdateDomainCount;
@@ -82,6 +83,7 @@ internal AvailabilitySetData(ResourceIdentifier id, string name, ResourceType re
VirtualMachines = virtualMachines;
ProximityPlacementGroup = proximityPlacementGroup;
Statuses = statuses;
+ ScheduledEventsPolicy = scheduledEventsPolicy;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
@@ -114,5 +116,7 @@ public ResourceIdentifier ProximityPlacementGroupId
/// The resource status information.
public IReadOnlyList Statuses { get; }
+ /// Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the availability set.
+ public ScheduledEventsPolicy ScheduledEventsPolicy { get; set; }
}
}
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetResource.cs
index 4791546e5d45..bbf00466bad0 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetResource.cs
@@ -104,7 +104,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -144,7 +144,7 @@ public virtual async Task> GetAsync(Cancellati
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -184,7 +184,7 @@ public virtual Response Get(CancellationToken cancellat
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -228,7 +228,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -272,7 +272,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -314,7 +314,7 @@ public virtual async Task> UpdateAsync(Availab
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -356,7 +356,7 @@ public virtual Response Update(AvailabilitySetPatch pat
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -385,7 +385,7 @@ public virtual AsyncPageable GetAvailableSizesAsync(Cancella
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -414,7 +414,7 @@ public virtual Pageable GetAvailableSizes(CancellationToken
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -476,7 +476,7 @@ public virtual async Task> AddTagAsync(string
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -538,7 +538,7 @@ public virtual Response AddTag(string key, string value
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -595,7 +595,7 @@ public virtual async Task> SetTagsAsync(IDicti
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -652,7 +652,7 @@ public virtual Response SetTags(IDictionary
///
-
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -712,7 +712,7 @@ public virtual async Task> RemoveTagAsync(stri
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationCollection.cs
index fc5afd6032c1..0cb915667f7d 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationCollection.cs
@@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpd
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUnti
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -209,7 +209,7 @@ public virtual async Task> GetAsync(string
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -255,7 +255,7 @@ public virtual Response Get(string capacityReservat
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -285,7 +285,7 @@ public virtual AsyncPageable GetAllAsync(Cancellati
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -315,7 +315,7 @@ public virtual Pageable GetAll(CancellationToken ca
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -359,7 +359,7 @@ public virtual async Task> ExistsAsync(string capacityReservation
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -403,7 +403,7 @@ public virtual Response Exists(string capacityReservationName, CapacityRes
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -449,7 +449,7 @@ public virtual async Task> GetIfEx
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupCollection.cs
index 2d070f89721f..36afef369c68 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupCollection.cs
@@ -66,7 +66,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -117,7 +117,7 @@ public virtual async Task> Create
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -168,7 +168,7 @@ public virtual ArmOperation CreateOrUpdate(Wai
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -214,7 +214,7 @@ public virtual async Task> GetAsync(s
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -260,7 +260,7 @@ public virtual Response Get(string capacityRes
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -291,7 +291,7 @@ public virtual AsyncPageable GetAllAsync(Capac
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -322,7 +322,7 @@ public virtual Pageable GetAll(CapacityReserva
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -366,7 +366,7 @@ public virtual async Task> ExistsAsync(string capacityReservation
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -410,7 +410,7 @@ public virtual Response Exists(string capacityReservationGroupName, Capaci
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -456,7 +456,7 @@ public virtual async Task> Ge
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupData.cs
index 0e1a0bef2bd9..15e57212848d 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupData.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupData.cs
@@ -72,7 +72,7 @@ public CapacityReservationGroupData(AzureLocation location) : base(location)
/// A list of all capacity reservation resource ids that belong to capacity reservation group.
/// A list of references to all virtual machines associated to the capacity reservation group.
/// The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group.
- /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details.
+ /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
/// Keeps track of any properties unknown to the library.
internal CapacityReservationGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, IList zones, IReadOnlyList capacityReservations, IReadOnlyList virtualMachinesAssociated, CapacityReservationGroupInstanceView instanceView, ResourceSharingProfile sharingProfile, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location)
{
@@ -97,9 +97,9 @@ internal CapacityReservationGroupData()
public IReadOnlyList VirtualMachinesAssociated { get; }
/// The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group.
public CapacityReservationGroupInstanceView InstanceView { get; }
- /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details.
+ /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
internal ResourceSharingProfile SharingProfile { get; set; }
- /// Specifies an array of subscription resource IDs that capacity reservation group is shared with. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details.
+ /// Specifies an array of subscription resource IDs that capacity reservation group is shared with. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
public IList SharingSubscriptionIds
{
get
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupResource.cs
index 963ebe6e465d..50235e7b4642 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupResource.cs
@@ -110,7 +110,7 @@ public virtual CapacityReservationCollection GetCapacityReservations()
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -142,7 +142,7 @@ public virtual async Task> GetCapacityRese
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -174,7 +174,7 @@ public virtual Response GetCapacityReservation(stri
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -215,7 +215,7 @@ public virtual async Task> GetAsync(C
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -256,7 +256,7 @@ public virtual Response Get(CapacityReservatio
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -300,7 +300,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -344,7 +344,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -386,7 +386,7 @@ public virtual async Task> UpdateAsyn
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -428,7 +428,7 @@ public virtual Response Update(CapacityReserva
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -490,7 +490,7 @@ public virtual async Task> AddTagAsyn
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -552,7 +552,7 @@ public virtual Response AddTag(string key, str
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -609,7 +609,7 @@ public virtual async Task> SetTagsAsy
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -666,7 +666,7 @@ public virtual Response SetTags(IDictionary
///
-
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -726,7 +726,7 @@ public virtual async Task> RemoveTagA
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationResource.cs
index 06cf25ecb72c..8917e9f15684 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationResource.cs
@@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -144,7 +144,7 @@ public virtual async Task> GetAsync(Capaci
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -185,7 +185,7 @@ public virtual Response Get(CapacityReservationInst
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -227,7 +227,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -269,7 +269,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -315,7 +315,7 @@ public virtual async Task> UpdateAsync
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -361,7 +361,7 @@ public virtual ArmOperation Update(WaitUntil waitUn
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -423,7 +423,7 @@ public virtual async Task> AddTagAsync(str
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -485,7 +485,7 @@ public virtual Response AddTag(string key, string v
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -542,7 +542,7 @@ public virtual async Task> SetTagsAsync(ID
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -599,7 +599,7 @@ public virtual Response SetTags(IDictionary
///
-
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -659,7 +659,7 @@ public virtual async Task> RemoveTagAsync(
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputePrivateEndpointConnectionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputePrivateEndpointConnectionCollection.cs
index d681485f8a01..510c4c1ce19f 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputePrivateEndpointConnectionCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputePrivateEndpointConnectionCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -113,7 +113,7 @@ public virtual async Task
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUp
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -207,7 +207,7 @@ public virtual async Task> Ge
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -252,7 +252,7 @@ public virtual Response Get(string pri
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsy
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -312,7 +312,7 @@ public virtual Pageable GetAll(Cancell
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string privateEndpointConn
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -398,7 +398,7 @@ public virtual Response Exists(string privateEndpointConnectionName, Cance
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -443,7 +443,7 @@ public virtual async Task
///
-
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputePrivateEndpointConnectionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputePrivateEndpointConnectionResource.cs
index 565fa22c5463..53cf26e920d6 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputePrivateEndpointConnectionResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputePrivateEndpointConnectionResource.cs
@@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -141,7 +141,7 @@ public virtual async Task> Ge
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -181,7 +181,7 @@ public virtual Response Get(Cancellati
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -311,7 +311,7 @@ public virtual async Task
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostCollection.cs
index d67e6e143e35..4d267f3ea62a 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostCollection.cs
@@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpdateAsy
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil wait
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -209,7 +209,7 @@ public virtual async Task> GetAsync(string hostN
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -255,7 +255,7 @@ public virtual Response Get(string hostName, InstanceView
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -285,7 +285,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToke
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -315,7 +315,7 @@ public virtual Pageable GetAll(CancellationToken cancella
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -359,7 +359,7 @@ public virtual async Task> ExistsAsync(string hostName, InstanceV
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -403,7 +403,7 @@ public virtual Response Exists(string hostName, InstanceViewType? expand =
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -449,7 +449,7 @@ public virtual async Task> GetIfExistsAs
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupCollection.cs
index 59d4c67710a2..a666f8eb9b82 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupCollection.cs
@@ -66,7 +66,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -117,7 +117,7 @@ public virtual async Task> CreateOrUpda
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -168,7 +168,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -214,7 +214,7 @@ public virtual async Task> GetAsync(string
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -260,7 +260,7 @@ public virtual Response Get(string hostGroupName, In
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -290,7 +290,7 @@ public virtual AsyncPageable GetAllAsync(Cancellatio
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -320,7 +320,7 @@ public virtual Pageable GetAll(CancellationToken can
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -364,7 +364,7 @@ public virtual async Task> ExistsAsync(string hostGroupName, Inst
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -408,7 +408,7 @@ public virtual Response Exists(string hostGroupName, InstanceViewType? exp
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -454,7 +454,7 @@ public virtual async Task> GetIfExi
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupResource.cs
index f5f7140698eb..06fa03a182cd 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupResource.cs
@@ -110,7 +110,7 @@ public virtual DedicatedHostCollection GetDedicatedHosts()
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -142,7 +142,7 @@ public virtual async Task> GetDedicatedHostAsync
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -174,7 +174,7 @@ public virtual Response GetDedicatedHost(string hostName,
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -215,7 +215,7 @@ public virtual async Task> GetAsync(Instanc
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -256,7 +256,7 @@ public virtual Response Get(InstanceViewType? expand
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -300,7 +300,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -344,7 +344,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -386,7 +386,7 @@ public virtual async Task> UpdateAsync(Dedi
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -428,7 +428,7 @@ public virtual Response Update(DedicatedHostGroupPat
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -490,7 +490,7 @@ public virtual async Task> AddTagAsync(stri
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -552,7 +552,7 @@ public virtual Response AddTag(string key, string va
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -609,7 +609,7 @@ public virtual async Task> SetTagsAsync(IDi
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -666,7 +666,7 @@ public virtual Response SetTags(IDictionary
///
-
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -726,7 +726,7 @@ public virtual async Task> RemoveTagAsync(s
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostResource.cs
index a70fc2b27ad4..00af9fdf262c 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostResource.cs
@@ -104,7 +104,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -145,7 +145,7 @@ public virtual async Task> GetAsync(InstanceView
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -186,7 +186,7 @@ public virtual Response Get(InstanceViewType? expand = nu
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -228,7 +228,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -270,7 +270,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -316,7 +316,7 @@ public virtual async Task> UpdateAsync(WaitU
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -362,7 +362,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, D
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -404,7 +404,7 @@ public virtual async Task RestartAsync(WaitUntil waitUntil, Cancel
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -446,7 +446,7 @@ public virtual ArmOperation Restart(WaitUntil waitUntil, CancellationToken cance
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -488,7 +488,7 @@ public virtual async Task RedeployAsync(WaitUntil waitUntil, Cance
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -530,7 +530,7 @@ public virtual ArmOperation Redeploy(WaitUntil waitUntil, CancellationToken canc
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -559,7 +559,7 @@ public virtual AsyncPageable GetAvailableSizesAsync(CancellationToken ca
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -588,7 +588,7 @@ public virtual Pageable GetAvailableSizes(CancellationToken cancellation
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -650,7 +650,7 @@ public virtual async Task> AddTagAsync(string ke
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -712,7 +712,7 @@ public virtual Response AddTag(string key, string value,
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -769,7 +769,7 @@ public virtual async Task> SetTagsAsync(IDiction
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -826,7 +826,7 @@ public virtual Response SetTags(IDictionary
///
-
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -886,7 +886,7 @@ public virtual async Task> RemoveTagAsync(string
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessCollection.cs
index bc7fa1d5c8c2..40f892605805 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessCollection.cs
@@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpdateAsync(
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitUnt
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -208,7 +208,7 @@ public virtual async Task> GetAsync(string diskAcce
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -253,7 +253,7 @@ public virtual Response Get(string diskAccessName, Cancellat
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken c
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -313,7 +313,7 @@ public virtual Pageable GetAll(CancellationToken cancellatio
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -356,7 +356,7 @@ public virtual async Task> ExistsAsync(string diskAccessName, Can
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -399,7 +399,7 @@ public virtual Response Exists(string diskAccessName, CancellationToken ca
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -444,7 +444,7 @@ public virtual async Task> GetIfExistsAsync
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessResource.cs
index 41d946c1a5e3..cb33df01bd17 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessResource.cs
@@ -111,7 +111,7 @@ public virtual ComputePrivateEndpointConnectionCollection GetComputePrivateEndpo
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -142,7 +142,7 @@ public virtual async Task> Ge
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -173,7 +173,7 @@ public virtual Response GetComputePriv
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -213,7 +213,7 @@ public virtual async Task> GetAsync(CancellationTok
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -253,7 +253,7 @@ public virtual Response Get(CancellationToken cancellationTo
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -295,7 +295,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -337,7 +337,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -383,7 +383,7 @@ public virtual async Task> UpdateAsync(WaitUnti
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -429,7 +429,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, Disk
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -458,7 +458,7 @@ public virtual AsyncPageable GetPrivateLinkResou
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -487,7 +487,7 @@ public virtual Pageable GetPrivateLinkResources(
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -549,7 +549,7 @@ public virtual async Task> AddTagAsync(string key,
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -611,7 +611,7 @@ public virtual Response AddTag(string key, string value, Can
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -668,7 +668,7 @@ public virtual async Task> SetTagsAsync(IDictionary
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -725,7 +725,7 @@ public virtual Response SetTags(IDictionary
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -785,7 +785,7 @@ public virtual async Task> RemoveTagAsync(string ke
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetCollection.cs
index 26605fc70958..e138cf39db21 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetCollection.cs
@@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpdat
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -208,7 +208,7 @@ public virtual async Task> GetAsync(string d
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -253,7 +253,7 @@ public virtual Response Get(string diskEncryptionSetN
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(Cancellation
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -313,7 +313,7 @@ public virtual Pageable GetAll(CancellationToken canc
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -356,7 +356,7 @@ public virtual async Task> ExistsAsync(string diskEncryptionSetNa
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -399,7 +399,7 @@ public virtual Response Exists(string diskEncryptionSetName, CancellationT
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -444,7 +444,7 @@ public virtual async Task> GetIfExis
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetResource.cs
index 30548b9067d3..3e1a58da13bd 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetResource.cs
@@ -104,7 +104,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -144,7 +144,7 @@ public virtual async Task> GetAsync(Cancella
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -184,7 +184,7 @@ public virtual Response Get(CancellationToken cancell
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -226,7 +226,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -268,7 +268,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -314,7 +314,7 @@ public virtual async Task> UpdateAsync(W
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -360,7 +360,7 @@ public virtual ArmOperation Update(WaitUntil waitUnti
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -390,7 +390,7 @@ public virtual AsyncPageable GetAssociatedResourcesAsync(CancellationTok
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -420,7 +420,7 @@ public virtual Pageable GetAssociatedResources(CancellationToken cancell
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -482,7 +482,7 @@ public virtual async Task> AddTagAsync(strin
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -544,7 +544,7 @@ public virtual Response AddTag(string key, string val
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -601,7 +601,7 @@ public virtual async Task> SetTagsAsync(IDic
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -658,7 +658,7 @@ public virtual Response SetTags(IDictionary
///
-
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -718,7 +718,7 @@ public virtual async Task> RemoveTagAsync(st
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskImageCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskImageCollection.cs
index 2af931371dc0..2dbfc75fb098 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskImageCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskImageCollection.cs
@@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpdateAsync(W
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitUnti
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -209,7 +209,7 @@ public virtual async Task> GetAsync(string imageName
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -255,7 +255,7 @@ public virtual Response Get(string imageName, string expand =
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -285,7 +285,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken ca
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -315,7 +315,7 @@ public virtual Pageable GetAll(CancellationToken cancellation
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -359,7 +359,7 @@ public virtual async Task> ExistsAsync(string imageName, string e
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -403,7 +403,7 @@ public virtual Response Exists(string imageName, string expand = null, Can
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -449,7 +449,7 @@ public virtual async Task> GetIfExistsAsync(
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskImageResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskImageResource.cs
index 0a455a9f0eb5..edfb2abea396 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskImageResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskImageResource.cs
@@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -144,7 +144,7 @@ public virtual async Task> GetAsync(string expand =
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -185,7 +185,7 @@ public virtual Response Get(string expand = null, Cancellatio
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -227,7 +227,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -269,7 +269,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -315,7 +315,7 @@ public virtual async Task> UpdateAsync(WaitUntil
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -361,7 +361,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, DiskI
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -423,7 +423,7 @@ public virtual async Task> AddTagAsync(string key, s
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -485,7 +485,7 @@ public virtual Response AddTag(string key, string value, Canc
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -542,7 +542,7 @@ public virtual async Task> SetTagsAsync(IDictionary<
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -599,7 +599,7 @@ public virtual Response SetTags(IDictionary t
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -659,7 +659,7 @@ public virtual async Task> RemoveTagAsync(string key
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointCollection.cs
index 14d269aa8ea2..c0379fb51893 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -109,7 +109,7 @@ public virtual async Task> GetAsync(string di
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -154,7 +154,7 @@ public virtual Response Get(string diskRestorePointNam
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -184,7 +184,7 @@ public virtual AsyncPageable GetAllAsync(CancellationT
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -214,7 +214,7 @@ public virtual Pageable GetAll(CancellationToken cance
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -257,7 +257,7 @@ public virtual async Task> ExistsAsync(string diskRestorePointNam
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -300,7 +300,7 @@ public virtual Response Exists(string diskRestorePointName, CancellationTo
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -345,7 +345,7 @@ public virtual async Task> GetIfExist
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.Serialization.cs
index 66c27f346cdc..433fe6767b1a 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.Serialization.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.Serialization.cs
@@ -135,6 +135,11 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr
writer.WritePropertyName("securityProfile"u8);
writer.WriteObjectValue(SecurityProfile, options);
}
+ if (options.Format != "W" && Optional.IsDefined(LogicalSectorSize))
+ {
+ writer.WritePropertyName("logicalSectorSize"u8);
+ writer.WriteNumberValue(LogicalSectorSize.Value);
+ }
writer.WriteEndObject();
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -195,6 +200,7 @@ internal static DiskRestorePointData DeserializeDiskRestorePointData(JsonElement
string replicationState = default;
AzureLocation? sourceResourceLocation = default;
DiskSecurityProfile securityProfile = default;
+ int? logicalSectorSize = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
@@ -373,6 +379,15 @@ internal static DiskRestorePointData DeserializeDiskRestorePointData(JsonElement
securityProfile = DiskSecurityProfile.DeserializeDiskSecurityProfile(property0.Value, options);
continue;
}
+ if (property0.NameEquals("logicalSectorSize"u8))
+ {
+ if (property0.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ logicalSectorSize = property0.Value.GetInt32();
+ continue;
+ }
}
continue;
}
@@ -404,6 +419,7 @@ internal static DiskRestorePointData DeserializeDiskRestorePointData(JsonElement
replicationState,
sourceResourceLocation,
securityProfile,
+ logicalSectorSize,
serializedAdditionalRawData);
}
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.cs
index b260b0ca485d..a5320d4b6e84 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.cs
@@ -78,8 +78,9 @@ internal DiskRestorePointData()
/// Replication state of disk restore point when source resource is from a different region.
/// Location of source disk or source disk restore point when source resource is from a different region.
/// Contains the security related information for the resource.
+ /// Logical sector size in bytes for disk restore points of UltraSSD_LRS and PremiumV2_LRS disks. Supported values are 512 and 4096. 4096 is the default.
/// Keeps track of any properties unknown to the library.
- internal DiskRestorePointData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DateTimeOffset? timeCreated, ResourceIdentifier sourceResourceId, SupportedOperatingSystemType? osType, HyperVGeneration? hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, string familyId, string sourceUniqueId, DiskEncryption encryption, bool? supportsHibernation, NetworkAccessPolicy? networkAccessPolicy, DiskPublicNetworkAccess? publicNetworkAccess, ResourceIdentifier diskAccessId, float? completionPercent, string replicationState, AzureLocation? sourceResourceLocation, DiskSecurityProfile securityProfile, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData)
+ internal DiskRestorePointData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DateTimeOffset? timeCreated, ResourceIdentifier sourceResourceId, SupportedOperatingSystemType? osType, HyperVGeneration? hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, string familyId, string sourceUniqueId, DiskEncryption encryption, bool? supportsHibernation, NetworkAccessPolicy? networkAccessPolicy, DiskPublicNetworkAccess? publicNetworkAccess, ResourceIdentifier diskAccessId, float? completionPercent, string replicationState, AzureLocation? sourceResourceLocation, DiskSecurityProfile securityProfile, int? logicalSectorSize, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData)
{
TimeCreated = timeCreated;
SourceResourceId = sourceResourceId;
@@ -98,6 +99,7 @@ internal DiskRestorePointData(ResourceIdentifier id, string name, ResourceType r
ReplicationState = replicationState;
SourceResourceLocation = sourceResourceLocation;
SecurityProfile = securityProfile;
+ LogicalSectorSize = logicalSectorSize;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
@@ -135,5 +137,7 @@ internal DiskRestorePointData(ResourceIdentifier id, string name, ResourceType r
public AzureLocation? SourceResourceLocation { get; }
/// Contains the security related information for the resource.
public DiskSecurityProfile SecurityProfile { get; }
+ /// Logical sector size in bytes for disk restore points of UltraSSD_LRS and PremiumV2_LRS disks. Supported values are 512 and 4096. 4096 is the default.
+ public int? LogicalSectorSize { get; }
}
}
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointResource.cs
index 59c71a69c366..25d712036bab 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointResource.cs
@@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -143,7 +143,7 @@ public virtual async Task> GetAsync(Cancellat
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -183,7 +183,7 @@ public virtual Response Get(CancellationToken cancella
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -229,7 +229,7 @@ public virtual async Task> GrantAccessAsync(WaitUntil wa
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -275,7 +275,7 @@ public virtual ArmOperation GrantAccess(WaitUntil waitUntil, GrantAcc
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -317,7 +317,7 @@ public virtual async Task RevokeAccessAsync(WaitUntil waitUntil, C
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/ComputeExtensions.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/ComputeExtensions.cs
index b4136177c8f0..a33aaacea59e 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/ComputeExtensions.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/ComputeExtensions.cs
@@ -861,7 +861,7 @@ public static VirtualMachineScaleSetCollection GetVirtualMachineScaleSets(this R
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -900,7 +900,7 @@ public static async Task> GetVirtualMac
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -956,7 +956,7 @@ public static VirtualMachineCollection GetVirtualMachines(this ResourceGroupReso
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -995,7 +995,7 @@ public static async Task> GetVirtualMachineAsyn
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1051,7 +1051,7 @@ public static AvailabilitySetCollection GetAvailabilitySets(this ResourceGroupRe
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1089,7 +1089,7 @@ public static async Task> GetAvailabilitySetAs
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1144,7 +1144,7 @@ public static ProximityPlacementGroupCollection GetProximityPlacementGroups(this
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1183,7 +1183,7 @@ public static async Task> GetProximity
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1239,7 +1239,7 @@ public static DedicatedHostGroupCollection GetDedicatedHostGroups(this ResourceG
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1278,7 +1278,7 @@ public static async Task> GetDedicatedHostG
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1334,7 +1334,7 @@ public static SshPublicKeyCollection GetSshPublicKeys(this ResourceGroupResource
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1372,7 +1372,7 @@ public static async Task> GetSshPublicKeyAsync(th
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1427,7 +1427,7 @@ public static DiskImageCollection GetDiskImages(this ResourceGroupResource resou
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1466,7 +1466,7 @@ public static async Task> GetDiskImageAsync(this Res
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1522,7 +1522,7 @@ public static RestorePointGroupCollection GetRestorePointGroups(this ResourceGro
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1561,7 +1561,7 @@ public static async Task> GetRestorePointGro
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1617,7 +1617,7 @@ public static CapacityReservationGroupCollection GetCapacityReservationGroups(th
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1656,7 +1656,7 @@ public static async Task> GetCapacity
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1712,7 +1712,7 @@ public static ManagedDiskCollection GetManagedDisks(this ResourceGroupResource r
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -1750,7 +1750,7 @@ public static async Task> GetManagedDiskAsync(this
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -1805,7 +1805,7 @@ public static DiskAccessCollection GetDiskAccesses(this ResourceGroupResource re
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -1843,7 +1843,7 @@ public static async Task> GetDiskAccessAsync(this R
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -1898,7 +1898,7 @@ public static DiskEncryptionSetCollection GetDiskEncryptionSets(this ResourceGro
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -1936,7 +1936,7 @@ public static async Task> GetDiskEncryptionS
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -1991,7 +1991,7 @@ public static SnapshotCollection GetSnapshots(this ResourceGroupResource resourc
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -2029,7 +2029,7 @@ public static async Task> GetSnapshotAsync(this Resou
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -2277,7 +2277,7 @@ public static VirtualMachineExtensionImageCollection GetVirtualMachineExtensionI
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -2318,7 +2318,7 @@ public static async Task> GetVirt
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -2742,7 +2742,7 @@ public static Response GetCloudServiceOSFamily(thi
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -2775,7 +2775,7 @@ public static AsyncPageable GetUsagesAsync(this SubscriptionResour
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -2808,7 +2808,7 @@ public static Pageable GetUsages(this SubscriptionResource subscri
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -2841,7 +2841,7 @@ public static AsyncPageable GetVirtualMachineSizesAsync(this
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -2874,7 +2874,7 @@ public static Pageable GetVirtualMachineSizes(this Subscript
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -2911,7 +2911,7 @@ public static AsyncPageable GetVirtualMachineSca
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -2948,7 +2948,7 @@ public static Pageable GetVirtualMachineScaleSet
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -2984,7 +2984,7 @@ public static AsyncPageable GetVirtualMachineSca
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -3020,7 +3020,7 @@ public static Pageable GetVirtualMachineScaleSet
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -3057,7 +3057,7 @@ public static AsyncPageable GetVirtualMachinesByLocation
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -3094,7 +3094,7 @@ public static Pageable GetVirtualMachinesByLocation(this
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -3133,7 +3133,7 @@ public static AsyncPageable GetVirtualMachinesAsync(this
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -3172,7 +3172,7 @@ public static Pageable GetVirtualMachines(this Subscript
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3209,7 +3209,7 @@ public static async Task> GetVirtualMachineImageAs
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3246,7 +3246,7 @@ public static Response GetVirtualMachineImage(this Subscrip
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3279,7 +3279,7 @@ public static AsyncPageable GetVirtualMachineImagesAsyn
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3312,7 +3312,7 @@ public static Pageable GetVirtualMachineImages(this Sub
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3347,7 +3347,7 @@ public static AsyncPageable GetVirtualMachineImageOffer
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3382,7 +3382,7 @@ public static Pageable GetVirtualMachineImageOffers(thi
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3415,7 +3415,7 @@ public static AsyncPageable GetVirtualMachineImagePubli
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3448,7 +3448,7 @@ public static Pageable GetVirtualMachineImagePublishers
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3484,7 +3484,7 @@ public static AsyncPageable GetVirtualMachineImageSkusA
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3520,7 +3520,7 @@ public static Pageable GetVirtualMachineImageSkus(this
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3555,7 +3555,7 @@ public static AsyncPageable GetVirtualMachineImagesByEd
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3590,7 +3590,7 @@ public static Pageable GetVirtualMachineImagesByEdgeZon
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3622,7 +3622,7 @@ public static async Task> GetVirtualMachineImagesE
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3654,7 +3654,7 @@ public static Response GetVirtualMachineImagesEdgeZone(this
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3687,7 +3687,7 @@ public static AsyncPageable GetVirtualMachineImagesEdge
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3720,7 +3720,7 @@ public static Pageable GetVirtualMachineImagesEdgeZones
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3756,7 +3756,7 @@ public static AsyncPageable GetOffersVirtualMachineImag
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3792,7 +3792,7 @@ public static Pageable GetOffersVirtualMachineImagesEdg
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3827,7 +3827,7 @@ public static AsyncPageable GetPublishersVirtualMachine
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3862,7 +3862,7 @@ public static Pageable GetPublishersVirtualMachineImage
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3899,7 +3899,7 @@ public static AsyncPageable GetVirtualMachineImageEdgeZ
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -3936,7 +3936,7 @@ public static Pageable GetVirtualMachineImageEdgeZoneSk
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -3973,7 +3973,7 @@ public static AsyncPageable GetAvailabilitySetsAsync(th
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4010,7 +4010,7 @@ public static Pageable GetAvailabilitySets(this Subscri
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4046,7 +4046,7 @@ public static AsyncPageable GetProximityPlaceme
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4082,7 +4082,7 @@ public static Pageable GetProximityPlacementGro
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4118,7 +4118,7 @@ public static AsyncPageable GetDedicatedHostGroupsAs
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4154,7 +4154,7 @@ public static Pageable GetDedicatedHostGroups(this S
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4190,7 +4190,7 @@ public static AsyncPageable GetSshPublicKeysAsync(this Sub
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4226,7 +4226,7 @@ public static Pageable GetSshPublicKeys(this SubscriptionR
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4262,7 +4262,7 @@ public static AsyncPageable GetDiskImagesAsync(this Subscript
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4298,7 +4298,7 @@ public static Pageable GetDiskImages(this SubscriptionResourc
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4334,7 +4334,7 @@ public static AsyncPageable GetRestorePointGroupsAsyn
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4370,7 +4370,7 @@ public static Pageable GetRestorePointGroups(this Sub
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4408,7 +4408,7 @@ public static AsyncPageable GetCapacityReserva
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4446,7 +4446,7 @@ public static Pageable GetCapacityReservationG
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -4480,7 +4480,7 @@ public static async Task> ExportLogAnalyticsRequestRa
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -4514,7 +4514,7 @@ public static ArmOperation ExportLogAnalyticsRequestRateByInterval
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -4548,7 +4548,7 @@ public static async Task> ExportLogAnalyticsThrottled
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
/// -
@@ -4582,7 +4582,7 @@ public static ArmOperation ExportLogAnalyticsThrottledRequests(thi
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4619,7 +4619,7 @@ public static AsyncPageable GetVirtualMachineRunCommands
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4656,7 +4656,7 @@ public static Pageable GetVirtualMachineRunCommands(this
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4694,7 +4694,7 @@ public static async Task> GetVirtualMachineRunComma
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -4732,7 +4732,7 @@ public static Response GetVirtualMachineRunCommand(this Subs
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -4768,7 +4768,7 @@ public static AsyncPageable GetManagedDisksAsync(this Subsc
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -4804,7 +4804,7 @@ public static Pageable GetManagedDisks(this SubscriptionRes
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -4840,7 +4840,7 @@ public static AsyncPageable GetDiskAccessesAsync(this Subscr
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -4876,7 +4876,7 @@ public static Pageable GetDiskAccesses(this SubscriptionReso
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -4912,7 +4912,7 @@ public static AsyncPageable GetDiskEncryptionSetsAsyn
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -4948,7 +4948,7 @@ public static Pageable GetDiskEncryptionSets(this Sub
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -4984,7 +4984,7 @@ public static AsyncPageable GetSnapshotsAsync(this Subscriptio
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeResourceGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeResourceGroupResource.cs
index 49c3e7eb7b22..1fc8bce46684 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeResourceGroupResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeResourceGroupResource.cs
@@ -54,7 +54,7 @@ public virtual VirtualMachineScaleSetCollection GetVirtualMachineScaleSets()
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -86,7 +86,7 @@ public virtual async Task> GetVirtualMa
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -125,7 +125,7 @@ public virtual VirtualMachineCollection GetVirtualMachines()
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -157,7 +157,7 @@ public virtual async Task> GetVirtualMachineAsy
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -196,7 +196,7 @@ public virtual AvailabilitySetCollection GetAvailabilitySets()
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -227,7 +227,7 @@ public virtual async Task> GetAvailabilitySetA
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -265,7 +265,7 @@ public virtual ProximityPlacementGroupCollection GetProximityPlacementGroups()
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -297,7 +297,7 @@ public virtual async Task> GetProximit
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -336,7 +336,7 @@ public virtual DedicatedHostGroupCollection GetDedicatedHostGroups()
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -368,7 +368,7 @@ public virtual async Task> GetDedicatedHost
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -407,7 +407,7 @@ public virtual SshPublicKeyCollection GetSshPublicKeys()
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -438,7 +438,7 @@ public virtual async Task> GetSshPublicKeyAsync(s
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -476,7 +476,7 @@ public virtual DiskImageCollection GetDiskImages()
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -508,7 +508,7 @@ public virtual async Task> GetDiskImageAsync(string
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -547,7 +547,7 @@ public virtual RestorePointGroupCollection GetRestorePointGroups()
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -579,7 +579,7 @@ public virtual async Task> GetRestorePointGr
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -618,7 +618,7 @@ public virtual CapacityReservationGroupCollection GetCapacityReservationGroups()
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -650,7 +650,7 @@ public virtual async Task> GetCapacit
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -689,7 +689,7 @@ public virtual ManagedDiskCollection GetManagedDisks()
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -720,7 +720,7 @@ public virtual async Task> GetManagedDiskAsync(str
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -758,7 +758,7 @@ public virtual DiskAccessCollection GetDiskAccesses()
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -789,7 +789,7 @@ public virtual async Task> GetDiskAccessAsync(strin
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -827,7 +827,7 @@ public virtual DiskEncryptionSetCollection GetDiskEncryptionSets()
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -858,7 +858,7 @@ public virtual async Task> GetDiskEncryption
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -896,7 +896,7 @@ public virtual SnapshotCollection GetSnapshots()
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -927,7 +927,7 @@ public virtual async Task> GetSnapshotAsync(string sn
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeSubscriptionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeSubscriptionResource.cs
index 41a682047e1c..20cc6ff00ca7 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeSubscriptionResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Extensions/MockableComputeSubscriptionResource.cs
@@ -150,7 +150,7 @@ public virtual VirtualMachineExtensionImageCollection GetVirtualMachineExtension
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -184,7 +184,7 @@ public virtual async Task> GetVir
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -505,7 +505,7 @@ public virtual Response GetCloudServiceOSFamily(Az
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -532,7 +532,7 @@ public virtual AsyncPageable GetUsagesAsync(AzureLocation location
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -559,7 +559,7 @@ public virtual Pageable GetUsages(AzureLocation location, Cancella
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -585,7 +585,7 @@ public virtual AsyncPageable GetVirtualMachineSizesAsync(Azu
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -611,7 +611,7 @@ public virtual Pageable GetVirtualMachineSizes(AzureLocation
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -642,7 +642,7 @@ public virtual AsyncPageable GetVirtualMachineSc
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -673,7 +673,7 @@ public virtual Pageable GetVirtualMachineScaleSe
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -703,7 +703,7 @@ public virtual AsyncPageable GetVirtualMachineSc
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -733,7 +733,7 @@ public virtual Pageable GetVirtualMachineScaleSe
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -764,7 +764,7 @@ public virtual AsyncPageable GetVirtualMachinesByLocatio
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -795,7 +795,7 @@ public virtual Pageable GetVirtualMachinesByLocation(Azu
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -828,7 +828,7 @@ public virtual AsyncPageable GetVirtualMachinesAsync(str
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -861,7 +861,7 @@ public virtual Pageable GetVirtualMachines(string status
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -907,7 +907,7 @@ public virtual async Task> GetVirtualMachineImageA
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -953,7 +953,7 @@ public virtual Response GetVirtualMachineImage(AzureLocatio
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -982,7 +982,7 @@ public virtual AsyncPageable GetVirtualMachineImagesAsy
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1011,7 +1011,7 @@ public virtual Pageable GetVirtualMachineImages(Subscri
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1042,7 +1042,7 @@ public virtual AsyncPageable GetVirtualMachineImageOffe
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1073,7 +1073,7 @@ public virtual Pageable GetVirtualMachineImageOffers(Az
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1099,7 +1099,7 @@ public virtual AsyncPageable GetVirtualMachineImagePubl
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1125,7 +1125,7 @@ public virtual Pageable GetVirtualMachineImagePublisher
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1158,7 +1158,7 @@ public virtual AsyncPageable GetVirtualMachineImageSkus
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1191,7 +1191,7 @@ public virtual Pageable GetVirtualMachineImageSkus(Azur
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1222,7 +1222,7 @@ public virtual AsyncPageable GetVirtualMachineImagesByE
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1253,7 +1253,7 @@ public virtual Pageable GetVirtualMachineImagesByEdgeZo
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1291,7 +1291,7 @@ public virtual async Task> GetVirtualMachineImages
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1329,7 +1329,7 @@ public virtual Response GetVirtualMachineImagesEdgeZone(Sub
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1358,7 +1358,7 @@ public virtual AsyncPageable GetVirtualMachineImagesEdg
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1387,7 +1387,7 @@ public virtual Pageable GetVirtualMachineImagesEdgeZone
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1420,7 +1420,7 @@ public virtual AsyncPageable GetOffersVirtualMachineIma
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1453,7 +1453,7 @@ public virtual Pageable GetOffersVirtualMachineImagesEd
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1484,7 +1484,7 @@ public virtual AsyncPageable GetPublishersVirtualMachin
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1515,7 +1515,7 @@ public virtual Pageable GetPublishersVirtualMachineImag
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1550,7 +1550,7 @@ public virtual AsyncPageable GetVirtualMachineImageEdge
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -1585,7 +1585,7 @@ public virtual Pageable GetVirtualMachineImageEdgeZoneS
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1616,7 +1616,7 @@ public virtual AsyncPageable GetAvailabilitySetsAsync(s
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1647,7 +1647,7 @@ public virtual Pageable GetAvailabilitySets(string expa
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1677,7 +1677,7 @@ public virtual AsyncPageable GetProximityPlacem
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1707,7 +1707,7 @@ public virtual Pageable GetProximityPlacementGr
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1737,7 +1737,7 @@ public virtual AsyncPageable GetDedicatedHostGroupsA
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1767,7 +1767,7 @@ public virtual Pageable GetDedicatedHostGroups(Cance
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1797,7 +1797,7 @@ public virtual AsyncPageable GetSshPublicKeysAsync(Cancell
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1827,7 +1827,7 @@ public virtual Pageable GetSshPublicKeys(CancellationToken
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1857,7 +1857,7 @@ public virtual AsyncPageable GetDiskImagesAsync(CancellationT
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1887,7 +1887,7 @@ public virtual Pageable GetDiskImages(CancellationToken cance
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1917,7 +1917,7 @@ public virtual AsyncPageable GetRestorePointGroupsAsy
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1947,7 +1947,7 @@ public virtual Pageable GetRestorePointGroups(Cancell
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -1979,7 +1979,7 @@ public virtual AsyncPageable GetCapacityReserv
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -2011,7 +2011,7 @@ public virtual Pageable GetCapacityReservation
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -2054,7 +2054,7 @@ public virtual async Task> ExportLogAnalyticsRequestR
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -2097,7 +2097,7 @@ public virtual ArmOperation ExportLogAnalyticsRequestRateByInterva
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -2140,7 +2140,7 @@ public virtual async Task> ExportLogAnalyticsThrottle
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
///
///
@@ -2183,7 +2183,7 @@ public virtual ArmOperation ExportLogAnalyticsThrottledRequests(Wa
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -2214,7 +2214,7 @@ public virtual AsyncPageable GetVirtualMachineRunCommand
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -2245,7 +2245,7 @@ public virtual Pageable GetVirtualMachineRunCommands(Azu
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -2289,7 +2289,7 @@ public virtual async Task> GetVirtualMachineRunComm
///
/// -
/// Default Api Version
- /// 2024-03-01
+ /// 2024-07-01
///
/// -
/// Resource
@@ -2333,7 +2333,7 @@ public virtual Response GetVirtualMachineRunCommand(AzureLoc
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -2363,7 +2363,7 @@ public virtual AsyncPageable GetManagedDisksAsync(Cancellat
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -2393,7 +2393,7 @@ public virtual Pageable GetManagedDisks(CancellationToken c
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -2423,7 +2423,7 @@ public virtual AsyncPageable GetDiskAccessesAsync(Cancellati
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -2453,7 +2453,7 @@ public virtual Pageable GetDiskAccesses(CancellationToken ca
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -2483,7 +2483,7 @@ public virtual AsyncPageable GetDiskEncryptionSetsAsy
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -2513,7 +2513,7 @@ public virtual Pageable GetDiskEncryptionSets(Cancell
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -2543,7 +2543,7 @@ public virtual AsyncPageable GetSnapshotsAsync(CancellationTok
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ManagedDiskCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ManagedDiskCollection.cs
index 31ccb43c569f..61f175844d9a 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ManagedDiskCollection.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ManagedDiskCollection.cs
@@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpdateAsync
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitUn
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -208,7 +208,7 @@ public virtual async Task> GetAsync(string diskNam
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -253,7 +253,7 @@ public virtual Response Get(string diskName, CancellationTo
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -313,7 +313,7 @@ public virtual Pageable GetAll(CancellationToken cancellati
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -356,7 +356,7 @@ public virtual async Task> ExistsAsync(string diskName, Cancellat
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -399,7 +399,7 @@ public virtual Response Exists(string diskName, CancellationToken cancella
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -444,7 +444,7 @@ public virtual async Task> GetIfExistsAsyn
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ManagedDiskResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ManagedDiskResource.cs
index f02326a42478..27ff9b604e1f 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ManagedDiskResource.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ManagedDiskResource.cs
@@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -143,7 +143,7 @@ public virtual async Task> GetAsync(CancellationTo
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -183,7 +183,7 @@ public virtual Response Get(CancellationToken cancellationT
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -225,7 +225,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -267,7 +267,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -313,7 +313,7 @@ public virtual async Task> UpdateAsync(WaitUnt
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -359,7 +359,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, Man
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -405,7 +405,7 @@ public virtual async Task> GrantAccessAsync(WaitUntil wa
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -451,7 +451,7 @@ public virtual ArmOperation GrantAccess(WaitUntil waitUntil, GrantAcc
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -493,7 +493,7 @@ public virtual async Task RevokeAccessAsync(WaitUntil waitUntil, C
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -535,7 +535,7 @@ public virtual ArmOperation RevokeAccess(WaitUntil waitUntil, CancellationToken
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -597,7 +597,7 @@ public virtual async Task> AddTagAsync(string key,
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -659,7 +659,7 @@ public virtual Response AddTag(string key, string value, Ca
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -716,7 +716,7 @@ public virtual async Task> SetTagsAsync(IDictionar
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -773,7 +773,7 @@ public virtual Response SetTags(IDictionary
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
@@ -833,7 +833,7 @@ public virtual async Task> RemoveTagAsync(string k
///
/// -
/// Default Api Version
- /// 2023-10-02
+ /// 2024-03-02
///
/// -
/// Resource
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/AvailabilitySetPatch.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/AvailabilitySetPatch.Serialization.cs
index 8d04d2330c3d..ad7a06ff2402 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/AvailabilitySetPatch.Serialization.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/AvailabilitySetPatch.Serialization.cs
@@ -80,6 +80,11 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr
}
writer.WriteEndArray();
}
+ if (Optional.IsDefined(ScheduledEventsPolicy))
+ {
+ writer.WritePropertyName("scheduledEventsPolicy"u8);
+ writer.WriteObjectValue(ScheduledEventsPolicy, options);
+ }
writer.WriteEndObject();
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -126,6 +131,7 @@ internal static AvailabilitySetPatch DeserializeAvailabilitySetPatch(JsonElement
IList virtualMachines = default;
WritableSubResource proximityPlacementGroup = default;
IReadOnlyList statuses = default;
+ ScheduledEventsPolicy scheduledEventsPolicy = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
@@ -217,6 +223,15 @@ internal static AvailabilitySetPatch DeserializeAvailabilitySetPatch(JsonElement
statuses = array;
continue;
}
+ if (property0.NameEquals("scheduledEventsPolicy"u8))
+ {
+ if (property0.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ scheduledEventsPolicy = ScheduledEventsPolicy.DeserializeScheduledEventsPolicy(property0.Value, options);
+ continue;
+ }
}
continue;
}
@@ -234,7 +249,8 @@ internal static AvailabilitySetPatch DeserializeAvailabilitySetPatch(JsonElement
platformFaultDomainCount,
virtualMachines ?? new ChangeTrackingList(),
proximityPlacementGroup,
- statuses ?? new ChangeTrackingList());
+ statuses ?? new ChangeTrackingList(),
+ scheduledEventsPolicy);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/AvailabilitySetPatch.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/AvailabilitySetPatch.cs
index 9edd5dde05bd..68d10c002520 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/AvailabilitySetPatch.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/AvailabilitySetPatch.cs
@@ -31,7 +31,8 @@ public AvailabilitySetPatch()
/// A list of references to all virtual machines in the availability set.
/// Specifies information about the proximity placement group that the availability set should be assigned to. Minimum api-version: 2018-04-01.
/// The resource status information.
- internal AvailabilitySetPatch(IDictionary tags, IDictionary serializedAdditionalRawData, ComputeSku sku, int? platformUpdateDomainCount, int? platformFaultDomainCount, IList virtualMachines, WritableSubResource proximityPlacementGroup, IReadOnlyList statuses) : base(tags, serializedAdditionalRawData)
+ /// Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the availability set.
+ internal AvailabilitySetPatch(IDictionary tags, IDictionary serializedAdditionalRawData, ComputeSku sku, int? platformUpdateDomainCount, int? platformFaultDomainCount, IList virtualMachines, WritableSubResource proximityPlacementGroup, IReadOnlyList statuses, ScheduledEventsPolicy scheduledEventsPolicy) : base(tags, serializedAdditionalRawData)
{
Sku = sku;
PlatformUpdateDomainCount = platformUpdateDomainCount;
@@ -39,6 +40,7 @@ internal AvailabilitySetPatch(IDictionary tags, IDictionary Sku of the availability set.
@@ -65,5 +67,7 @@ public ResourceIdentifier ProximityPlacementGroupId
/// The resource status information.
public IReadOnlyList Statuses { get; }
+ /// Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the availability set.
+ public ScheduledEventsPolicy ScheduledEventsPolicy { get; set; }
}
}
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CapacityReservationGroupInstanceView.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CapacityReservationGroupInstanceView.cs
index dff375d412c1..4d6eaa4fb56d 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CapacityReservationGroupInstanceView.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CapacityReservationGroupInstanceView.cs
@@ -55,7 +55,7 @@ internal CapacityReservationGroupInstanceView()
/// Initializes a new instance of .
/// List of instance view of the capacity reservations under the capacity reservation group.
- /// List of the subscriptions that the capacity reservation group is shared with. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details.
+ /// List of the subscriptions that the capacity reservation group is shared with. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
/// Keeps track of any properties unknown to the library.
internal CapacityReservationGroupInstanceView(IReadOnlyList capacityReservations, IReadOnlyList sharedSubscriptionIds, IDictionary serializedAdditionalRawData)
{
@@ -66,7 +66,7 @@ internal CapacityReservationGroupInstanceView(IReadOnlyList List of instance view of the capacity reservations under the capacity reservation group.
public IReadOnlyList CapacityReservations { get; }
- /// List of the subscriptions that the capacity reservation group is shared with. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details.
+ /// List of the subscriptions that the capacity reservation group is shared with. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
public IReadOnlyList SharedSubscriptionIds { get; }
}
}
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CapacityReservationGroupPatch.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CapacityReservationGroupPatch.cs
index 8287f77a873b..f1946b36a19c 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CapacityReservationGroupPatch.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CapacityReservationGroupPatch.cs
@@ -27,7 +27,7 @@ public CapacityReservationGroupPatch()
/// A list of all capacity reservation resource ids that belong to capacity reservation group.
/// A list of references to all virtual machines associated to the capacity reservation group.
/// The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group.
- /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details.
+ /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
internal CapacityReservationGroupPatch(IDictionary tags, IDictionary serializedAdditionalRawData, IReadOnlyList capacityReservations, IReadOnlyList virtualMachinesAssociated, CapacityReservationGroupInstanceView instanceView, ResourceSharingProfile sharingProfile) : base(tags, serializedAdditionalRawData)
{
CapacityReservations = capacityReservations;
@@ -42,9 +42,9 @@ internal CapacityReservationGroupPatch(IDictionary tags, IDictio
public IReadOnlyList VirtualMachinesAssociated { get; }
/// The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group.
public CapacityReservationGroupInstanceView InstanceView { get; }
- /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details.
+ /// Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
internal ResourceSharingProfile SharingProfile { get; set; }
- /// Specifies an array of subscription resource IDs that capacity reservation group is shared with. **Note:** Minimum api-version: 2024-03-01. Please refer to https://aka.ms/computereservationsharing for more details.
+ /// Specifies an array of subscription resource IDs that capacity reservation group is shared with. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
public IList SharingSubscriptionIds
{
get
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ComputeAllocationStrategy.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ComputeAllocationStrategy.cs
new file mode 100644
index 000000000000..bc4e5a2a9fc1
--- /dev/null
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ComputeAllocationStrategy.cs
@@ -0,0 +1,51 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+
+namespace Azure.ResourceManager.Compute.Models
+{
+ /// Specifies the allocation strategy for the virtual machine scale set based on which the VMs will be allocated.
+ public readonly partial struct ComputeAllocationStrategy : IEquatable
+ {
+ private readonly string _value;
+
+ /// Initializes a new instance of .
+ /// is null.
+ public ComputeAllocationStrategy(string value)
+ {
+ _value = value ?? throw new ArgumentNullException(nameof(value));
+ }
+
+ private const string LowestPriceValue = "LowestPrice";
+ private const string CapacityOptimizedValue = "CapacityOptimized";
+
+ /// LowestPrice.
+ public static ComputeAllocationStrategy LowestPrice { get; } = new ComputeAllocationStrategy(LowestPriceValue);
+ /// CapacityOptimized.
+ public static ComputeAllocationStrategy CapacityOptimized { get; } = new ComputeAllocationStrategy(CapacityOptimizedValue);
+ /// Determines if two values are the same.
+ public static bool operator ==(ComputeAllocationStrategy left, ComputeAllocationStrategy right) => left.Equals(right);
+ /// Determines if two values are not the same.
+ public static bool operator !=(ComputeAllocationStrategy left, ComputeAllocationStrategy right) => !left.Equals(right);
+ /// Converts a string to a .
+ public static implicit operator ComputeAllocationStrategy(string value) => new ComputeAllocationStrategy(value);
+
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is ComputeAllocationStrategy other && Equals(other);
+ ///
+ public bool Equals(ComputeAllocationStrategy other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+ ///
+ public override string ToString() => _value;
+ }
+}
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ComputeSecurityPostureReference.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ComputeSecurityPostureReference.Serialization.cs
index 3fa687b1f362..b0f5bae5c273 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ComputeSecurityPostureReference.Serialization.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ComputeSecurityPostureReference.Serialization.cs
@@ -26,21 +26,23 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo
}
writer.WriteStartObject();
- if (Optional.IsDefined(Id))
- {
- writer.WritePropertyName("id"u8);
- writer.WriteStringValue(Id);
- }
- if (Optional.IsCollectionDefined(ExcludeExtensions))
+ writer.WritePropertyName("id"u8);
+ writer.WriteStringValue(Id);
+ if (Optional.IsCollectionDefined(ExcludeExtensionNames))
{
writer.WritePropertyName("excludeExtensions"u8);
writer.WriteStartArray();
- foreach (var item in ExcludeExtensions)
+ foreach (var item in ExcludeExtensionNames)
{
- writer.WriteObjectValue(item, options);
+ writer.WriteStringValue(item);
}
writer.WriteEndArray();
}
+ if (Optional.IsDefined(IsOverridable))
+ {
+ writer.WritePropertyName("isOverridable"u8);
+ writer.WriteBooleanValue(IsOverridable.Value);
+ }
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
foreach (var item in _serializedAdditionalRawData)
@@ -80,17 +82,14 @@ internal static ComputeSecurityPostureReference DeserializeComputeSecurityPostur
return null;
}
ResourceIdentifier id = default;
- IList excludeExtensions = default;
+ IList excludeExtensions = default;
+ bool? isOverridable = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("id"u8))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
id = new ResourceIdentifier(property.Value.GetString());
continue;
}
@@ -100,21 +99,30 @@ internal static ComputeSecurityPostureReference DeserializeComputeSecurityPostur
{
continue;
}
- List array = new List();
+ List array = new List();
foreach (var item in property.Value.EnumerateArray())
{
- array.Add(VirtualMachineExtensionData.DeserializeVirtualMachineExtensionData(item, options));
+ array.Add(item.GetString());
}
excludeExtensions = array;
continue;
}
+ if (property.NameEquals("isOverridable"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ isOverridable = property.Value.GetBoolean();
+ continue;
+ }
if (options.Format != "W")
{
rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new ComputeSecurityPostureReference(id, excludeExtensions ?? new ChangeTrackingList(), serializedAdditionalRawData);
+ return new ComputeSecurityPostureReference(id, excludeExtensions ?? new ChangeTrackingList(), isOverridable, serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ComputeSecurityPostureReference.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ComputeSecurityPostureReference.cs
index f47588301e28..6148d0bbe3aa 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ComputeSecurityPostureReference.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ComputeSecurityPostureReference.cs
@@ -11,7 +11,7 @@
namespace Azure.ResourceManager.Compute.Models
{
- /// Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01.
+ /// Specifies the security posture to be used in the scale set. Minimum api-version: 2023-03-01.
public partial class ComputeSecurityPostureReference
{
///
@@ -47,25 +47,34 @@ public partial class ComputeSecurityPostureReference
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- public ComputeSecurityPostureReference()
+ /// The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|latest.
+ /// is null.
+ public ComputeSecurityPostureReference(ResourceIdentifier id)
{
- ExcludeExtensions = new ChangeTrackingList();
+ Argument.AssertNotNull(id, nameof(id));
+
+ Id = id;
+ ExcludeExtensionNames = new ChangeTrackingList();
}
/// Initializes a new instance of .
- /// The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest.
- /// List of virtual machine extensions to exclude when applying the Security Posture.
+ /// The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|latest.
+ /// The list of virtual machine extension names to exclude when applying the security posture.
+ /// Whether the security posture can be overridden by the user.
/// Keeps track of any properties unknown to the library.
- internal ComputeSecurityPostureReference(ResourceIdentifier id, IList excludeExtensions, IDictionary serializedAdditionalRawData)
+ internal ComputeSecurityPostureReference(ResourceIdentifier id, IList excludeExtensionNames, bool? isOverridable, IDictionary serializedAdditionalRawData)
{
Id = id;
- ExcludeExtensions = excludeExtensions;
+ ExcludeExtensionNames = excludeExtensionNames;
+ IsOverridable = isOverridable;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
- ///